pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/coreutils Updated coreutils to 8.26.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ad727dd3c23
branches:  trunk
changeset: 357344:0ad727dd3c23
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 18 21:10:42 2017 +0000

description:
Updated coreutils to 8.26.

* Noteworthy changes in release 8.26 (2016-11-30) [stable]

** Bug fixes

  cp, mv, and install no longer run into undefined behavior when
  handling ACLs on Cygwin and Solaris platforms. [bug introduced in
  coreutils-8.24]

  cp --parents --no-preserve=mode, no longer copies permissions from source
  directories, instead using default permissions for created directories.
  [bug introduced in coreutils-5.93]

  chcon, chgrp, chmod, chown, du, and rm, or specifically utilities
  using the FTS interface, now diagnose failures returned by readdir().
  [this bug was inherent in the use of fts: thus, for rm the bug was
  introduced in coreutils-8.0.  du, chmod, chgrp and chown started using
  fts in 6.0.  chcon was added in coreutils-6.9.91 with fts support.  ]

  date, du, ls, and pr no longer mishandle time zone abbreviations on
  System V style platforms where this information is available only
  in the global variable 'tzname'. [bug introduced in coreutils-8.24]

  factor again outputs immediately when numbers are input interactively.
  [bug introduced in coreutils-8.24]

  head no longer tries to process non-seekable input as seekable,
  which resulted in failures on FreeBSD 11 at least.
  [bug introduced in coreutils-8.24]

  install -DZ and mkdir -pZ now set default SELinux context correctly even if
  two or more directories nested in each other are created and each of them
  defaults to a different SELinux context.

  ls --time-style no longer mishandles '%%b' in formats.
  [bug introduced in coreutils-7.2]

  md5sum --check --ignore-missing no longer treats files with checksums
  starting with "00" as missing.  This also affects sha*sum.
  [bug introduced with the --ignore-missing feature in coreutils-8.25]

  nl now resets numbering for each page section rather than just for each page.
  [This bug was present in "the beginning".]

  pr now handles specified separator strings containing tabs correctly.
  Previously it would have output random data from memory.
  [This bug was detected with ASAN and present in "the beginning".]

  sort -h -k now works even in locales that use blank as thousands separator.

  stty --help no longer outputs extraneous gettext header lines
  for translated languages. [bug introduced in coreutils-8.24]

  stty "sane" again sets "susp" to ^z on Solaris, and leaves "swtch" undefined.
  [This bug previously fixed only on some older Solaris systems]

  seq now immediately exits upon write errors.
  [This bug was present in "the beginning".]

  tac no longer crashes when there are issues reading from non-seekable inputs.
  [bug introduced in coreutils-8.15]

  tail -F now continues to process initially untailable files that are replaced
  by a tailable file.  This was handled correctly when inotify was available,
  and is now handled correctly in all cases.
  [bug introduced in fileutils-4.0h]

  tail -f - 'untailable file' will now terminate when there is no more data
  to read from stdin.  Previously it behaved as if --retry was specified.
  [This bug was present in "the beginning".]

  tail -f 'remote file' will now avoid outputting repeated data on network
  file systems that misreport file sizes through stale metadata.
  [This bug was present in "the beginning" but exacerbated in coreutils-8.24]

  tail -f --retry 'missing file' will now process truncations of that file.
  Previously truncation was ignored thus not outputting new data in the file.
  [bug introduced in coreutils-5.3.0]

  tail -f will no longer continually try to open inaccessible files,
  only doing so if --retry is specified.
  [This bug was present in "the beginning".]

  yes now handles short writes, rather than assuming all writes complete.
  [bug introduced in coreutils-8.24]

** Changes in behavior

  rm no longer accepts shortened variants of the --no-preserve-root option.

  seq no longer accepts 0 value as increment, and now also rejects NaN
  values for any argument.

  stat now outputs nanosecond information for time stamps even if
  they are out of localtime range.

  sort, tail, and uniq now support traditional usage like 'sort +2'
  and 'tail +10' on systems conforming to POSIX 1003.1-2008 and later.
  The 2008 edition of POSIX dropped the requirement that arguments
  like '+2' must be treated as file names.

