From 632d807638ab251bfb72007592e0ae2d4e4fc57d8e4da2f87d0a63c02f6bc858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 01:04:04 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main tar revision 4c00ab0439e367eadb77346e50440b86 --- .gitattributes | 23 + add_forgotten-tests.patch | 156 ++++ add_readme-tests.patch | 27 + bsc1202436.patch | 14 + fix-CVE-2022-48303.patch | 31 + go-testsuite-test-hang.patch | 27 + pax-global-records.tar | Bin 0 -> 7168 bytes paxutils-rtapelib_mtget.patch | 13 + tar-1.35.tar.xz | 3 + tar-1.35.tar.xz.sig | Bin 0 -> 95 bytes tar-PIE.patch | 12 + tar-backup-spec-fix-paths.patch | 13 + tar-fix-extract-unlink.patch | 89 ++ tar-ignore_lone_zero_blocks.patch | 29 + tar-wildcards.patch | 15 + tar.changes | 1030 +++++++++++++++++++++++ tar.keyring | 234 +++++ tar.spec | 216 +++++ tests-skip-time01-on-32bit-time_t.patch | 36 + 19 files changed, 1968 insertions(+) create mode 100644 .gitattributes create mode 100644 add_forgotten-tests.patch create mode 100644 add_readme-tests.patch create mode 100644 bsc1202436.patch create mode 100644 fix-CVE-2022-48303.patch create mode 100644 go-testsuite-test-hang.patch create mode 100644 pax-global-records.tar create mode 100644 paxutils-rtapelib_mtget.patch create mode 100644 tar-1.35.tar.xz create mode 100644 tar-1.35.tar.xz.sig create mode 100644 tar-PIE.patch create mode 100644 tar-backup-spec-fix-paths.patch create mode 100644 tar-fix-extract-unlink.patch create mode 100644 tar-ignore_lone_zero_blocks.patch create mode 100644 tar-wildcards.patch create mode 100644 tar.changes create mode 100644 tar.keyring create mode 100644 tar.spec create mode 100644 tests-skip-time01-on-32bit-time_t.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/add_forgotten-tests.patch b/add_forgotten-tests.patch new file mode 100644 index 0000000..e45c2c0 --- /dev/null +++ b/add_forgotten-tests.patch @@ -0,0 +1,156 @@ +From 7fac753fb6e6c0459788ee9015b984dba1de5402 Mon Sep 17 00:00:00 2001 +From: Lukas Javorsky +Date: Tue, 18 Jul 2023 14:10:12 +0000 +Subject: [PATCH] Add exclude17 and exclude18 tests which were forgotten by + upstream + +Sources: +*https://git.savannah.gnu.org/cgit/tar.git/tree/tests/exclude17.at +*https://git.savannah.gnu.org/cgit/tar.git/tree/tests/exclude18.at + +Repoted to upstream in ML: +*https://lists.gnu.org/archive/html/bug-tar/2023-07/msg00002.html +--- + tests/exclude17.at | 35 +++++++++++++++++++ + tests/exclude18.at | 87 ++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 122 insertions(+) + create mode 100644 tests/exclude17.at + create mode 100644 tests/exclude18.at + +diff --git a/tests/exclude17.at b/tests/exclude17.at +new file mode 100644 +index 0000000..5539ef3 +--- /dev/null ++++ b/tests/exclude17.at +@@ -0,0 +1,35 @@ ++# Process this file with autom4te to create testsuite. -*- Autotest -*- ++# ++# Test suite for GNU tar. ++# Copyright 2013-2023 Free Software Foundation, Inc. ++ ++# This file is part of GNU tar. ++ ++# GNU tar 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 of the License, or ++# (at your option) any later version. ++ ++# GNU tar 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 this program. If not, see . ++ ++AT_SETUP([--exclude-vcs-ignores memory allocation]) ++AT_KEYWORDS([exclude exclude17]) ++ ++AT_TAR_CHECK([ ++mkdir dir ++cd dir ++echo '*.o' >.cvsignore ++tar -cf - --exclude-vcs-ignores . | tar -tf - ++], ++[0], ++[./ ++./.cvsignore ++]) ++ ++AT_CLEANUP +diff --git a/tests/exclude18.at b/tests/exclude18.at +new file mode 100644 +index 0000000..64aaa52 +--- /dev/null ++++ b/tests/exclude18.at +@@ -0,0 +1,87 @@ ++# Process this file with autom4te to create testsuite. -*- Autotest -*- ++ ++# Test suite for GNU tar. ++# Copyright 2004-2023 Free Software Foundation, Inc. ++ ++# This file is part of GNU tar. ++ ++# GNU tar 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 of the License, or ++# (at your option) any later version. ++ ++# GNU tar 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 this program. If not, see . ++ ++# Test --exclude-vcs option with subcommands: EXTRACT, LIST, DIFF. ++# Check VCS directory with files, and empty. ++# ++# Ref: https://savannah.gnu.org/bugs/?62859 ++# Wed 03 Aug 2022 04:06:28 PM UTC, original submission: Quote ++# Mohamed Akram ++# > The --exclude-vcs flag seems to exclude .gitignore but not .git when ++# extracting. ++ ++AT_SETUP([--exclude-vcs extract list compare]) ++AT_KEYWORDS([exclude-vcs extract list compare exclude18]) ++ ++AT_TAR_CHECK([ ++AT_SORT_PREREQ ++mkdir gitrepo ++cd gitrepo ++ ++# Make an empty VCS directory: ++mkdir .svn ++ ++# Make a VCS directory with a file: ++mkdir .git ++touch .git/_A ++ ++# Make a VCS file: ++touch .gitignore ++ ++# Make non-VCS files: ++touch .git_B ++touch _C ++ ++# Create an archive, include VCS: ++cd .. ++tar -cf gitrepo.tar gitrepo ++rm -r gitrepo ++ ++echo Extract: ++tar -xvf gitrepo.tar --exclude-vcs | sort ++ ++echo ++echo List: ++tar -tf gitrepo.tar --exclude-vcs | sort ++ ++echo ++echo Diff: ++tar -dvf gitrepo.tar --exclude-vcs gitrepo | sort ++ ++], ++[0], ++[Extract: ++gitrepo/ ++gitrepo/.git_B ++gitrepo/_C ++ ++List: ++gitrepo/ ++gitrepo/.git_B ++gitrepo/_C ++ ++Diff: ++gitrepo/ ++gitrepo/.git_B ++gitrepo/_C ++], ++[]) ++ ++AT_CLEANUP +-- +2.41.0 + diff --git a/add_readme-tests.patch b/add_readme-tests.patch new file mode 100644 index 0000000..ca4b1ed --- /dev/null +++ b/add_readme-tests.patch @@ -0,0 +1,27 @@ +Index: tar-1.33/README-tests +=================================================================== +--- /dev/null ++++ tar-1.33/README-tests +@@ -0,0 +1,22 @@ ++Subpackage tar-tests ++==================== ++ ++The tar-tests package contains the testsuite which is included in tar sources. ++The testsuite is normally run during make phase (make check) and is also ++automatically run when the tar rpm is being build (in %check section of spec ++file). ++ ++Normally, there is no reason to need the tar-tests package. It can however be ++used to verify, that tar functions properly in an installed system (e.g. to ++find issues in tar's dependencies, problems with incompatible libraries, etc.). ++ ++Testsuite is installed into /var/lib/tests/tar ++ ++To run the testsuite: ++ ++cd /var/lib/tests/tar ++./testsuite --help # show options ++ ++# needed for genfile binary used in tests ++./testsuite AUTOTEST_PATH=/var/lib/tests/tar/bin [other options] ++ diff --git a/bsc1202436.patch b/bsc1202436.patch new file mode 100644 index 0000000..94c22e5 --- /dev/null +++ b/bsc1202436.patch @@ -0,0 +1,14 @@ +diff --git a/src/extract.c b/src/extract.c +index 37ab2956..b70b6c2f 100644 +--- a/src/extract.c ++++ b/src/extract.c +@@ -854,6 +854,9 @@ maybe_recoverable (char *file_name, bool regular, bool *interdir_made) + case EEXIST: + /* Remove an old file, if the options allow this. */ + ++ if (strlen(file_name) == 1 && *file_name == '.') ++ return RECOVER_NO; ++ + switch (old_files_option) + { + case SKIP_OLD_FILES: diff --git a/fix-CVE-2022-48303.patch b/fix-CVE-2022-48303.patch new file mode 100644 index 0000000..e073df7 --- /dev/null +++ b/fix-CVE-2022-48303.patch @@ -0,0 +1,31 @@ +From 1d530107a24d71e798727d7f0afa0833473d1074 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matej=20Mu=C5=BEila?= +Date: Wed, 11 Jan 2023 08:55:58 +0100 +Subject: [PATCH] Fix savannah bug #62387 + +* src/list.c (from_header): Check for the end of field after leading byte + (0x80 or 0xff) of base-256 encoded header value +--- + src/list.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/list.c b/src/list.c +index 9fafc425..bf41b581 100644 +--- a/src/list.c ++++ b/src/list.c +@@ -895,6 +895,12 @@ from_header (char const *where0, size_t digs, char const *type, + << (CHAR_BIT * sizeof (uintmax_t) + - LG_256 - (LG_256 - 2))); + value = (*where++ & ((1 << (LG_256 - 2)) - 1)) - signbit; ++ if (where == lim) ++ { ++ if (type && !silent) ++ ERROR ((0, 0, _("Archive base-256 value is invalid"))); ++ return -1; ++ } + for (;;) + { + value = (value << LG_256) + (unsigned char) *where++; +-- +2.38.1 + diff --git a/go-testsuite-test-hang.patch b/go-testsuite-test-hang.patch new file mode 100644 index 0000000..84cdada --- /dev/null +++ b/go-testsuite-test-hang.patch @@ -0,0 +1,27 @@ +Index: tar-1.34/tests/testsuite.at +=================================================================== +--- tar-1.34.orig/tests/testsuite.at ++++ tar-1.34/tests/testsuite.at +@@ -204,6 +204,8 @@ m4_include([version.at]) + + m4_include([pipe.at]) + ++m4_include([go-testsuite-test-hang.at]) ++ + AT_BANNER([Options]) + m4_include([options.at]) + m4_include([options02.at]) +Index: tar-1.34/suse-test.at +=================================================================== +--- /dev/null ++++ tar-1.34/tests/go-testsuite-test-hang.at +@@ -0,0 +1,9 @@ ++AT_SETUP([try extracting archive without hanging]) ++AT_KEYWORDS([suse]) ++ ++AT_TAR_CHECK([ ++# This command will fail, just don't hang ++tar xf ../../../pax-global-records.tar || exit 0 ++]) ++ ++AT_CLEANUP diff --git a/pax-global-records.tar b/pax-global-records.tar new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..380c4364914f36270f54a0345deb61b866761c6a06339fb4334400f03acdf8bf GIT binary patch literal 7168 zcmeHL!D_=W4E4ER;V;M}*-LlnxjXI`JeGBZl#Mone*Wa9rr4nrhBeBfTpT&!#d^cpD(885)#?nu-$bl zd_2p;+hBpM{R+d!YIE8hxR?tY^UL#n+jl6O_LaKNYd-D1vHp<<`zJM7tNzO*g*mMS z{}PVT{JZ_3frq#ms21`Cr=+Hc0kHIcL{G*ZFA#Efwe*);p(rx?(dkdptIvyaeUIQm zC7-2Q)O+&%G{(pIJ#q(#>i-#uLc#hT`hT40Pta=rFC=*e`!w3WI)BE>e1hozPB`6P z`9Jr6+W!j+!|;>--`D@ sizeof (struct mtop)) ++ if (status > sizeof (struct mtget)) + { + errno = EOVERFLOW; + return -1; diff --git a/tar-1.35.tar.xz b/tar-1.35.tar.xz new file mode 100644 index 0000000..f1c7aa7 --- /dev/null +++ b/tar-1.35.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16 +size 2317208 diff --git a/tar-1.35.tar.xz.sig b/tar-1.35.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..e8b16a3b0298a4638ee985cbbf9a3081aefd895f1fdd15698736910b3f465e85 GIT binary patch literal 95 zcmeB(WnmCxVvrS6WHE|QKuEIciA=o&I=^w literal 0 HcmV?d00001 diff --git a/tar-PIE.patch b/tar-PIE.patch new file mode 100644 index 0000000..35e94ea --- /dev/null +++ b/tar-PIE.patch @@ -0,0 +1,12 @@ +Index: tar-1.34/tests/Makefile.am +=================================================================== +--- tar-1.34.orig/tests/Makefile.am ++++ tar-1.34/tests/Makefile.am +@@ -317,6 +317,7 @@ installcheck-local: $(check_PROGRAMS) + check_PROGRAMS = genfile checkseekhole ckmtime + + genfile_SOURCES = genfile.c argcv.c argcv.h ++genfile_LDFLAGS = -pie + checkseekhole_SOURCES = checkseekhole.c + + localedir = $(datadir)/locale diff --git a/tar-backup-spec-fix-paths.patch b/tar-backup-spec-fix-paths.patch new file mode 100644 index 0000000..f0a9c20 --- /dev/null +++ b/tar-backup-spec-fix-paths.patch @@ -0,0 +1,13 @@ +Index: tar-1.29/scripts/backup-specs +=================================================================== +--- tar-1.29.orig/scripts/backup-specs ++++ tar-1.29/scripts/backup-specs +@@ -6,7 +6,7 @@ + ADMINISTRATOR="root@localhost" + + # (Optional) Path to tar binary. +-TAR=/bin/tar ++TAR=/usr/bin/tar + + # (Optional) Path to rsh binary or its equivalent. You may wish to + # set it to ssh as shown in the example below, to improve security. diff --git a/tar-fix-extract-unlink.patch b/tar-fix-extract-unlink.patch new file mode 100644 index 0000000..3f1cf29 --- /dev/null +++ b/tar-fix-extract-unlink.patch @@ -0,0 +1,89 @@ +diff --git a/src/extract.c b/src/extract.c +index 0261134f..f913575c 100644 +--- a/src/extract.c ++++ b/src/extract.c +@@ -711,7 +711,7 @@ fixup_delayed_set_stat (char const *src, char const *dst) + directories were created, nonzero (issuing a diagnostic) otherwise. + Set *INTERDIR_MADE if at least one directory was created. */ + static int +-make_directories (char *file_name) ++make_directories (char *file_name, bool *interdir_made) + { + char *cursor0 = file_name + FILE_SYSTEM_PREFIX_LEN (file_name); + char *cursor; /* points into the file name */ +@@ -755,6 +755,7 @@ make_directories (char *file_name) + desired_mode, AT_SYMLINK_NOFOLLOW); + + print_for_mkdir (file_name, desired_mode); ++ *interdir_made = true; + parent_end = NULL; + } + else +@@ -910,11 +911,8 @@ maybe_recoverable (char *file_name, bool regular, bool *interdir_made) + + case ENOENT: + /* Attempt creating missing intermediate directories. */ +- if (make_directories (file_name) == 0) +- { +- *interdir_made = true; ++ if (make_directories (file_name, interdir_made) == 0) + return RECOVER_OK; +- } + break; + + default: +@@ -1109,7 +1107,7 @@ extract_dir (char *file_name, int typeflag) + || old_files_option == NO_OVERWRITE_DIR_OLD_FILES + || old_files_option == DEFAULT_OLD_FILES + || old_files_option == OVERWRITE_OLD_FILES) +- { ++ { + struct stat st; + st.st_mode = 0; + +@@ -1117,21 +1115,21 @@ extract_dir (char *file_name, int typeflag) + && is_directory_link (file_name, &st)) + return 0; + +- if ((st.st_mode != 0 && fstatat_flags == 0) +- || deref_stat (file_name, &st) == 0) +- { ++ if ((st.st_mode != 0 && fstatat_flags == 0) ++ || deref_stat (file_name, &st) == 0) ++ { + current_mode = st.st_mode; + current_mode_mask = ALL_MODE_BITS; + + if (S_ISDIR (current_mode)) +- { +- if (interdir_made) +- { +- repair_delayed_set_stat (file_name, &st); +- return 0; +- } +- else if (old_files_option == NO_OVERWRITE_DIR_OLD_FILES) + { ++ if (interdir_made) ++ { ++ repair_delayed_set_stat (file_name, &st); ++ return 0; ++ } ++ else if (old_files_option == NO_OVERWRITE_DIR_OLD_FILES) ++ { + /* Temporarily change the directory mode to a safe + value, to be able to create files in it, should + the need be. +@@ -2007,11 +2005,12 @@ rename_directory (char *src, char *dst) + else + { + int e = errno; ++ bool interdir_made; + + switch (e) + { + case ENOENT: +- if (make_directories (dst) == 0) ++ if (make_directories (dst, &interdir_made) == 0) + { + if (renameat (chdir_fd, src, chdir_fd, dst) == 0) + return true; diff --git a/tar-ignore_lone_zero_blocks.patch b/tar-ignore_lone_zero_blocks.patch new file mode 100644 index 0000000..265189a --- /dev/null +++ b/tar-ignore_lone_zero_blocks.patch @@ -0,0 +1,29 @@ +Index: tar-1.26/src/list.c +=================================================================== +--- tar-1.26.orig/src/list.c 2011-02-16 23:12:16.000000000 +0100 ++++ tar-1.26/src/list.c 2014-06-11 11:48:38.129824435 +0200 +@@ -212,6 +212,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 (¤t_header, ¤t_stat_info, +@@ -221,6 +229,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 (¤t_header, ¤t_stat_info, ++ read_header_auto); + break; + } + status = prev_status; diff --git a/tar-wildcards.patch b/tar-wildcards.patch new file mode 100644 index 0000000..f9204bc --- /dev/null +++ b/tar-wildcards.patch @@ -0,0 +1,15 @@ +Index: tar-1.25/src/names.c +=================================================================== +--- tar-1.25.orig/src/names.c ++++ tar-1.25/src/names.c +@@ -970,10 +970,6 @@ 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/tar.changes b/tar.changes new file mode 100644 index 0000000..f7580e7 --- /dev/null +++ b/tar.changes @@ -0,0 +1,1030 @@ +------------------------------------------------------------------- +Wed Dec 6 16:04:39 UTC 2023 - Joshua Smith + +- GNU tar 1.34: + * Fail when building GNU tar if the platform supports 64-bit + time_t but the build only uses 32-bit time_t. + * Leave the devmajor and devminor fields empty (rather than + zero) for non-special files, as this is more compatible with + traditional tar. + Fixes: + * Fix interaction of --update with --wildcards. + * When extracting archives into an empty directory, do not create + hard links to files outside that directory. + * Handle partial reads from regular files. + * Warn file changed as we read it less often. Formerly, tar + warned if the file's size or ctime changed. However, this + generated a false positive if tar read a file while another + process hard-linked to it, changing its ctime. Now, tar warns + if the file's size, mtime, user ID, group ID, or mode changes. + Although neither heuristic is perfect, the new one should work + better in practice. + * Fix --ignore-failed-read to ignore file-changed read errors + as far as exit status is concerned. You can now suppress + file-changed issues entirely with --ignore-failed-read + --warning=no-file-changed. + * Fix --remove-files to not remove a file that changed while we + read it. + * Fix --atime-preserve=replace to not fail if there was no need + to replace, either because we did not read the file, or the + atime did not change. + * Fix race when creating a parent directory while another process + is also doing so. + * Fix handling of prefix keywords not followed by "." in pax + headers. + * Fix handling of out-of-range sparse entries in pax headers. + * Fix handling of --transform='s/s/@/2'. + * Fix treatment of options ending in slash in files-from list. + * Fix crash on tar --checkpoint-action exec=\". + * Fix low-memory crash when reading incremental dumps. + * Fix --exclude-vcs-ignores memory allocation misuse. +- Added patch: + * add_forgotten-tests.patch: added 2 tests that upstream forgot in the release. +- Update patch: + * tar-backup-spec-fix-paths.patch: upstream fixed 2/3rd of paths + * tar-fix-extract-unlink.patch + some of this is overwritten by bsc1202436-1 and some was fixed + upstream + * add_readme-tests.patch as Makefile.in no longer exists +- Removed: + * tar-fix-race-condition.patch + * tar-avoid-overflow-in-symlinks-tests.patch + * bsc1200657.patch + * bsc1202436-2.patch + * bsc1202436-1.patch +- Fix CVE-2023-39804, Incorrectly handled extension attributes in PAX + archives can lead to a crash, bsc#1217969 + +------------------------------------------------------------------- +Tue Jul 25 13:54:28 UTC 2023 - Andreas Schwab + +- Run testsuite also on qemu build + +------------------------------------------------------------------- +Thu Jul 20 09:57:28 UTC 2023 - Guillaume GARDET + +- Update tests-skip-time01-on-32bit-time_t.patch to not run test + on armv6 either + +------------------------------------------------------------------- +Tue Feb 14 11:07:40 UTC 2023 - Danilo Spinella + +- Fix CVE-2022-48303, tar has a one-byte out-of-bounds read that + results in use of uninitialized memory for a conditional jump + (CVE-2022-48303, bsc#1207753) + * fix-CVE-2022-48303.patch +- Fix hang when unpacking test tarball, bsc#1202436 + * bsc1202436.patch + * bsc1202436-1.patch + * bsc1202436-2.patch + * go-testsuite-test-hang.patch + +------------------------------------------------------------------- +Tue Dec 27 13:22:21 UTC 2022 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check (boo#1206798) + +------------------------------------------------------------------- +Thu Oct 27 13:55:03 UTC 2022 - Danilo Spinella + +- Fix unexpected inconsistency when making directory, bsc#1203600 + * tar-avoid-overflow-in-symlinks-tests.patch + * tar-fix-extract-unlink.patch +- Update race condition fix, bsc#1200657 + * tar-fix-race-condition.patch +- Refresh bsc1200657.patch + +------------------------------------------------------------------- +Sat Aug 20 06:23:22 UTC 2022 - Dirk Müller + +- drop tar-recursive--files-from.patch (causes bsc#918487) + +------------------------------------------------------------------- +Wed Aug 17 05:09:11 UTC 2022 - Simon Lees + +- bsc1200657.patch was previously incomplete leading to deadlocks + * bsc#1202436 + * bsc1200657.patch updated + +------------------------------------------------------------------- +Mon Jun 20 09:19:23 UTC 2022 - Danilo Spinella + +- Fix race condition while creating intermediate subdirectories, + bsc#1200657 + * bsc1200657.patch + +------------------------------------------------------------------- +Wed Apr 13 02:38:42 UTC 2022 - William Brown + +- Add recommends to zstd, a modern fast compression type. + +------------------------------------------------------------------- +Thu Oct 14 10:40:36 UTC 2021 - Bernhard Voelker + +- tests-skip-time01-on-32bit-time_t.patch: Add patch to skip test + 'tests/time01.at' on platforms with 32-bit time_t for now. +- tar.spec: Reference it. + (%check): Output the testsuite.log in case the testsuite failed. + +------------------------------------------------------------------- +Fri Oct 8 09:45:09 UTC 2021 - Danilo Spinella + +- The following issues have already been fixed in this package but + weren't previously mentioned in the changes file: + * bsc#1181131, CVE-2021-20193 + * bsc#1120610 + +------------------------------------------------------------------- +Wed Jun 9 12:09:49 UTC 2021 - Wolfgang Frisch + +- Link /var/lib/tests/tar/bin/genfile as Position-Independent Executable + (bsc#1184124). + + tar-PIE.patch + +------------------------------------------------------------------- +Sun Feb 14 16:48:05 UTC 2021 - Andreas Stieger + +- GNU tar 1.34: + * Fix extraction over pipe + * Fix memory leak in read_header + * Fix extraction when . and .. are unreadable + * Gracefully handle duplicate symlinks when extracting + * Re-initialize supplementary groups when switching to user + privileges + +------------------------------------------------------------------- +Sat Jan 9 07:40:58 UTC 2021 - Andreas Stieger + +- GNU tar 1.33: + * POSIX extended format headers do not include PID by default + * --delay-directory-restore works for archives with reversed + member ordering + * Fix extraction of a symbolic link hardlinked to another + symbolic link + * Wildcards in exclude-vcs-ignore mode don't match slash + * Fix the --no-overwrite-dir option + * Fix handling of chained renames in incremental backups + * Link counting works for file names supplied with -T + * Accept only position-sensitive (file-selection) options in file + list files +- remove deprecated texinfo packaging macros + +------------------------------------------------------------------- +Mon Oct 19 16:20:06 UTC 2020 - Ludwig Nussel + +- prepare usrmerge (boo#1029961) + +------------------------------------------------------------------- +Fri Apr 3 07:20:20 UTC 2020 - Dominique Leuenberger + +- Drop Requires(pre) info in the preamble: the main package does + not contain any info files, and has not even a pre script. The + -doc subpackage already has the correct deps. + +------------------------------------------------------------------- +Fri Jan 31 23:45:07 UTC 2020 - Bjørn Lie + +- No longer recommend -lang: supplements are in use. + +------------------------------------------------------------------- +Mon Mar 25 15:07:06 UTC 2019 - Kristýna Streitová + +- update to version 1.32 + * Fix the use of --checkpoint without explicit --checkpoint-action + * Fix extraction with the -U option + * Fix iconv usage on BSD-based systems + * Fix possible NULL dereference (savannah bug #55369) + [bsc#1130496] [CVE-2019-9923] + * Improve the testsuite +- remove tar-1.31-tests_dirrem.patch and + tar-1.31-racy_compress_tests.patch that are no longer needed + (applied usptream) + +------------------------------------------------------------------- +Fri Mar 15 13:47:43 UTC 2019 - Cristian Rodríguez + +- Remove libattr-devel from buildrequires, tar no longer uses + it but finds xattr functions in libc. + +------------------------------------------------------------------- +Thu Feb 14 12:20:29 UTC 2019 - kstreitova@suse.com + +- update to version 1.31 + * Fix heap-buffer-overrun with --one-top-level, bug introduced + with the addition of that option in 1.28 + * Support for zstd compression + * New option '--zstd' instructs tar to use zstd as compression + program. When listing, extractng and comparing, zstd compressed + archives are recognized automatically. When '-a' option is in + effect, zstd compression is selected if the destination archive + name ends in '.zst' or '.tzst'. + * The -K option interacts properly with member names given in the + command line. Names of members to extract can be specified along + with the "-K NAME" option. In this case, tar will extract NAME + and those of named members that appear in the archive after it, + which is consistent with the semantics of the option. Previous + versions of tar extracted NAME, those of named members that + appeared before it, and everything after it. + * Fix CVE-2018-20482 - When creating archives with the --sparse + option, previous versions of tar would loop endlessly if a + sparse file had been truncated while being archived. +- remove the following patches (upstreamed) + * tar-1.30-tests-difflink.patch + * tar-1.30-tests_dirrem_race.patch +- refresh add_readme-tests.patch +- add tar-1.31-tests_dirrem.patch to fix expected output in dirrem + tests +- add tar-1.31-racy_compress_tests.patch to fix compression tests + +------------------------------------------------------------------- +Fri May 11 10:41:40 UTC 2018 - kstreitova@suse.com + +- add tar-1.30-tests_dirrem_race.patch to fix race in dirrem01 and + dirrem02 tests that were passing/failing randomly because of that +- run spec-cleaner +- renumber patches + +------------------------------------------------------------------- +Tue Apr 3 14:58:19 CEST 2018 - kukuk@suse.de + +- Use %license instead of %doc [bsc#1082318] + +------------------------------------------------------------------- +Thu Jan 4 13:24:20 UTC 2018 - kstreitova@suse.com + +- add tar-1.30-tests-difflink.patch to fix difflink.at test + (https://www.mail-archive.com/bug-tar@gnu.org/msg05440.html) + +------------------------------------------------------------------- +Mon Dec 18 03:45:51 UTC 2017 - avindra@opensuse.org + +- GNU tar 1.30: + * Member names containing '..' components are now skipped when + extracting. + * Report erroneous use of position-sensitive options. + * --numeric-owner now affects private headers too. + * Fixed the --delay-directory-restore option + * The --warnings=failed-read option + * The --warnings=none option now suppresses all warnings + * Fix reporting of hardlink mismatches during compare +- cleanup with spec-cleaner +- switch all urls to https +- drop upstreamed patches + * add-return-values-to-backup-scripts.patch + * tar-1.29-extract_pathname_bypass.patch +- rebase add_readme-tests.patch + +------------------------------------------------------------------- +Thu Apr 20 13:58:56 UTC 2017 - kstreitova@suse.com + +- remove tar-1.26-remove_O_NONBLOCK.patch as this issue was fixed + in tar 1.27 (commit 03858cf583ce299b836d8a848967ce290a6bf303) + +------------------------------------------------------------------- +Mon Apr 3 11:08:23 UTC 2017 - svalx@svalx.net + +- Use update-alternatives according to current documentation + +------------------------------------------------------------------- +Thu Mar 27 21:04:03 UTC 2017 - svalx@svalx.net + +- Disable tar-1.26-remove_O_NONBLOCK.patch - this issue has been + fixed in tar-1.27 +- backup-scripts subpackage change to noarch +- Change rpm group of tar-tests to Development/Tools/Other +- Enable rmt building, change package description +- Switch rmt to alternatives system +- Separate rmt subpackage - it can be used by different archiving + tools as a dedicated program +- Change rmt path to /usr/bin folder - it can be used by non privileged + users for backup purposes. Security is controlled by access rights to + the targets and remote shell. +- Separate doc subpackage +- Remove conditions for old SUSE builds and lang subpackage +- Rename restore script to restore.sh for avoiding file conflicts + with dump/restore + +------------------------------------------------------------------- +Thu Mar 23 13:52:13 UTC 2017 - kstreitova@suse.com + +- move binaries from /bin to /usr/bin [bsc#1029977] + * refresh tar-backup-spec-fix-paths.patch to change path of the + tar binary from TAR=/bin/tar to TAR=/usr/bin/tar +- use spec-cleaner + +------------------------------------------------------------------- +Thu Dec 15 17:05:04 UTC 2016 - vcizek@suse.com + +- update tar-1.29-extract_pathname_bypass.patch to the upstream + one that fixes POINTYFEATHER issue but it doesn't limit append or + create operations as the initial patch did [bsc#1012633] + [CVE-2016-6321] + +------------------------------------------------------------------- +Tue Nov 8 17:50:44 UTC 2016 - kstreitova@suse.com + +- add tar-1.29-extract_pathname_bypass.patch to fix POINTYFEATHER + vulnerability - GNU tar archiver can be tricked into extracting + files and directories in the given destination, regardless of the + path name(s) specified on the command line [bsc#1007188] + [CVE-2016-6321] + +------------------------------------------------------------------- +Sat May 28 19:06:33 UTC 2016 - astieger@suse.com + +- GNU tar 1.29: + * New options: --verbatim-files-from, --no-verbatim-files-from + * --null option reads file names verbatim + * New options: --owner-map=FILE and --group-map=FILE + * New option --clamp-mtime + * Deprecated --preserve option removed + * Sparse file detection - 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 for + algorithm selection. + +------------------------------------------------------------------- +Wed Mar 23 09:37:44 UTC 2016 - svalx@svalx.net + +- Add add-return-values-to-backup-scripts.patch + +------------------------------------------------------------------- +Mon Apr 13 10:37:40 UTC 2015 - vcizek@suse.com + +- Revert tar-recursive--files-from.patch because it causes regression + (bnc#918487, bnc#919233) + +------------------------------------------------------------------- +Mon Feb 9 14:00:15 UTC 2015 - vcizek@suse.com + +- extract files recursively with --files-from (bnc#913058) + * added tar-recursive--files-from.patch +- call autoreconf in %prep + +------------------------------------------------------------------- +Sun Dec 21 12:33:22 UTC 2014 - meissner@suse.com + +- build with PIE + +------------------------------------------------------------------- +Thu Nov 20 19:13:19 UTC 2014 - andreas.stieger@gmx.de + +- compile in ACLs, Xattr and selinux support [boo#906413] + +------------------------------------------------------------------- +Fri Aug 29 19:36:40 UTC 2014 - jengelh@inai.de + +- Improve on RPM group classification + +------------------------------------------------------------------- +Sat Aug 2 23:32:30 UTC 2014 - andreas.stieger@gmx.de + +- GNU tar 1.28: + * New --checkpoint-action=totals + * Extended checkpoint format specification + * New option --one-top-level + * New option --sort + * New exclusion options: + --exclude-ignore=FILE + --exclude-ignore-recursive=FILE + --exclude-vcs-ignores + * refuses to read input from and write output to a tty +- packaging changes: + * adjust patch for context change: add_readme-tests.patch + * remove patch applied upstream: + tar-fix_eternal_loop_in_handle_option.patch + +------------------------------------------------------------------- +Mon Jul 28 20:01:53 UTC 2014 - vcizek@suse.com + +- don't print lone zero blocks warning (bnc#881863) + * there are many tar implementations around that create invalid + archives with a zero block in the middle + * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=235820 + * added tar-ignore_lone_zero_blocks.patch from Fedora + +------------------------------------------------------------------- +Wed Mar 26 17:46:39 UTC 2014 - vcizek@suse.com + +- fix an infinite loop in handle_option (bnc#867919 and bnc#870422) + * added tar-fix_eternal_loop_in_handle_option.patch + +------------------------------------------------------------------- +Tue Jan 7 11:09:24 CET 2014 - llipavsky@suse.com + +- add tests subpackage. + * It is the same testsuite that is run during make check. + * It is now possible to run it in real system to verify that + nothing is broken by incompatible libraries, etc. +- add add_readme-tests.patch: README for testsuite + +------------------------------------------------------------------- +Tue Nov 19 22:16:18 UTC 2013 - andreas.stieger@gmx.de + +- update to 1.27.1 + * Fix unquoting of file names obtained via the -T option. + * Fix GNU long link header timestamp (backward compatibility). + * Fix extracting sparse members from star archives. + +------------------------------------------------------------------- +Thu Oct 24 21:57:57 UTC 2013 - andreas.stieger@gmx.de + +- update to 1.27 +- bug fixes: + * PAX-format sparse archive files no longer restricted to 8 GiB. + * adjust diagnostics and output to GNU coding +- new features: + * The --owner and --group options now accept numeric IDs + * restore traditional functionality of --keep-old-files and + --skip-old-files, treat existing file as errors for the former + * --warning=existing-file gives verbose notice for this + * Support for POSIX ACLs, extended attributes and SELinux context + --xattrs, --acls and --selinux and their `--no-' counterparts + --xattrs-include and --xattrs-exclude allows selective control + * Any option taking a command name as its argument now accepts a + full command line as well: + --checkpoint-action=exec + -I, --use-compress-program + -F, --info-script + --to-command + * environment variables supplied to such commands can now be used + in the command line itself + * New warning control option --warning=[no-]record-size controls + display of actual record size, if it differs from the default + * New command line option --keep-directory-symlink to disable + default behaviour that unlinks exising symbolic link for an + extracted directory of the corresponding name +- packaging changes: + * drop tar-1.26-stdio.in.patch, committed upstream + * drop config-guess-sub-update.patch, newer version in upstream + * verify source signature + +------------------------------------------------------------------- +Thu Aug 22 12:47:33 UTC 2013 - vcizek@suse.com + +- added fix for paxutils rtapelib which is bundled with tar. + the very same fix was added to cpio too (bnc#658031) + * paxutils-rtapelib_mtget.patch + +------------------------------------------------------------------- +Fri Apr 5 10:43:39 UTC 2013 - idonmez@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Sat Feb 2 20:38:34 UTC 2013 - schwab@suse.de + +- Add config-guess-sub-update.patch: + Update config.guess/sub for aarch64 + +------------------------------------------------------------------- +Tue Jul 17 08:05:33 UTC 2012 - aj@suse.de + +- Fix build failure with undefined gets (glibc 2.16). + +------------------------------------------------------------------- +Wed May 30 13:08:28 UTC 2012 - sweet_f_a@gmx.de + +- avoid automake dependency + +------------------------------------------------------------------- +Fri Apr 20 19:55:01 UTC 2012 - crrodriguez@opensuse.org + +- disable 'runtime checks' in m4/*.m4 that override + system calls with custom implementations to workaround + very old kernel/libc bugs (dating 2003-2009) + we do not ship those buggy components nowdays. + +------------------------------------------------------------------- +Fri Apr 20 15:38:17 UTC 2012 - crrodriguez@opensuse.org + +- Switch to default archive type to POSIX.1-2001, which is ten years + old and has no limits on filesize,filename length etc. + +------------------------------------------------------------------- +Mon Dec 19 13:43:45 UTC 2011 - tcech@suse.cz + +- tar-1.26-remove_O_NONBLOCK.patch: + don't use O_NONBLOCK as a flag for read, + when file is offline, read with O_NONBLOCK returns EAGAIN, + but tar doesn't handle it + (bnc#737331) + +------------------------------------------------------------------- +Sun Oct 30 23:16:20 CET 2011 - dmueller@suse.de + +- disable testsuite on qemu build + +------------------------------------------------------------------- +Wed Oct 5 11:38:57 UTC 2011 - sweet_f_a@gmx.de + +- minor portability fixes + +------------------------------------------------------------------- +Thu Sep 29 11:32:04 UTC 2011 - sweet_f_a@gmx.de + +- spec cleaner, avoid some deprecated macros +- fix non-utf8-spec-file +- fix macro-in-comment +- enable make check +- remove upstream-fixed/obsolete patches (fortifysourcessigabrt, + disable-listed02-test, disable_languages) +- call help2man inside specfile instead of paching tar's build chain + +------------------------------------------------------------------- +Tue Mar 15 08:18:08 UTC 2011 - puzel@novell.com + +- update to tar-1.26 + * Fix the --verify option, which broke in version 1.24. + * Fix storing long sparse file names in PAX archives. + * Fix correctness of --atime-preserve=replace + * tar --atime-preserve=replace no longer tries to restore atime of + zero-sized files. + * Fix bug with --one-file-system --listed-incremental + +------------------------------------------------------------------- +Wed Nov 24 09:24:11 UTC 2010 - puzel@novell.com + +- fix tar-backup-scripts (bnc#654199) +- add tar-backup-spec-fix-paths.patch +- cleanup spec + +------------------------------------------------------------------- +Tue Nov 9 13:05:29 UTC 2010 - puzel@novell.com + +- update to tar-1.25 + * Fix extraction of empty directories with the -C option in effect. + * Fix extraction of device nodes. + * Make sure name matching occurs before eventual name transformation. + * Fix the behavior of tar -x --overwrite on hosts lacking O_NOFOLLOW. + * Support alternative decompression programs. +- update to tar-1.24 + * The new --full-time option instructs tar to output file + time stamps to the full resolution. + * More reliable directory traversal when creating archives + * When extracting symbolic links, tar now restores attributes + such as last-modified time and link permissions, if the + operating system supports this. + * The --dereference (-h) option now applies to files that are + copied into or out of archives, independently of other options. + * When receiving SIGPIPE, tar would exit with error status and + "write error" diagnostics. +- disable-silent-rules +- updated tar-fortifysourcessigabrt.patch + +------------------------------------------------------------------- +Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de + +- use %_smp_mflags + +------------------------------------------------------------------- +Fri Mar 12 16:21:49 UTC 2010 - mseben@novell.com + +- updated to version 1.23 + * Improved record size autodetection + * Use of lseek on seekable archives + * New command line option --warning + * New command line option --level + * Improved behavior if some files were removed during incremental dumps + * Modification times of PAX extended headers + * Time references in the --pax-option argument + * Augmented environment of the --to-command script + * Fix handling of hard link targets by -c --transform + * Fix hard links recognition with -c --remove-files + * Fix restoring files from backup (debian bug #508199) + * Correctly restore modes and permissions on existing directories + * The --remove-files option removes files only if they were succesfully stored in the archive + * Fix storing and listing of the volume labels in POSIX format + * Improve algorithm for splitting long file names (ustar format) + * Fix possible memory overflow in the rmt client code (CVE-2010-0624) +- deprecated heap_overflow_in_rtapelib.patch + +------------------------------------------------------------------- +Wed Mar 3 09:29:23 UTC 2010 - mseben@novell.com + +- added heap_overflow_in_rtapelib.patch fix possible heap overflow in + rtapelib.c (bnc#579475) + +------------------------------------------------------------------- +Tue Feb 2 20:35:03 UTC 2010 - mseben@novell.com + +- updated to version 1.22 + * Support for xz compression (--xz option) + * Short option -J is reassigned as a shortcut for --xz + * The option -I is a shortcut for --use-compress-program + * The --no-recursive option works with --incremental +- deprecated recognize_xz.patch +- created tar-backup-scripts subpackage (bnc#574688) + +------------------------------------------------------------------- +Sun Dec 6 17:52:57 CET 2009 - jengelh@medozas.de + +- enable parallel building + +------------------------------------------------------------------- +Fri Dec 4 21:46:24 CET 2009 - meissner@suse.de + +- fixed FORTIFY_SOURCE=2 issue with gcc 4.5. + +------------------------------------------------------------------- +Sun Aug 30 18:36:08 UTC 2009 - aj@suse.de + +- recommend not require language subpackage + +------------------------------------------------------------------- +Tue Mar 3 14:49:58 CET 2009 - pth@suse.de + +- Recognize .xz as lzma archive. + +------------------------------------------------------------------- +Wed Feb 11 10:41:36 CET 2009 - coolo@suse.de + +- update to version 1.21 + * New short option -J - A shortcut for --lzma. + * New option --lzop + * Compressed format recognition + * Using --exclude-vcs handles also files used internally by + Bazaar, Mercurial and Darcs. +- split out language subpackage +- recommend xz instead of the old name of lzma + +------------------------------------------------------------------- +Wed Nov 19 12:30:35 CET 2008 - mkoenig@suse.de + +- fix incremental backup with wildcard option [bnc#445411] + +------------------------------------------------------------------- +Mon Jun 23 17:16:19 CEST 2008 - mkoenig@suse.de + +- update to version 1.20: + * new options: --auto-compress, --lzma, --hard-dereference, + --checkpoint-action, --(no-)check-device, --transform + * Add recommends tag for lzma +- removed patches: + tar-gcc43.patch + tar-1.19-update_flag.patch + +------------------------------------------------------------------- +Fri Mar 28 17:00:19 CET 2008 - mkoenig@suse.de + +- apply upstream patch to avoid error message when updating + an archive that does not exist [bnc#347525] + +------------------------------------------------------------------- +Wed Nov 14 18:09:03 CET 2007 - mkoenig@suse.de + +- update to version 1.19 + * New option --exclude-vcs + * --exclude-tag and --exclude-cache options now work under + incremental archives + * Fix handling of renamed files in listed incremental archives + * Fix --version output + * Recognition of broken archives +- merged patches: + tar-1.15.1-CVE-2001-1267.patch + tar-1.17-paxlib-owl-alloca.patch + +------------------------------------------------------------------- +Fri Oct 5 16:06:49 CEST 2007 - mkoenig@suse.de + +- update to version 1.18 + Licensed under the GPLv3 +- merged patches: + tar-1.17-testsuite12.patch + +------------------------------------------------------------------- +Mon Oct 1 10:48:23 CEST 2007 - mkoenig@suse.de + +- fix build with gcc-4.3 + +------------------------------------------------------------------- +Fri Aug 31 12:55:24 CEST 2007 - mkoenig@suse.de + +- fixed another directory traversal vulnerability, CVE-2001-1267, + CVE-2002-0399, [#29973] + +------------------------------------------------------------------- +Mon Aug 20 17:56:38 CEST 2007 - mkoenig@suse.de + +- use correct patch for paxlib stack overflow [#301416] + +------------------------------------------------------------------- +Fri Aug 17 14:14:39 CEST 2007 - lmichnovic@suse.cz + +- upstream fix: use of alloca can cause stack overflow + (paxlib-owl-alloca.patch) + +------------------------------------------------------------------- +Thu Jun 21 10:17:56 CEST 2007 - mkoenig@suse.de + +- update to version 1.17: + * Fix archivation of sparse files in posix mode + * Fix operation of --verify --listed-incremental + * Fix --occurence + * Scope of --transform and --strip-components options + * End-of-volume script can send the new volume name to tar +- remove patch (fixed upstream) + tar-1.6.1-futimens.patch +- fix test 12 + tar-1.17-testsuite12.patch + +------------------------------------------------------------------- +Tue May 22 13:37:49 CEST 2007 - mkoenig@suse.de + +- fix build + +------------------------------------------------------------------- +Tue May 15 19:20:14 CEST 2007 - coolo@suse.de + +- use %find_lang + +------------------------------------------------------------------- +Wed Jan 24 10:51:46 CET 2007 - mkoenig@suse.de + +- update to version 1.16.1: + * tar-1.16-CVE-2006-6097.patch merged upstream + * tar-1.16-xheader_unused.patch merged upstream + * New option --exclude-tag + * The --exclude-cache option excludes directories that + contain the CACHEDIR.TAG file from being archived + * Race conditions have been fixed that in some cases briefly + allowed files extracted by 'tar -x --same-owner' to be + accessed by users that they shouldn't have been. + +------------------------------------------------------------------- +Tue Dec 05 16:07:51 CET 2006 - mkoenig@suse.de + +- update to version 1.16: + Bugfixes: + * Avoid running off file descriptors when using multiple -C options. + * tar --index-file=FILE --file=- sent the archive to FILE, and + the listing to stderr. + * Detect attempts to update compressed archives. + * Allow non-option arguments to be interspersed with options. + * Previous version created invalid archives when files shrink + during reading. + * Compare mode (tar d) hanged when trying to compare file contents. + * Previous versions in certain cases failed to restore directory + modification times. + New features: + * New option --mtime allows to set modification times + * New option --transform allows to transform file names before + storing + * --strip-components option works when deleting and comparing. + * New option --show-transformed-names + * Short option -l is now an alias of --check-links option, + which complies with UNIX98 + * The --checkpoint option takes an optional argument specifying + the number of records between the two successive checkpoints. + * The --totals option can be used with any tar operation + * Any number of -T (--files-from) options may be used in the + command line. + * List files containing null-separated file names are detected + and processed automatically. + * New option --no-unquote disables the unquoting of input file + names. + * New option --test-label tests the archive volume label. + * New option --show-stored-names. + * New option --to-command pipes the contents of archive members + to the specified command. + * New option --atime-preserve=system + * New option --delay-directory-restore + * New option --restrict prohibits use of some potentially harmful + tar options. + * New options --quoting-style and --quote-chars control the way + tar quotes member names on output. + * Better support for full-resolution time stamps. + Incompatible changes: + * tar no longer uses globbing by default +- remove unused variable [#223847] +- create man page via help2man +- remove support for mangled names, due to security reasons + CVE-2006-6097 [#223185] + +------------------------------------------------------------------- +Mon Jul 24 15:34:35 CEST 2006 - rguenther@suse.de + +- Do not build-depend on rsh, but provide the RSH environment. + +------------------------------------------------------------------- +Mon Feb 27 17:39:46 CET 2006 - kssingvo@suse.de + +- fixed buffer overflow issue CVE-2006-0300 (bugzilla#151516) +- not affected: traversal bug CVE-2005-1918 (bugzilla#145081) + +------------------------------------------------------------------- +Sat Feb 18 10:12:23 CET 2006 - aj@suse.de + +- Fix build. + +------------------------------------------------------------------- +Wed Jan 25 21:31:00 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Sep 1 11:23:17 CEST 2005 - mmj@suse.de + +- Add patch from upstream for fixing sparse files > 4GB [#114540] + +------------------------------------------------------------------- +Fri Jun 24 14:36:11 CEST 2005 - schwab@suse.de + +- Fix broken test. + +------------------------------------------------------------------- +Fri Apr 8 17:27:58 CEST 2005 - uli@suse.de + +- ignore test suite fails on ARM + +------------------------------------------------------------------- +Wed Mar 9 21:14:26 CET 2005 - mmj@suse.de + +- Make gcc4 happy + +------------------------------------------------------------------- +Tue Feb 1 13:40:06 CET 2005 - mmj@suse.de + +- Disable test that breaks on reiserfs due to that filesystems + limitations. Tar works fine on reiserfs. + +------------------------------------------------------------------- +Tue Dec 21 18:23:54 CET 2004 - mmj@suse.de + +- Update to 1.15.1 which fixes a bug introduced in 1.15 which caused + tar to refuse to extract files from standard input. + +------------------------------------------------------------------- +Tue Dec 21 13:33:31 CET 2004 - mmj@suse.de + +- Update to tar-1.15 including: +- Features: + o Compressed archives are recognised automatically, it is no + longer necessary to specify -Z, -z, or -j options to read + them. Thus, you can now run `tar tf archive.tar.gz'. + o When restoring incremental dumps, --one-file-system option + prevents directory hierarchies residing on different devices + from being purged. With the previous versions of tar it was + dangerous to create incremental dumps with --one-file-system + option, since they would recursively remove mount points when + restoring from the back up. This change fixes the bug. + o Renamed --strip-path to --strip-components for consistency with + the GNU convention. + o Skipping archive members is sped up if the archive media supports + seeks. + o Restore script starts restoring only if it is given --all (-a) + option, or some patterns. This is to prevent accidental restores. + o `tar --verify' prints a warning if during archive creation some of + the file names had their prefixes stripped off. + o New option --exclude-caches instructs tar to exclude cache + directories automatically on archive creation. Cache directories + are those containing a standardized tag file, as specified at: + http://www.brynosaurus.com/cachedir/spec.html + o New configure option --with-rmt allows to specify full path + name to the `rmt' utility. This supercedes DEFAULT_RMT_COMMAND + variable introduced in version 1.14 + o New configure variable DEFAULT_RMT_DIR allows to specify the + directory where to install `rmt' utility. This is necessary + since modifying --libexecdir as was suggested for version 1.14 + produced a side effect: it also modified installation prefix + for backup scripts (if --enable-backup-scripts was given). + +- Bugfixes: + o Fixed flow in recognizing files to be included in incremental dumps. + o Correctly recognize sparse archive members when used with -T option. + o GNU multivolume headers cannot store filenames longer than + 100 characters. Do not allow multivolume archives to begin + with such filenames. + o If a member with link count > 2 was stored in the archive twice, + previous versions of tar were not able to extract it, since they + were trying to link the file to itself, which always failed and + lead to removing the already extracted copy. Preserve the first + extracted copy in such cases. + o Restore script was passing improper argument to tar --listed + option (which didn't affect the functionality, but was + logically incorrect). + o Fixed verification of created archives. + o Fixed unquoting of file names containing backslash escapes (previous + versions failed to recognize \a and \v). + o When attempting to delete a non-existing member from the + archive, previous versions of tar used to overwrite last + archive block with zeroes. + +------------------------------------------------------------------- +Mon Aug 9 23:51:47 CEST 2004 - mmj@suse.de + +- Add patch from snwint with long filename fix [#43538] + +------------------------------------------------------------------- +Sun May 30 10:37:44 CEST 2004 - mmj@suse.de + +- Update to 1.14 which is the first stable release of tar + since 1999. + +------------------------------------------------------------------- +Thu Apr 15 20:45:11 CEST 2004 - mmj@suse.de + +- Fix detection of remote paths [#38709]. Thanks Jürgen! + +------------------------------------------------------------------- +Tue Apr 13 10:47:51 CEST 2004 - mmj@suse.de + +- Update to 1.13.94 including fix for [#16531] + +------------------------------------------------------------------- +Sat Jan 10 16:51:03 CET 2004 - adrian@suse.de + +- build as user + +------------------------------------------------------------------- +Fri Jun 20 02:39:41 CEST 2003 - ro@suse.de + +- build with current gettext + +------------------------------------------------------------------- +Thu May 15 11:25:45 CEST 2003 - pthomas@suse.de + +- Remove unneeded files from build root. +- Add autoconf tests to properly guard K&R prototypes +- Clean up signed/unsigned compares. + +------------------------------------------------------------------- +Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de + +- fix install_info --delete call and move from preun to postun + +------------------------------------------------------------------- +Fri Feb 7 02:30:52 CET 2003 - ro@suse.de + +- added install_info macros + +------------------------------------------------------------------- +Mon Nov 18 14:28:50 CET 2002 - ro@suse.de + +- add AM_GNU_GETTEXT_VERSION to configure.ac + +------------------------------------------------------------------- +Thu Aug 1 15:40:08 CEST 2002 - ro@suse.de + +- add acinclude.m4 with missing macros + +------------------------------------------------------------------- +Tue Jun 4 12:01:42 CEST 2002 - pthomas@suse.de + +- Make tar a package of its own. +- Update to tar-1.13.25. +- Make tar man page a seperate file instead of part of the patch. +- Patch de.po to reflect the addition of the --bunzip2 parameter +- Use AC_LIBOBJ instead of LIBOBJS + +------------------------------------------------------------------- +Wed May 22 16:50:17 CEST 2002 - olh@suse.de + +- allow build as user, use buildroot + +------------------------------------------------------------------- +Fri Feb 8 18:41:26 CET 2002 - werner@suse.de + +- Fix bug #12797: back to builtin behaviour, the widly used -I for + bunzip2 can be reenabled with the environment var TAROLDOPT4BZIP2 + +------------------------------------------------------------------- +Mon Dec 17 16:24:20 CET 2001 - werner@suse.de + +- draht@suse.de: package rsh is needed for build of tar(1) to + enable rsh remote command execution. + two successive execl() calls to /usr/bin/rsh with different + args/remote commands do not make sense since the first execl() is + successful if /usr/bin/rsh exists. Check for existence of /etc/rmt + on the remote side and execute it, else exec /sbin/rmt . (#12605) +- Use one contstant string for command line + +------------------------------------------------------------------- +Tue Nov 20 11:21:33 CET 2001 - werner@suse.de + +- Add rsh to needeforbuild to be sure that remote shell for remote + backup will be found. + +------------------------------------------------------------------- +Wed Aug 1 15:01:13 MEST 2001 - werner@suse.de + +- Make /etc/rmt versus /sbin/rmt switch dynamic. + +------------------------------------------------------------------- +Tue Mar 27 21:06:49 CEST 2001 - werner@suse.de + +- Fix man page of tar (#6741) + +------------------------------------------------------------------- +Thu Dec 14 15:06:10 CET 2000 - werner@suse.de + +- Update to tar 1.13.18 + * should avoid some crashes + * avoid exclude file list problem + +------------------------------------------------------------------- +Fri Nov 26 10:15:26 MET 1999 - kukuk@suse.de + +- Add tar.1 to file list +- Remove obsolete entries from file list +- Build tar with locale support diff --git a/tar.keyring b/tar.keyring new file mode 100644 index 0000000..90b97cb --- /dev/null +++ b/tar.keyring @@ -0,0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QBAD3qEphUOWRg9C8hSJpZ9Zo +8F+hXnF6mvMWuy76R+yHqg4H5CPWSH116lOKl5xpGeXdOOzM5OxGgdEChb+jLoszM9rc3HQf +cKAQmFMd03Iay4/5jMAS+vNgCfDV98nj6gU0Y3kuUdTkyMPDObQWv1ginAnkoOVXb7nAVW/X +5n8izwADBQP8CPuRROj2FC+w2tTXDgaJam9PEm1coHRJAoHef1nBZfOAOZLjRD10wBg2m8q2 +EUJ4/mr/1D0whTINThJkvmZkRGVkuNILeC3X5dMQ1AX4fIOOnVObWVrlg5etH8ichIOYOUOq +Cx/cuV9F6Apg9PE6vcFqmh4BoOlb0qOaIdzN1sWIRgQYEQIABgUCPGFAfAAKCRA2ArB/VdDH +MlPgAKCM9FxutfWWvZqNKW5up6GnB4y6WwCeN5k4mxck975PULOk8jq/ZqLGvnSITgQYEQIA +BgUCPGFAfAASCRA2ArB/VdDHMgdlR1BHAAEBU+AAoIz0XG619Za9mo0pbm6noacHjLpbAJ43 +mTibFyT3vk9Qs6TyOr9mosa+dA== +=mQUf +-----END PGP PUBLIC KEY BLOCK----- diff --git a/tar.spec b/tar.spec new file mode 100644 index 0000000..2520cd8 --- /dev/null +++ b/tar.spec @@ -0,0 +1,216 @@ +# +# spec file for package tar +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# For correct subpackages docs installation into tar doc directory +%global _docdir_fmt %{name} +Name: tar +Version: 1.35 +Release: 0 +Summary: GNU implementation of ((t)ape (ar)chiver) +License: GPL-3.0-or-later +Group: Productivity/Archiving/Backup +URL: https://www.gnu.org/software/tar/ +Source0: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.xz +Source1: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.xz.sig +# http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3602B07F55D0C732 +Source2: %{name}.keyring +Source3: pax-global-records.tar +Patch0: %{name}-wildcards.patch +Patch1: %{name}-backup-spec-fix-paths.patch +Patch2: paxutils-rtapelib_mtget.patch +# don't print warning about zero blocks +# the patch is used in Fedora and Debian +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=235820 +Patch3: %{name}-ignore_lone_zero_blocks.patch +Patch5: add_readme-tests.patch +Patch6: tar-PIE.patch +Patch7: tests-skip-time01-on-32bit-time_t.patch +Patch11: tar-fix-extract-unlink.patch +# PATCH-FIX-SUSE danilo.spinella@suse.com bsc#1202436 +Patch12: go-testsuite-test-hang.patch +# PATCH-FIX-UPSTREAM danilo.spinella@suse.com bsc#1202436 +Patch13: bsc1202436.patch +# PATCH-FIX-UPSTREAM danilo.spinella@suse.com bsc#1207753 +# tar has a one-byte out-of-bounds read that results in use of +# uninitialized memory for a conditional jump +Patch16: fix-CVE-2022-48303.patch +Patch17: add_forgotten-tests.patch +BuildRequires: automake >= 1.15 +BuildRequires: libacl-devel +BuildRequires: libselinux-devel +Recommends: %{name}-rmt = %{version} +Recommends: mt +Recommends: xz +Recommends: zstd +Provides: base:/bin/tar + +%description +GNU Tar is an archiver program. It is used to create and manipulate files +that are actually collections of many other files; the program provides +users with an organized and systematic method of controlling a large amount +of data. Despite its name, that is an acronym of "tape archiver", GNU Tar +is able to direct its output to any available devices, files or other programs, +it may as well access remote devices or files. + +%package backup-scripts +Summary: Backup scripts +Group: Productivity/Archiving/Backup +Requires: %{name} = %{version} +BuildArch: noarch + +%description backup-scripts +Shell scripts for system backup/restore + +%package tests +Summary: Tests for the package +Group: Development/Tools/Other +Requires: %{name} = %{version} + +%description tests +Upstream testsuite for the package + +%package rmt +Summary: Remote tape drive control server by GNU +Group: Productivity/Archiving/Backup +Requires(post): update-alternatives +Requires(postun): update-alternatives +Provides: rmt + +%description rmt +Provides remote access to files and devices for tar, cpio +and similar backup utilities + +%package doc +Summary: Documentation files for GNU tar +Group: Documentation/Man +Requires: %{name} = %{version} +BuildArch: noarch + +%description doc +GNU Tar is an archiver program. It is used to create and manipulate files +that are actually collections of many other files; the program provides +users with an organized and systematic method of controlling a large amount +of data. Despite its name, that is an acronym of "tape archiver", GNU Tar +is able to direct its output to any available devices, files or other programs, +it may as well access remote devices or files. + +%lang_package + +%prep +%autosetup -p1 +cp %{S:3} tests + +%build +%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter -fPIE +export CFLAGS="%{optflags} %{my_cflags}" +export RSH=%{_bindir}/ssh +export DEFAULT_ARCHIVE_FORMAT="POSIX" +export DEFAULT_RMT_DIR=%{_bindir} +autoreconf -fi +%configure \ + gl_cv_func_linkat_follow="yes" \ + --enable-backup-scripts \ + --disable-silent-rules \ + --program-transform-name='s/^rmt$/gnurmt/' +%make_build LDFLAGS="-pie" +cd tests +%make_build genfile +mkdir bin +mv genfile bin +cd - + +%check +%make_build check || { cat tests/testsuite.log; exit 1; } + +%install +%make_install DESTDIR=%{buildroot} +mkdir %{buildroot}/bin +mv %{buildroot}%{_mandir}/man8/gnurmt.8 %{buildroot}%{_mandir}/man1/gnurmt.1 +install -D -m 644 scripts/backup-specs %{buildroot}%{_sysconfdir}/backup/backup-specs +# For avoiding file conflicts with dump/restore +mv %{buildroot}%{_sbindir}/restore %{buildroot}%{_sbindir}/restore.sh +rm -f %{buildroot}%{_infodir}/dir +install -D -m 644 -t %{buildroot}%{_docdir}/%{name} README* ABOUT-NLS AUTHORS NEWS THANKS \ + ChangeLog TODO +install -d -m 755 %{buildroot}%{_localstatedir}/lib/tests +cp -r tests %{buildroot}%{_localstatedir}/lib/tests/tar +rm %{buildroot}%{_localstatedir}/lib/tests/tar/*.{c,h,o} +rm %{buildroot}%{_localstatedir}/lib/tests/tar/package.m4 +rm %{buildroot}%{_localstatedir}/lib/tests/tar/{atconfig,atlocal,Makefile}* +# Alternatives system +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +ln -sf %{_sysconfdir}/alternatives/rmt %{buildroot}%{_bindir}/rmt +ln -sf %{_sysconfdir}/alternatives/rmt.1%{ext_man} %{buildroot}%{_mandir}/man1/rmt.1%{ext_man} +%if 0%{?suse_version} < 1550 +mkdir -p %{buildroot}/bin +ln -s %{_bindir}/%{name} %{buildroot}/bin +%endif +%find_lang %{name} + +%post rmt +%{_sbindir}/update-alternatives --force \ + --install %{_bindir}/rmt rmt %{_bindir}/gnurmt 10 \ + --slave %{_mandir}/man1/rmt.1%{ext_man} rmt.1%{ext_man} %{_mandir}/man1/gnurmt.1%{ext_man} + +%postun rmt +if [ ! -f %{_bindir}/gnurmt ] ; then + "%{_sbindir}/update-alternatives" --remove rmt %{_bindir}/gnurmt +fi + +%files backup-scripts +%{_sbindir}/backup +%{_sbindir}/restore.sh +%{_libexecdir}/backup.sh +%{_libexecdir}/dump-remind +%dir %{_sysconfdir}/backup +%config(noreplace) %{_sysconfdir}/backup/backup-specs + +%files lang -f %{name}.lang + +%files tests +%{_localstatedir}/lib/tests +%{_docdir}/%{name}/README-tests + +%files rmt +%ghost %{_bindir}/rmt +%{_bindir}/gnurmt +%ghost %{_mandir}/man1/rmt.1%{ext_man} +%{_mandir}/man1/gnurmt.1%{?ext_man} +%ghost %{_sysconfdir}/alternatives/rmt +%ghost %{_sysconfdir}/alternatives/rmt.1%{ext_man} + +%files doc +%dir %{_docdir}/%{name} +%{_docdir}/%{name}/NEWS +%{_docdir}/%{name}/README +%{_docdir}/%{name}/ABOUT-NLS +%{_docdir}/%{name}/AUTHORS +%{_docdir}/%{name}/THANKS +%{_docdir}/%{name}/ChangeLog +%{_docdir}/%{name}/TODO +%{_infodir}/%{name}.info*%{?ext_info} + +%files +%license COPYING +%if 0%{?suse_version} < 1550 +/bin/%{name} +%endif +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1%{?ext_man} + +%changelog diff --git a/tests-skip-time01-on-32bit-time_t.patch b/tests-skip-time01-on-32bit-time_t.patch new file mode 100644 index 0000000..d023ee1 --- /dev/null +++ b/tests-skip-time01-on-32bit-time_t.patch @@ -0,0 +1,36 @@ +Skip some parts of 'tests/time01.at' on some platforms. + +This test fails if coreutils' touch was built with 64-bit time_t, +while tar was built with 32-bit time_t. This is currently the case +on i586, ppc and armv7l. Skip the failing last command on those +platforms. + +The failure was seen since coreutils-9.0. + +Discussed at: + https://lists.gnu.org/r/bug-tar/2021-10/msg00006.html + +Remove this patch once tar(1) also builds with 64-bit time_t. +--- + tests/time01.at | 8 ++++++++ + 1 file changed, 8 insertions(+) + +Index: tar-1.34/tests/time01.at +=================================================================== +--- tar-1.34.orig/tests/time01.at ++++ tar-1.34/tests/time01.at +@@ -61,6 +61,14 @@ do + done + + tar -c -f archive.tar dir ++ ++case "$( uname -m )" in ++ i686 | ppc | armv6l | armv7l) ++ # "SUSE: disabled for now on platforms with 32-bit time_t" ++ AT_SKIP_TEST ++ ;; ++esac ++ + tar -d -f archive.tar dir + ], + [0],