coreutils: Update to version 9.7

Message ID 20250424134354.3440212-3-adolf.belka@ipfire.org
State Staged
Commit 62bf01529bda71007f08827ae4c25684ebc31ef3
Headers
Series coreutils: Update to version 9.7 |

Commit Message

Adolf Belka April 24, 2025, 1:43 p.m. UTC
  - Update from version 9.5 to 9.7
- Update of rootfile not required
- Changelog
    9.7
	** Bug fixes
	  'cat' would fail with "input file is output file" if input and
	   output are the same terminal device and the output is append-only.
	   [bug introduced in coreutils-9.6]
	  'cksum -a crc' misbehaved on aarch64 with 32-bit uint_fast32_t.
	   [bug introduced in coreutils-9.6]
	  dd with the 'nocache' flag will now detect all failures to drop the
	   cache for the whole file.  Previously it may have erroneously succeeded.
	   [bug introduced with the "nocache" feature in coreutils-8.11]
	  'ls -Z dir' would crash on all systems, and 'ls -l' could crash
	   on systems like Android with SELinux but without xattr support.
	   [bug introduced in coreutils-9.6]
	  `ls -l` could output spurious "Not supported" errors in certain cases,
	   like with dangling symlinks on cygwin.
	   [bug introduced in coreutils-9.6]
	  timeout would fail to timeout commands with infinitesimal timeouts.
	   For example `timeout 1e-5000 sleep inf` would never timeout.
	   [bug introduced with timeout in coreutils-7.0]
	  sleep, tail, and timeout would sometimes sleep for slightly less
	   time than requested.
	   [bug introduced in coreutils-5.0]
	  'who -m' now outputs entries for remote logins.  Previously login
	   entries prefixed with the service (like "sshd") were not matched.
	   [bug introduced in coreutils-9.4]
	** Improvements
	  'logname' correctly returns the user who logged in the session,
	  on more systems.  Previously on musl or uclibc it would have merely
	  output the LOGNAME environment variable.
    9.6
	** Bug fixes
	  cp fixes support for --update=none-fail, which would have been
	   rejected as an invalid option.
	   [bug introduced in coreutils-9.5]
	  cp,mv --update no longer overrides --interactive or --force.
	   [bug introduced in coreutils-9.3]
	  csplit no longer creates empty files given empty input.
	   [This bug was present in "the beginning".]
	  ls and printf fix shell quoted output in the edge case of escaped
	   first and last characters, and single quotes in the string.
	   [bug introduced in coreutils-8.26]
	  ls -l no longer outputs "Permission denied" errors on NFS
	   which may happen with files without read permission, and which resulted
	   in inaccurate indication of ACLs (missing '+' flag after mode).
	   [bug introduced in coreutils-9.4]
	  ls -l no longer outputs "Not supported" errors on virtiofs.
	   [bug introduced in coreutils-9.4]
	  mv works again with macFUSE file systems.  Previously it would
	   have exited with a "Function not implemented" error.
	   [bug introduced in coreutils-8.28]
	  nproc gives more consistent results on systems with more than 1024 CPUs.
	   Previously it would have ignored the affinity mask on such systems.
	   [bug introduced with nproc in coreutils-8.1]
	  numfmt --from=iec-i now works with numbers without a suffix.
	   Previously such numbers were rejected with an error.
	   [bug introduced with numfmt in coreutils-8.21]
	  printf now diagnoses attempts to treat empty strings as numbers,
	   as per POSIX. For example, "printf '%d' ''" now issues a diagnostic
	   and fails instead of silently succeeding.
	   [This bug was present in "the beginning".]
	  pwd no longer outputs an erroneous double slash on systems
	   where the system getcwd() was completely replaced.
	   [bug introduced in coreutils-9.2]
	  'shuf' generates more-random output when the output is small.
	   [bug introduced in coreutils-8.6]
	  `tail --follow=name` no longer waits indefinitely for watched
	   file names that are moved elsewhere within the same file system.
	   [bug introduced in coreutils-8.24]
	  `tail --follow` without --retry, will consistently exit with failure status
	   where inotify is not used, when all followed files become inaccessible.
	   [This bug was present in "the beginning".]
	  `tail --follow --pid=PID` will now exit when the PID dies,
	   even in the presence of blocking inputs like unopened fifos.
	   [This bug was present in "the beginning".]
	  'tail -c 4096 /dev/zero' no longer loops forever.
	   [This bug was present in "the beginning".]
	** Changes in behavior
	  'factor' now buffers output more efficiently in some cases.
	  install -C now dereferences symlink sources when comparing,
	   rather than always treating as different and performing the copy.
	  kill -l and -t now list signal 0, as it's a valid signal to send.
	  ls's -f option now simply acts like -aU, instead of also ignoring
	   some earlier options.  For example 'ls -fl' and 'ls -lf' are now
	   equivalent because -f no longer ignores an earlier -l.  The new
	   behavior is more orthogonal and is compatible with FreeBSD.
	  stat -f -c%T now reports the "fuseblk" file system type as "fuse",
	   given that there is no longer a distinct "ctl" fuse variant file system.
	** New Features
	  cksum -a now supports the "crc32b" option, which calculates the CRC
	   of the input as defined by ITU V.42, as used by gzip for example.
	   For performance pclmul instructions are used where supported.
	  ls now supports the --sort=name option,
	   to explicitly select the default operation of sorting by file name.
	  printf now supports indexed arguments, using the POSIX:2024 specified
	   %<i>$ format, where '<i>' is an integer referencing a particular argument,
	   thus allowing repetition or reordering of printf arguments.
	  test supports the POSIX:2024 specified '<' and '>' operators with strings,
	   to compare the string locale collating order.
	  timeout now supports the POSIX:2024 specified -f, and -p short options,
	   corresponding to --foreground, and --preserve-status respectively.
	** Improvements
	  cksum -a crc, makes use of AVX2, AVX512, and ARMv8 SIMD extensions
	   for time reductions of up to 40%, 60%, and 80% respectively.
	  'head -c NUM', 'head -n NUM', 'nl -l NUM', 'nproc --ignore NUM',
	   'tail -c NUM', 'tail -n NUM', and 'tail --max-unchanged-stats NUM’
	   no longer fail merely because NUM stands for 2**64 or more.
	  sort operates more efficiently when used on pseudo files with
	   an apparent size of 0, like those in /proc.
	  stat and tail now know about the "bcachefs", and "pidfs" file system types.
	   stat -f -c%T now reports the file system type,
	   and tail -f uses inotify for these file systems.
	  wc now reads a minimum of 256KiB at a time.
	   This was previously 16KiB and increasing to 256KiB was seen to increase
	   wc -l performance by about 10% when reading cached files on modern systems.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/coreutils | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Patch

diff --git a/lfs/coreutils b/lfs/coreutils
index 4220050da..424152649 100644
--- a/lfs/coreutils
+++ b/lfs/coreutils
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 9.5
+VER        = 9.7
 
 THISAPP    = coreutils-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -58,7 +58,7 @@  objects =$(DL_FILE)
 
 $(DL_FILE)= $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 6fd3a77697c9e85f31415c6ad66559faf18acc7d346677a89d4a999c2027886551e78842a7283e7b3b44fe8ef2fde04ba2f88df32a7844d5f69d45bcb7a04b6f
+$(DL_FILE)_BLAKE2 = e5e5f7ec26c3952eb6a25988f78d3a1f8a70cf97a2fbc7b433dfcd1721cd38e6e0a8b9cb83f854a22df325bcb5ea8c4534c5a217273762cd5d575b381db69ee8
 
 install : $(TARGET)