** Improvements

  df now filters the system mount list more efficiently, with 20000
  mount entries now being processed in about 1.1s compared to 1.7s.

  du, shuf, sort, and uniq no longer fail to process a specified file
  when their stdin is closed, which would have happened with glibc >= 2.14.

  install -Z now also sets the default SELinux context for created directories.

  ls is now fully responsive to signals until the first escape sequence is
  written to a terminal.

  ls now aligns quoted items with non quoted items, which is easier to read,
  and also better indicates that the quote is not part of the actual name.

  stat and tail now know about these file systems:
    "balloon-kvm-fs"    KVM dynamic RAM allocation support,
    "cgroup2"           Linux Control Groups V2 support,
    "daxfs"             Optical media file system,
    "m1fs"              A Plexistor file system,
    "prl_fs"            A parallels file system,
    "smb2"              Samba for SMB protocol V2,
    "wslfs"             Windows Subsystem for Linux,
    "zsmalloc"          Linux compressed swap support,
  stat -f --format=%T now reports the file system type, and
  tail -f uses polling for "prl_fs" and "smb2", and inotify for others.

  stat --format=%N for quoting file names now honors the
  same QUOTING_STYLE environment variable values as ls.

** New programs

  b2sum is added to support the BLAKE2 digest algorithm with
  a similar interface to the existing md5sum and sha1sum, etc. commands.

** New Features

  comm now accepts the --total option to output a summary at the end.

  date now accepts the --debug option, to annotate the parsed date string,
  display timezone information, and warn about potential misuse.

  date now accepts the %q format to output the quarter of the year.

diffstat:

 sysutils/coreutils/Makefile        |   5 ++---
 sysutils/coreutils/Makefile.common |   7 ++++---
 sysutils/coreutils/PLIST           |   8 +++++++-
 sysutils/coreutils/distinfo        |  10 +++++-----
 4 files changed, 18 insertions(+), 12 deletions(-)

diffs (99 lines):

diff -r e19a51112688 -r 0ad727dd3c23 sysutils/coreutils/Makefile
--- a/sysutils/coreutils/Makefile       Wed Jan 18 20:47:50 2017 +0000
+++ b/sysutils/coreutils/Makefile       Wed Jan 18 21:10:42 2017 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.71 2016/07/09 06:38:59 wiz Exp $
+# $NetBSD: Makefile,v 1.72 2017/01/18 21:10:42 wiz Exp $
 
-PKGREVISION= 1
 .include "../../sysutils/coreutils/Makefile.common"
 
 CONFIGURE_ARGS+=       --without-gmp
@@ -41,7 +40,7 @@
 SUBST_FILES.libname=   Makefile.in
 SUBST_SED.libname=     -e '/^src_libstdbuf_so_LDFLAGS/s,$$, -install_name ${PREFIX}/libexec/coreutils/glibstdbuf.so,'
 
