pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc coreutils: Update to 8.32
details: https://anonhg.NetBSD.org/pkgsrc/rev/bcc81b2169f8
branches: trunk
changeset: 448075:bcc81b2169f8
user: nia <nia%pkgsrc.org@localhost>
date: Thu Mar 04 11:16:17 2021 +0000
description:
coreutils: Update to 8.32
* Noteworthy changes in release 8.32 (2020-03-05) [stable]
** Bug fixes
cp now copies /dev/fd/N correctly on platforms like Solaris where
it is a character-special file whose minor device number is N.
[bug introduced in fileutils-4.1.6]
dd conv=fdatasync no longer reports a "Bad file descriptor" error
when fdatasync is interrupted, and dd now retries interrupted calls
to close, fdatasync, fstat and fsync instead of incorrectly
reporting an "Interrupted system call" error.
[bugs introduced in coreutils-6.0]
df now correctly parses the /proc/self/mountinfo file for unusual entries
like ones with '\r' in a field value ("mount -t tmpfs tmpfs /foo$'\r'bar"),
when the source field is empty ('mount -t tmpfs "" /mnt'), and when the
filesystem type contains characters like a blank which need escaping.
[bugs introduced in coreutils-8.24 with the introduction of reading
the /proc/self/mountinfo file]
factor again outputs immediately when stdout is a tty but stdin is not.
[bug introduced in coreutils-8.24]
ln works again on old systems without O_DIRECTORY support (like Solaris 10),
and on systems where symlink ("x", ".") fails with errno == EINVAL
(like Solaris 10 and Solaris 11).
[bug introduced in coreutils-8.31]
rmdir --ignore-fail-on-non-empty now works correctly for directories
that fail to be removed due to permission issues. Previously the exit status
was reversed, failing for non empty and succeeding for empty directories.
[bug introduced in coreutils-6.11]
'shuf -r -n 0 file' no longer mistakenly reads from standard input.
[bug introduced with the --repeat feature in coreutils-8.22]
split no longer reports a "output file suffixes exhausted" error
when the specified number of files is evenly divisible by 10, 16, 26,
for --numeric, --hex, or default alphabetic suffixes respectively.
[bug introduced in coreutils-8.24]
seq no longer prints an extra line under certain circumstances (such as
'seq -f "%g " 1000000 1000000').
[bug introduced in coreutils-6.10]
** Changes in behavior
Several programs now check that numbers end properly. For example,
'du -d 1x' now reports an error instead of silently ignoring the 'x'.
Affected programs and options include du -d, expr's numeric operands
on non-GMP builds, install -g and -o, ls's TABSIZE environment
variable, mknod b and c, ptx -g and -w, shuf -n, and sort --batch-size
and --parallel.
date now parses military time zones in accordance with common usage:
"A" to "M" are equivalent to UTC+1 to UTC+12
"N" to "Y" are equivalent to UTC-1 to UTC-12
"Z" is "zulu" time (UTC).
For example, 'date -d "09:00B" is now equivalent to 9am in UTC+2 time zone.
Previously, military time zones were parsed according to the obsolete
rfc822, with their value negated (e.g., "B" was equivalent to UTC-2).
[The old behavior was introduced in sh-utils 2.0.15 ca. 1999, predating
coreutils package.]
ls issues an error message on a removed directory, on GNU/Linux systems.
Previously no error and no entries were output, and so indistinguishable
from an empty directory, with default ls options.
uniq no longer uses strcoll() to determine string equivalence,
and so will operate more efficiently and consistently.
** New Features
ls now supports the --time=birth option to display and sort by
file creation time, where available.
od --skip-bytes now can use lseek even if the input is not a regular
file, greatly improving performance in some cases.
stat(1) supports a new --cached= option, used on systems with statx(2)
to control cache coherency of file system attributes,
useful on network file systems.
** Improvements
stat and ls now use the statx() system call where available, which can
operate more efficiently by only retrieving requested attributes.
stat and tail now know about the "binderfs", "dma-buf-fs", "erofs",
"ppc-cmm-fs", and "z3fold" file systems.
stat -f -c%T now reports the file system type, and tail -f uses inotify.
** Build-related
gzip-compressed tarballs are distributed once again
diffstat:
misc/gnuls/Makefile | 3 +--
sysutils/coreutils/Makefile | 3 +--
sysutils/coreutils/Makefile.common | 4 ++--
sysutils/coreutils/distinfo | 11 +++++------
sysutils/coreutils/patches/patch-src_ln.c | 15 ---------------
5 files changed, 9 insertions(+), 27 deletions(-)
diffs (76 lines):
diff -r 7775820fee7d -r bcc81b2169f8 misc/gnuls/Makefile
--- a/misc/gnuls/Makefile Thu Mar 04 11:02:33 2021 +0000
+++ b/misc/gnuls/Makefile Thu Mar 04 11:16:17 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2020/08/31 18:10:20 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2021/03/04 11:16:17 nia Exp $
#
-PKGREVISION= 1
.include "../../sysutils/coreutils/Makefile.common"
PKGNAME= ${DISTNAME:S/coreutils/gnuls/}
diff -r 7775820fee7d -r bcc81b2169f8 sysutils/coreutils/Makefile
--- a/sysutils/coreutils/Makefile Thu Mar 04 11:02:33 2021 +0000
+++ b/sysutils/coreutils/Makefile Thu Mar 04 11:16:17 2021 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.78 2020/09/23 20:12:50 jperkin Exp $
+# $NetBSD: Makefile,v 1.79 2021/03/04 11:16:17 nia Exp $
-PKGREVISION= 2
.include "../../sysutils/coreutils/Makefile.common"
CONFIGURE_ARGS+= --without-gmp
diff -r 7775820fee7d -r bcc81b2169f8 sysutils/coreutils/Makefile.common
--- a/sysutils/coreutils/Makefile.common Thu Mar 04 11:02:33 2021 +0000
+++ b/sysutils/coreutils/Makefile.common Thu Mar 04 11:16:17 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.23 2020/01/18 23:35:14 rillig Exp $
+# $NetBSD: Makefile.common,v 1.24 2021/03/04 11:16:17 nia Exp $
#
# used by sysutils/coreutils/Makefile
# used by misc/gnuls/Makefile
-DISTNAME= coreutils-8.31
+DISTNAME= coreutils-8.32
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/}
EXTRACT_SUFX= .tar.xz
diff -r 7775820fee7d -r bcc81b2169f8 sysutils/coreutils/distinfo
--- a/sysutils/coreutils/distinfo Thu Mar 04 11:02:33 2021 +0000
+++ b/sysutils/coreutils/distinfo Thu Mar 04 11:16:17 2021 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.37 2020/09/23 20:12:50 jperkin Exp $
+$NetBSD: distinfo,v 1.38 2021/03/04 11:16:17 nia Exp $
-SHA1 (coreutils-8.31.tar.xz) = c62b5034a5b65daca33c50a60df87ebc44159faf
-RMD160 (coreutils-8.31.tar.xz) = f672a6e3212d906555ba262edefb785c48badc70
-SHA512 (coreutils-8.31.tar.xz) = ef8941dae845bbf5ae5838bc49e44554a766302930601aada6fa594e8088f0fbad74e481ee392ff89633e68b99e4da3f761fcb5d31ee3b233d540fe2a2d4e1af
-Size (coreutils-8.31.tar.xz) = 5410140 bytes
+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 (patch-Makefile.in) = e012814dded9691c2269661e64fc02f8f12d2039
SHA1 (patch-lib_fflush.c) = 856ad3e8d301d65ca3db23347a88651e5c7a75d7
SHA1 (patch-lib_string.in.h) = 4fcd9c511eed2bb476db0d7bb8cceba03c1da180
-SHA1 (patch-src_ln.c) = 5f7fd7567de9fe7ec2d212098debde3d1aa90333
diff -r 7775820fee7d -r bcc81b2169f8 sysutils/coreutils/patches/patch-src_ln.c
--- a/sysutils/coreutils/patches/patch-src_ln.c Thu Mar 04 11:02:33 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_ln.c,v 1.1 2020/09/23 20:12:50 jperkin Exp $
-
-Backport https://github.com/coreutils/coreutils/commit/3e0dff3925b5e521cae468087950e85b60002d1c
-
---- src/ln.c.orig 2019-01-05 10:36:22.000000000 +0000
-+++ src/ln.c
-@@ -603,7 +603,7 @@ main (int argc, char **argv)
- {
- if (n_files == 2 && !target_directory)
- link_errno = atomic_link (file[0], AT_FDCWD, file[1]);
-- if (link_errno < 0 || link_errno == EEXIST || link_errno == ENOTDIR)
-+ if (link_errno < 0 || link_errno == EEXIST || link_errno == ENOTDIR || link_errno == EINVAL)
- {
- char const *d
- = target_directory ? target_directory : file[n_files - 1];
Home |
Main Index |
Thread Index |
Old Index