pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/gzip archivers/gzip: update to release 1.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8720448321b5
branches:  trunk
changeset: 317585:8720448321b5
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Jan 10 06:47:42 2019 +0000

description:
archivers/gzip: update to release 1.10

Prompted in part because prior releases fail to build on Linux
distributions that use glibc >= 2.27 (relates to PR pkg/53826).

* Noteworthy changes in release 1.10 (2018-12-29) [stable]

** Changes in behavior

  Compressed gzip output no longer contains the current time as a
  timestamp when the input is not a regular file.  Instead, the output
  contains a null (zero) timestamp.  This makes gzip's behavior more
  reproducible when used as part of a pipeline.  (As a reminder, even
  regular files will use null timestamps after the year 2106, due to a
  limitation in the gzip format.)

** Bug fixes

  A use of uninitialized memory on some malformed inputs has been fixed.
  [bug present since the beginning]

  A few theoretical race conditions in signal handers have been fixed.
  These bugs most likely do not happen on practical platforms.
  [bugs present since the beginning]


* Noteworthy changes in release 1.9 (2018-01-07) [stable]

** Bug fixes

  gzip -d -S SUFFIX file.SUFFIX would fail for any upper-case byte in SUFFIX.
  E.g., before, this command would fail:
    $ :|gzip > kT && gzip -d -S T kT
    gzip: kT: unknown suffix -- ignored
  [bug present since the beginning]

  When decompressing data in 'pack' format, gzip no longer mishandles
  leading zeros in the end-of-block code.  [bug introduced in gzip-1.6]

  When converting from system-dependent time_t format to the 32-bit
  unsigned MTIME format used in gzip files, if a timestamp does not
  fit gzip now substitutes zero instead of the timestamp's low-order
  32 bits, as per Internet RFC 1952.  When converting from MTIME to
  time_t format, if a timestamp does not fit gzip now warns and
  substitutes the nearest in-range value instead of crashing or
  silently substituting an implementation-defined value (typically,
  the timestamp's low-order bits).  This affects timestamps before
  1970 and after 2106, and timestamps after 2038 on platforms with
  32-bit signed time_t.  [bug present since the beginning]

  Commands implemented via shell scripts are now more consistent about
  failure status.  For example, 'gunzip --help >/dev/full' now
  consistently exits with status 1 (error), instead of with status 2
  (warning) on some platforms.  [bug present since the beginning]

  Support for VMS and Amiga has been removed.  It was not working anyway,
  and it reportedly caused file name glitches on MS-Windowsish platforms.


* Noteworthy changes in release 1.8 (2016-04-26) [stable]

** Bug fixes

  gzip -l no longer falsely reports a write error when writing to a pipe.
  [bug introduced in gzip-1.7]

  Port to Oracle Solaris Studio 12 on x86-64.
  [bug present since at least gzip-1.2.4]

  When configuring gzip, ./configure DEFS='...-DNO_ASM...' now
  suppresses assembler again.  [bug introduced in gzip-1.3.5]


* Noteworthy changes in release 1.7 (2016-03-27) [stable]

** Changes in behavior

  The GZIP environment variable is now obsolescent; gzip now warns if
  it is used, and rejects attempts to use dangerous options or operands.
  You can use an alias or script instead.

  Installed programs like 'zgrep' now use the PATH environment variable
  as usual to find subsidiary programs like 'gzip' and 'grep'.
  Previously they prepended the installation directory to the PATH,
  which sometimes caused 'make check' to test the wrong gzip executable.
  [bug introduced in gzip-1.3.13]

** New features

  gzip now accepts the --synchronous option, which causes it to use
  fsync and similar primitives to transfer output data to the output
  file's storage device when the file system supports this.  Although
  this option makes gzip safer in the presence of system crashes, it
  can make gzip considerably slower.

  gzip now accepts the --rsyncable option. This option is accepted in
  all modes, but has effect only when compressing: it makes the resulting
  output more amenable to efficient use of rsync.  For example, when a
  large input file gets a small change, a gzip --rsyncable image of
  that file will remain largely unchanged, too.  Without --rsyncable,
  even a tiny change in the input could result in a totally different
  gzip-compressed output file.

** Bug fixes

  gzip -k -v no longer reports that files are replaced.
  [bug present since the beginning]

  zgrep -f A B C no longer reads A more than once if A is not a regular file.
  This better supports invocations like 'zgrep -f <(COMMAND) B C' in Bash.
  [bug introduced in gzip-1.2]

diffstat:

 archivers/gzip/Makefile                   |   8 ++++----
 archivers/gzip/distinfo                   |  13 ++++++-------
 archivers/gzip/patches/patch-lib_fflush.c |  15 +++++++++------
 archivers/gzip/patches/patch-lib_fseeko.c |  13 -------------
 4 files changed, 19 insertions(+), 30 deletions(-)

diffs (92 lines):

diff -r 808ad45a02ae -r 8720448321b5 archivers/gzip/Makefile
--- a/archivers/gzip/Makefile   Thu Jan 10 03:18:20 2019 +0000
+++ b/archivers/gzip/Makefile   Thu Jan 10 06:47:42 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2016/02/25 09:28:36 jperkin Exp $
+# $NetBSD: Makefile,v 1.36 2019/01/10 06:47:42 gutteridge Exp $
 
-DISTNAME=      gzip-1.6
+DISTNAME=      gzip-1.10
 CATEGORIES=    archivers
 #MASTER_SITES= ${MASTER_SITE_GNU:=gzip/}
 #EXTRACT_SUFX= .tar.xz
@@ -10,14 +10,14 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.gnu.org/software/gzip/gzip.html
 COMMENT=       Compress or expand files
-LICENSE=       gnu-gpl-v2
+LICENSE=       gnu-gpl-v3
 
 CONFLICTS+=            gzip-base-[0-9]* gzip-info-[0-9]*
 
 GNU_CONFIGURE= yes
 MAKE_FLAGS+=   manlinks=so
 INFO_FILES=    yes
-CHECK_PERMS=   no      # can't depend on checkperms; it's distfile is gzipped
+CHECK_PERMS=   no      # can't depend on checkperms; its distfile is gzipped
 
 #bug 20453 in bug-gzip list, passed onto gnulib
 CONFIGURE_ENV.AIX+=    ac_cv_header_wctype_h=no
diff -r 808ad45a02ae -r 8720448321b5 archivers/gzip/distinfo
--- a/archivers/gzip/distinfo   Thu Jan 10 03:18:20 2019 +0000
+++ b/archivers/gzip/distinfo   Thu Jan 10 06:47:42 2019 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.9 2015/11/03 00:56:21 agc Exp $
+$NetBSD: distinfo,v 1.10 2019/01/10 06:47:42 gutteridge Exp $
 
-SHA1 (gzip-1.6.tar) = 7d546c77fd49f1dc093c0fb23512bf926ce94a40
-RMD160 (gzip-1.6.tar) = 62a506b3305c0d112410574fbe8ace537b32ae10
-SHA512 (gzip-1.6.tar) = f1a076fae64213a71faf85ec3e26135a5742777a32e613e2df9efedd46033b95dc98fb5622cff242a9e79daaf175ec6bb084ef1e169c113c0210ad9a7bde1f59
-Size (gzip-1.6.tar) = 5048320 bytes
+SHA1 (gzip-1.10.tar) = bde6f92de3bb1f780bb260ff9af719bfd1dbf811
+RMD160 (gzip-1.10.tar) = 66169ae312d98afc79a98d1a2ffe98a091f65ebd
+SHA512 (gzip-1.10.tar) = fc54f62e5b1db56bde178e0019fb831af6bfad73fc346742ae830de9623e5982dbc1e5463a34fbf0b88777b53901ffbbecfba724fb3ae7d9f758c5701bb54098
+Size (gzip-1.10.tar) = 5355520 bytes
 SHA1 (patch-aa) = a08b277aa95df808d055f4daf95fd1462c300290
 SHA1 (patch-ab) = 738d6e5f9300c2718694cc4134b36637b323ea8a
-SHA1 (patch-lib_fflush.c) = 0cefe0da43d9d06afea104a42119c60b572def31
-SHA1 (patch-lib_fseeko.c) = b4b3bd14e237103e1e5b6f6268797e0705462474
+SHA1 (patch-lib_fflush.c) = 4012b674c04f83f2b3bffdef6107a7836ce21d8e
diff -r 808ad45a02ae -r 8720448321b5 archivers/gzip/patches/patch-lib_fflush.c
--- a/archivers/gzip/patches/patch-lib_fflush.c Thu Jan 10 03:18:20 2019 +0000
+++ b/archivers/gzip/patches/patch-lib_fflush.c Thu Jan 10 06:47:42 2019 +0000
@@ -1,13 +1,16 @@
-$NetBSD: patch-lib_fflush.c,v 1.2 2013/06/11 08:28:30 adam Exp $
+$NetBSD: patch-lib_fflush.c,v 1.3 2019/01/10 06:47:42 gutteridge Exp $
 
---- lib/fflush.c.orig  2013-06-09 20:37:56.000000000 +0000
+Address seek function API change from circa NetBSD 6, originally
+reported as PR pkg/47914.
+
+--- lib/fflush.c.orig  2018-06-25 04:09:24.000000000 +0000
 +++ lib/fflush.c
-@@ -96,7 +96,7 @@ update_fpos_cache (FILE *fp _GL_UNUSED_P
-                    off_t pos _GL_UNUSED_PARAMETER)
+@@ -101,7 +101,7 @@ update_fpos_cache (FILE *fp _GL_UNUSED_P
  {
- #  if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */
+ #  if defined __sferror || defined __DragonFly__ || defined __ANDROID__
+   /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
 -#   if defined __CYGWIN__
-+#   if defined(__CYGWIN__) || defined(__NetBSD__)
++#   if defined __CYGWIN__ || (defined __NetBSD__ && __NetBSD_Version__ >= 600000000) || defined __minix
    /* fp_->_offset is typed as an integer.  */
    fp_->_offset = pos;
  #   else
diff -r 808ad45a02ae -r 8720448321b5 archivers/gzip/patches/patch-lib_fseeko.c
--- a/archivers/gzip/patches/patch-lib_fseeko.c Thu Jan 10 03:18:20 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-lib_fseeko.c,v 1.2 2013/06/11 08:28:30 adam Exp $
-
---- lib/fseeko.c.orig  2013-04-07 01:59:54.000000000 +0000
-+++ lib/fseeko.c
-@@ -119,7 +119,7 @@ fseeko (FILE *fp, off_t offset, int when
-       fp->_flags &= ~_IO_EOF_SEEN;
-       fp->_offset = pos;
- #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */
--# if defined __CYGWIN__
-+# if defined(__CYGWIN__) || defined(__NetBSD__)
-       /* fp_->_offset is typed as an integer.  */
-       fp_->_offset = pos;
- # else



Home | Main Index | Thread Index | Old Index