summaryrefslogtreecommitdiff
path: root/sysutils/coreutils
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2021-10-03 13:11:56 +0000
committerryoon <ryoon@pkgsrc.org>2021-10-03 13:11:56 +0000
commit78e26131cd578358fcb98b978f01e17220fc6ac9 (patch)
tree6fc6af5cde867f7c3e0ef6b4adca2643a0af9e14 /sysutils/coreutils
parentb2f8afd6d3eee6b6c5712b7df45055f0b66d4817 (diff)
downloadpkgsrc-78e26131cd578358fcb98b978f01e17220fc6ac9.tar.gz
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 (limited to 'sysutils/coreutils')
-rw-r--r--sysutils/coreutils/Makefile3
-rw-r--r--sysutils/coreutils/Makefile.common4
-rw-r--r--sysutils/coreutils/distinfo10
3 files changed, 8 insertions, 9 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index 2f9fe7643fb..4cb3ad365dd 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -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 --git a/sysutils/coreutils/Makefile.common b/sysutils/coreutils/Makefile.common
index 3a5f1abb148..c21d0269a1f 100644
--- a/sysutils/coreutils/Makefile.common
+++ b/sysutils/coreutils/Makefile.common
@@ -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 --git a/sysutils/coreutils/distinfo b/sysutils/coreutils/distinfo
index bd609a1366f..ab2252b1493 100644
--- a/sysutils/coreutils/distinfo
+++ b/sysutils/coreutils/distinfo
@@ -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