-PROGS= [ base64 basename cat chcon chgrp chmod chown chroot cksum comm \
+PROGS= [ b2sum base32 base64 basename cat chcon chgrp chmod chown chroot cksum comm \
        cp csplit cut date dd df dir dircolors dirname du hostid echo env \
        expand expr factor false fmt fold groups head id install join kill \
        link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl \
diff -r e19a51112688 -r 0ad727dd3c23 sysutils/coreutils/Makefile.common
--- a/sysutils/coreutils/Makefile.common        Wed Jan 18 20:47:50 2017 +0000
+++ b/sysutils/coreutils/Makefile.common        Wed Jan 18 21:10:42 2017 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile.common,v 1.15 2016/02/26 10:24:11 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.16 2017/01/18 21:10:42 wiz Exp $
+#
 # used by sysutils/coreutils/Makefile
 # used by misc/gnuls/Makefile
 
-DISTNAME=      coreutils-8.25
+DISTNAME=      coreutils-8.26
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GNU:=coreutils/}
 EXTRACT_SUFX=  .tar.xz
@@ -41,7 +42,7 @@
 
 # Various tests rely on GCC's -O2 behaviour (e.g. -D__NO_INLINE__) and
 # without it we run into undefined symbol issues.
-.if ${OPSYS} == "Darwin" && ${PKGSRC_COMPILER} == "gcc"
+.if ${OPSYS} == "Darwin" && ${PKGSRC_COMPILER:Mgcc}
 CFLAGS+=               -O2
 .endif
 
diff -r e19a51112688 -r 0ad727dd3c23 sysutils/coreutils/PLIST
--- a/sysutils/coreutils/PLIST  Wed Jan 18 20:47:50 2017 +0000
+++ b/sysutils/coreutils/PLIST  Wed Jan 18 21:10:42 2017 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.18 2016/01/31 09:20:50 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.19 2017/01/18 21:10:42 wiz Exp $
 bin/g[
+bin/gb2sum
 bin/gbase32
 bin/gbase64
 bin/gbasename
@@ -104,6 +105,8 @@
 bin/gwhoami
 bin/gyes
 gnu/bin/[
+gnu/bin/b2sum
+gnu/bin/base32
 gnu/bin/base64
 gnu/bin/basename
 gnu/bin/cat
@@ -206,6 +209,8 @@
 gnu/bin/who
 gnu/bin/whoami
 gnu/bin/yes
+gnu/man/man1/b2sum.1
+gnu/man/man1/base32.1
 gnu/man/man1/base64.1
 gnu/man/man1/basename.1
 gnu/man/man1/cat.1
@@ -310,6 +315,7 @@
 gnu/man/man1/yes.1
 info/coreutils.info
 ${PLIST.stdbuf}libexec/coreutils/libstdbuf.so
+man/man1/gb2sum.1
 man/man1/gbase32.1
 man/man1/gbase64.1
 man/man1/gbasename.1
diff -r e19a51112688 -r 0ad727dd3c23 sysutils/coreutils/distinfo
--- a/sysutils/coreutils/distinfo       Wed Jan 18 20:47:50 2017 +0000
+++ b/sysutils/coreutils/distinfo       Wed Jan 18 21:10:42 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.33 2016/01/31 09:20:50 ryoon Exp $
+$NetBSD: distinfo,v 1.34 2017/01/18 21:10:42 wiz Exp $
 
-SHA1 (coreutils-8.25.tar.xz) = 301f186c24afb882a3ca73d19a102a2ce6f456c3
-RMD160 (coreutils-8.25.tar.xz) = 9a957473c66db3b12b55cb92275a32be670d8a8f
-SHA512 (coreutils-8.25.tar.xz) = 571f95d44987d373081ed4c6ac82155ad3dcd95621d7b1a7163597e80ecbbafef2cd74b2ef594587a443a1a4355083879f898a286bb0230c48112d43d076ccd6
-Size (coreutils-8.25.tar.xz) = 5725008 bytes
+SHA1 (coreutils-8.26.tar.xz) = d6268b2495c52d7a0ecc6156e36e0eca16e601ea
+RMD160 (coreutils-8.26.tar.xz) = 54fb9280a4629ef300c7b9b66eee970a9d3d29ef
+SHA512 (coreutils-8.26.tar.xz) = 1ca7b32a1564855e672f64cb815f858619dd4308af1c9763959d06fab1ecd51385c4c61d987ceec7ff6baaaac699f2db10be4be7e40b2c6a6d4ffc3911180b03
+Size (coreutils-8.26.tar.xz) = 5810244 bytes
 SHA1 (patch-Makefile.in) = fce694c56777081a6a54d157dd0573945250f381
 SHA1 (patch-lib-fflush.c) = adfd2c0da90c63e082d4f6bf3938f63a6260d018
 SHA1 (patch-lib_string.in.h) = 4fcd9c511eed2bb476db0d7bb8cceba03c1da180



Home | Main Index | Thread Index | Old Index