pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/coreutils coreutils: Update to 9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3178f7b782f2
branches:  trunk
changeset: 459313:3178f7b782f2
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Oct 03 13:11:56 2021 +0000

description:
coreutils: Update to 9.0

Changelog:
* Noteworthy changes in release 9.0 (2021-09-24) [stable]

** Bug fixes

  chmod -v no longer misreports modes of dangling symlinks.
  [bug introduced in coreutils-5.3.0]

  cp -a --attributes-only now never removes destination files,
  even if the destination files are hardlinked, or the source
  is a non regular file.
  [bug introduced in coreutils-8.6]

  csplit --suppress-matched now elides the last matched line
  when a specific number of pattern matches are performed.
  [bug introduced with the --suppress-matched feature in coreutils-8.22]

  df no longer outputs duplicate remote mounts in the presence of bind mounts.
  [bug introduced in coreutils-8.26]

  df no longer mishandles command-line args that it pre-mounts
  [bug introduced in coreutils-8.29]

  du no longer crashes on XFS file systems when the directory hierarchy is
  heavily changed during the run.
  [bug introduced in coreutils-8.25]

  env -S no longer crashes when given unusual whitespace characters
  [bug introduced in coreutils-8.30]

  expr no longer mishandles unmatched \(...\) in regular expressions.
  [bug introduced in coreutils-6.0]

  ls no longer crashes when printing the SELinux context for unstatable files.
  [bug introduced in coreutils-6.9.91]

  mkdir -m no longer mishandles modes more generous than the umask.
  [bug introduced in coreutils-8.22]

  nl now handles single character --section-delimiter arguments,
  by assuming a second ':' character has been specified, as specified by POSIX.
  [This bug was present in "the beginning".]

  pr again adjusts tabs in input, to maintain alignment in multi column output.
  [bug introduced in coreutils-6.9]

  rm no longer skips an extra file when the removal of an empty directory fails.
  [bug introduced by the rewrite to use fts in coreutils-8.0]

  split --number=K/N will again correctly split chunk K of N to stdout.
  Previously a chunk starting after 128KiB, output the wrong part of the file.
  [bug introduced in coreutils-8.26]

  tail -f no longer overruns a stack buffer when given too many files
  to follow and ulimit -n exceeds 1024.
  [bug introduced in coreutils-7.5]

  tr no longer crashes when using --complement with certain
  invalid combinations of case character classes.
  [bug introduced in coreutils-8.6]

  basenc --base64 --decode no longer silently discards decoded characters
  on (1024*5) buffer boundaries
  [bug introduced in coreutils-8.31]

** Changes in behavior

  cp and install now default to copy-on-write (COW) if available.

  cp, install and mv now use the copy_file_range syscall if available.
  Also, they use lseek+SEEK_HOLE rather than ioctl+FS_IOC_FIEMAP on sparse
  files, as lseek is simpler and more portable.

  On GNU/Linux systems, ls no longer issues an error message on a
  directory merely because it was removed.  This reverts a change
  that was made in release 8.32.

  ptx -T no longer attempts to substitute old-fashioned TeX escapes
  for 8-bit non-ASCII alphabetic characters.  TeX indexes should
  instead use '\usepackage[latin1]{inputenc}' or equivalent.

  stat will use decomposed (major,minor) device numbers in its default format.
  This is less ambiguous, and more consistent with ls.

  sum [-r] will output a file name, even if only a single name is passed.
  This is consistent with sum -s, cksum, and other sum(1) implementations.

** New Features

  cksum now supports the -a (--algorithm) option to select any
  of the existing sum, md5sum, b2sum, sha*sum implementations etc.
  cksum now subsumes all of these programs, and coreutils
  will introduce no future standalone checksum utility.

  cksum -a now supports the 'sm3' argument, to use the SM3 digest algorithm.

  cksum --check now supports auto detecting the digest type to use,
  when verifying tagged format checksums.

  expr and factor now support bignums on all platforms.

  ls --classify now supports the "always", "auto", or "never" flags,
  to support only outputting classifier characters if connected to a tty.

  ls now accepts the --sort=width option, to sort by file name width.
  This is useful to more compactly organize the default vertical column output.

  ls now accepts the --zero option, to terminate each output line with
  NUL instead of newline.

  nl --line-increment can now take a negative number to decrement the count.

  stat supports more formats for representing decomposed device numbers.
  %Hd,%Ld and %Hr,%Lr will output major,minor device numbers and device types
  respectively.  %d corresponds to st_dev and %r to std_rdev.

