Run "make update-copyright" and then...
* gzip.c: Transform the copyright notice via s/2015/2016/.
* gnulib: Update to latest.
* tests/init.sh: Update from gnulib.
* bootstrap: Likewise.
-----
- Copyright (C) 1997-2002, 2006-2015 Free Software Foundation, Inc.
+ Copyright (C) 1997-2002, 2006-2016 Free Software Foundation, Inc.
Copyright (C) 1992, 1993 Jean-loup Gailly
Copying and distribution of this file, with or without
# Make gzip (GNU zip).
-# Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2015 Free Software Foundation,
+# Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2016 Free Software Foundation,
# Inc.
# This program is free software; you can redistribute it and/or modify
========================================================================
-Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2015 Free Software Foundation,
+Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2016 Free Software Foundation,
Inc.
Copyright (C) 1992, 1993 Jean-loup Gailly
========================================================================
-Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2015 Free Software Foundation,
+Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2016 Free Software Foundation,
Inc.
Copyright (C) 1992, 1993 Jean-loup Gailly
-----
-Copyright (C) 2002-2006, 2009-2015 Free Software Foundation, Inc.
+Copyright (C) 2002-2006, 2009-2016 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
========================================================================
-Copyright (C) 1999, 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+Copyright (C) 1999, 2001, 2006, 2009-2016 Free Software Foundation, Inc.
Copyright (C) 1992, 1993 Jean-loup Gailly
Permission is granted to copy, distribute and/or modify this document
/* bits.c -- output variable-length bit strings
- Copyright (C) 1999, 2009-2015 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2009-2016 Free Software Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
#! /bin/sh
# Print a version string.
-scriptversion=2013-12-05.23; # UTC
+scriptversion=2014-12-08.12; # UTC
# Bootstrap this package from checked-out sources.
-# Copyright (C) 2003-2015 Free Software Foundation, Inc.
+# Copyright (C) 2003-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
local_gl_dir=gl
+# Honour $PERL, but work even if there is none
+PERL="${PERL-perl}"
+
me=$0
usage() {
test "$appvar" = TAR && appvar=AMTAR
case $appvar in
GZIP) ;; # Do not use $GZIP: it contains gzip options.
+ PERL::*) ;; # Keep perl modules as-is
*) eval "app=\${$appvar-$app}" ;;
esac
ret=1
continue
} ;;
+ # Another check is for perl modules. These can be written as
+ # e.g. perl::XML::XPath in case of XML::XPath module, etc.
+ perl::*)
+ # Extract module name
+ app="${app#perl::}"
+ if ! $PERL -m"$app" -e 'exit 0' >/dev/null 2>&1; then
+ warn_ "Error: perl module '$app' not found"
+ ret=1
+ fi
+ continue
+ ;;
esac
if [ "$req_ver" = "-" ]; then
# Merely require app to exist; not all prereq apps are well-behaved
esac
fi
echo "$0: $gnulib_tool $gnulib_tool_options --import ..."
-$gnulib_tool $gnulib_tool_options --import $gnulib_modules &&
+$gnulib_tool $gnulib_tool_options --import $gnulib_modules \
+ || die "gnulib-tool failed"
for file in $gnulib_files; do
symlink_to_dir "$GNULIB_SRCDIR" $file \
# Bootstrap configuration.
-# Copyright (C) 2006-2007, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2006-2007, 2009-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Customize maint.mk -*- makefile -*-
-# Copyright (C) 2003-2015 Free Software Foundation, Inc.
+# Copyright (C) 2003-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Configure template for gzip.
-# Copyright (C) 1999-2002, 2006-2007, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 1999-2002, 2006-2007, 2009-2016 Free Software Foundation, Inc.
# Copyright (C) 1992-1993 Jean-loup Gailly
/* deflate.c -- compress data using the deflation algorithm
- Copyright (C) 1999, 2006, 2009-2015 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2006, 2009-2016 Free Software Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
# Make gzip documentation. -*-Makefile-*-
-# Copyright (C) 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2009-2016 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
(version @value{VERSION}, @value{UPDATED}),
and documents commands for compressing and decompressing data.
-Copyright @copyright{} 1998-1999, 2001-2002, 2006-2007, 2009-2015
-Free Software Foundation, Inc.
+Copyright @copyright{} 1998-1999, 2001-2002, 2006-2007, 2009-2016 Free Software
+Foundation, Inc.
Copyright @copyright{} 1992, 1993 Jean-loup Gailly
-Subproject commit ffe64673c36168b0e62224429a4870427f2c68c4
+Subproject commit 271dfe37985ff3a6e9cf9d08ab67e8ea3e239162
#!/bin/sh
# Uncompress files. This is the inverse of gzip.
-# Copyright (C) 2007, 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2010-2016 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# On Ultrix, /bin/sh is too buggy, change the first line to: #!/bin/sh5
-# Copyright (C) 1998, 2002, 2004, 2006-2007, 2010-2015 Free Software
+# Copyright (C) 1998, 2002, 2004, 2006-2007, 2010-2016 Free Software
# Foundation, Inc.
# Copyright (C) 1993 Jean-loup Gailly
compresses better than
.IR gzip .
.SH "COPYRIGHT NOTICE"
-Copyright \(co 1998-1999, 2001-2002, 2012, 2015 Free Software Foundation, Inc.
+Copyright \(co 1998-1999, 2001-2002, 2012, 2015-2016 Free Software Foundation,
+Inc.
.br
Copyright \(co 1992, 1993 Jean-loup Gailly
.PP
/* gzip (GNU zip) -- compress files with zip algorithm and 'compress' interface
- Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2015 Free Software
+ Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2016 Free Software
Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
*/
static char const *const license_msg[] = {
-"Copyright (C) 2015 Free Software Foundation, Inc.",
+"Copyright (C) 2016 Free Software Foundation, Inc.",
"Copyright (C) 1993 Jean-loup Gailly.",
"This is free software. You may redistribute copies of it under the terms of",
"the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.",
/* gzip.h -- common declarations for all gzip modules
- Copyright (C) 1997-1999, 2001, 2006-2007, 2009-2015 Free Software
+ Copyright (C) 1997-1999, 2001, 2006-2007, 2009-2016 Free Software
Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly.
/* Inflate deflated data
- Copyright (C) 1997-1999, 2002, 2006, 2009-2015 Free Software Foundation,
+ Copyright (C) 1997-1999, 2002, 2006, 2009-2016 Free Software Foundation,
Inc.
This program is free software; you can redistribute it and/or modify
# Make gzip/lib -*-Makefile-*-
-# Copyright (C) 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2009-2016 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
/* match.s -- optional optimized asm version of longest match in deflate.c
- Copyright (C) 2002, 2006, 2009-2015 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2006, 2009-2016 Free Software Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
/* lzw.h -- define the lzw functions.
- Copyright (C) 1994-2015 Free Software Foundation, Inc.
+ Copyright (C) 1994-2016 Free Software Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly.
This program is free software; you can redistribute it and/or modify
# Check for a working shell.
-# Copyright (C) 2000-2001, 2007, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2000-2001, 2007, 2009-2016 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
/* revision.h -- define the version number
- Copyright (C) 1998-1999, 2001-2002, 2006, 2009-2015 Free Software
+ Copyright (C) 1998-1999, 2001-2002, 2006, 2009-2016 Free Software
Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly.
/* tailor.h -- target dependent definitions
- Copyright (C) 1997-1999, 2002, 2006, 2009-2015 Free Software Foundation,
+ Copyright (C) 1997-1999, 2002, 2006, 2009-2016 Free Software Foundation,
Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
## Process this file with automake to create Makefile.in
-# Copyright 2010-2015 Free Software Foundation, Inc.
+# Copyright 2010-2016 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# Test the obsolescent GZIP environment variable.
-# Copyright 2015 Free Software Foundation, Inc.
+# Copyright 2015-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# Before gzip-1.4, gzip -d would segfault on some inputs.
-# Copyright (C) 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2010-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Make sure all these programs work properly
# when invoked with --help or --version.
-# Copyright (C) 2000-2015 Free Software Foundation, Inc.
+# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# Exercise a bug whereby an invalid input could make gzip -d misbehave.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# source this file; set up for tests
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
fatal_ () { warn_ "$ME_: hard error: $@"; Exit 99; }
framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; }
+# This is used to simplify checking of the return value
+# which is useful when ensuring a command fails as desired.
+# I.e., just doing `command ... &&fail=1` will not catch
+# a segfault in command for example. With this helper you
+# instead check an explicit exit code like
+# returns_ 1 command ... || fail
+returns_ () {
+ # Disable tracing so it doesn't interfere with stderr of the wrapped command
+ { set +x; } 2>/dev/null
+
+ local exp_exit="$1"
+ shift
+ "$@"
+ test $? -eq $exp_exit && ret_=0 || ret_=1
+
+ if test "$VERBOSE" = yes && test "$gl_set_x_corrupts_stderr_" = false; then
+ set -x
+ fi
+ { return $ret_; } 2>/dev/null
+}
+
# Sanitize this shell to POSIX mode, if possible.
DUALCASE=1; export DUALCASE
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
# ? - not ok
gl_shell_test_script_='
test $(echo y) = y || exit 1
+f_local_() { local v=1; }; f_local_ || exit 1
score_=10
if test "$VERBOSE" = yes; then
test -n "$( (exec 3>&1; set -x; P=1 true 2>&3) 2> /dev/null)" && score_=9
*x*) opts_=-x ;;
*) opts_= ;;
esac
+ re_shell=$re_shell_
+ export re_shell
exec "$re_shell_" $opts_ "$0" --no-reexec "$@"
echo "$ME_: exec failed" 1>&2
exit 127
fi
}
fi
-elif ( cmp --version < /dev/null 2>&1 | grep GNU ) > /dev/null 2>&1; then
+elif cmp -s /dev/null /dev/null 2>/dev/null; then
compare_ () { cmp -s "$@"; }
else
compare_ () { cmp "$@"; }
#!/bin/sh
# Exercise the --keep option.
-# Copyright (C) 2013-2015 Free Software Foundation, Inc.
+# Copyright (C) 2013-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Before gzip-1.4, this the use of memcpy in inflate_codes could
# mistakenly operate on overlapping regions. Exercise that code.
-# Copyright (C) 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2010-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Ensure that gzip -cdf handles mixed compressed/not-compressed data
# Before gzip-1.5, it would produce invalid output.
-# Copyright (C) 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2010-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# Before gzip-1.5, gzip -d -S '' k.gz would delete F.gz and not create "F"
-# Copyright (C) 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2010-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# Ensure that gzip interprets "-" as stdin.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# gzip accepts trailing NUL bytes; don't fail if there is exactly one.
# Before gzip-1.4, this would fail.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# gzip should report invalid 'unpack' input when uncompressing.
# With gzip-1.5, it would output invalid data instead.
-# Copyright (C) 2012-2015 Free Software Foundation, Inc.
+# Copyright (C) 2012-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# Check that -Sz works.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Exercise zdiff with two compressed inputs.
# Before gzip-1.4, this would fail.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# Ensure that zgrep -15 works. Before gzip-1.5, it would fail.
-# Copyright (C) 2012-2015 Free Software Foundation, Inc.
+# Copyright (C) 2012-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Ensure that zgrep -f - works like grep -f -
# Before gzip-1.4, it would fail.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Check that zgrep is terminated gracefully by signal when
# its grep/sed pipeline is terminated by a signal.
-# Copyright (C) 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2010-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# Check that znew -K works without compress(1).
-# Copyright (C) 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2010-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
/* trees.c -- output deflated data using Huffman coding
- Copyright (C) 1997-1999, 2009-2015 Free Software Foundation, Inc.
+ Copyright (C) 1997-1999, 2009-2016 Free Software Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
/* unpack.c -- decompress files in pack format.
- Copyright (C) 1997, 1999, 2006, 2009-2015 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2006, 2009-2016 Free Software Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
/* unzip.c -- decompress files in gzip or pkzip format.
- Copyright (C) 1997-1999, 2009-2015 Free Software Foundation, Inc.
+ Copyright (C) 1997-1999, 2009-2016 Free Software Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
/* util.c -- utility functions for gzip support
- Copyright (C) 1997-1999, 2001-2002, 2006, 2009-2015 Free Software
+ Copyright (C) 1997-1999, 2001-2002, 2006, 2009-2016 Free Software
Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
#!/bin/sh
# Uncompress files to standard output.
-# Copyright (C) 2007, 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2010-2016 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# Compare the uncompressed contents of compressed files, byte by byte.
-# Copyright (C) 2007, 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2010-2016 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
-# Copyright (C) 1998, 2002, 2006-2007, 2009-2015 Free Software Foundation,
-# Inc.
+# Copyright (C) 1998, 2002, 2006-2007, 2009-2016 Free Software Foundation, Inc.
# Copyright (C) 1993 Jean-loup Gailly
# This program is free software; you can redistribute it and/or modify
# 12345678901234 is renamed to 12345678901.gz
-# Copyright (C) 2002, 2007, 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007, 2010-2016 Free Software Foundation, Inc.
# Copyright (C) 1993 Jean-loup Gailly
# This program is free software; you can redistribute it and/or modify
# zgrep -- a wrapper around a grep program that decompresses files as needed
# Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
-# Copyright (C) 1998, 2001-2002, 2006-2007, 2009-2015 Free Software
-# Foundation, Inc.
+# Copyright (C) 1998, 2001-2002, 2006-2007, 2009-2016 Free Software Foundation,
+# Inc.
# Copyright (C) 1993 Jean-loup Gailly
/* zip.c -- compress files to the gzip or pkzip format
- Copyright (C) 1997-1999, 2006-2007, 2009-2015 Free Software Foundation, Inc.
+ Copyright (C) 1997-1999, 2006-2007, 2009-2016 Free Software Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
instead of
.RB ".\|.\|." "|zless" .
.SH "COPYRIGHT NOTICE"
-Copyright \(co 2006-2007, 2015 Free Software Foundation, Inc.
+Copyright \(co 2006-2007, 2015-2016 Free Software Foundation, Inc.
.br
Copyright \(co 1992, 1993 Jean-loup Gailly
.PP
#!/bin/sh
-# Copyright (C) 1998, 2002, 2006-2007, 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 1998, 2002, 2006-2007, 2010-2016 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/sh
-# Copyright (C) 2001-2002, 2007, 2010-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001-2002, 2007, 2010-2016 Free Software Foundation, Inc.
# Copyright (C) 1992, 1993 Jean-loup Gailly
# This program is free software; you can redistribute it and/or modify
#!/bin/sh
-# Copyright (C) 1998, 2002, 2004, 2007, 2010-2015 Free Software Foundation,
+# Copyright (C) 1998, 2002, 2004, 2007, 2010-2016 Free Software Foundation,
# Inc.
# Copyright (C) 1993 Jean-loup Gailly