pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/coreutils
Module Name: pkgsrc
Committed By: wiz
Date: Thu Feb 5 22:29:45 UTC 2026
Modified Files:
pkgsrc/sysutils/coreutils: Makefile Makefile.common PLIST distinfo
pkgsrc/sysutils/coreutils/patches: patch-Makefile.in
Added Files:
pkgsrc/sysutils/coreutils/patches: patch-configure
Log Message:
coreutils: update to 9.10.
* Noteworthy changes in release 9.10 (2026-02-04) [stable]
** Bug fixes
cp, install, and mv no longer enter an infinite loop copying sparse files
with SEEK_HOLE. E.g., this was seen on ext4 when copying sparse files with
extents that are being actively updated, and copy offload is not being used.
[bug introduced in coreutils-9.9]
'date' no longer fails with format directives that return an empty string.
[bug introduced in coreutils-9.9]
'dd seek=N of=FILE' no longer continues copying, overwriting FILE if it
exists, if ftruncate fails.
[bug introduced in coreutils-9.1]
du and ls no longer modify strings returned by getenv.
POSIX says this is not portable.
[bug introduced in fileutils-4.1.6]
'fmt' now correctly diagnoses read errors.
Previously fmt generated a generic error for any read error.
[bug introduced in coreutils-9.0]
md5sum --text correctly translates CRLF line endings with the MSYS2 runtime.
This also applies to the sha*sum and b2sum utilities.
[This bug was present in "the beginning".]
'numfmt' no longer drops custom suffixes from numbers it cannot fully parse.
[bug introduced with numfmt in coreutils-8.21]
'tail -f --pid' can no longer exit upon receiving a non terminating signal.
On older Linux systems it may have failed with "Interrupted system call".
[bug introduced in coreutils-7.5]
'timeout' will now propagate all terminating signals to the monitored command.
Previously 'timeout' could have exited and left the monitored command running.
[bug introduced with timeout in coreutils-7.0]
wc now documents its --debug option, currently used to
indicate the line count acceleration being used.
[bug introduced in coreutils-9.0]
When built with `clang -fno-inline`, memory allocation issues are again
handled in a defined manner. Previously programs may have crashed etc.
after a failure to allocate memory.
[bug introduced in coreutils-9.0]
** New Features
configure accepts a new --enable-single-binary=hardlinks mode to build the
selected programs as hard links to a multi-call binary called "coreutils".
This augments the existing "symlinks" and "shebangs" modes already
supported by the --enable-single-binary option.
'stat' and 'tail' now know about the "guest-memfd" file system type.
stat -f -c%T now reports the file system type,
and tail -f uses polling for this file system.
'tail' now accepts the --debug option, which is currently used to
detail the --follow implementation being used.
'du' now supports the short option -A corresponding to the existing long
option --apparent-size, for compatibility with FreeBSD.
** Changes in behavior
All commands now markup option names in --help and man pages,
with bold attributes, and hyperlinks into the online manual on gnu.org.
The links can be configured with the --enable-manual-url configure option,
and the bold highlighting with --disable-bold-man-page-references.
At runtime all markup can be disabled with the TERM=dumb env var value.
'fmt' -w,--width no longer includes '\n' in the width of a line.
I.e., the specified width is interpreted to be an _inclusive_ maximum.
'ls --hyperlink' now uses more standard format hyperlinks.
'ESC\' (ST) is now used as a delimiter, instead of '\a' (BEL).
'ptx' -t is no longer a no-op, and now sets the default width to 100 columns.
'timeout' now honors ignored signals and will not propagate them. E.g.,
timeout(1) in a shell backgrounded job, will not terminate upon receiving
SIGINT or SIGQUIT, as these are ignored by default in shell background jobs.
'timeout -v -s 0' now prints the signal number 0 instead of EXIT.
The multi-call binary now only processes --help or --version options
if it is installed with a name ending with "coreutils". This allows
for more consistent handling of these options with unsupported commands.
** Improvements
The multi-call binary built with configure --enable-single-binary
is reduced in size by 3.2% through the more efficient reuse of the cksum
utility by the md5sum and sha*sum utilities.
'cksum' now validates its options more consistently.
E.g., `cksum --text --tag` now fails like `cksum --tag --text` already did.
'cksum', 'du', and 'wc' now exit promptly upon receiving a write
error, which is significant when processing many input files.
csplit, ls, and sort, now handle a more complete set of terminating signals.
'du' now processes directories with 10,000 or more entries up to 9 times
faster on the Lustre file system.
'paste' now supports multi-byte --delimiters characters.
'pinky' will now exit immediately upon receiving a write error, which is
significant when reading large plan or project files.
'readlink' and 'realpath' will now exit promptly upon receiving a write error,
which is significant when canonicalizing multiple file names longer than
PATH_MAX.
'timeout' on Linux will always terminate the child in the case where the
timeout process itself dies, like when it receives a KILL signal for example.
** Build-related
Programs now port to C23 platforms that strictly check types when
qualifier-generic functions like strchr are used.
'chcon' and 'runcon' stub binaries will be built on systems without
libselinux, when configured using --with-selinux.
'kill' and 'uptime' are no longer built by default. These programs can be
built with the --enable-install-program=kill,uptime configure option.
To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/sysutils/coreutils/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/sysutils/coreutils/Makefile.common
cvs rdiff -u -r1.25 -r1.26 pkgsrc/sysutils/coreutils/PLIST
cvs rdiff -u -r1.50 -r1.51 pkgsrc/sysutils/coreutils/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/coreutils/patches/patch-Makefile.in
cvs rdiff -u -r0 -r1.3 pkgsrc/sysutils/coreutils/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/coreutils/Makefile
diff -u pkgsrc/sysutils/coreutils/Makefile:1.91 pkgsrc/sysutils/coreutils/Makefile:1.92
--- pkgsrc/sysutils/coreutils/Makefile:1.91 Sat Nov 15 13:11:18 2025
+++ pkgsrc/sysutils/coreutils/Makefile Thu Feb 5 22:29:45 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2025/11/15 13:11:18 ryoon Exp $
+# $NetBSD: Makefile,v 1.92 2026/02/05 22:29:45 wiz Exp $
.include "../../sysutils/coreutils/Makefile.common"
@@ -14,8 +14,10 @@ CONFLICTS+= graphviz<1.12
CONFLICTS+= ganglia-monitor-core-[0-9]*
INFO_FILES= yes
+TEST_DEPENDS+= p5-Expect>=1.11:../../devel/p5-Expect
+
# Exclude programs from PLIST which aren't built on a platform.
-PLIST_VARS+= hostid stdbuf linux
+PLIST_VARS+= hostid stdbuf
PLIST.hostid= yes
# This should really only be defined if building stdbuf, however we cannot
Index: pkgsrc/sysutils/coreutils/Makefile.common
diff -u pkgsrc/sysutils/coreutils/Makefile.common:1.37 pkgsrc/sysutils/coreutils/Makefile.common:1.38
--- pkgsrc/sysutils/coreutils/Makefile.common:1.37 Sat Nov 15 13:11:18 2025
+++ pkgsrc/sysutils/coreutils/Makefile.common Thu Feb 5 22:29:45 2026
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.37 2025/11/15 13:11:18 ryoon Exp $
+# $NetBSD: Makefile.common,v 1.38 2026/02/05 22:29:45 wiz Exp $
#
# used by sysutils/coreutils/Makefile
# used by misc/gnuls/Makefile
-DISTNAME= coreutils-9.9
+DISTNAME= coreutils-9.10
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/}
EXTRACT_SUFX= .tar.xz
@@ -59,6 +59,7 @@ CONFIGURE_ENV+= ac_cv_sys_year2038_opts
CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
.endif
+PLIST_VARS+= linux
# XXX - this hack is bound to cause fallout on some platform at some point.
# How can we determine the API version of the builtin gettext?
.if ${OPSYS} != "Linux"
Index: pkgsrc/sysutils/coreutils/PLIST
diff -u pkgsrc/sysutils/coreutils/PLIST:1.25 pkgsrc/sysutils/coreutils/PLIST:1.26
--- pkgsrc/sysutils/coreutils/PLIST:1.25 Sat Nov 15 13:11:18 2025
+++ pkgsrc/sysutils/coreutils/PLIST Thu Feb 5 22:29:45 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2025/11/15 13:11:18 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.26 2026/02/05 22:29:45 wiz Exp $
bin/g[
bin/gb2sum
bin/gbase32
@@ -37,7 +37,6 @@ ${PLIST.hostid}bin/ghostid
bin/gid
bin/ginstall
bin/gjoin
-bin/gkill
bin/glink
bin/gln
bin/glogname
@@ -98,7 +97,6 @@ bin/guname
bin/gunexpand
bin/guniq
bin/gunlink
-bin/guptime
bin/gusers
bin/gvdir
bin/gwc
@@ -142,7 +140,6 @@ ${PLIST.hostid}gnu/bin/hostid
gnu/bin/id
gnu/bin/install
gnu/bin/join
-gnu/bin/kill
gnu/bin/link
gnu/bin/ln
gnu/bin/logname
@@ -203,7 +200,6 @@ gnu/bin/uname
gnu/bin/unexpand
gnu/bin/uniq
gnu/bin/unlink
-gnu/bin/uptime
gnu/bin/users
gnu/bin/vdir
gnu/bin/wc
@@ -246,7 +242,6 @@ gnu/man/man1/hostid.1
gnu/man/man1/id.1
gnu/man/man1/install.1
gnu/man/man1/join.1
-gnu/man/man1/kill.1
gnu/man/man1/link.1
gnu/man/man1/ln.1
gnu/man/man1/logname.1
@@ -307,7 +302,6 @@ gnu/man/man1/uname.1
gnu/man/man1/unexpand.1
gnu/man/man1/uniq.1
gnu/man/man1/unlink.1
-gnu/man/man1/uptime.1
gnu/man/man1/users.1
gnu/man/man1/vdir.1
gnu/man/man1/wc.1
@@ -353,7 +347,6 @@ man/man1/ghostid.1
man/man1/gid.1
man/man1/ginstall.1
man/man1/gjoin.1
-man/man1/gkill.1
man/man1/glink.1
man/man1/gln.1
man/man1/glogname.1
@@ -414,7 +407,6 @@ man/man1/guname.1
man/man1/gunexpand.1
man/man1/guniq.1
man/man1/gunlink.1
-man/man1/guptime.1
man/man1/gusers.1
man/man1/gvdir.1
man/man1/gwc.1
@@ -423,6 +415,8 @@ man/man1/gwhoami.1
man/man1/gyes.1
share/locale/af/LC_MESSAGES/coreutils.mo
share/locale/af/LC_TIME/coreutils.mo
+share/locale/ar/LC_MESSAGES/coreutils.mo
+share/locale/ar/LC_TIME/coreutils.mo
share/locale/be/LC_MESSAGES/coreutils.mo
share/locale/be/LC_TIME/coreutils.mo
share/locale/bg/LC_MESSAGES/coreutils.mo
Index: pkgsrc/sysutils/coreutils/distinfo
diff -u pkgsrc/sysutils/coreutils/distinfo:1.50 pkgsrc/sysutils/coreutils/distinfo:1.51
--- pkgsrc/sysutils/coreutils/distinfo:1.50 Tue Nov 11 09:31:59 2025
+++ pkgsrc/sysutils/coreutils/distinfo Thu Feb 5 22:29:45 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.50 2025/11/11 09:31:59 wiz Exp $
+$NetBSD: distinfo,v 1.51 2026/02/05 22:29:45 wiz Exp $
-BLAKE2s (coreutils-9.9.tar.xz) = f8d1d0256c238b3416a6d896a3cc52a1fbf207b14349e48566acc8020246f0e4
-SHA512 (coreutils-9.9.tar.xz) = e7b0e59f7732d2c098ea4934014f470248bd5c4764210e9200a698010a8e3b95bbb26e543f0cd73ed5a4b8e1f8cda932c73f39954d68175e4deaa47526610c65
-Size (coreutils-9.9.tar.xz) = 6295160 bytes
-SHA1 (patch-Makefile.in) = ce71728a5e5438fe2e6e4006ba0be5e6294587d5
+BLAKE2s (coreutils-9.10.tar.xz) = 1b71bd8a7ac7db9b805faf6f42df00e1f6db2f51e972dddcc532059059f93a85
+SHA512 (coreutils-9.10.tar.xz) = 976ccfb8b906273a687ec330938a25ab72fb130988ca2fcad4fb6e12f4b621eb76b6e9ee091ad060361e95a8da26835b2484fffd3b5f9c7cdb100c1eb7b7d676
+Size (coreutils-9.10.tar.xz) = 6507600 bytes
+SHA1 (patch-Makefile.in) = 360f63e7c34e093d7ed3a4848da78a1d86bfb4ee
+SHA1 (patch-configure) = 569b7cfed59f8b43ae928d0bc20cd722115df59b
Index: pkgsrc/sysutils/coreutils/patches/patch-Makefile.in
diff -u pkgsrc/sysutils/coreutils/patches/patch-Makefile.in:1.4 pkgsrc/sysutils/coreutils/patches/patch-Makefile.in:1.5
--- pkgsrc/sysutils/coreutils/patches/patch-Makefile.in:1.4 Tue Aug 1 11:13:27 2023
+++ pkgsrc/sysutils/coreutils/patches/patch-Makefile.in Thu Feb 5 22:29:45 2026
@@ -1,11 +1,11 @@
-$NetBSD: patch-Makefile.in,v 1.4 2023/08/01 11:13:27 adam Exp $
+$NetBSD: patch-Makefile.in,v 1.5 2026/02/05 22:29:45 wiz Exp $
Target for misc/gnuls package.
Install libstdbuf.so as shared object (unstripped on Darwin).
---- Makefile.in.orig 2023-04-18 14:32:17.000000000 +0000
+--- Makefile.in.orig 2026-02-04 12:19:53.000000000 +0000
+++ Makefile.in
-@@ -8433,6 +8433,9 @@ pr_data = \
+@@ -9677,6 +9677,9 @@ all: $(BUILT_SOURCES)
all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -13,9 +13,9 @@ Install libstdbuf.so as shared object (u
+ $(MAKE) $(AM_MAKEFLAGS) src/dircolors src/ls man/dircolors.1 man/ls.1
+
.SUFFIXES:
- .SUFFIXES: .1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sh .sh$(EXEEXT) .trs .x .xpl .xpl$(EXEEXT) .y
+ .SUFFIXES: .1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sh .sh$(EXEEXT) .trs .x .y
am--refresh: Makefile
-@@ -8553,8 +8556,8 @@ install-pkglibexecPROGRAMS: $(pkglibexec
+@@ -9799,8 +9802,8 @@ install-pkglibexecPROGRAMS: $(pkglibexec_PROGRAMS)
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
Added files:
Index: pkgsrc/sysutils/coreutils/patches/patch-configure
diff -u /dev/null pkgsrc/sysutils/coreutils/patches/patch-configure:1.3
--- /dev/null Thu Feb 5 22:29:45 2026
+++ pkgsrc/sysutils/coreutils/patches/patch-configure Thu Feb 5 22:29:45 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.3 2026/02/05 22:29:45 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- configure.orig 2026-02-05 17:03:39.165418548 +0000
++++ configure
+@@ -95772,7 +95772,7 @@ fi
+ SINGLE_BINARY_FALSE=
+ fi
+
+- if test "$gl_single_binary" == hardlinks; then
++ if test "$gl_single_binary" = hardlinks; then
+ SINGLE_BINARY_HARD_TRUE=
+ SINGLE_BINARY_HARD_FALSE='#'
+ else
Home |
Main Index |
Thread Index |
Old Index