Sync from SUSE:SLFO:Main tar revision 4c00ab0439e367eadb77346e50440b86
This commit is contained in:
commit
632d807638
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
156
add_forgotten-tests.patch
Normal file
156
add_forgotten-tests.patch
Normal file
@ -0,0 +1,156 @@
|
|||||||
|
From 7fac753fb6e6c0459788ee9015b984dba1de5402 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Lukas Javorsky <ljavorsk@redhat.com>
|
||||||
|
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 <http://www.gnu.org/licenses/>.
|
||||||
|
+
|
||||||
|
+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 <http://www.gnu.org/licenses/>.
|
||||||
|
+
|
||||||
|
+# 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 <mohdakram>
|
||||||
|
+# > 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
|
||||||
|
|
27
add_readme-tests.patch
Normal file
27
add_readme-tests.patch
Normal file
@ -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]
|
||||||
|
+
|
14
bsc1202436.patch
Normal file
14
bsc1202436.patch
Normal file
@ -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:
|
31
fix-CVE-2022-48303.patch
Normal file
31
fix-CVE-2022-48303.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 1d530107a24d71e798727d7f0afa0833473d1074 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Matej=20Mu=C5=BEila?= <mmuzila@gmail.com>
|
||||||
|
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
|
||||||
|
|
27
go-testsuite-test-hang.patch
Normal file
27
go-testsuite-test-hang.patch
Normal file
@ -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
|
BIN
pax-global-records.tar
Normal file
BIN
pax-global-records.tar
Normal file
Binary file not shown.
13
paxutils-rtapelib_mtget.patch
Normal file
13
paxutils-rtapelib_mtget.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: cpio-2.11/lib/rtapelib.c
|
||||||
|
===================================================================
|
||||||
|
--- cpio-2.11.orig/lib/rtapelib.c 2013-07-23 13:18:27.119431054 +0200
|
||||||
|
+++ cpio-2.11/lib/rtapelib.c 2013-07-23 13:19:35.728188104 +0200
|
||||||
|
@@ -710,7 +710,7 @@ rmt_ioctl__ (int handle, int operation,
|
||||||
|
|| (status = get_status (handle), status == -1))
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
- if (status > sizeof (struct mtop))
|
||||||
|
+ if (status > sizeof (struct mtget))
|
||||||
|
{
|
||||||
|
errno = EOVERFLOW;
|
||||||
|
return -1;
|
BIN
tar-1.35.tar.xz
(Stored with Git LFS)
Normal file
BIN
tar-1.35.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tar-1.35.tar.xz.sig
Normal file
BIN
tar-1.35.tar.xz.sig
Normal file
Binary file not shown.
12
tar-PIE.patch
Normal file
12
tar-PIE.patch
Normal file
@ -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
|
13
tar-backup-spec-fix-paths.patch
Normal file
13
tar-backup-spec-fix-paths.patch
Normal file
@ -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.
|
89
tar-fix-extract-unlink.patch
Normal file
89
tar-fix-extract-unlink.patch
Normal file
@ -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;
|
29
tar-ignore_lone_zero_blocks.patch
Normal file
29
tar-ignore_lone_zero_blocks.patch
Normal file
@ -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;
|
15
tar-wildcards.patch
Normal file
15
tar-wildcards.patch
Normal file
@ -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)
|
1030
tar.changes
Normal file
1030
tar.changes
Normal file
File diff suppressed because it is too large
Load Diff
234
tar.keyring
Normal file
234
tar.keyring
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: SKS 1.1.0
|
||||||
|
|
||||||
|
mQGiBDxhQH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gKNXzzCjLbA/hwGI1KBMCFx+13ZmKR2r62hfzG20Ut+FHstvCNn0vcA0gF
|
||||||
|
mLQNLskk19obz16udm7Axi3RlIl0emZR/AL0F7uDepxTbRtj8KBmk3eXAGojAJCqpEuIipJm
|
||||||
|
iaIyzvVGZp0iBMCg/Vmralbk/mGw3avWiC/Hzp5F+DUqpaTm8YiWX9eGyKWVszTmbXWu12V7
|
||||||
|
tU397okBIgQQAQIADAUCRZ6MzgUDABJ1AAAKCRCXELibyletfFO6B/wJLxCgtlLh71bNWeO9
|
||||||
|
MYGNZSfuFDDwtHHj8raI1yK63thPBTJlXIoVTESj1h3Fi7I5ntjTABr+ck1UuK3kMlMwFM3l
|
||||||
|
JgfDy4eg5sJb4X3fOTDjWoZvnYUjC6djPhCjcL2d0Fgdzx5yZmouLX7vt/jTGMrQkACVcIys
|
||||||
|
ifxX0hgokhEOk0Kte4FgNNfs/3oSl91s8whzgCCrYu2pOOmer6tX3o1jaQ+8n1NMLDY136DL
|
||||||
|
ESBdLANvCpU77nu7NaSoHlCspgWpQBacd5+GurBIQg7oDI+f8339umntn67Hqu5Vp9VGUHHr
|
||||||
|
++nTwoMEs42bs7jkm/Rp/zIoGhfGJhsecOFIuQENBDxhQHwQBAD3qEphUOWRg9C8hSJpZ9Zo
|
||||||
|
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-----
|
216
tar.spec
Normal file
216
tar.spec
Normal file
@ -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
|
36
tests-skip-time01-on-32bit-time_t.patch
Normal file
36
tests-skip-time01-on-32bit-time_t.patch
Normal file
@ -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],
|
Loading…
Reference in New Issue
Block a user