summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2020-10-12 08:07:49 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2020-10-12 08:07:49 +0000
commit06f9d589b92619b28a7afc0fcd3e5c7d25003413 (patch)
tree5118d9dbb154e0ac498eaa7a137698c4ddd46208
parent7c2644733298128eedc77ebf8e3a0507f83bcb4a (diff)
automatic import of tarHEADmasterf33f32f31
-rw-r--r--.gitignore1
-rw-r--r--sources1
-rw-r--r--tar-1.28-atime-rofs.patch34
-rw-r--r--tar-1.28-document-exclude-mistakes.patch97
-rw-r--r--tar-1.28-loneZeroWarning.patch43
-rw-r--r--tar-1.28-vfatTruncate.patch52
-rw-r--r--tar-1.29-wildcards.patch107
-rw-r--r--tar-1.32-bugfix-sparse-diff-mode.patch25
-rw-r--r--tar-1.32-testsuite-fix.patch73
-rw-r--r--tar-1.32-xattrs-read-only-files.patch40
-rw-r--r--tar-1.32.tar.xz.sig7
-rw-r--r--tar.spec879
12 files changed, 1359 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8f35959 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tar-1.32.tar.xz
diff --git a/sources b/sources
new file mode 100644
index 0000000..a6b5f67
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+83e38700a80a26e30b2df054e69956e5 tar-1.32.tar.xz
diff --git a/tar-1.28-atime-rofs.patch b/tar-1.28-atime-rofs.patch
new file mode 100644
index 0000000..f32114a
--- /dev/null
+++ b/tar-1.28-atime-rofs.patch
@@ -0,0 +1,34 @@
+From 71769b9ea3c12b7fbb39fee2e9f4a4c1c36c0d0b Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Mon, 28 Jul 2014 08:13:31 +0200
+Subject: [PATCH 4/9] utime & read-only FS
+
+Ignore errors from setting utime() for source file on read-only
+file-system.
+
+Resolves: #500742
+
+Upstream bugreport (still downstream):
+http://lists.gnu.org/archive/html/bug-tar/2009-06/msg00016.html
+
+---
+ src/create.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/create.c b/src/create.c
+index e2f4ede..f644f23 100644
+--- a/src/create.c
++++ b/src/create.c
+@@ -1824,7 +1824,8 @@ dump_file0 (struct tar_stat_info *st, char const *name, char const *p)
+ }
+ else if (atime_preserve_option == replace_atime_preserve
+ && fd && (is_dir || original_size != 0)
+- && set_file_atime (fd, parentfd, name, st->atime) != 0)
++ && set_file_atime (fd, parentfd, name, st->atime) != 0
++ && errno != EROFS )
+ utime_error (p);
+ }
+
+--
+1.9.3
+
diff --git a/tar-1.28-document-exclude-mistakes.patch b/tar-1.28-document-exclude-mistakes.patch
new file mode 100644
index 0000000..73f4ed3
--- /dev/null
+++ b/tar-1.28-document-exclude-mistakes.patch
@@ -0,0 +1,97 @@
+From 18112ded916cf62b3bd3c0ffb9530e4ade3d2209 Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Mon, 28 Jul 2014 08:16:33 +0200
+Subject: [PATCH 7/9] Document exclude mistakes with
+
+.. usually with --no-wildcards-match-slash & --anchored options.
+
+Upstream bugreport (still downstream):
+http://www.mail-archive.com/bug-tar@gnu.org/msg04488.html
+
+Related: #903666
+
+---
+ doc/tar.texi | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 67 insertions(+)
+
+diff --git a/doc/tar.texi b/doc/tar.texi
+index a000f3f..2695d22 100644
+--- a/doc/tar.texi
++++ b/doc/tar.texi
+@@ -8051,6 +8051,73 @@ The following table summarizes pattern-matching default values:
+ @item Exclusion @tab @option{--wildcards --no-anchored --wildcards-match-slash}
+ @end multitable
+
++@subsubsection Wildcard matching confusion
++Using of @option{--[no-]anchored} and @option{--[no-]wildcards-match-slash}
++was proven to make confusion. The reasons for this are probably different
++default setting for inclusion and exclusion patterns (in general: you shouldn't
++rely on defaults if possible) and maybe also because when using any of these two
++options, the position on command line matters (these options should be placed
++prior to the member name on command line).
++
++@noindent
++Consider following directory structure:
++
++@smallexample
++$ find path/ | sort
++path/
++path/file1
++path/file2
++path/subpath
++path/subpath/file1
++path/subpath/file2
++path/subpath2
++path/subpath2/file1
++path/subpath2/file2
++@end smallexample
++
++@noindent
++To archive full directory @samp{path} except all files named @samp{file1} may be
++reached by any of the two following commands:
++
++@smallexample
++$ tar -cf a.tar --no-wildcards-match-slash --no-anchored path \
++ --exclude='*/file1'
++$ tar -cf a.tar --wildcards-match-slash path --exclude='*/file1'
++@end smallexample
++
++@noindent
++Note that the @option{--wildcards-match-slash} and @option{--no-anchored} may be
++omitted as it is default for @option{--exclude}. Anyway, we usually want just
++concrete file (or rather subset of files with the same name). Assume we want
++exclude only files named @samp{file1} from the first subdirectory level.
++Following command obviously does not work (it still excludes all files having
++@samp{file1} name):
++
++@smallexample
++$ tar -cf a.tar --no-wildcards-match-slash path \
++ --exclude='*/file1' | sort
++@end smallexample
++
++@noindent
++This is because the @option{--no-anchored} is set by default for exclusion.
++What you need to fix is to put @option{--anchored} before pathname:
++
++@smallexample
++$ tar -cvf a.tar --no-wildcards-match-slash --anchored path \
++ --exclude='*/file1' | sort
++path/
++path/file2
++path/subpath1/
++path/subpath1/file1
++path/subpath1/file2
++path/subpath2/
++path/subpath2/file1
++path/subpath2/file2
++@end smallexample
++
++@noindent
++Similarly you can exclude second level by specifying @samp{*/*/file1}.
++
+ @node quoting styles
+ @section Quoting Member Names
+
+--
+1.9.3
+
diff --git a/tar-1.28-loneZeroWarning.patch b/tar-1.28-loneZeroWarning.patch
new file mode 100644
index 0000000..c142ea3
--- /dev/null
+++ b/tar-1.28-loneZeroWarning.patch
@@ -0,0 +1,43 @@
+From 60d08c6d82f0c33a6704c79afd416902eb8c663f Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Mon, 28 Jul 2014 08:08:50 +0200
+Subject: [PATCH 1/9] Stop issuing lone zero block warnings (downstram)
+
+Resolves: #135601
+
+---
+ src/list.c | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/src/list.c b/src/list.c
+index b4277e0..0c7a740 100644
+--- a/src/list.c
++++ b/src/list.c
+@@ -240,6 +240,14 @@ read_and (void (*do_something) (void))
+
+ if (!ignore_zeros_option)
+ {
++ /*
++ * According to POSIX tar specs, this is wrong, but on the web
++ * there are some tar specs that can trigger this, and some tar
++ * implementations create tars according to that spec. For now,
++ * let's not be pedantic about issuing the warning.
++ */
++#if 0
++
+ char buf[UINTMAX_STRSIZE_BOUND];
+
+ status = read_header (&current_header, &current_stat_info,
+@@ -249,6 +257,9 @@ read_and (void (*do_something) (void))
+ WARNOPT (WARN_ALONE_ZERO_BLOCK,
+ (0, 0, _("A lone zero block at %s"),
+ STRINGIFY_BIGINT (current_block_ordinal (), buf)));
++#endif
++ status = read_header (&current_header, &current_stat_info,
++ read_header_auto);
+ break;
+ }
+ status = prev_status;
+--
+1.9.3
+
diff --git a/tar-1.28-vfatTruncate.patch b/tar-1.28-vfatTruncate.patch
new file mode 100644
index 0000000..734fbc4
--- /dev/null
+++ b/tar-1.28-vfatTruncate.patch
@@ -0,0 +1,52 @@
+From 90f446f9b04ab820a99b9408e68c01dc6b57056c Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Mon, 28 Jul 2014 08:10:10 +0200
+Subject: [PATCH 2/9] vfat-like FS & sparse (still downstream)
+
+Fix extracting sparse files to a file system like vfat, when
+ftruncate may fail to grow the size of a file. Still downstram,
+(do we need this now? ftruncate & vfat works is now OK).
+
+Resolves: #179507
+
+Upstream bugreport:
+http://lists.gnu.org/archive/html/bug-tar/2006-02/msg00000.html
+
+---
+ src/system.c | 19 ++++++++++++++++++-
+ 1 file changed, 18 insertions(+), 1 deletion(-)
+
+diff --git a/src/system.c b/src/system.c
+index 9414233..37e9a3e 100644
+--- a/src/system.c
++++ b/src/system.c
+@@ -243,8 +243,25 @@ sys_compare_links (struct stat *link_data, struct stat *stat_data)
+ int
+ sys_truncate (int fd)
+ {
++ struct stat st;
+ off_t pos = lseek (fd, (off_t) 0, SEEK_CUR);
+- return pos < 0 ? -1 : ftruncate (fd, pos);
++
++ if ( pos < 0)
++ return -1;
++
++ if ( ftruncate(fd, pos) && errno == EPERM ) {
++ /* wrapper around ftruncate:
++ * ftruncate may fail to grow the size of a file with some OS and filesystem
++ * combinations. Linux and vfat/fat is one example. If this is the case do
++ * a write to grow the file to the desired length.
++ */
++ if( (fstat( fd, &st ) == -1) ||
++ (st.st_size >= pos) ||
++ (lseek( fd, pos - 1, SEEK_SET) == (off_t)-1) ||
++ (write( fd, "\0", 1) == -1) )
++ return -1;
++ }
++ return 0;
+ }
+
+ /* Return nonzero if NAME is the name of a regular file, or if the file
+--
+1.9.3
+
diff --git a/tar-1.29-wildcards.patch b/tar-1.29-wildcards.patch
new file mode 100644
index 0000000..e239155
--- /dev/null
+++ b/tar-1.29-wildcards.patch
@@ -0,0 +1,107 @@
+From ae0730a98f7269a7bf7adb6047aa421939b290b7 Mon Sep 17 00:00:00 2001
+From: rpm-build <rpm-build>
+Date: Mon, 28 Jul 2014 08:12:14 +0200
+Subject: [PATCH] wildcard defaults (downstram; compatibility)
+
+Change inclusion defaults of tar to "wildcards --anchored
+--wildcards-match-slash" for compatibility reasons.
+
+Resolves: #206841
+---
+ doc/tar.texi | 5 ++++-
+ src/names.c | 15 +++++----------
+ tests/exclude01.at | 1 +
+ 3 files changed, 10 insertions(+), 11 deletions(-)
+
+diff --git a/doc/tar.texi b/doc/tar.texi
+index a8969e0..0185157 100644
+--- a/doc/tar.texi
++++ b/doc/tar.texi
+@@ -8439,7 +8439,7 @@ The following table summarizes pattern-matching default values:
+
+ @multitable @columnfractions .3 .7
+ @headitem Members @tab Default settings
+-@item Inclusion @tab @option{--no-wildcards --anchored --no-wildcards-match-slash}
++@item Inclusion @tab @option{--wildcards --anchored --wildcards-match-slash}
+ @item Exclusion @tab @option{--wildcards --no-anchored --wildcards-match-slash}
+ @end multitable
+
+@@ -12915,6 +12915,9 @@ version of this document is available at
+ @table @asis
+ @item Use of globbing patterns when listing and extracting.
+
++Note: Following is true for original unpatched GNU tar.
++For compatibility reasons, the old behavior was preserved.
++
+ Previous versions of GNU tar assumed shell-style globbing when
+ extracting from or listing an archive. For example:
+
+diff --git a/src/names.c b/src/names.c
+index 037b869..d96ad71 100644
+--- a/src/names.c
++++ b/src/names.c
+@@ -137,7 +137,7 @@ static struct argp_option names_options[] = {
+ {"no-ignore-case", NO_IGNORE_CASE_OPTION, 0, 0,
+ N_("case sensitive matching (default)"), GRID+1 },
+ {"wildcards", WILDCARDS_OPTION, 0, 0,
+- N_("use wildcards (default for exclusion)"), GRID+1 },
++ N_("use wildcards (default)"), GRID+1 },
+ {"no-wildcards", NO_WILDCARDS_OPTION, 0, 0,
+ N_("verbatim string matching"), GRID+1 },
+ {"wildcards-match-slash", WILDCARDS_MATCH_SLASH_OPTION, 0, 0,
+@@ -195,8 +195,7 @@ names_parse_opt (int key, char *arg, struct argp_state *state)
+ /* Wildcard matching settings */
+ enum wildcards
+ {
+- default_wildcards, /* For exclusion == enable_wildcards,
+- for inclusion == disable_wildcards */
++ default_wildcards, /* enable_wildcards */
+ disable_wildcards,
+ enable_wildcards
+ };
+@@ -214,7 +213,7 @@ static int include_anchored = EXCLUDE_ANCHORED;
+ | recursion_option)
+
+ #define INCLUDE_OPTIONS \
+- (((wildcards == enable_wildcards) ? EXCLUDE_WILDCARDS : 0) \
++ (((wildcards != disable_wildcards) ? EXCLUDE_WILDCARDS : 0) \
+ | include_anchored \
+ | matching_flags \
+ | recursion_option)
+@@ -1234,8 +1233,7 @@ regex_usage_warning (const char *name)
+
+ /* Warn about implicit use of the wildcards in command line arguments.
+ (Default for tar prior to 1.15.91, but changed afterwards) */
+- if (wildcards == default_wildcards
+- && fnmatch_pattern_has_wildcards (name, 0))
++ if (0 && fnmatch_pattern_has_wildcards (name, 0))
+ {
+ warned_once = 1;
+ WARN ((0, 0,
+@@ -1618,10 +1616,7 @@ collect_and_sort_names (void)
+
+ if (name->found_count || name->directory)
+ continue;
+- if (name->matching_flags & EXCLUDE_WILDCARDS)
+- /* NOTE: EXCLUDE_ANCHORED is not relevant here */
+- /* FIXME: just skip regexps for now */
+- continue;
++
+ chdir_do (name->change_dir);
+
+ if (name->name[0] == 0)
+diff --git a/tests/exclude01.at b/tests/exclude01.at
+index c3cd10b..c590047 100644
+--- a/tests/exclude01.at
++++ b/tests/exclude01.at
+@@ -61,6 +61,7 @@ testdir/dir2/file2
+ testdir/dir3/
+ NEXT
+ testdir/dir1/*
++testdir/dir1/file1
+ NEXT
+ testdir/dir1/*
+ NEXT
+--
+2.5.5
+
diff --git a/tar-1.32-bugfix-sparse-diff-mode.patch b/tar-1.32-bugfix-sparse-diff-mode.patch
new file mode 100644
index 0000000..6edc22e
--- /dev/null
+++ b/tar-1.32-bugfix-sparse-diff-mode.patch
@@ -0,0 +1,25 @@
+From 1864e189c710414f2f837ddd6b9cf575a05846cd Mon Sep 17 00:00:00 2001
+From: Pavel Raiskup <praiskup@redhat.com>
+Date: Mon, 13 Jul 2020 08:23:29 +0200
+Subject: [PATCH] Bugfix --sparse --diff mode
+
+---
+ src/sparse.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/sparse.c b/src/sparse.c
+index d642a46..ac78894 100644
+--- a/src/sparse.c
++++ b/src/sparse.c
+@@ -684,7 +684,7 @@ check_data_region (struct tar_sparse_file *file, size_t i)
+ }
+ size_left -= bytes_read;
+ mv_size_left (file->stat_info->archive_file_size - file->dumped_size);
+- if (memcmp (blk->buffer, diff_buffer, rdsize))
++ if (memcmp (blk->buffer, diff_buffer, bytes_read))
+ {
+ report_difference (file->stat_info, _("Contents differ"));
+ return false;
+--
+2.24.1
+
diff --git a/tar-1.32-testsuite-fix.patch b/tar-1.32-testsuite-fix.patch
new file mode 100644
index 0000000..89a17ca
--- /dev/null
+++ b/tar-1.32-testsuite-fix.patch
@@ -0,0 +1,73 @@
+commit 14f00a2c7adefcbe50e85f6bf2ebce922e0dceb0
+Author: Sergey Poznyakoff <gray@gnu.org>
+Date: Mon Nov 25 08:01:04 2019 +0200
+
+ Testsuite fixes
+
+ * tests/sparse06.at: Skip the test if genfile is unable to create
+ sparse files.
+ * tests/sptrcreat.at: Likewise.
+ * tests/sptrdiff00.at: Likewise.
+ * tests/sptrdiff01.at: Likewise.
+
+diff --git a/tests/sparse06.at b/tests/sparse06.at
+index 650b4f5..ceb5abb 100644
+--- a/tests/sparse06.at
++++ b/tests/sparse06.at
+@@ -23,7 +23,7 @@ AT_KEYWORDS([sparse sparse06 chdir])
+
+ m4_define([check_pattern],[
+ rm -rf out archive.tar smallsparse && mkdir out
+-genfile --sparse --quiet --file smallsparse $1
++genfile --sparse --quiet --file smallsparse $1 || AT_SKIP_TEST
+ tar -cSf archive.tar smallsparse
+ tar -xf archive.tar -C out
+ cmp smallsparse out/smallsparse
+@@ -33,7 +33,7 @@ AT_TAR_CHECK([
+ AT_SEEKHOLE_PREREQ
+
+ TAR_OPTIONS="$TAR_OPTIONS --hole-detection=seek"
+-genfile --sparse --file bigsparse 0 ABC 8G DEF
++genfile --sparse --file bigsparse 0 ABC 8G DEF || AT_SKIP_TEST
+ tar -cSf a bigsparse
+ test $? -eq 0 || exit 1
+
+diff --git a/tests/sptrcreat.at b/tests/sptrcreat.at
+index 2c730cc..d913ddf 100644
+--- a/tests/sptrcreat.at
++++ b/tests/sptrcreat.at
+@@ -35,7 +35,7 @@ AT_KEYWORDS([truncate filechange sparse sptr sptrcreat])
+
+ AT_TAR_CHECK([
+ genfile --sparse --block-size=1024 --file foo \
+- 0 ABCDEFGHIJ 1M ABCDEFGHIJ 10M ABCDEFGHIJ 200M ABCDEFGHIJ
++ 0 ABCDEFGHIJ 1M ABCDEFGHIJ 10M ABCDEFGHIJ 200M ABCDEFGHIJ || AT_SKIP_TEST
+ genfile --file baz
+ genfile --run --checkpoint 3 --length 200m --truncate foo -- \
+ tar --sparse -vcf bar foo baz
+diff --git a/tests/sptrdiff00.at b/tests/sptrdiff00.at
+index 990c6fa..482e9e5 100644
+--- a/tests/sptrdiff00.at
++++ b/tests/sptrdiff00.at
+@@ -29,7 +29,7 @@ AT_KEYWORDS([truncate filechange sparse sptr sptrdiff diff])
+ # This triggers short read in check_sparse_region.
+ AT_TAR_CHECK([
+ genfile --sparse --block-size=1024 --file foo \
+- 0 ABCDEFGHIJ 1M ABCDEFGHIJ 10M ABCDEFGHIJ 200M ABCDEFGHIJ
++ 0 ABCDEFGHIJ 1M ABCDEFGHIJ 10M ABCDEFGHIJ 200M ABCDEFGHIJ || AT_SKIP_TEST
+ genfile --file baz
+ echo creating
+ tar --sparse -vcf bar foo baz
+diff --git a/tests/sptrdiff01.at b/tests/sptrdiff01.at
+index fcada14..81232a1 100644
+--- a/tests/sptrdiff01.at
++++ b/tests/sptrdiff01.at
+@@ -29,7 +29,7 @@ AT_KEYWORDS([truncate filechange sparse sptr sptrdiff diff])
+ # This triggers short read in check_data_region.
+ AT_TAR_CHECK([
+ genfile --sparse --block-size=1024 --file foo \
+- 0 ABCDEFGHIJ 1M ABCDEFGHIJ 10M ABCDEFGHIJ 200M ABCDEFGHIJ
++ 0 ABCDEFGHIJ 1M ABCDEFGHIJ 10M ABCDEFGHIJ 200M ABCDEFGHIJ || AT_SKIP_TEST
+ genfile --file baz
+ echo creating
+ tar --sparse -vcf bar foo baz
diff --git a/tar-1.32-xattrs-read-only-files.patch b/tar-1.32-xattrs-read-only-files.patch
new file mode 100644
index 0000000..185b430
--- /dev/null
+++ b/tar-1.32-xattrs-read-only-files.patch
@@ -0,0 +1,40 @@
+From 63982eb098f6798a314d8f6aeb2e4139a78d2922 Mon Sep 17 00:00:00 2001
+From: Pavel Raiskup <praiskup@redhat.com>
+Date: Fri, 9 Oct 2020 12:03:22 +0200
+Subject: [PATCH] Don't pre-create read-only files with --extract --xattrs
+
+We used to respect the target file mode when pre-creating files in
+set_xattr, so we also pre-created read-only files that we were not able
+to open later for writing. This is now fixed, and we always create the
+file with S_IWUSR.
+
+Fixes the original bug report https://bugzilla.redhat.com/1886540
+
+* src/extract.c (set_xattr): Blindly add S_IWUSR flag to pre-created
+files, to avoid openat failures later.
+---
+ src/extract.c | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/src/extract.c b/src/extract.c
+index b73a591..2e650ad 100644
+--- a/src/extract.c
++++ b/src/extract.c
+@@ -865,7 +865,13 @@ set_xattr (char const *file_name, struct tar_stat_info const *st,
+
+ for (;;)
+ {
+- if (!mknodat (chdir_fd, file_name, mode ^ invert_permissions, 0))
++ /* We'll open the file with O_WRONLY later by open_output_file,
++ therefore we need to give us the S_IWUSR bit. If the file was
++ meant to be user-read-only, the permissions will be corrected by
++ the set_stat call. */
++ mode_t initial_mode = mode ^ invert_permissions | S_IWUSR;
++
++ if (!mknodat (chdir_fd, file_name, initial_mode, 0))
+ {
+ /* Successfully created file */
+ xattrs_xattrs_set (st, file_name, typeflag, 0);
+--
+2.28.0
+
diff --git a/tar-1.32.tar.xz.sig b/tar-1.32.tar.xz.sig
new file mode 100644
index 0000000..bcdd80f
--- /dev/null
+++ b/tar-1.32.tar.xz.sig
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+
+iG4EABECAC4WIQQyX2UMTCtq1YgHMno2ArB/VdDHMgUCXHFHdhAcZ3JheUBnbnUu
+b3JnLnVhAAoJEDYCsH9V0Mcy61oAni2Gwnao+qzsebDfH3ePo4FWdHKEAJ9IP8h7
+f96xDOstDrfKQjY/tqUrWg==
+=eh8f
+-----END PGP SIGNATURE-----
diff --git a/tar.spec b/tar.spec
new file mode 100644
index 0000000..e4a6e7a
--- /dev/null
+++ b/tar.spec
@@ -0,0 +1,879 @@
+%bcond_without selinux
+%bcond_without check
+
+Summary: A GNU file archiving program
+Name: tar
+Epoch: 2
+Version: 1.32
+Release: 7%{?dist}
+License: GPLv3+
+URL: http://www.gnu.org/software/tar/
+
+Source0: ftp://ftp.gnu.org/pub/gnu/tar/tar-%{version}.tar.xz
+Source1: ftp://ftp.gnu.org/pub/gnu/tar/tar-%{version}.tar.xz.sig
+
+# Note that all patches are documented in patch files (git format-patch format)
+Patch1: tar-1.28-loneZeroWarning.patch
+Patch2: tar-1.28-vfatTruncate.patch
+Patch3: tar-1.29-wildcards.patch
+Patch4: tar-1.28-atime-rofs.patch
+Patch9: tar-1.28-document-exclude-mistakes.patch
+Patch10: tar-1.32-testsuite-fix.patch
+Patch11: tar-1.32-bugfix-sparse-diff-mode.patch
+Patch12: tar-1.32-xattrs-read-only-files.patch
+
+BuildRequires: gcc
+BuildRequires: autoconf automake texinfo gettext libacl-devel
+
+%if %{with check}
+# cover needs of tar's testsuite
+BuildRequires: attr acl policycoreutils
+%endif
+
+%if %{with selinux}
+BuildRequires: libselinux-devel
+%endif
+Provides: bundled(gnulib)
+Provides: bundled(paxutils)
+Provides: /bin/tar
+Provides: /bin/gtar
+
+%description
+The GNU tar program saves many files together in one archive and can
+restore individual files (or all of the files) from that archive. Tar
+can also be used to add supplemental files to an archive and to update
+or list files in the archive. Tar includes multivolume support,
+automatic archive compression/decompression, the ability to perform
+remote archives, and the ability to perform incremental and full
+backups.
+
+If you want to use tar for remote backups, you also need to install
+the rmt package on the remote box.
+
+
+%prep
+%autosetup -p1
+autoreconf -v
+
+# Keep only entries related to the latest release.
+mv ChangeLog{,~}
+awk 'stop = false; /^2014-07-27/ { stop = true; exit }; { print }' \
+ < ChangeLog~ > ChangeLog
+
+
+%build
+%configure \
+ %{!?with_selinux:--without-selinux} \
+ --with-lzma="xz --format=lzma" \
+ DEFAULT_RMT_DIR=%{_sysconfdir} \
+ RSH=/usr/bin/ssh
+
+%make_build
+
+
+%install
+%make_install
+
+ln -s tar $RPM_BUILD_ROOT%{_bindir}/gtar
+rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+ln -s tar.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/gtar.1
+
+# XXX Nuke unpackaged files.
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rmt
+rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rmt.8*
+
+%find_lang %name
+
+
+%check
+%if %{with check}
+rm -f $RPM_BUILD_ROOT/test/testsuite
+# make check TESTSUITEFLAGS='-k \!dirrem01,\!dirrem02' || (
+make check || (
+ # get the error log
+ set +x
+ find -name testsuite.log | while read line; do
+ echo "=== $line ==="
+ cat "$line"
+ echo
+ done
+ false
+)
+%endif
+
+
+%files -f %{name}.lang
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc AUTHORS README THANKS NEWS ChangeLog
+%{_bindir}/tar
+%{_bindir}/gtar
+%{_mandir}/man1/tar.1*
+%{_mandir}/man1/gtar.1*
+%{_infodir}/tar.info*
+
+
+%changelog
+* Mon Oct 12 2020 Pavel Raiskup <praiskup@redhat.com> - 1.32-7
+- restore read-only files with xattrs under non-root users (rhbz#1886540)
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.32-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Mon Jul 13 2020 Ondrej Dubaj <odubaj@redhat.com> - 2:1.32-5
+- Bugfix of --sparse option in --diff mode
+
+* Wed Feb 05 2020 Than Ngo <than@redhat.com> - 2:1.32-4
+- Skip the test if genfile is unable to create
+
+* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.32-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.32-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Mon Feb 25 2019 Pavel Raiskup <praiskup@redhat.com> - 1.32-1
+- the latest upstream release, per release notes
+ http://lists.gnu.org/archive/html/info-gnu/2019-02/msg00010.html
+- admit that we bundle paxutils project
+
+* Mon Feb 04 2019 Pavel Raiskup <praiskup@redhat.com> - 1.31-4
+- fix racy compress: gzip test
+
+* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.31-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Thu Jan 17 2019 Pavel Raiskup <praiskup@redhat.com> - 1.31-2
+- backport fix for dirrem tests, and reenable them again
+
+* Thu Jan 10 2019 Pavel Raiskup <praiskup@redhat.com> - 1.31-1
+- the latest upstream release, per release notes
+ http://lists.gnu.org/archive/html/info-gnu/2019-01/msg00001.html
+
+* Tue Aug 07 2018 Pavel Raiskup <praiskup@redhat.com> - 1.30-6
+- use %%bcond_* for selinux, use %%make_* macros
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.30-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed May 23 2018 Pavel Raiskup <praiskup@redhat.com> - 1.30-4
+- drop BuildRequires: rsh, we anyways use ./configure RSH=%%_bindir/ssh
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.30-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2:1.30-2
+- Return Epoch back
+
+* Thu Jan 04 2018 Pavel Raiskup <praiskup@redhat.com> - 1.30-1
+- testsuite fixes per upstream reports
+
+* Mon Dec 18 2017 Pavel Raiskup <praiskup@redhat.com> - 1.30-1
+- rebase to latest upstream release, per release notes
+ http://lists.gnu.org/archive/html/info-gnu/2017-12/msg00011.html
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.29-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.29-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Wed May 24 2017 Tomas Repik <trepik@redhat.com> - 2:1.29-5
+- fix --add-file option (rhbz#1436030)
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.29-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon Nov 28 2016 Pavel Raiskup <praiskup@redhat.com> - 1.29-3
+- revert back some docs
+- fix --create to use --xattrs-include/exclude (rhbz#1341787)
+- don't hang with '-x --skip-old-files --xattrs' (rhbz#1399036)
+
+* Mon Nov 7 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.29-2
+- Drop large docs, minor specs cleanups
+
+* Tue May 17 2016 Pavel Raiskup <praiskup@redhat.com> - 1.29-1
+- new upstream release 1.29 (rhbz#1336607)
+
+* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.28-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Fri Jun 26 2015 Pavel Raiskup <praiskup@redhat.com> - 1.28-6
+- fix --files-from and -T cooperation (rhbz#1230762)
+- avoid two testsuite false alarms related to --files-from option
+
+* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.28-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2:1.28-4
+- Rebuilt for Fedora 23 Change
+ https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
+
+* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.28-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Wed Aug 6 2014 Tom Callaway <spot@fedoraproject.org> - 2:1.28-2
+- fix license handling
+
+* Mon Jul 28 2014 Pavel Raiskup <praiskup@redhat.com> - 1.28-1
+- rebase to new upstream tarball, per release notes:
+ https://savannah.gnu.org/forum/forum.php?forum_id=8037
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.27.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Mon May 12 2014 Pavel Raiskup <praiskup@redhat.com> - 1.27.1-4
+- enable parallel build
+
+* Tue Apr 01 2014 Pavel Raiskup <praiskup@redhat.com> - 1.27.1-3
+- document --exclude mistakes (#903666)
+- fix default ACLs propagation (#1082603)
+- infinite loop(s) in sparse-file handling (#1082608)
+- fix listing (and --verify) for big sparse files (#916995)
+- fix eternal loop in -T option (#1083066)
+- don't read/write archive from/to terminal (#1083075)
+
+* Fri Nov 29 2013 Pavel Raiskup <praiskup@redhat.com> - 1.27.1-2
+- sync manual page contents with help2man output
+
+* Mon Nov 18 2013 Pavel Raiskup <praiskup@redhat.com> - 1.27.1-1
+- minor version update to 1.27.1
+
+* Tue Oct 29 2013 Pavel Raiskup <praiskup@redhat.com> - 1.27-2
+- sparse file detection based on fstat() fix (#1024095)
+
+* Wed Oct 09 2013 Ondrej Vasik <ovasik@redhat.com> - 1.27-1
+- new upstream release 1.27 (#1016288)
+
+* Mon Sep 09 2013 Pavel Raiskup <praiskup@redhat.com> - 1.26-28
+- add documenation for xattrs-like options (#996753)
+- the --xattrs-include implies --xattrs now (#965969)
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.26-27
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Jun 20 2013 Pavel Raiskup <praiskup@redhat.com> - 1.26-26
+- the /etc/rmt seems to be the best place where to look for rmt binary (see the
+ commit message in Fedora's cpio.git for more info)
+
+* Tue Jun 04 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-25
+- fix "symlink eating" bug (already fixed in upstream git)
+
+* Thu May 30 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-24
+- use /usr/bin/ssh as the default remote shell binary (#969015)
+- do not verbose-print xattrs when --no-xattrs option is used
+- do not override the config.{guess,sub} twice, this is already done by the
+ redhat-rpm-config package (#951442)
+
+* Tue May 28 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-23
+- again search for 'rmt' binary in %%{_sbindir} on target host
+
+* Tue Mar 26 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-22
+- enable build for arm64 (#926610)
+- fix the NAME part in manual page (copied from texinfo)
+- silence gcc warnings (lint fixes without risk from upstream) for RPMDiff
+
+* Tue Mar 19 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-21
+- allow extracting single volume from multi-volume archive (#919897)
+- usrmove: /bin/tar ~> /usr/bin/tar, selinux handling edit
+- add possibility to pass arguments to commands called from tar (#819187)
+
+* Fri Mar 01 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-19
+- fix creating sparse pax archives containing files of effective
+ size >8GB (#516309)
+- silence rpmlint (fix bad dates in changelog based on git log dates)
+
+* Wed Feb 20 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-18
+- fix problems with big uids/gids and pax format (> 2^21) (#913406)
+
+* Mon Feb 18 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-17
+- add possibility to 'rpmbuild' without %%check phase
+- make the autoreconf phase verbose
+- re-create older patches (avoid offset warnings during patching)
+- remove patches which we don't need now (xattrs - will be updated, sigpipe -
+ test should work now, partial revert of *at() conversion was done because of
+ incompatible xattr patch)
+- add upstream up2date xattr patch
+
+* Fri Feb 01 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-16
+- make the info documentation more visible in manpage (#903666)
+- sync tar.1 manpage with actual --help output (e.g. added --skip-old-files)
+- add the last_help2man_run file to git repo to allow more easily find changes
+ in --help in future
+- make the DEFAULTS section to be more visible in man page
+- verbose 'make check' only when some fail happened (append to koji build.log)
+
+* Thu Nov 29 2012 Ondrej Vasik <ovasik@redhat.com> - 2:1.26-15
+- add missing --full-time option to manpage
+
+* Thu Oct 18 2012 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-14
+- fix bad behaviour of --keep-old-files and add --skip-old-files option
+ (#799252)
+
+* Wed Oct 10 2012 Pavel Raiskup <praiskup@redhat.com> 2:1.26-13
+- fix badly written macro for building --without-selinux
+- allow to build tar in difference CoverityScan by forcing the '.gets' patch to
+ be applied even in the run without patches
+
+* Fri Oct 05 2012 Pavel Raiskup <praiskup@redhat.com> 2:1.26-12
+- repair the xattr-gnulib-prepare patch to allow build tar without SELinux
+ support
+- fedora-review compliance -> remove trailing white-spaces, remove macro from
+ comment, remove BR of gawk;coreutils;gzip that should be covered automatically
+ by minimum build environment, do not `rm -rf' buildroot at the beginning of
+ install phase (needed only in EPEL), remove BuildRoot definition, remove
+ defattr macro, s/define/global/
+- do not use ${VAR} syntax for bash variables, use just $VAR
+
+* Wed Aug 22 2012 Pavel Raiskup <praiskup@redhat.com> 2:1.26-11
+- fix manpage to reflect #850291 related commit
+
+* Tue Aug 21 2012 Pavel Raiskup <praiskup@redhat.com> 2:1.26-10
+- prepare Gnulib for new xattrs (#850291)
+- new version of RH xattrs patch (#850291)
+- enable verbose mode in testsuite to allow better debugging on error
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.26-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Jul 12 2012 Pavel Raiskup <praiskup@redhat.com> 2:1.26-8
+- force the fchown() be called before xattrs_set() (#771927)
+
+* Sat Jun 16 2012 Ondrej Vasik <ovasik@redhat.com> 2:1.26-7
+- store&restore security.capability extended attributes category
+ (#771927)
+- fix build failure with undefined gets
+
+* Tue May 15 2012 Ondrej Vasik <ovasik@redhat.com> 2:1.26-6
+- add virtual provides for bundled(gnulib) copylib (#821790)
+
+* Thu Apr 05 2012 Pavel Raiskup <praiskup@redhat.com> 2:1.26-5
+- fix for bad cooperation of the '-C' (change directory) and '-u' (update
+ package) options (#688567)
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.26-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Sun Oct 2 2011 Ville Skyttä <ville.skytta@iki.fi> - 2:1.26-3
+- Man page heading formatting fixes.
+
+* Mon Sep 26 2011 Kamil Dudka <kdudka@redhat.com> 2:1.26-2
+- restore basic functionality of --acl, --selinux, and --xattr (#717684)
+
+* Sat Mar 12 2011 Ondrej Vasik <ovasik@redhat.com> 2:1.26-1
+- new upstream release 1.26
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.25-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Jan 20 2011 Ondrej Vasik <ovasik@redhat.com> 2:1.25-5
+- drop unnecessary hard dependency on info package(#671157)
+
+* Mon Jan 03 2011 Ondrej Vasik <ovasik@redhat.com> 2:1.25-4
+- mention that some compression options might not work if
+ the external program is not available(#666755)
+
+* Wed Dec 08 2010 Kamil Dudka <kdudka@redhat.com> 2:1.25-3
+- correctly store long sparse file names in PAX archives (#656834)
+
+* Tue Nov 23 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.25-2
+- fix issue with --one-file-system and --listed-incremental
+ (#654718)
+
+* Mon Nov 08 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.25-1
+- new upstream release 1.25
+
+* Mon Oct 25 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.24-1
+- new upstream release 1.24, use .xz archive
+
+* Wed Sep 29 2010 jkeating - 2:1.23-8
+- Rebuilt for gcc bug 634757
+
+* Fri Sep 24 2010 Kamil Dudka <kdudka@redhat.com> 2:1.23-7
+- match non-stripped file names (#637085)
+
+* Mon Sep 20 2010 Kamil Dudka <kdudka@redhat.com> 2:1.23-6
+- fix exclusion of long file names with --xattrs (#634866)
+- do not crash with --listed-incremental (#635318)
+
+* Mon Aug 16 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.23-5
+- add support for security.NTACL xattrs (#621215)
+
+* Tue Jun 01 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.23-4
+- recognize old-archive/portability options(#594044)
+
+* Wed Apr 07 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.23-3
+- allow storing of extended attributes for fifo and block
+ or character devices files(#573147)
+
+* Mon Mar 15 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.23-2
+- update help2maned manpage
+
+* Fri Mar 12 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.23-1
+- new upstream release 1.23, remove applied patches
+
+* Wed Mar 10 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.22-17
+- CVE-2010-0624 tar, cpio: Heap-based buffer overflow
+ by expanding a specially-crafted archive (#572149)
+- realloc within check_exclusion_tags() caused invalid write
+ (#570591)
+- not closing file descriptors for excluded files/dirs with
+ exlude-tag... options could cause descriptor exhaustion
+ (#570591)
+
+* Sat Feb 20 2010 Kamil Dudka <kdudka@redhat.com> 2:1.22-16
+- support for "lustre.*" extended attributes (#561855)
+
+* Thu Feb 04 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.22-15
+- fix segfault with corrupted metadata in code_ns_fraction
+ (#531441)
+
+* Wed Feb 03 2010 Kamil Dudka <kdudka@redhat.com> 2:1.22-14
+- allow also build with SELinux support
+
+* Mon Feb 01 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.22-13
+- allow build without SELinux support(#556679)
+
+* Tue Jan 05 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.22-12
+- do not fail with POSIX 2008 glibc futimens() (#552320)
+- temporarily disable fix for #531441, causing stack smashing
+ with newer glibc(#551206)
+
+* Tue Dec 08 2009 Ondrej Vasik <ovasik@redhat.com> 2:1.22-11
+- fix segfault with corrupted metadata in code_ns_fraction
+ (#531441)
+- commented patches and sources
+
+* Fri Nov 27 2009 Ondrej Vasik <ovasik@redhat.com> 2:1.22-10
+- store xattrs for symlinks (#525992) - by Kamil Dudka
+- update tar(1) manpage (#539787)
+- fix memory leak in xheader (#518079)
+
+* Wed Nov 18 2009 Kamil Dudka <kdudka@redhat.com> 2:1.22-9
+- store SELinux context for symlinks (#525992)
+
+* Thu Aug 27 2009 Ondrej Vasik <ovasik@redhat.com> 2:1.22-8
+- provide symlink manpage for gtar
+
+* Thu Aug 06 2009 Ondrej Vasik <ovasik@redhat.com> 2:1.22-7
+- do process install-info only without --excludedocs(#515923)
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.22-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Jul 16 2009 Ondrej Vasik <ovasik@redhat.com> 2:1.22-5
+- Fix restoring of directory default acls(#511145)
+- Do not patch generated autotools files
+
+* Thu Jun 25 2009 Ondrej Vasik <ovasik@redhat.com> 2:1.22-4
+- Report record size only if the archive refers to a device
+ (#487760)
+- Do not sigabrt with new gcc/glibc because of writing to
+ struct members of gnutar header at once via strcpy
+
+* Fri May 15 2009 Ondrej Vasik <ovasik@redhat.com> 2:1.22-3
+- ignore errors from setting utime() for source file
+ on read-only filesystem (#500742)
+
+* Fri Mar 06 2009 Kamil Dudka <kdudka@redhat.com> 2:1.22-2
+- improve tar-1.14-loneZeroWarning.patch (#487315)
+
+* Mon Mar 02 2009 Ondrej Vasik <ovasik@redhat.com> 2:1.22-1
+- New upstream release 1.22, removed applied patch
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.21-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Jan 05 2009 Ondrej Vasik <ovasik@redhat.com> 2:1.21-1
+- New upstream release 1.21, removed applied patches
+- add support for -I option, fix testsuite failure
+
+* Thu Dec 11 2008 Ondrej Vasik <ovasik@redhat.com> 2:1.20-6
+- add BuildRequires for rsh (#475950)
+
+* Fri Nov 21 2008 Ondrej Vasik <ovasik@redhat.com> 2:1.20-5
+- fix off-by-one errors in xattrs patch (#472355)
+
+* Mon Nov 10 2008 Kamil Dudka <kdudka@redhat.com> 2:1.20-4
+- fixed bug #465803: labels with --multi-volume (upstream patch)
+
+* Fri Oct 10 2008 Ondrej Vasik <ovasik@redhat.com> 2:1.20-3
+- Fixed wrong documentation for xattrs options (#466517)
+- fixed bug with null file terminator and change dirs
+ (upstream)
+
+* Fri Aug 29 2008 Ondrej Vasik <ovasik@redhat.com> 2:1.20-2
+- patch fuzz clean up
+
+* Mon May 26 2008 Ondrej Vasik <ovasik@redhat.com> 2:1.20-1
+- new upstream release 1.20 (lzma support, few new options
+ and bugfixes)
+- heavily modified xattrs patches(as tar-1.20 now uses automake
+ 1.10.1)
+
+* Tue Feb 12 2008 Radek Brich <rbrich@redhat.com> 2:1.19-3
+- do not print getfilecon/setfilecon warnings when SELinux is disabled
+ or SELinux data are not available (bz#431879)
+- fix for GCC 4.3
+
+* Mon Jan 21 2008 Radek Brich <rbrich@redhat.com> 2:1.19-2
+- fix errors in man page
+ * fix definition of --occurrence (bz#416661, patch by Jonathan Wakely)
+ * update meaning of -l: it has changed from --one-filesystem
+ to --check-links (bz#426717)
+- update license tag, tar 1.19 is GPLv3+
+
+* Mon Dec 17 2007 Radek Brich <rbrich@redhat.com> 2:1.19-1
+- upgrade to 1.19
+- updated xattrs patch, removed 3 upstream patches
+
+* Wed Dec 12 2007 Radek Brich <rbrich@redhat.com> 2:1.17-5
+- fix (non)detection of xattrs
+- move configure stuff from -xattrs patch to -xattrs-conf,
+ so the original patch could be easily read
+- fix -xattrs patch to work with zero length files and show
+ warnings when xattrs not available (fixes by James Antill)
+- possible corruption (#408621) - add warning to man page
+ for now, may be actually fixed later, depending on upstream
+
+* Tue Oct 23 2007 Radek Brich <rbrich@redhat.com> 2:1.17-4
+- upstream patch for CVE-2007-4476
+ (tar stack crashing in safer_name_suffix)
+
+* Tue Aug 28 2007 Radek Brich <rbrich@redhat.com> 2:1.17-3
+- gawk build dependency
+
+* Tue Aug 28 2007 Radek Brich <rbrich@redhat.com> 2:1.17-2
+- updated license tag
+- fixed CVE-2007-4131 tar directory traversal vulnerability (#251921)
+
+* Thu Jun 28 2007 Radek Brich <rbrich@redhat.com> 2:1.17-1
+- new upstream version
+- patch for wildcards (#206841), restoring old behavior
+- patch for testsuite
+- update -xattrs patch
+- drop 13 obsolete patches
+
+* Tue Feb 06 2007 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-26
+- fix spec file to meet Fedora standards (#226478)
+
+* Mon Jan 22 2007 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-25
+- fix non-failsafe install-info use in scriptlets (#223718)
+
+* Wed Jan 03 2007 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-24
+- supply tar man page (#219375)
+
+* Tue Dec 12 2006 Florian La Roche <laroche@redhat.com> 2:1.15.1-23
+- fix CVE-2006-6097 GNU tar directory traversal (#216937)
+
+* Sun Dec 10 2006 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-22
+- fix some rpmlint spec file issues
+
+* Wed Oct 25 2006 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-21
+- build with dist-tag
+
+* Mon Oct 09 2006 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-20
+- another fix of tar-1.15.1-xattrs.patch from James Antill
+
+* Wed Oct 04 2006 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-19
+- another fix of tar-1.15.1-xattrs.patch from James Antill
+
+* Sun Oct 01 2006 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-18
+- fix tar-1.15.1-xattrs.patch (#208701)
+
+* Tue Sep 19 2006 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-17
+- start new epoch, downgrade to solid stable 1.15.1-16 (#206979),
+- all patches are backported
+
+* Tue Sep 19 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.91-2
+- apply patches, which were forgotten during upgrade
+
+* Wed Sep 13 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.91-1
+- upgrade, which also fix incremental backup (#206121)
+
+* Fri Sep 08 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.90-7
+- fix tar-debuginfo package (#205615)
+
+* Thu Aug 10 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.90-6
+- add xattr support (#200925), patch from james.antill@redhat.com
+
+* Mon Jul 24 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.90-5
+- fix incompatibilities in appending files to the end
+ of an archive (#199515)
+
+* Tue Jul 18 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.90-4
+- fix problem with unpacking archives in a directory for which
+ one has write permission but does not own (such as /tmp) (#149686)
+
+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.15.90-3.1
+- rebuild
+
+* Thu Jun 29 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.90-3
+- fix typo in tar.1 man page
+
+* Tue Apr 25 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.90-2
+- exclude listed02.at from testsuite again, because it
+ still fails on s390
+
+* Tue Apr 25 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.90-1
+- upgrade
+
+* Mon Apr 24 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.1-16
+- fix problem when options at the end of command line were
+ not recognized (#188707)
+
+* Thu Apr 13 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.1-15
+- fix segmentation faul introduced with hugeSparse.patch
+
+* Wed Mar 22 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.1-14
+- fix problems with extracting large sparse archive members (#185460)
+
+* Fri Feb 17 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.1-13
+- fix heap overlfow bug CVE-2006-0300 (#181773)
+
+* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.15.1-12.2
+- bump again for double-long bug on ppc(64)
+
+* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.15.1-12.1
+- rebuilt for new gcc4.1 snapshot and glibc changes
+
+* Mon Feb 06 2006 Peter Vrabec <pvrabec@redhat.com> 1.15.1-12
+- fix extracting sparse files to a filesystem like vfat,
+ when ftruncate may fail to grow the size of a file.(#179507)
+
+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt
+
+* Fri Nov 04 2005 Peter Vrabec <pvrabec@redhat.com> 1.15.1-11
+- correctly pad archive members that shrunk during archiving (#172373)
+
+* Tue Sep 06 2005 Peter Vrabec <pvrabec@redhat.com> 1.15.1-10
+- provide man page (#163709, #54243, #56041)
+
+* Mon Aug 15 2005 Peter Vrabec <pvrabec@redhat.com> 1.15.1-9
+- silence newer option (#164902)
+
+* Wed Jul 27 2005 Peter Vrabec <pvrabec@redhat.com> 1.15.1-8
+- A file is dumpable if it is sparse and both --sparse
+ and --totals are specified (#154882)
+
+* Tue Jul 26 2005 Peter Vrabec <pvrabec@redhat.com> 1.15.1-7
+- exclude listed02.at from testsuite
+
+* Fri Jul 22 2005 Peter Vrabec <pvrabec@redhat.com> 1.15.1-6
+- remove tar-1.14-err.patch, not needed (158743)
+
+* Fri Apr 15 2005 Peter Vrabec <pvrabec@redhat.com> 1.15.1-5
+- extract sparse files even if the output fd is not seekable.(#154882)
+- (sparse_scan_file): Bugfix. offset had incorrect type.
+
+* Mon Mar 14 2005 Peter Vrabec <pvrabec@redhat.com>
+- gcc4 fix (#150993) 1.15.1-4
+
+* Mon Jan 31 2005 Peter Vrabec <pvrabec@redhat.com>
+- rebuild 1.15.1-3
+
+* Mon Jan 17 2005 Peter Vrabec <pvrabec@redhat.com>
+- fix tests/testsuite
+
+* Fri Jan 07 2005 Peter Vrabec <pvrabec@redhat.com>
+- upgrade to 1.15.1
+
+* Mon Oct 11 2004 Peter Vrabec <pvrabec@redhat.com>
+- patch to stop issuing lone zero block warnings
+- rebuilt
+
+* Mon Oct 11 2004 Peter Vrabec <pvrabec@redhat.com>
+- URL added to spec file
+- spec file clean up
+
+* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Mon Jun 7 2004 Jeff Johnson <jbj@jbj.org> 1.14-1
+- upgrade to 1.14.
+
+* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Tue Jun 17 2003 Jeff Johnson <jbj@redhat.com> 1.13.25-13
+- rebuilt because of crt breakage on ppc64.
+- dump automake15 requirement.
+
+* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
+- rebuilt
+
+* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 1.13.25-10
+- fix broken buildrquires on autoconf253
+
+* Thu Nov 7 2002 Jeff Johnson <jbj@redhat.com> 1.13.25-9
+- rebuild from CVS.
+
+* Fri Aug 23 2002 Phil Knirsch <pknirsch@redhat.com> 1.13.25-8
+- Included security patch from errata release.
+
+* Mon Jul 1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.25-7
+- Fix argv NULL termination (#64869)
+
+* Thu May 23 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Tue Apr 9 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.25-4
+- Fix build with autoconf253 (LIBOBJ change; autoconf252 worked)
+
+* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Tue Oct 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.25-2
+- Don't include hardlinks to sockets in a tar file (#54827)
+
+* Thu Sep 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.25-1
+- 1.13.25
+
+* Tue Sep 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.22-1
+- Update to 1.13.22, adapt patches
+
+* Mon Aug 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.19-6
+- Fix #52084
+
+* Thu May 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.13.19-5
+- Fix build with current autoconf (stricter checking on AC_DEFINE)
+- Fix segfault when tarring directories without having read permissions
+ (#40802)
+
+* Tue Mar 6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
+- Don't depend on librt.
+
+* Fri Feb 23 2001 Trond Eivind Glomsröd <teg@redhat.com>
+- langify
+
+* Thu Feb 22 2001 Bernhard Rosenkraenzer <bero@redhat.com>
+- Fix up the man page (#28915)
+
+* Wed Feb 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
+- 1.3.19, nukes -I and fixes up -N
+- Add -I back in as an alias to -j with a nice loud warning
+
+* Mon Oct 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- 1.3.18
+- Update man page to reflect changes
+
+* Thu Oct 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- Fix the "ignore failed read" option (Bug #8330)
+
+* Mon Sep 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- fix hang on tar tvzf - <something.tar.gz, introduced by
+ exit code fix (Bug #15448), Patch from Tim Waugh <twaugh@redhat.com>
+
+* Fri Aug 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- really fix exit code (Bug #15448)
+
+* Mon Aug 7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- fix exit code (Bug #15448), patch from Tim Waugh <twaugh@redhat.com>
+
+* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
+- automatic rebuild
+
+* Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- FHSify
+
+* Fri Apr 28 2000 Bill Nottingham <notting@redhat.com>
+- fix for ia64
+
+* Wed Feb 9 2000 Bernhard Rosenkränzer <bero@redhat.com>
+- Fix the exclude bug (#9201)
+
+* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
+- man pages are compressed
+- fix description
+- fix fnmatch build problems
+
+* Sun Jan 9 2000 Bernhard Rosenkränzer <bero@redhat.com>
+- 1.13.17
+- remove dotbug patch (fixed in base)
+- update download URL
+
+* Fri Jan 7 2000 Bernhard Rosenkränzer <bero@redhat.com>
+- Fix a severe bug (tar xf any_package_containing_. would delete the
+ current directory)
+
+* Wed Jan 5 2000 Bernhard Rosenkränzer <bero@redhat.com>
+- 1.3.16
+- unset LINGUAS before running configure
+
+* Tue Nov 9 1999 Bernhard Rosenkränzer <bero@redhat.com>
+- 1.13.14
+- Update man page to know about -I / --bzip
+- Remove dependancy on rmt - tar can be used for anything local
+ without it.
+
+* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
+- upgrade to 1.13.11.
+
+* Wed Aug 18 1999 Jeff Johnson <jbj@redhat.com>
+- update to 1.13.9.
+
+* Thu Aug 12 1999 Jeff Johnson <jbj@redhat.com>
+- update to 1.13.6.
+- support -y --bzip2 options for bzip2 compression (#2415).
+
+* Fri Jul 23 1999 Jeff Johnson <jbj@redhat.com>
+- update to 1.13.5.
+
+* Tue Jul 13 1999 Bill Nottingham <notting@redhat.com>
+- update to 1.13
+
+* Sat Jun 26 1999 Jeff Johnson <jbj@redhat.com>
+- update to 1.12.64014.
+- pipe patch corrected for remote tars now merged in.
+
+* Sun Jun 20 1999 Jeff Johnson <jbj@redhat.com>
+- update to tar-1.12.64013.
+- subtract (and reopen #2415) bzip2 support using -y.
+- move gtar to /bin.
+
+* Tue Jun 15 1999 Jeff Johnson <jbj@redhat.com>
+- upgrade to tar-1.12.64011 to
+- add bzip2 support (#2415)
+- fix filename bug (#3479)
+
+* Mon Mar 29 1999 Jeff Johnson <jbj@redhat.com>
+- fix suspended tar with compression over pipe produces error (#390).
+
+* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
+- auto rebuild in the new build environment (release 8)
+
+* Mon Mar 08 1999 Michael Maher <mike@redhat.com>
+- added patch for bad name cache.
+- FIXES BUG 320
+
+* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
+- Injected new description and group.
+
+* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
+- bumped spec number for initial rh 6.0 build
+
+* Tue Aug 4 1998 Jeff Johnson <jbj@redhat.com>
+- add /usr/bin/gtar symlink (change #421)
+
+* Tue Jul 14 1998 Jeff Johnson <jbj@redhat.com>
+- Fiddle bindir/libexecdir to get RH install correct.
+- Don't include /sbin/rmt -- use the rmt from dump.
+- Turn on nls.
+
+* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
+- translations modified for de, fr, tr
+
+* Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
+- updated from 1.11.8 to 1.12
+- various spec file cleanups
+- /sbin/install-info support
+
+* Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
+- built against glibc
+
+* Thu May 29 1997 Michael Fulbright <msf@redhat.com>
+- Fixed to include rmt