Received: by mail.netbsd.org (Postfix, from userid 605) id 7E41B84EBB; Tue, 18 Apr 2023 14:41:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id ADB9F84EB8 for ; Tue, 18 Apr 2023 14:41:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id aSpBxrY7Or4F for ; Tue, 18 Apr 2023 14:41:31 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 7F17184D22 for ; Tue, 18 Apr 2023 14:41:31 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 78769FA85; Tue, 18 Apr 2023 14:41:31 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1681828891242860" MIME-Version: 1.0 Date: Tue, 18 Apr 2023 14:41:31 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/sysutils/coreutils To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20230418144131.78769FA85@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1681828891242860 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: ryoon Date: Tue Apr 18 14:41:31 UTC 2023 Modified Files: pkgsrc/sysutils/coreutils: Makefile.common distinfo Removed Files: pkgsrc/sysutils/coreutils/patches: patch-lib_fflush.c Log Message: coreutils: Update to 9.2 Changelog: * Noteworthy changes in release 9.2 (2023-03-20) [stable] ** Bug fixes 'comm --output-delimiter="" --total' now delimits columns in the total line with the NUL character, consistent with NUL column delimiters in the rest of the output. Previously no delimiters were used for the total line in this case. [bug introduced with the --total option in coreutils-8.26] 'cp -p' no longer has a security hole when cloning into a dangling symbolic link on macOS 10.12 and later. [bug introduced in coreutils-9.1] 'cp -rx / /mnt' no longer complains "cannot create directory /mnt/". [bug introduced in coreutils-9.1] cp, mv, and install avoid allocating too much memory, and possibly triggering "memory exhausted" failures, on file systems like ZFS, which can return varied file system I/O block size values for files. [bug introduced in coreutils-6.0] cp, mv, and install now immediately acknowledge transient errors when creating copy-on-write or cloned reflink files, on supporting file systems like XFS, BTRFS, APFS, etc. Previously they would have tried again with other copy methods which may have resulted in data corruption. [bug introduced in coreutils-7.5 and enabled by default in coreutils-9.0] cp, mv, and install now handle ENOENT failures across CIFS file systems, falling back from copy_file_range to a better supported standard copy. [issue introduced in coreutils-9.0] 'mv --backup=simple f d/' no longer mistakenly backs up d/f to f~. [bug introduced in coreutils-9.1] rm now fails gracefully when memory is exhausted. Previously it may have aborted with a failed assertion in some cases. [This bug was present in "the beginning".] rm -d (--dir) now properly handles unreadable empty directories. E.g., before, this would fail to remove d: mkdir -m0 d; src/rm -d d [bug introduced in v8.19 with the addition of this option] runcon --compute no longer looks up the specified command in the $PATH so that there is no mismatch between the inspected and executed file. [bug introduced when runcon was introduced in coreutils-6.9.90] 'sort -g' no longer infloops when given multiple NaNs on platforms like x86_64 where 'long double' has padding bits in memory. Although the fix alters sort -g's NaN ordering, that ordering has long been documented to be platform-dependent. [bug introduced 1999-05-02 and only partly fixed in coreutils-8.14] stty ispeed and ospeed options no longer accept and silently ignore invalid speed arguments, or give false warnings for valid speeds. Now they're validated against both the general accepted set, and the system supported set of valid speeds. [This bug was present in "the beginning".] stty now wraps output appropriately for the terminal width. Previously it may have output 1 character too wide for certain widths. [bug introduced in coreutils-5.3] tail --follow=name works again with non seekable files. Previously it exited with an "Illegal seek" error when such a file was replaced. [bug introduced in fileutils-4.1.6] 'wc -c' will again efficiently determine the size of large files on all systems. It no longer redundantly reads data from certain sized files larger than SIZE_MAX. [bug introduced in coreutils-8.24] ** Changes in behavior Programs now support the new Ronna (R), and Quetta (Q) SI prefixes, corresponding to 10^27 and 10^30 respectively, along with their binary counterparts Ri (2^90) and Qi (2^100). In some cases (e.g., 'sort -h') these new prefixes simply work; in others, where they exceed integer width limits, they now elicit the same integer overflow diagnostics as other large prefixes. 'cp --reflink=always A B' no longer leaves behind a newly created empty file B merely because copy-on-write clones are not supported. 'cp -n' and 'mv -n' now exit with nonzero status if they skip their action because the destination exists, and likewise for 'cp -i', 'ln -i', and 'mv -i' when the user declines. (POSIX specifies this for 'cp -i' and 'mv -i'.) cp, mv, and install again read in multiples of the reported block size, to support unusual devices that may have this constraint. [behavior inadvertently changed in coreutils-7.2] du --apparent now counts apparent sizes only of regular files and symbolic links. POSIX does not specify the meaning of apparent sizes (i.e., st_size) for other file types, and counting those sizes could cause confusing and unwanted size mismatches. 'ls -v' and 'sort -V' go back to sorting ".0" before ".A", reverting to the behavior in coreutils-9.0 and earlier. This behavior is now documented. ls --color now matches a file extension case sensitively if there are different sequences defined for separate cases. printf unicode \uNNNN, \UNNNNNNNN syntax, now supports all valid unicode code points. Previously is was restricted to the C universal character subset, which restricted most points <= 0x9F. runcon now exits with status 125 for internal errors. Previously upon internal errors it would exit with status 1, which was less distinguishable from errors from the invoked command. 'split -n N' now splits more evenly when the input size is not a multiple of N, by creating N output files whose sizes differ by at most 1 byte. Formerly, it did this only when the input size was less than N. 'stat -c %s' now prints sizes as unsigned, consistent with 'ls'. ** New Features cksum now accepts the --base64 (-b) option to print base64-encoded checksums. It also accepts/checks such checksums. cksum now accepts the --raw option to output a raw binary checksum. No file name or other information is output in this mode. cp, mv, and install now accept the --debug option to print details on how a file is being copied. factor now accepts the --exponents (-h) option to print factors in the form p^e, rather than repeating the prime p, e times. ls now supports the --time=modification option, to explicitly select the default mtime timestamp for display and sorting. mv now supports the --no-copy option, which causes it to fail when asked to move a file to a different file system. split now accepts options like '-n SIZE' that exceed machine integer range, when they can be implemented as if they were infinity. split -n now accepts piped input even when not in round-robin mode, by first copying input to a temporary file to determine its size. wc now accepts the --total={auto,never,always,only} option to give explicit control over when the total is output. ** Improvements cp --sparse=auto (the default), mv, and install, will use the copy_file_range syscall now also with sparse files. This may be more efficient, by avoiding user space copies, and possibly employing copy offloading or reflinking, for the non sparse portion of such sparse files. On macOS, cp creates a copy-on-write clone in more cases. Previously cp would only do this when preserving mode and timestamps. date --debug now diagnoses if multiple --date or --set options are specified, as only the last specified is significant in that case. rm outputs more accurate diagnostics in the presence of errors when removing directories. For example EIO will be faithfully diagnosed, rather than being conflated with ENOTEMPTY. tail --follow=name now works with single non regular files even when their modification time doesn't change when new data is available. Previously tail would not show any new data in this case. tee -p detects when all remaining outputs have become broken pipes, and exits, rather than waiting for more input to induce an exit when written. tee now handles non blocking outputs, which can be seen for example with telnet or mpirun piping through tee to a terminal. Previously tee could truncate data written to such an output and fail, and also potentially output a "Resource temporarily unavailable" error. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 pkgsrc/sysutils/coreutils/Makefile.common cvs rdiff -u -r1.42 -r1.43 pkgsrc/sysutils/coreutils/distinfo cvs rdiff -u -r1.2 -r0 pkgsrc/sysutils/coreutils/patches/patch-lib_fflush.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1681828891242860 Content-Disposition: inline Content-Length: 1981 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/sysutils/coreutils/Makefile.common diff -u pkgsrc/sysutils/coreutils/Makefile.common:1.26 pkgsrc/sysutils/coreutils/Makefile.common:1.27 --- pkgsrc/sysutils/coreutils/Makefile.common:1.26 Wed Jul 27 14:31:31 2022 +++ pkgsrc/sysutils/coreutils/Makefile.common Tue Apr 18 14:41:31 2023 @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.common,v 1.26 2022/07/27 14:31:31 ryoon Exp $ +# $NetBSD: Makefile.common,v 1.27 2023/04/18 14:41:31 ryoon Exp $ # # used by sysutils/coreutils/Makefile # used by misc/gnuls/Makefile -DISTNAME= coreutils-9.1 +DISTNAME= coreutils-9.2 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/} EXTRACT_SUFX= .tar.xz Index: pkgsrc/sysutils/coreutils/distinfo diff -u pkgsrc/sysutils/coreutils/distinfo:1.42 pkgsrc/sysutils/coreutils/distinfo:1.43 --- pkgsrc/sysutils/coreutils/distinfo:1.42 Wed Jul 27 14:31:31 2022 +++ pkgsrc/sysutils/coreutils/distinfo Tue Apr 18 14:41:31 2023 @@ -1,9 +1,8 @@ -$NetBSD: distinfo,v 1.42 2022/07/27 14:31:31 ryoon Exp $ +$NetBSD: distinfo,v 1.43 2023/04/18 14:41:31 ryoon Exp $ -BLAKE2s (coreutils-9.1.tar.xz) = 7f712a25194c8f4a40a0d973b9ea11e2446686402fca424f683db99de349de2b -SHA512 (coreutils-9.1.tar.xz) = a6ee2c549140b189e8c1b35e119d4289ec27244ec0ed9da0ac55202f365a7e33778b1dc7c4e64d1669599ff81a8297fe4f5adbcc8a3a2f75c919a43cd4b9bdfa -Size (coreutils-9.1.tar.xz) = 5712104 bytes +BLAKE2s (coreutils-9.2.tar.xz) = 561c8e4359e4aabf2c2ab11909d515c680e5544350b138e86fe089f533dec0ca +SHA512 (coreutils-9.2.tar.xz) = 7e3108fefba4ef995cc73c64ac5f4e09827a44649a97ddd624eb61d67ce82da5ed6dc8c0f79d3e269f5cdb7d43877a61ef5b93194dd905bec432a7e31f9f479c +Size (coreutils-9.2.tar.xz) = 5773008 bytes SHA1 (patch-Makefile.in) = e012814dded9691c2269661e64fc02f8f12d2039 -SHA1 (patch-lib_fflush.c) = 856ad3e8d301d65ca3db23347a88651e5c7a75d7 SHA1 (patch-lib_string.in.h) = 4fcd9c511eed2bb476db0d7bb8cceba03c1da180 SHA1 (patch-tests_misc_b2sum.sh) = 66d525bad222d198bbf419ce86542906be6dbb55 --_----------=_1681828891242860--