** Improvements

  cat --show-ends will now show \r\n as ^M$.  Previously the \r was taken
  literally, thus overwriting the first character in the line with '$'.

  cksum [-a crc] is now up to 4 times faster by using a slice by 8 algorithm,
  and at least 8 times faster where pclmul instructions are supported.
  A new --debug option will indicate if pclmul is being used.

  md5sum --check now supports checksum files with CRLF line endings.
  This also applies to cksum, sha*sum, and b2sum.

  df now recognizes these file systems as remote:
  acfs, coda, fhgfs, gpfs, ibrix, ocfs2, and vxfs.

  rmdir now clarifies the error if a symlink_to_dir/ has not been traversed.
  This is the case on GNU/Linux systems, where the trailing slash is ignored.

  stat and tail now know about the "devmem", "exfat", "secretmem", "vboxsf",
  and "zonefs" file system types.  stat -f -c%T now reports the file system
  type, and tail -f uses polling for "vboxsf" and inotify for the others.

  timeout now supports sub-second timeouts on macOS.

  wc is up to 5 times faster when counting only new line characters,
  where avx2 instructions are supported.
  A new --debug option will indicate if avx2 is being used.

diffstat:

 sysutils/coreutils/Makefile        |   3 +--
 sysutils/coreutils/Makefile.common |   4 ++--
 sysutils/coreutils/distinfo        |  10 +++++-----
 3 files changed, 8 insertions(+), 9 deletions(-)

diffs (44 lines):

diff -r 36fa6efd7242 -r 3178f7b782f2 sysutils/coreutils/Makefile
--- a/sysutils/coreutils/Makefile       Sun Oct 03 12:49:58 2021 +0000
+++ b/sysutils/coreutils/Makefile       Sun Oct 03 13:11:56 2021 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.80 2021/05/24 19:54:10 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2021/10/03 13:11:56 ryoon Exp $
 
-PKGREVISION= 1
 .include "../../sysutils/coreutils/Makefile.common"
 
 CONFIGURE_ARGS+=       --without-gmp
diff -r 36fa6efd7242 -r 3178f7b782f2 sysutils/coreutils/Makefile.common
--- a/sysutils/coreutils/Makefile.common        Sun Oct 03 12:49:58 2021 +0000
+++ b/sysutils/coreutils/Makefile.common        Sun Oct 03 13:11:56 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.24 2021/03/04 11:16:17 nia Exp $
+# $NetBSD: Makefile.common,v 1.25 2021/10/03 13:11:56 ryoon Exp $
 #
 # used by sysutils/coreutils/Makefile
 # used by misc/gnuls/Makefile
 
-DISTNAME=      coreutils-8.32
+DISTNAME=      coreutils-9.0
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GNU:=coreutils/}
 EXTRACT_SUFX=  .tar.xz
diff -r 36fa6efd7242 -r 3178f7b782f2 sysutils/coreutils/distinfo
--- a/sysutils/coreutils/distinfo       Sun Oct 03 12:49:58 2021 +0000
+++ b/sysutils/coreutils/distinfo       Sun Oct 03 13:11:56 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.38 2021/03/04 11:16:17 nia Exp $
+$NetBSD: distinfo,v 1.39 2021/10/03 13:11:56 ryoon Exp $
 
-SHA1 (coreutils-8.32.tar.xz) = b2b12195e276c64c8e850cf40ea2cff9b3aa53f6
-RMD160 (coreutils-8.32.tar.xz) = 625540e058255b81b9ff2b3c334a90230fa05f40
-SHA512 (coreutils-8.32.tar.xz) = 1c8f3584efd61b4b02e7ac5db8e103b63cfb2063432caaf1e64cb2dcc56d8c657d1133bbf10bd41468d6a1f31142e6caa81d16ae68fa3e6e84075c253613a145
-Size (coreutils-8.32.tar.xz) = 5547836 bytes
+SHA1 (coreutils-9.0.tar.xz) = e2623469f37259d4a89ced5f91af5eaf0ab8792d
+RMD160 (coreutils-9.0.tar.xz) = 0c83607270cd799d241499df3ee8ae415059b286
+SHA512 (coreutils-9.0.tar.xz) = 9be08212891dbf48e5b22e7689dc27dac50df4631ebf29313470b72b7921f0b2aa5242917d05587785358495ca56e3b21f5b3ca81043d53cab92354da6c53a03
+Size (coreutils-9.0.tar.xz) = 5612752 bytes
 SHA1 (patch-Makefile.in) = e012814dded9691c2269661e64fc02f8f12d2039
 SHA1 (patch-lib_fflush.c) = 856ad3e8d301d65ca3db23347a88651e5c7a75d7
 SHA1 (patch-lib_string.in.h) = 4fcd9c511eed2bb476db0d7bb8cceba03c1da180



Home | Main Index | Thread Index | Old Index