diff options
author | mef <mef@pkgsrc.org> | 2019-12-15 11:49:28 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2019-12-15 11:49:28 +0000 |
commit | a5eb9f0a3ca119d4c182be2b4d87ccc8f19cd753 (patch) | |
tree | 30ad4efecfe122c81199ff8871d701889103e411 /sysutils/coreutils | |
parent | 44a099c9722c9382f34c3808619e7504ec2add5e (diff) | |
download | pkgsrc-a5eb9f0a3ca119d4c182be2b4d87ccc8f19cd753.tar.gz |
(sysutils/coreutils, misc/gnuls) Updated from 8.29 to 8.31
----------------------------------------------------------------
* Noteworthy changes in release 8.31 (2019-03-10) [stable]
** Bug fixes
'base64 a b' now correctly diagnoses 'b' as the extra operand, not 'a'.
[bug introduced in coreutils-5.3.0]
When B already exists, 'cp -il A B' no longer immediately fails
after asking the user whether to proceed.
[This bug was present in "the beginning".]
df no longer corrupts displayed multibyte characters on macOS.
[bug introduced with coreutils-8.18]
seq no longer outputs inconsistent decimal point characters
for the last number, when locales are misconfigured.
[bug introduced in coreutils-7.0]
shred, sort, and split no longer falsely report ftruncate errors
when outputting to less-common file types. For example, the shell
command 'sort /dev/null -o /dev/stdout | cat' no longer fails with
an "error truncating" diagnostic.
[bug was introduced with coreutils-8.18 for sort and split, and
(for shared memory objects only) with fileutils-4.1 for shred]
sync no longer fails for write-only file arguments.
[bug introduced with argument support to sync in coreutils-8.24]
'tail -f file | filter' no longer exits immediately on AIX.
[bug introduced in coreutils-8.28]
'tail -f file | filter' no longer goes into an infinite loop
if filter exits and SIGPIPE is ignored.
[bug introduced in coreutils-8.28]
** Changes in behavior
cksum, dd, hostid, hostname, link, logname, sleep, tsort, unlink,
uptime, users, whoami, yes: now always process --help and --version options,
regardless of any other arguments present before any optional '--'
end-of-options marker.
nohup now processes --help and --version as first options even if other
parameters follow.
'yes a -- b' now outputs 'a b' instead of including the end-of-options
marker as before: 'a -- b'.
echo now always processes backslash escapes when the POSIXLY_CORRECT
environment variable is set.
When possible 'ln A B' now merely links A to B and reports an error
if this fails, instead of statting A and B before linking. This
uses fewer system calls and avoids some races. The old statting
approach is still used in situations where hard links to directories
are allowed (e.g., NetBSD when superuser).
ls --group-directories-first will also group symlinks to directories.
'test -a FILE' is not supported anymore. Long ago, there were concerns about
the high probability of humans confusing the -a primary with the -a binary
operator, so POSIX changed this to 'test -e FILE'. Scripts using it were
already broken and non-portable; the -a unary operator was never documented.
wc now treats non breaking space characters as word delimiters
unless the POSIXLY_CORRECT environment variable is set.
** New features
id now supports specifying multiple users.
'date' now supports the '+' conversion specification flag,
introduced in POSIX.1-2017.
printf, seq, sleep, tail, and timeout now accept floating point
numbers in either the current or the C locale. For example, if the
current locale's decimal point is ',', 'sleep 0,1' and 'sleep 0.1'
now mean the same thing. Previously, these commands accepted only
C-locale syntax with '.' as the decimal point. The new behavior is
more compatible with other implementations in non-C locales.
test now supports the '-N FILE' unary operator (like e.g. bash) to check
whether FILE exists and has been modified since it was last read.
env now supports '--default-signal[=SIG]', '--ignore-signal[=SIG]', and
'--block-signal[=SIG], to setup signal handling before executing a program.
env now supports '--list-signal-handling' to indicate non-default
signal handling before executing a program.
** New commands
basenc is added to complement existing base64,base32 commands,
and encodes and decodes printable text using various common encodings:
base64,base64url,base32,base32hex,base16,base2,z85.
** Improvements
ls -l now better aligns abbreviated months containing digits,
which is common in Asian locales.
stat and tail now know about the "sdcardfs" file system on Android.
stat -f -c%T now reports the file system type, and tail -f uses inotify.
stat now prints file creation time when supported by the file system,
on GNU Linux systems with glibc >= 2.28 and kernel >= 4.11.
----------------------------------------------------------------
* Noteworthy changes in release 8.30 (2018-07-01) [stable]
** Bug fixes
'cp --symlink SRC DST' will again correctly validate DST.
If DST is a regular file and SRC is a symlink to DST,
then cp will no longer allow that operation to clobber DST.
Also with -d, if DST is a symlink, then it can always be replaced,
even if it points to SRC on a separate device.
[bugs introduced with coreutils-8.27]
'cp -n -u' and 'mv -n -u' now consistently ignore the -u option.
Previously, this option combination suffered from race conditions
that caused -u to sometimes override -n.
[bug introduced with coreutils-7.1]
'cp -a --no-preserve=mode' now sets appropriate default permissions
for non regular files like fifos and character device nodes etc.,
and leaves mode bits of existing files unchanged.
Previously it would have set executable bits on created special files,
and set mode bits for existing files as if they had been created.
[bug introduced with coreutils-8.20]
'cp --remove-destination file symlink' now removes the symlink
even if it can't be traversed.
[bug introduced with --remove-destination in fileutils-4.1.1]
ls no longer truncates the abbreviated month names that have a
display width between 6 and 12 inclusive. Previously this would have
output ambiguous months for Arabic or Catalan locales.
'ls -aA' is now equivalent to 'ls -A', since -A now overrides -a.
[bug introduced in coreutils-5.3.0]
'mv -n A B' no longer suffers from a race condition that can
overwrite a simultaneously-created B. This bug fix requires
platform support for the renameat2 or renameatx_np syscalls, found
in recent Linux and macOS kernels. As a side effect, ‘mv -n A A’
now silently does nothing if A exists.
[bug introduced with coreutils-7.1]
** Changes in behavior
'cp --force file symlink' now removes the symlink even if
it is self referential.
ls --color now matches file extensions case insensitively.
** New features
cp --reflink now supports --reflink=never to enforce a standard copy.
env supports a new -v/--debug option to show verbose information about
each processing step.
env supports a new -S/--split-string=S option to split a single argument
string into multiple arguments. Used to pass multiple arguments in scripts
(shebang lines).
md5sum accepts a new option: --zero (-z) to delimit the output lines with a
NUL instead of a newline character. This also disables file name escaping.
This also applies to sha*sum and b2sum.
rm --preserve-root now supports the --preserve-root=all option to
reject any command line argument that is mounted to a separate file system.
** Improvements
cut supports line lengths up to the max file size on 32 bit systems.
Previously only offsets up to SIZE_MAX-1 were supported.
stat and tail now know about the "exfs" file system, which is a
version of XFS. stat -f --format=%T now reports the file system type,
and tail -f uses inotify.
wc avoids redundant processing of ASCII text in multibyte locales,
which is especially significant on macOS.
Diffstat (limited to 'sysutils/coreutils')
-rw-r--r-- | sysutils/coreutils/Makefile | 3 | ||||
-rw-r--r-- | sysutils/coreutils/Makefile.common | 4 | ||||
-rw-r--r-- | sysutils/coreutils/PLIST | 4 | ||||
-rw-r--r-- | sysutils/coreutils/distinfo | 14 | ||||
-rw-r--r-- | sysutils/coreutils/patches/patch-Makefile.in | 10 | ||||
-rw-r--r-- | sysutils/coreutils/patches/patch-lib_fflush.c | 4 |
6 files changed, 21 insertions, 18 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile index 92970a036e7..859bac3629c 100644 --- a/sysutils/coreutils/Makefile +++ b/sysutils/coreutils/Makefile @@ -1,6 +1,5 @@ -# $NetBSD: Makefile,v 1.75 2019/08/11 13:23:06 wiz Exp $ +# $NetBSD: Makefile,v 1.76 2019/12/15 11:49:28 mef Exp $ -PKGREVISION= 3 .include "../../sysutils/coreutils/Makefile.common" CONFIGURE_ARGS+= --without-gmp diff --git a/sysutils/coreutils/Makefile.common b/sysutils/coreutils/Makefile.common index 6fef60247ee..1c13e94f304 100644 --- a/sysutils/coreutils/Makefile.common +++ b/sysutils/coreutils/Makefile.common @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.common,v 1.21 2019/11/24 01:05:00 gdt Exp $ +# $NetBSD: Makefile.common,v 1.22 2019/12/15 11:49:28 mef Exp $ # # used by sysutils/coreutils/Makefile # used by misc/gnuls/Makefile -DISTNAME= coreutils-8.29 +DISTNAME= coreutils-8.31 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/} EXTRACT_SUFX= .tar.xz diff --git a/sysutils/coreutils/PLIST b/sysutils/coreutils/PLIST index 5e62736dbdc..4bde084d0b3 100644 --- a/sysutils/coreutils/PLIST +++ b/sysutils/coreutils/PLIST @@ -1,9 +1,10 @@ -@comment $NetBSD: PLIST,v 1.20 2018/01/01 22:29:56 rillig Exp $ +@comment $NetBSD: PLIST,v 1.21 2019/12/15 11:49:28 mef Exp $ bin/g[ bin/gb2sum bin/gbase32 bin/gbase64 bin/gbasename +bin/gbasenc bin/gcat bin/gchcon bin/gchgrp @@ -319,6 +320,7 @@ man/man1/gb2sum.1 man/man1/gbase32.1 man/man1/gbase64.1 man/man1/gbasename.1 +man/man1/gbasenc.1 man/man1/gcat.1 man/man1/gchcon.1 man/man1/gchgrp.1 diff --git a/sysutils/coreutils/distinfo b/sysutils/coreutils/distinfo index 5bbb9b6a60f..1fa459fb6a5 100644 --- a/sysutils/coreutils/distinfo +++ b/sysutils/coreutils/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.35 2018/05/09 08:41:19 wen Exp $ +$NetBSD: distinfo,v 1.36 2019/12/15 11:49:28 mef Exp $ -SHA1 (coreutils-8.29.tar.xz) = 63d522f430f0f9fceca71e4b52b414999531915c -RMD160 (coreutils-8.29.tar.xz) = 7c2a35e576358c7e8c3685ac83e83729166b7ca1 -SHA512 (coreutils-8.29.tar.xz) = 546bbcd5741beae7a68e7c4ca14d6d634f7c8be87feecdeddd00e226f4865bb89d503437c3a95622ba7bb0cb70addbb5bdf3767fa18d0b7410ab90ee53b29dfd -Size (coreutils-8.29.tar.xz) = 5286588 bytes -SHA1 (patch-Makefile.in) = fce694c56777081a6a54d157dd0573945250f381 -SHA1 (patch-lib_fflush.c) = d39c373d41769a54cf820296f9a0c25ce8f36057 +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 (patch-Makefile.in) = e012814dded9691c2269661e64fc02f8f12d2039 +SHA1 (patch-lib_fflush.c) = 856ad3e8d301d65ca3db23347a88651e5c7a75d7 SHA1 (patch-lib_string.in.h) = 4fcd9c511eed2bb476db0d7bb8cceba03c1da180 diff --git a/sysutils/coreutils/patches/patch-Makefile.in b/sysutils/coreutils/patches/patch-Makefile.in index b02d684139b..4a40392d8cd 100644 --- a/sysutils/coreutils/patches/patch-Makefile.in +++ b/sysutils/coreutils/patches/patch-Makefile.in @@ -1,10 +1,10 @@ -$NetBSD: patch-Makefile.in,v 1.2 2014/02/04 15:07:46 wiz Exp $ +$NetBSD: patch-Makefile.in,v 1.3 2019/12/15 11:49:28 mef Exp $ Target for misc/gnuls package. ---- Makefile.in.orig 2013-12-13 15:20:00.000000000 +0000 -+++ Makefile.in -@@ -4395,6 +4395,9 @@ pr_data = \ +--- Makefile.in.orig 2019-03-11 09:07:54.000000000 +0900 ++++ Makefile.in 2019-12-15 20:20:53.851783141 +0900 +@@ -6350,6 +6350,9 @@ pr_data = \ all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive @@ -12,5 +12,5 @@ Target for misc/gnuls package. + $(MAKE) $(AM_MAKEFLAGS) src/dircolors src/ls man/dircolors.1 man/ls.1 + .SUFFIXES: - .SUFFIXES: .1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y + .SUFFIXES: .1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sh .sh$(EXEEXT) .trs .x .xpl .xpl$(EXEEXT) .y am--refresh: Makefile diff --git a/sysutils/coreutils/patches/patch-lib_fflush.c b/sysutils/coreutils/patches/patch-lib_fflush.c index 82e08653cb9..d087ac5ab69 100644 --- a/sysutils/coreutils/patches/patch-lib_fflush.c +++ b/sysutils/coreutils/patches/patch-lib_fflush.c @@ -1,4 +1,6 @@ -$NetBSD: patch-lib_fflush.c,v 1.1 2018/05/09 08:41:19 wen Exp $ +$NetBSD: patch-lib_fflush.c,v 1.2 2019/12/15 11:49:28 mef Exp $ + +Add NetBSD support --- lib/fflush.c.orig 2018-05-09 07:57:42.000000000 +0000 +++ lib/fflush.c |