Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
debian-packages
Tar
Commits
d30babc2
Commit
d30babc2
authored
May 17, 2016
by
Bdale Garbee
Browse files
Import upstream version 1.29
parent
4aa85f09
Changes
993
Expand all
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
d30babc2
This diff is collapsed.
Click to expand it.
ChangeLog.1
View file @
d30babc2
...
...
@@ -3186,7 +3186,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Reported by Jeffrey Goldberg.
* rmt.h (_remdev): A filename is not remote if the colon is
prece
e
ded by a slash, to take care of `/:/' which is a shorthand
preceded by a slash, to take care of `/:/' which is a shorthand
for `/.../<CELL-NAME>/fs' on OSF's Distributing Computing
Environment (DCE) and Distributed File System (DFS).
Reported by Travis L. Priest.
...
...
INSTALL
View file @
d30babc2
This diff is collapsed.
Click to expand it.
Make.rules
View file @
d30babc2
# This file is part of GNU paxutils
#
# Copyright (c) 2009 Free Software Foundation, Inc.
#
# Written by Sergey Poznyakoff
#
# GNU Paxutils 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) any later
# version.
#
# GNU Paxutils is distributed in the hope that it will be useful, but
# without any warranty; without even the implied warranty of
# merchantability or fitness for a particular purpose. see the gnu general
# public license for more details.
#
# You should have received a copy of the GNU General Public License along
# with GNU Paxutils; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# This file is part of GNU paxutils
#
# Copyright (c) 2009 Free Software Foundation, Inc.
# Copyright (c) 2009, 2014 Free Software Foundation, Inc.
#
# Written by Sergey Poznyakoff
#
...
...
@@ -39,9 +19,10 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Define the following variables in order to use the ChangeLog rule below:
# prev_change_log [optional] Name of the previous ChangeLog file.
# gen_start_date [optional] Start ChangeLog from this date.
# changelog_dir [mandatory] Directory where to create ChangeLog
# prev_change_log [optional] Name of the previous ChangeLog file.
# gen_start_date [optional] Start ChangeLog from this date.
# changelog_dir [mandatory] Directory where to create ChangeLog
# changelog_amend_file [optional] Amendment file
.PHONY: ChangeLog
ChangeLog:
...
...
@@ -50,6 +31,9 @@ ChangeLog:
if test -n "$(gen_start_date)"; then \
cmd="$$cmd --since=\"$(gen_start_date)\""; \
fi; \
if test -n "$(changelog_amend_file)"; then \
cmd="$$cmd --amend=$(changelog_amend_file)"; \
fi; \
$$cmd --format='%s%n%n%b%n' | \
sed '/<unknown>$$/d' | fmt -s > $(changelog_dir)/cl-t; \
if test -n "$(prev_change_log)" && test -f "$(prev_change_log)"; \
...
...
Makefile.am
View file @
d30babc2
# Main Makefile for GNU tar.
# Copyright 1994-1997, 1999-2001, 2003, 2007, 2009, 2013-2014 Free
# Copyright 1994-1997, 1999-2001, 2003, 2007, 2009, 2013-2014
, 2016
Free
# Software Foundation, Inc.
# This file is part of GNU tar.
...
...
@@ -26,7 +26,7 @@ dist-hook:
$(MAKE)
changelog_dir
=
$(distdir)
ChangeLog
-
rm
-f
$(distdir)
.cpio
find
$(distdir)
| cpio
-Hcrc
-o
|
\
GZIP
=
$(GZIP_ENV)
gzip
-c
>
$(distdir)
.cpio.gz
eval
GZIP
=
gzip
$(GZIP_ENV)
-c
>
$(distdir)
.cpio.gz
distclean-local
:
-
rm
-f
$(distdir)
.cpio.gz
...
...
Makefile.in
View file @
d30babc2
...
...
@@ -16,7 +16,7 @@
# Main Makefile for GNU tar.
# Copyright 1994-1997, 1999-2001, 2003, 2007, 2009, 2013-2014 Free
# Copyright 1994-1997, 1999-2001, 2003, 2007, 2009, 2013-2014
, 2016
Free
# Software Foundation, Inc.
# This file is part of GNU tar.
...
...
@@ -36,27 +36,7 @@
# This file is part of GNU paxutils
#
# Copyright (c) 2009 Free Software Foundation, Inc.
#
# Written by Sergey Poznyakoff
#
# GNU Paxutils 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) any later
# version.
#
# GNU Paxutils is distributed in the hope that it will be useful, but
# without any warranty; without even the implied warranty of
# merchantability or fitness for a particular purpose. see the gnu general
# public license for more details.
#
# You should have received a copy of the GNU General Public License along
# with GNU Paxutils; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# This file is part of GNU paxutils
#
# Copyright (c) 2009 Free Software Foundation, Inc.
# Copyright (c) 2009, 2014 Free Software Foundation, Inc.
#
# Written by Sergey Poznyakoff
#
...
...
@@ -75,9 +55,10 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Define the following variables in order to use the ChangeLog rule below:
# prev_change_log [optional] Name of the previous ChangeLog file.
# gen_start_date [optional] Start ChangeLog from this date.
# changelog_dir [mandatory] Directory where to create ChangeLog
# prev_change_log [optional] Name of the previous ChangeLog file.
# gen_start_date [optional] Start ChangeLog from this date.
# changelog_dir [mandatory] Directory where to create ChangeLog
# changelog_amend_file [optional] Amendment file
VPATH
=
@srcdir@
am__is_gnu_make
=
test
-n
'
$(MAKEFILE_LIST)
'
&&
test
-n
'
$(MAKELEVEL)
'
am__make_running_with_option
=
\
...
...
@@ -180,10 +161,11 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
$(top_srcdir)
/m4/fcntl-o.m4
$(top_srcdir)
/m4/fcntl.m4
\
$(top_srcdir)
/m4/fcntl_h.m4
$(top_srcdir)
/m4/fdopendir.m4
\
$(top_srcdir)
/m4/fileblocks.m4
$(top_srcdir)
/m4/filenamecat.m4
\
$(top_srcdir)
/m4/float_h.m4
$(top_srcdir)
/m4/fnmatch.m4
\
$(top_srcdir)
/m4/fpending.m4
$(top_srcdir)
/m4/fseek.m4
\
$(top_srcdir)
/m4/fseeko.m4
$(top_srcdir)
/m4/fstat.m4
\
$(top_srcdir)
/m4/fstatat.m4
$(top_srcdir)
/m4/futimens.m4
\
$(top_srcdir)
/m4/flexmember.m4
$(top_srcdir)
/m4/float_h.m4
\
$(top_srcdir)
/m4/fnmatch.m4
$(top_srcdir)
/m4/fpending.m4
\
$(top_srcdir)
/m4/fseek.m4
$(top_srcdir)
/m4/fseeko.m4
\
$(top_srcdir)
/m4/fstat.m4
$(top_srcdir)
/m4/fstatat.m4
\
$(top_srcdir)
/m4/futimens.m4
\
$(top_srcdir)
/m4/getcwd-abort-bug.m4
\
$(top_srcdir)
/m4/getcwd-path-max.m4
$(top_srcdir)
/m4/getcwd.m4
\
$(top_srcdir)
/m4/getdelim.m4
$(top_srcdir)
/m4/getdtablesize.m4
\
...
...
@@ -198,10 +180,10 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
$(top_srcdir)
/m4/intlmacosx.m4
$(top_srcdir)
/m4/intmax_t.m4
\
$(top_srcdir)
/m4/inttostr.m4
$(top_srcdir)
/m4/inttypes-pri.m4
\
$(top_srcdir)
/m4/inttypes.m4
$(top_srcdir)
/m4/inttypes_h.m4
\
$(top_srcdir)
/m4/is
atty
.m4
$(top_srcdir)
/m4/
iswblank
.m4
\
$(top_srcdir)
/m4/la
nginfo_h
.m4
$(top_srcdir)
/m4/l
argefile
.m4
\
$(top_srcdir)
/m4/l
chown
.m4
$(top_srcdir)
/m4/lib-l
d
.m4
\
$(top_srcdir)
/m4/lib-link.m4
$(top_srcdir)
/m4/lib-prefix.m4
\
$(top_srcdir)
/m4/is
wblank
.m4
$(top_srcdir)
/m4/
langinfo_h
.m4
\
$(top_srcdir)
/m4/la
rgefile
.m4
$(top_srcdir)
/m4/l
chown
.m4
\
$(top_srcdir)
/m4/l
ib-ld
.m4
$(top_srcdir)
/m4/lib-l
ink
.m4
\
$(top_srcdir)
/m4/lib-prefix.m4
\
$(top_srcdir)
/m4/libunistring-base.m4
\
$(top_srcdir)
/m4/link-follow.m4
$(top_srcdir)
/m4/link.m4
\
$(top_srcdir)
/m4/linkat.m4
$(top_srcdir)
/m4/localcharset.m4
\
...
...
@@ -223,14 +205,13 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
$(top_srcdir)
/m4/modechange.m4
$(top_srcdir)
/m4/msvc-inval.m4
\
$(top_srcdir)
/m4/msvc-nothrow.m4
$(top_srcdir)
/m4/multiarch.m4
\
$(top_srcdir)
/m4/nl_langinfo.m4
$(top_srcdir)
/m4/nls.m4
\
$(top_srcdir)
/m4/nocrash.m4
$(top_srcdir)
/m4/o
ff_t
.m4
\
$(top_srcdir)
/m4/o
pen
.m4
$(top_srcdir)
/m4/open
at
.m4
\
$(top_srcdir)
/m4/open
dir
.m4
$(top_srcdir)
/m4/
parse-datetime
.m4
\
$(top_srcdir)
/m4/pa
thmax
.m4
$(top_srcdir)
/m4/pa
xutils
.m4
\
$(top_srcdir)
/m4/p
o
.m4
$(top_srcdir)
/m4/po
six_openpt
.m4
\
$(top_srcdir)
/m4/nocrash.m4
$(top_srcdir)
/m4/o
bstack
.m4
\
$(top_srcdir)
/m4/o
ff_t
.m4
$(top_srcdir)
/m4/open.m4
\
$(top_srcdir)
/m4/open
at
.m4
$(top_srcdir)
/m4/
opendir
.m4
\
$(top_srcdir)
/m4/pa
rse-datetime
.m4
$(top_srcdir)
/m4/pa
thmax
.m4
\
$(top_srcdir)
/m4/p
axutils
.m4
$(top_srcdir)
/m4/po.m4
\
$(top_srcdir)
/m4/printf.m4
$(top_srcdir)
/m4/priv-set.m4
\
$(top_srcdir)
/m4/progtest.m4
$(top_srcdir)
/m4/ptsname.m4
\
$(top_srcdir)
/m4/ptsname_r.m4
$(top_srcdir)
/m4/quote.m4
\
$(top_srcdir)
/m4/progtest.m4
$(top_srcdir)
/m4/quote.m4
\
$(top_srcdir)
/m4/quotearg.m4
$(top_srcdir)
/m4/raise.m4
\
$(top_srcdir)
/m4/rawmemchr.m4
$(top_srcdir)
/m4/read.m4
\
$(top_srcdir)
/m4/readdir.m4
$(top_srcdir)
/m4/readlink.m4
\
...
...
@@ -266,24 +247,24 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
$(top_srcdir)
/m4/sys_types_h.m4
$(top_srcdir)
/m4/sysexits.m4
\
$(top_srcdir)
/m4/system.m4
$(top_srcdir)
/m4/tempname.m4
\
$(top_srcdir)
/m4/time_h.m4
$(top_srcdir)
/m4/time_r.m4
\
$(top_srcdir)
/m4/time_rz.m4
$(top_srcdir)
/m4/timegm.m4
\
$(top_srcdir)
/m4/timespec.m4
$(top_srcdir)
/m4/tm_gmtoff.m4
\
$(top_srcdir)
/m4/
ttyname_r
.m4
$(top_srcdir)
/m4/unistd-safer.m4
\
$(top_srcdir)
/m4/
ulonglong
.m4
$(top_srcdir)
/m4/unistd-safer.m4
\
$(top_srcdir)
/m4/unistd_h.m4
$(top_srcdir)
/m4/unlink.m4
\
$(top_srcdir)
/m4/unlinkat.m4
$(top_srcdir)
/m4/unlinkdir.m4
\
$(top_srcdir)
/m4/unlocked-io.m4
$(top_srcdir)
/m4/unlockpt.m4
\
$(top_srcdir)
/m4/utimbuf.m4
$(top_srcdir)
/m4/utimens.m4
\
$(top_srcdir)
/m4/utimensat.m4
$(top_srcdir)
/m4/utimes.m4
\
$(top_srcdir)
/m4/vasnprintf.m4
$(top_srcdir)
/m4/vasprintf.m4
\
$(top_srcdir)
/m4/version-etc.m4
$(top_srcdir)
/m4/vsnprintf.m4
\
$(top_srcdir)
/m4/warn-on-use.m4
$(top_srcdir)
/m4/warnings.m4
\
$(top_srcdir)
/m4/wchar_h.m4
$(top_srcdir)
/m4/wchar_t.m4
\
$(top_srcdir)
/m4/wcrtomb.m4
$(top_srcdir)
/m4/wctype_h.m4
\
$(top_srcdir)
/m4/wcwidth.m4
$(top_srcdir)
/m4/wint_t.m4
\
$(top_srcdir)
/m4/write.m4
$(top_srcdir)
/m4/xalloc.m4
\
$(top_srcdir)
/m4/xgetcwd.m4
$(top_srcdir)
/m4/xsize.m4
\
$(top_srcdir)
/m4/xstrndup.m4
$(top_srcdir)
/m4/xstrtol.m4
\
$(top_srcdir)
/m4/xvasprintf.m4
$(top_srcdir)
/acinclude.m4
\
$(top_srcdir)
/configure.ac
$(top_srcdir)
/m4/unlocked-io.m4
$(top_srcdir)
/m4/utimbuf.m4
\
$(top_srcdir)
/m4/utimens.m4
$(top_srcdir)
/m4/utimensat.m4
\
$(top_srcdir)
/m4/utimes.m4
$(top_srcdir)
/m4/vasnprintf.m4
\
$(top_srcdir)
/m4/vasprintf.m4
$(top_srcdir)
/m4/version-etc.m4
\
$(top_srcdir)
/m4/vsnprintf.m4
$(top_srcdir)
/m4/warn-on-use.m4
\
$(top_srcdir)
/m4/warnings.m4
$(top_srcdir)
/m4/wchar_h.m4
\
$(top_srcdir)
/m4/wchar_t.m4
$(top_srcdir)
/m4/wcrtomb.m4
\
$(top_srcdir)
/m4/wctype_h.m4
$(top_srcdir)
/m4/wcwidth.m4
\
$(top_srcdir)
/m4/wint_t.m4
$(top_srcdir)
/m4/write.m4
\
$(top_srcdir)
/m4/xalloc.m4
$(top_srcdir)
/m4/xgetcwd.m4
\
$(top_srcdir)
/m4/xsize.m4
$(top_srcdir)
/m4/xstrndup.m4
\
$(top_srcdir)
/m4/xstrtol.m4
$(top_srcdir)
/m4/xvasprintf.m4
\
$(top_srcdir)
/acinclude.m4
$(top_srcdir)
/configure.ac
am__configure_deps
=
$(am__aclocal_m4_deps)
$(CONFIGURE_DEPENDENCIES)
\
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES
=
config.status config.cache config.log
\
...
...
@@ -589,6 +570,7 @@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@
GNULIB_PUTENV
=
@GNULIB_PUTENV@
GNULIB_PUTS
=
@GNULIB_PUTS@
GNULIB_PWRITE
=
@GNULIB_PWRITE@
GNULIB_QSORT_R
=
@GNULIB_QSORT_R@
GNULIB_RAISE
=
@GNULIB_RAISE@
GNULIB_RANDOM
=
@GNULIB_RANDOM@
GNULIB_RANDOM_R
=
@GNULIB_RANDOM_R@
...
...
@@ -648,6 +630,7 @@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@
GNULIB_TEST_WARN_CFLAGS
=
@GNULIB_TEST_WARN_CFLAGS@
GNULIB_TIMEGM
=
@GNULIB_TIMEGM@
GNULIB_TIME_R
=
@GNULIB_TIME_R@
GNULIB_TIME_RZ
=
@GNULIB_TIME_RZ@
GNULIB_TMPFILE
=
@GNULIB_TMPFILE@
GNULIB_TOWCTRANS
=
@GNULIB_TOWCTRANS@
GNULIB_TTYNAME_R
=
@GNULIB_TTYNAME_R@
...
...
@@ -800,6 +783,7 @@ HAVE_LINK = @HAVE_LINK@
HAVE_LINKAT
=
@HAVE_LINKAT@
HAVE_LONG_LONG_INT
=
@HAVE_LONG_LONG_INT@
HAVE_LSTAT
=
@HAVE_LSTAT@
HAVE_MAX_ALIGN_T
=
@HAVE_MAX_ALIGN_T@
HAVE_MBRLEN
=
@HAVE_MBRLEN@
HAVE_MBRTOWC
=
@HAVE_MBRTOWC@
HAVE_MBSINIT
=
@HAVE_MBSINIT@
...
...
@@ -886,6 +870,7 @@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@
HAVE_SYS_TIME_H
=
@HAVE_SYS_TIME_H@
HAVE_SYS_TYPES_H
=
@HAVE_SYS_TYPES_H@
HAVE_TIMEGM
=
@HAVE_TIMEGM@
HAVE_TIMEZONE_T
=
@HAVE_TIMEZONE_T@
HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
=
@HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@
HAVE_UNISTD_H
=
@HAVE_UNISTD_H@
HAVE_UNLINKAT
=
@HAVE_UNLINKAT@
...
...
@@ -959,6 +944,7 @@ LIBUNISTRING_UNIWIDTH_H = @LIBUNISTRING_UNIWIDTH_H@
LIB_ACL
=
@LIB_ACL@
LIB_CLOCK_GETTIME
=
@LIB_CLOCK_GETTIME@
LIB_EACCESS
=
@LIB_EACCESS@
LIB_HAS_ACL
=
@LIB_HAS_ACL@
LIB_SELINUX
=
@LIB_SELINUX@
LIB_SETSOCKOPT
=
@LIB_SETSOCKOPT@
LOCALCHARSET_TESTS_ENVIRONMENT
=
@LOCALCHARSET_TESTS_ENVIRONMENT@
...
...
@@ -1124,10 +1110,12 @@ REPLACE_PTSNAME = @REPLACE_PTSNAME@
REPLACE_PTSNAME_R
=
@REPLACE_PTSNAME_R@
REPLACE_PUTENV
=
@REPLACE_PUTENV@
REPLACE_PWRITE
=
@REPLACE_PWRITE@
REPLACE_QSORT_R
=
@REPLACE_QSORT_R@
REPLACE_RAISE
=
@REPLACE_RAISE@
REPLACE_RANDOM_R
=
@REPLACE_RANDOM_R@
REPLACE_READ
=
@REPLACE_READ@
REPLACE_READLINK
=
@REPLACE_READLINK@
REPLACE_READLINKAT
=
@REPLACE_READLINKAT@
REPLACE_REALLOC
=
@REPLACE_REALLOC@
REPLACE_REALPATH
=
@REPLACE_REALPATH@
REPLACE_REMOVE
=
@REPLACE_REMOVE@
...
...
@@ -1160,6 +1148,7 @@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@
REPLACE_STRUCT_LCONV
=
@REPLACE_STRUCT_LCONV@
REPLACE_STRUCT_TIMEVAL
=
@REPLACE_STRUCT_TIMEVAL@
REPLACE_SYMLINK
=
@REPLACE_SYMLINK@
REPLACE_SYMLINKAT
=
@REPLACE_SYMLINKAT@
REPLACE_TIMEGM
=
@REPLACE_TIMEGM@
REPLACE_TMPFILE
=
@REPLACE_TMPFILE@
REPLACE_TOWLOWER
=
@REPLACE_TOWLOWER@
...
...
@@ -1202,6 +1191,7 @@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@
UINT32_MAX_LT_UINTMAX_MAX
=
@UINT32_MAX_LT_UINTMAX_MAX@
UINT64_MAX_EQ_ULONG_MAX
=
@UINT64_MAX_EQ_ULONG_MAX@
UNDEFINE_STRTOK_R
=
@UNDEFINE_STRTOK_R@
UNISTD_H_DEFINES_STRUCT_TIMESPEC
=
@UNISTD_H_DEFINES_STRUCT_TIMESPEC@
UNISTD_H_HAVE_WINSOCK2_H
=
@UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
=
@UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_ACL
=
@USE_ACL@
...
...
@@ -1766,7 +1756,7 @@ dist-hook:
$(MAKE)
changelog_dir
=
$(distdir)
ChangeLog
-
rm
-f
$(distdir)
.cpio
find
$(distdir)
| cpio
-Hcrc
-o
|
\
GZIP
=
$(GZIP_ENV)
gzip
-c
>
$(distdir)
.cpio.gz
eval
GZIP
=
gzip
$(GZIP_ENV)
-c
>
$(distdir)
.cpio.gz
distclean-local
:
-
rm
-f
$(distdir)
.cpio.gz
...
...
@@ -1778,6 +1768,9 @@ ChangeLog:
if
test
-n
"
$(gen_start_date)
"
;
then
\
cmd
=
"
$$
cmd --since=
\"
$(gen_start_date)
\"
"
;
\
fi
;
\
if
test
-n
"
$(changelog_amend_file)
"
;
then
\
cmd
=
"
$$
cmd --amend=
$(changelog_amend_file)
"
;
\
fi
;
\
$$
cmd
--format
=
'%s%n%n%b%n'
|
\
sed
'/<unknown>$$/d'
|
fmt
-s
>
$(changelog_dir)
/cl-t
;
\
if
test
-n
"
$(prev_change_log)
"
&&
test
-f
"
$(prev_change_log)
"
;
\
...
...
NEWS
View file @
d30babc2
GNU tar NEWS - User visible changes. 201
4
-0
7-27
GNU tar NEWS - User visible changes. 201
6
-0
5-16
Please send GNU tar bug reports to <bug-tar@gnu.org>
version 1.29 - Sergey Poznyakoff, 2016-05-16
* New options: --verbatim-files-from, --no-verbatim-files-from
The --verbatim-files-from option instructs tar to treat each line read
from a file list as a file name, even if it starts with a dash.
File lists are supplied with the --files-from (-T) option. By
default, each line read from a file list is first stripped off the
leading and trailing whitespace and, if the result begins with a dash,
it is treated as tar command line option.
Use the --verbatim-files-from option to disable this special handling.
This facilitates the use of tar with file lists created automatically
(e.g. by find(1) command).
This option affects all --files-from options that occur after it in
the command line. Its effect is reverted by the
--no-verbatim-files-from option.
* --null option reads file names verbatim
The --null option implies --verbatim-files-from. I.e. each line
read from null-delimited file lists is treated as a file name.
This restores the documented behavior, which was broken in version
1.27.
* New options: --owner-map=FILE and --group-map=FILE
These two options provide fine-grained control over what user/group
names (or IDs) should be mapped when adding files to archive.
For both options, FILE is a plain text file with user or group
mappings. Empty lines are ignored. Comments are introduced with
# sign (unless quoted) and extend to the end of the corresponding
line. Each non-empty line defines translation for a single UID (GID).
It must consist of two fields, delimited by any amount of whitespace:
OLDNAME NEWNAME[:NEWID]
OLDNAME is either a valid user (group) name or a ID prefixed with +. Unless
NEWID is supplied, NEWNAME must also be either a valid name or a
+ID. Otherwise, both NEWNAME and NEWID need not be listed in the
system user database.
* New option --clamp-mtime
The new --clamp-mtime option changes the behavior of --mtime to only
use the time specified if the file mtime is newer than the given time.
The --clamp-mtime option can only be used together with --mtime.
Typical use case is to make builds reproducible: to loose less
information, it's better to keep the original date of an archive,
except for files modified during the build process. In that case, using
reference (and thus reproducible) timestamps for the latter is good
enough.
See <https://wiki.debian.org/ReproducibleBuilds> for more information.
* Deprecated --preserve option removed
* Sparse file detection
Tar now uses SEEK_DATA/SEEK_HOLE on systems that support it. This
allows for considerable speed-up in sparse-file detection.
New option --hole-detection is provided, that allows the user to
select the algorithm used for hole detection. Available arguments
are:
--hole-detection=seek
Use lseek(2) SEEK_DATA and SEEK_HOLE "whence" parameters.
--hole-detection=raw
Scan entire file before storing it to determine where holes
are located.
The default is to use "seek" whenever possible, and fall back to
"raw" otherwise.
version 1.28, 2014-07-28
...
...
@@ -369,7 +451,7 @@ Modification times in ustar header blocks of extended headers
are set to mtimes of the corresponding archive members. This
can be overridden by the
--pax-opion='exthdr.mtime=STRING'
--pax-op
t
ion='exthdr.mtime=STRING'
command line option. The STRING is either number of seconds since
the Epoch or a "Time reference" (see below).
...
...
@@ -379,7 +461,7 @@ headers are set to the time when tar was invoked.
This can be overridden by the
--pax-opion='globexthdr.mtime=STRING'
--pax-op
t
ion='globexthdr.mtime=STRING'
command line option. The STRING is either number of seconds since
the Epoch or a "Time reference" (see below).
...
...
@@ -1505,7 +1587,7 @@ Versions 1.07 back to 1.00 by Jay Fenlason.
Copyright 1994-2001, 2003-2010, 2013-201
4
Free Software Foundation, Inc.
Copyright 1994-2001, 2003-2010, 2013-201
6
Free Software Foundation, Inc.
This file is part of GNU tar.
...
...
README
View file @
d30babc2
...
...
@@ -23,7 +23,6 @@ GNU 'tar' is derived from John Gilmore's public domain 'tar'.
See file 'ABOUT-NLS' for how to customize this program to your language.
See file 'COPYING' for copying conditions.
See file 'INSTALL' for compilation and installation instructions.
See file 'PORTS' for various ports of GNU tar to non-Unix systems.
See file 'NEWS' for a list of major changes in the current release.
See file 'THANKS' for a list of contributors.
...
...
@@ -222,8 +221,8 @@ and share your findings by writing to <bug-tar@gnu.org>.
* Copying
Copyright 1990-1992, 1994, 1997-2001, 2003-2004, 2007, 2012-2014
Free
Software Foundation, Inc.
Copyright 1990-1992, 1994, 1997-2001, 2003-2004, 2007, 2012-2014
, 2016
Free
Software Foundation, Inc.
This file is part of GNU tar.
...
...
THANKS
View file @
d30babc2
...
...
@@ -78,6 +78,7 @@ Cesar Romani romani@ifm.uni-hamburg.de
Chad Hurwitz churritz@cts.com
Chance Reschke creschke@usra.edu
Charles Fu ccwf@klab.caltech.edu
Charles McGarvey chazmcgarvey@brokenzipper.com
Charles Lopes Charles.Lopes@infm.ulst.ac.uk
Charles M. Hannum mycroft@gnu.org
Chip Salzenberg tct!chip
...
...
@@ -107,6 +108,7 @@ Conrad Hughes chughes@maths.tcd.ie
Constantin Belous const@cris.net
Coranth Gryphon gryphon@bur.visidyne.com
Cyril Strejc strejc@unicontrols.cz
Dagobert Michelsen dam@opencsw.org
Dale R. Worley worley@world.std.com
Dale Wiles wiles@geordi.calspan.com
Dan Bloch dan@transarc.com
...
...
@@ -114,6 +116,7 @@ Dan Drake dan@dandrake.org
Dan Reish dreish@izzy.net
Daniel Hagerty hag@gnu.org
Daniel Quinlan quinlan@pathname.com
Daniel Kahn Gillmor dkg@fifthhorseman.net
Daniel R. Guilderson d.guilderson@ma30.bull.com
Daniel S. Barclay daniel@compass-da.com
Daniel Trinkle trinkle@cs.purdue.edu
...
...
@@ -140,6 +143,7 @@ Demizu Noritoshi nori-d@is.aist-nara.ac.jp
Denis Excoffier denis.excoffier@free.fr
Denis Fortin fortin@acm.org
Dennis Pixton dennis@math.binghamton.edu
Derek Terveer dt@hawkmoon.mn.org
Dick Streefland dicks@tasking.nl
Dietmar Braun dietmar@highway.bertelsmann.de
Dimitri Bougoulias opus@hol.gr
...
...
@@ -172,6 +176,7 @@ Erik D. Frederick edf@deckard.mc.duke.edu
Esa Karell karell@cs.helsinki.fi
Ezra Peisach epeisach@mit.edu
Fabio d'Alessi cars@civ.bio.unipd.it
Flavio Poletti polettix@gmail.com
Frank Heckenbach frank@g-n-u.de
Frank Koenen koenfr@lidp.com
Franz-Werner Gergen gergen@edvulx.mpi-stuttgart.mpg.de
...
...
@@ -202,6 +207,7 @@ Helmut Waitzmann Helmut.Waitzmann@web.de
Henrik Bakman hb@csd.uu.se
Hernan Prieto Schmidt hernan@pea.usp.br
Hiroyuki Bessho bsh@grotto.iijnet.or.jp
Holger Levsen holger@layer-acht.org
Holger Teutsch holger@hotbso.rhein-main.de
Hugh Secker-Walker hugh@ear.mit.edu
Hunyue Yau hunyue.yau@picksys.com
...
...
@@ -240,6 +246,7 @@ Jeffrey Goldberg J.Goldberg@cranfield.ac.uk
Jeffrey Mark Siskind Qobi@emba.uvm.edu
Jeffrey W. Parker jwpkr@mcs.com
Jens Henrik Jensen recjhl@mediator.uni-c.dk
Jérémy Bobbio lunar@debian.org
Jim Blandy jimb@totoro.cs.oberlin.edu
Jim Clausing jac@postbox.acs.ohio-state.edu
Jim Farrell jwf@platinum.com
...
...
TODO
View file @
d30babc2
...
...
@@ -45,7 +45,8 @@ Suggestions for improving GNU tar.
* Copyright notice
Copyright 2003-2004, 2007, 2013-2014 Free Software Foundation, Inc.
Copyright 2003-2004, 2007, 2013-2014, 2016 Free Software Foundation,
Inc.
This file is part of GNU tar.
...
...
acinclude.m4
View file @
d30babc2
dnl Special Autoconf macros for GNU tar -*- autoconf -*-
dnl Copyright 2009, 2013-2014 Free Software Foundation, Inc.
dnl Copyright 2009, 2013-2014
, 2016
Free Software Foundation, Inc.
dnl
dnl This file is part of GNU tar.
dnl
...
...
@@ -40,37 +40,23 @@ AC_DEFUN([TAR_HEADERS_ATTR_XATTR_H],
# First check for <sys/xattr.h>
AC_CHECK_HEADERS([sys/xattr.h])
AM_CONDITIONAL([TAR_COND_XATTR_H],[test "$ac_cv_header_sys_xattr_h" = yes])
AM_CONDITIONAL([TAR_LIB_ATTR],[false])
if test "$ac_cv_header_sys_xattr_h" = yes; then
AC_CHECK_FUNCS(getxattr fgetxattr lgetxattr \
setxattr fsetxattr lsetxattr \
listxattr flistxattr llistxattr,
# only when functions are present
AC_DEFINE([HAVE_SYS_XATTR_H], [1],
[define to 1 if we have <sys/xattr.h> header])
if test "$with_xattrs" != no; then
AC_DEFINE([HAVE_XATTRS],,[Define when we have working linux xattrs.])
fi
)
fi
# If <sys/xattr.h> is not found, then check for <attr/xattr.h>
if test "$ac_cv_header_sys_xattr_h" != yes; then
AC_CHECK_HEADERS([attr/xattr.h])
AM_CONDITIONAL([TAR_COND_XATTR_H],[test "$ac_cv_header_attr_xattr_h" = yes])
AC_CHECK_LIB([attr],[fgetxattr])
AM_CONDITIONAL([TAR_LIB_ATTR],[test "$ac_cv_lib_attr_fgetxattr" = yes])
if test "$ac_cv_header_attr_xattr_h" = yes; then
AC_CHECK_FUNCS(getxattr fgetxattr lgetxattr \
setxattr fsetxattr lsetxattr \
listxattr flistxattr llistxattr,
# only when functions are present
AC_DEFINE([HAVE_ATTR_XATTR_H], [1],
[define to 1 if we have <attr/xattr.h> header])
if test "$with_xattrs" != no; then
AC_DEFINE([HAVE_XATTRS],,[Define when we have working linux xattrs.])
fi
)
fi
if test "$with_xattrs" != no; then
for i in getxattr fgetxattr lgetxattr \
setxattr fsetxattr lsetxattr \
listxattr flistxattr llistxattr
do
AC_SEARCH_LIBS($i, attr)
eval found=\$ac_cv_search_$i
test "$found" = "no" && break
done
if test "$found" != no; then
AC_DEFINE([HAVE_XATTRS],,[Define when we have working linux xattrs.])
fi
fi
])
aclocal.m4
View file @
d30babc2
...
...
@@ -1191,6 +1191,7 @@ m4_include([m4/fcntl_h.m4])
m4_include([m4/fdopendir.m4])
m4_include([m4/fileblocks.m4])
m4_include([m4/filenamecat.m4])
m4_include([m4/flexmember.m4])
m4_include([m4/float_h.m4])
m4_include([m4/fnmatch.m4])
m4_include([m4/fpending.m4])
...
...
@@ -1224,7 +1225,6 @@ m4_include([m4/inttostr.m4])
m4_include([m4/inttypes-pri.m4])
m4_include([m4/inttypes.m4])
m4_include([m4/inttypes_h.m4])
m4_include([m4/isatty.m4])
m4_include([m4/iswblank.m4])
m4_include([m4/langinfo_h.m4])
m4_include([m4/largefile.m4])
...
...
@@ -1274,6 +1274,7 @@ m4_include([m4/multiarch.m4])
m4_include([m4/nl_langinfo.m4])
m4_include([m4/nls.m4])
m4_include([m4/nocrash.m4])
m4_include([m4/obstack.m4])
m4_include([m4/off_t.m4])
m4_include([m4/open.m4])
m4_include([m4/openat.m4])
...
...
@@ -1282,12 +1283,9 @@ m4_include([m4/parse-datetime.m4])
m4_include([m4/pathmax.m4])
m4_include([m4/paxutils.m4])
m4_include([m4/po.m4])
m4_include([m4/posix_openpt.m4])
m4_include([m4/printf.m4])
m4_include([m4/priv-set.m4])
m4_include([m4/progtest.m4])
m4_include([m4/ptsname.m4])
m4_include([m4/ptsname_r.m4])
m4_include([m4/quote.m4])
m4_include([m4/quotearg.m4])
m4_include([m4/raise.m4])
...
...
@@ -1355,16 +1353,17 @@ m4_include([m4/system.m4])
m4_include([m4/tempname.m4])
m4_include([m4/time_h.m4])
m4_include([m4/time_r.m4])
m4_include([m4/time_rz.m4])
m4_include([m4/timegm.m4])
m4_include([m4/timespec.m4])
m4_include([m4/tm_gmtoff.m4])
m4_include([m4/
ttyname_r
.m4])
m4_include([m4/
ulonglong
.m4])
m4_include([m4/unistd-safer.m4])
m4_include([m4/unistd_h.m4])
m4_include([m4/unlink.m4])
m4_include([m4/unlinkat.m4])
m4_include([m4/unlinkdir.m4])
m4_include([m4/unlocked-io.m4])
m4_include([m4/unlockpt.m4])
m4_include([m4/utimbuf.m4])
m4_include([m4/utimens.m4])
m4_include([m4/utimensat.m4])
...
...
build-aux/config.guess
View file @
d30babc2
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright 1992-201
4
Free Software Foundation, Inc.
# Copyright 1992-201
5
Free Software Foundation, Inc.
timestamp
=
'201
4
-0
3
-2
3
'
timestamp
=
'201
5
-0
8
-2
0
'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
...
...
@@ -24,12 +24,12 @@ timestamp='2014-03-23'
# program. This Exception is an additional permission under section 7
# of the GNU General Public License, version 3 ("GPLv3").
#
# Originally written by Per Bothner.
# Originally written by Per Bothner
; maintained since 2000 by Ben Elliston
.
#
# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
#
# Please send patches
with a ChangeLog entry
to config-patches@gnu.org.
# Please send patches to
<
config-patches@gnu.org
>
.
me
=
`
echo
"
$0
"
|
sed
-e
's,.*/,,'
`
...
...
@@ -50,7 +50,7 @@ version="\
GNU config.guess (
$timestamp
)
Originally written by Per Bothner.
Copyright 1992-201
4
Free Software Foundation, Inc.
Copyright 1992-201
5
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
...
...
@@ -168,20 +168,27 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# Note: NetBSD doesn't particularly care about the vendor
# portion of the name. We always set it to "unknown".
sysctl
=
"sysctl -n hw.machine_arch"