Hello community, here is the log from the commit of package tar for openSUSE:Factory checked in at Fri Mar 26 02:16:14 CET 2010. -------- --- tar/tar.changes 2010-03-10 20:27:33.000000000 +0100 +++ tar/tar.changes 2010-03-12 17:33:00.000000000 +0100 @@ -1,0 +2,22 @@ +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 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- tar-1.22-fortifysourcessigabrt.patch tar-1.22.tar.bz2 tar-disable-listed02-test.diff tar-heap_overflow_in_rtapelib.patch New: ---- tar-1.23.tar.bz2 tar-disable-listed02-test.patch tar-fortifysourcessigabrt.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tar.spec ++++++ --- /var/tmp/diff_new_pack.uYlJK0/_old 2010-03-26 02:13:10.000000000 +0100 +++ /var/tmp/diff_new_pack.uYlJK0/_new 2010-03-26 02:13:10.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package tar (Version 1.22) +# spec file for package tar (Version 1.23) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -26,18 +26,16 @@ Provides: base:/bin/tar PreReq: %install_info_prereq AutoReqProv: on -Version: 1.22 -Release: 2 +Version: 1.23 +Release: 1 Summary: GNU implementation of tar ((t)ape (ar)chiver) Source0: %name-%version.tar.bz2 # Patch0: tar-disable_languages.patch -Patch1: tar-disable-listed02-test.diff +Patch1: tar-disable-listed02-test.patch Patch2: tar-manpage.patch Patch3: tar-wildcards.patch -Patch5: tar-1.22-fortifysourcessigabrt.patch -#fix possible heap overflow in rtapelib.c bnc#579475 (fix already in upstream git) -Patch6: tar-heap_overflow_in_rtapelib.patch +Patch5: tar-fortifysourcessigabrt.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: xz Recommends: tar-lang = %version @@ -91,7 +89,6 @@ %patch2 -p1 %patch3 -p1 %patch5 -p1 -%patch6 -p1 %build rm -f po/no.* po/ky.* @@ -130,7 +127,7 @@ %files %defattr(-, root, root) %_bindir/tar -%doc README* ABOUT-NLS AUTHORS COPYING NEWS THANKS ChangeLog PORTS TODO +%doc README* ABOUT-NLS AUTHORS COPYING NEWS THANKS ChangeLog TODO %_infodir/tar.info*.gz %_mandir/man1/tar.1.gz ++++++ tar-1.22.tar.bz2 -> tar-1.23.tar.bz2 ++++++ ++++ 403314 lines of diff (skipped) ++++++ tar-disable-listed02-test.patch ++++++ Index: tar-1.23/tests/testsuite.at =================================================================== --- tar-1.23.orig/tests/testsuite.at +++ tar-1.23/tests/testsuite.at @@ -157,7 +157,6 @@ m4_include([incremental.at]) m4_include([incr01.at]) m4_include([incr02.at]) m4_include([listed01.at]) -m4_include([listed02.at]) m4_include([incr03.at]) m4_include([incr04.at]) m4_include([incr05.at]) ++++++ tar-disable_languages.patch ++++++ --- /var/tmp/diff_new_pack.uYlJK0/_old 2010-03-26 02:13:11.000000000 +0100 +++ /var/tmp/diff_new_pack.uYlJK0/_new 2010-03-26 02:13:11.000000000 +0100 @@ -1,9 +1,9 @@ Disable the languages, which don't have yet a path in /usr/share/locale/ -Index: tar-1.20/po/LINGUAS +Index: tar-1.23/po/LINGUAS =================================================================== ---- tar-1.20.orig/po/LINGUAS -+++ tar-1.20/po/LINGUAS +--- tar-1.23.orig/po/LINGUAS ++++ tar-1.23/po/LINGUAS @@ -16,7 +16,6 @@ id it ja ++++++ tar-fortifysourcessigabrt.patch ++++++ Index: tar-1.23/src/create.c =================================================================== --- tar-1.23.orig/src/create.c +++ tar-1.23/src/create.c @@ -530,8 +530,8 @@ start_private_header (const char *name, GID_TO_CHARS (getgid (), header->header.gid); MAJOR_TO_CHARS (0, header->header.devmajor); MINOR_TO_CHARS (0, header->header.devminor); - strncpy (header->header.magic, TMAGIC, TMAGLEN); - strncpy (header->header.version, TVERSION, TVERSLEN); + memcpy (header->header.magic, TMAGIC, TMAGLEN); + memcpy (header->header.version, TVERSION, TVERSLEN); return header; } @@ -575,7 +575,10 @@ write_gnu_long_link (struct tar_stat_inf GNAME_TO_CHARS (tmpname, header->header.gname); free (tmpname); - strcpy (header->header.magic, OLDGNU_MAGIC); + /* OLDGNU_MAGIC is string with 7 chars + NULL */ + memcpy (header->header.magic, OLDGNU_MAGIC, sizeof(header->header.magic)); + memcpy (header->header.version, OLDGNU_MAGIC+sizeof(header->header.magic), + sizeof(header->header.version)); header->header.typeflag = type; finish_header (st, header, -1); @@ -910,15 +913,19 @@ start_header (struct tar_stat_info *st) break; case OLDGNU_FORMAT: - case GNU_FORMAT: /*FIXME?*/ - /* Overwrite header->header.magic and header.version in one blow. */ - strcpy (header->header.magic, OLDGNU_MAGIC); + case GNU_FORMAT: + /* OLDGNU_MAGIC is string with 7 chars + NULL */ + memcpy (header->header.magic, OLDGNU_MAGIC, + sizeof(header->header.magic)); + memcpy (header->header.version, + OLDGNU_MAGIC+sizeof(header->header.magic), + sizeof(header->header.version)); break; case POSIX_FORMAT: case USTAR_FORMAT: - strncpy (header->header.magic, TMAGIC, TMAGLEN); - strncpy (header->header.version, TVERSION, TVERSLEN); + memcpy (header->header.magic, TMAGIC, TMAGLEN); + memcpy (header->header.version, TVERSION, TVERSLEN); break; default: ++++++ tar-manpage.patch ++++++ --- /var/tmp/diff_new_pack.uYlJK0/_old 2010-03-26 02:13:11.000000000 +0100 +++ /var/tmp/diff_new_pack.uYlJK0/_new 2010-03-26 02:13:12.000000000 +0100 @@ -1,7 +1,7 @@ -Index: tar-1.20/doc/Makefile.am +Index: tar-1.23/doc/Makefile.am =================================================================== ---- tar-1.20.orig/doc/Makefile.am -+++ tar-1.20/doc/Makefile.am +--- tar-1.23.orig/doc/Makefile.am ++++ tar-1.23/doc/Makefile.am @@ -32,6 +32,9 @@ tar_TEXINFOS = \ sparse.texi\ value.texi @@ -23,16 +23,16 @@ header.texi: $(top_srcdir)/src/tar.h sed -f $(srcdir)/texify.sed $(top_srcdir)/src/tar.h \ | expand >$@ -Index: tar-1.20/Makefile.am +Index: tar-1.23/Makefile.am =================================================================== ---- tar-1.20.orig/Makefile.am -+++ tar-1.20/Makefile.am +--- tar-1.23.orig/Makefile.am ++++ tar-1.23/Makefile.am @@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I m4 - EXTRA_DIST = ChangeLog.1 PORTS --SUBDIRS = doc lib rmt src scripts po tests -+SUBDIRS = lib rmt src doc scripts po tests + EXTRA_DIST = ChangeLog.1 Make.rules +-SUBDIRS = doc gnu lib rmt src scripts po tests ++SUBDIRS = gnu lib rmt src doc scripts po tests dist-hook: - -rm -f $(distdir).cpio + $(MAKE) changelog_dir=$(distdir) ChangeLog ++++++ tar-wildcards.patch ++++++ --- /var/tmp/diff_new_pack.uYlJK0/_old 2010-03-26 02:13:12.000000000 +0100 +++ /var/tmp/diff_new_pack.uYlJK0/_new 2010-03-26 02:13:12.000000000 +0100 @@ -1,19 +1,15 @@ -Index: src/names.c +Index: tar-1.23/src/names.c =================================================================== -RCS file: /cvsroot/tar/tar/src/names.c,v -retrieving revision 1.60 -diff -p -u -r1.60 names.c ---- a/src/names.c 20 Jun 2006 15:14:19 -0000 1.60 -+++ b/src/names.c 6 Feb 2007 23:02:39 -0000 -@@ -813,10 +813,6 @@ collect_and_sort_names (void) - next_name = name->next; - if (name->found_count || name->dir_contents) +--- tar-1.23.orig/src/names.c ++++ tar-1.23/src/names.c +@@ -909,10 +909,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) - continue; - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org