![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package tar for openSUSE:Factory checked in at 2018-05-16 11:21:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tar (Old) and /work/SRC/openSUSE:Factory/.tar.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "tar" Wed May 16 11:21:15 2018 rev:64 rq:606478 version:1.30 Changes: -------- --- /work/SRC/openSUSE:Factory/tar/tar.changes 2017-05-17 10:45:01.425580669 +0200 +++ /work/SRC/openSUSE:Factory/.tar.new/tar.changes 2018-05-16 11:21:17.300590630 +0200 @@ -1,0 +2,38 @@ +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 + +------------------------------------------------------------------- Old: ---- add-return-values-to-backup-scripts.patch tar-1.29-extract_pathname_bypass.patch tar-1.29.tar.bz2 tar-1.29.tar.bz2.sig New: ---- tar-1.30-tests-difflink.patch tar-1.30-tests_dirrem_race.patch tar-1.30.tar.bz2 tar-1.30.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tar.spec ++++++ --- /var/tmp/diff_new_pack.Ro8NVC/_old 2018-05-16 11:21:18.512546620 +0200 +++ /var/tmp/diff_new_pack.Ro8NVC/_new 2018-05-16 11:21:18.516546474 +0200 @@ -1,7 +1,7 @@ # # spec file for package tar # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,33 +19,31 @@ # For correct subpackages docs installation into tar doc directory %global _docdir_fmt %{name} Name: tar -Version: 1.29 +Version: 1.30 Release: 0 Summary: GNU implementation of ((t)ape (ar)chiver) -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Archiving/Backup -Url: http://www.gnu.org/software/tar/ -Source0: http://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2 -Source1: http://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2.sig +Url: https://www.gnu.org/software/tar/ +Source0: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2 +Source1: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2.sig # http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3602B07F55D0C732 Source2: %{name}.keyring -Patch3: %{name}-wildcards.patch -Patch6: %{name}-backup-spec-fix-paths.patch -Patch10: paxutils-rtapelib_mtget.patch +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 -Patch11: %{name}-ignore_lone_zero_blocks.patch +Patch3: %{name}-ignore_lone_zero_blocks.patch # The next patch is disabled because it causes a regression: #https://bugzilla.opensuse.org/show_bug.cgi?id=918487 -Patch12: %{name}-recursive--files-from.patch -Patch20: add_readme-tests.patch -# PATCH-FEATURE-UPSTREAM add-return-values-to-backup-scripts.patch - -# add return values to the backup scripts for better results monitoring. -# https://savannah.gnu.org/patch/?8953 -Patch21: add-return-values-to-backup-scripts.patch -# PATCH-FIX-UPSTREAM bnc#1007188 CVE-2016-6321 kstreitova@suse.com -- fix POINTYFEATHER vulnerability -Patch22: %{name}-1.29-extract_pathname_bypass.patch +Patch4: %{name}-recursive--files-from.patch +Patch5: add_readme-tests.patch +# PATCH-FIX-UPSTREAM kstreitova@suse.com -- fix difflink.at test +Patch6: tar-1.30-tests-difflink.patch +# PATCH-FIX-UPSTREAM kstreitova@suse.com -- fix race in dirrem01 and dirrem02 tests +Patch7: tar-1.30-tests_dirrem_race.patch BuildRequires: automake BuildRequires: libacl-devel BuildRequires: libattr-devel @@ -56,7 +54,6 @@ Recommends: mt Recommends: xz Provides: base:/bin/tar -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GNU Tar is an archiver program. It is used to create and manipulate files @@ -114,14 +111,14 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %patch3 -p1 +#%patch4 -p1 +%patch5 -p1 %patch6 -p1 -%patch10 -p1 -%patch11 -p1 -#%patch12 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 +%patch7 -p1 %build %define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter -fPIE @@ -158,7 +155,7 @@ 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 COPYING + 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} @@ -191,7 +188,6 @@ fi %files backup-scripts -%defattr(-,root, root) %{_sbindir}/backup %{_sbindir}/restore.sh %{_libexecdir}/backup.sh @@ -200,24 +196,21 @@ %config(noreplace) %{_sysconfdir}/backup/backup-specs %files lang -f %{name}.lang -%defattr(-,root,root) %files tests -%defattr(-,root, root) %{_localstatedir}/lib/tests %{_docdir}/%{name}/README-tests %files rmt -%defattr(-, root, root) %ghost %{_bindir}/rmt %{_bindir}/gnurmt %ghost %{_mandir}/man1/rmt.1%{ext_man} -%{_mandir}/man1/gnurmt.1%{ext_man} +%{_mandir}/man1/gnurmt.1%{?ext_man} %ghost %{_sysconfdir}/alternatives/rmt %ghost %{_sysconfdir}/alternatives/rmt.1%{ext_man} %files doc -%defattr(-, root, root) +%dir %{_docdir}/%{name} %{_docdir}/%{name}/NEWS %{_docdir}/%{name}/README %{_docdir}/%{name}/ABOUT-NLS @@ -228,13 +221,11 @@ %{_infodir}/%{name}.info* %files -%defattr(-, root, root) +%license COPYING #UsrMerge /bin/%{name} #EndUsrMerge %{_bindir}/%{name} -%{_mandir}/man1/%{name}.1%{ext_man} -%dir %{_docdir}/%{name} -%{_docdir}/%{name}/COPYING +%{_mandir}/man1/%{name}.1%{?ext_man} %changelog ++++++ add_readme-tests.patch ++++++ --- /var/tmp/diff_new_pack.Ro8NVC/_old 2018-05-16 11:21:18.536545747 +0200 +++ /var/tmp/diff_new_pack.Ro8NVC/_new 2018-05-16 11:21:18.536545747 +0200 @@ -1,13 +1,7 @@ ---- - Makefile.in | 2 +- - README-tests | 22 ++++++++++++++++++++++ - 2 files changed, 23 insertions(+), 1 deletion(-) - -Index: tar-1.28/Makefile.in -=================================================================== ---- tar-1.28.orig/Makefile.in 2014-07-27 21:33:48.000000000 +0100 -+++ tar-1.28/Makefile.in 2014-08-03 00:15:17.000000000 +0100 -@@ -141,7 +141,7 @@ PRE_UNINSTALL = : +diff -ruN a/Makefile.in b/Makefile.in +--- a/Makefile.in 2017-12-22 20:14:53.900579664 -0500 ++++ b/Makefile.in 2017-12-22 20:21:21.363943130 -0500 +@@ -122,7 +122,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ @@ -15,11 +9,10 @@ +DIST_COMMON = $(srcdir)/Make.rules INSTALL NEWS README README-tests AUTHORS \ ChangeLog THANKS $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ - $(srcdir)/config.h.in ABOUT-NLS COPYING TODO build-aux/compile \ -Index: tar-1.28/README-tests -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ tar-1.28/README-tests 2014-08-03 00:15:17.000000000 +0100 + $(srcdir)/config.h.in ABOUT-NLS COPYING TODO build-aux/ar-lib \ +diff -ruN a/README-tests b/README-tests +--- a/README-tests 1969-12-31 19:00:00.000000000 -0500 ++++ b/README-tests 2017-12-22 20:21:59.706691355 -0500 @@ -0,0 +1,22 @@ +Subpackage tar-tests +==================== ++++++ tar-1.30-tests-difflink.patch ++++++ Per https://www.mail-archive.com/bug-tar@gnu.org/msg05440.html diff --git a/tests/difflink.at b/tests/difflink.at index eadfb08..4e01176 100644 --- a/tests/difflink.at +++ b/tests/difflink.at @@ -21,7 +21,7 @@ mkdir a genfile -f a/x ln -s x a/y ln a/y a/z -tar cf a.tar a +tar cf a.tar a/x a/y a/z rm a/z ln -s x a/z tar df a.tar ++++++ tar-1.30-tests_dirrem_race.patch ++++++
From 64b43fdf70d82c39eb2ca900cd4f8e49b86c2020 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup
Date: Thu, 4 Jan 2018 18:55:12 +0100 Subject: tests: fix race in dirrem01 and dirrem02
Previously the '--checkpoint-action=echo' was triggered after '--checkpoint-action=sleep=1' - so the order of events *usually* was (for --format='gnu'): ... 1. checkpoint handler before write of 'dir/sub' member 2. one-second delay 3. stderr write: 'tar: Write checkpoint 3' 4. write the member 'dir/sub' into the archive 5. check that the member's ctime has not been changed 6. genfile's detecting 'Write checkpoint', doing unlink ... But sometimes, the genfile was fast enough to win the race and unlinked the directory before the member was written into the archive (IOW, the order was 1-2-3-6-4-5). This led to the occasional warning 'tar: dir/sub: file changed as we read it'. Swap the order of 'sleep=1' and 'echo' actions so the genfile utility has (hopefully) enough time to do the unlink before writing the file into the archive (enforce 1-2-3-6-4-5 order). * tests/dirrem01.at: Swap 'sleep=1' and 'echo' actions. * tests/dirrem02.at: Likewise. --- tests/dirrem01.at | 5 +++-- tests/dirrem02.at | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/dirrem01.at b/tests/dirrem01.at index 40344dc..dabc206 100644 --- a/tests/dirrem01.at +++ b/tests/dirrem01.at @@ -47,14 +47,15 @@ gnu) CPT=3;; esac genfile --run --checkpoint=$CPT --unlink dir/sub/file2 --unlink dir/sub -- \ - tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \ - --checkpoint-action='echo' -c -f archive.tar \ + tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='echo' \ + --checkpoint-action='sleep=1' -c -f archive.tar \ --listed-incremental db -v dir >/dev/null ], [1], [ignore], [tar: dir: Directory is new tar: dir/sub: Directory is new +tar: dir/sub: file changed as we read it tar: dir/sub: File removed before we read it ],[],[],[gnu,posix]) diff --git a/tests/dirrem02.at b/tests/dirrem02.at index e1cf9ef..924454f 100644 --- a/tests/dirrem02.at +++ b/tests/dirrem02.at @@ -20,7 +20,7 @@ # Description: # -# When an explicitley named directory disappears during creation +# When an explicitly named directory disappears during creation # of incremental dump, tar should still exit with TAREXIT_FAILURE (2). # # For further details see dirrem01.at @@ -44,14 +44,15 @@ gnu) CPT=3;; esac genfile --run --checkpoint=$CPT --unlink dir/sub/file2 --unlink dir/sub -- \ - tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \ - --checkpoint-action='echo' -c -f archive.tar \ + tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='echo' \ + --checkpoint-action='sleep=1' -c -f archive.tar \ --listed-incremental db -v dir dir/sub >/dev/null ], [2], [ignore], [tar: dir: Directory is new tar: dir/sub: Directory is new +tar: dir/sub: file changed as we read it tar: dir/sub: Cannot open: No such file or directory tar: Exiting with failure status due to previous errors ],[],[],[gnu,posix]) -- cgit v1.0-41-gc330 ++++++ tar-1.29.tar.bz2 -> tar-1.30.tar.bz2 ++++++ ++++ 167205 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de