Hello community,

here is the log from the commit of package tar.2586 for openSUSE:13.1:Update 
checked in at 2014-02-27 18:37:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/tar.2586 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.tar.2586.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tar.2586"

Changes:
--------
New Changes file:

--- /dev/null   2014-02-13 01:09:38.344032506 +0100
+++ /work/SRC/openSUSE:13.1:Update/.tar.2586.new/tar.changes    2014-02-27 
18:37:54.000000000 +0100
@@ -0,0 +1,577 @@
+-------------------------------------------------------------------
+Tue Feb 18 18:12:57 UTC 2014 - vci...@suse.com
+
+- fix creating archive with large uids and posix (default) format
+  (bnc#864302)
+- added patches:
+  * tar-fix_large_uid_with_posix_format.patch
+
+-------------------------------------------------------------------
+Thu Aug 22 12:47:33 UTC 2013 - vci...@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 - idon...@suse.com
+
+- Add Source URL, see https://en.opensuse.org/SourceUrls 
+
+-------------------------------------------------------------------
+Sat Feb  2 20:38:34 UTC 2013 - sch...@suse.de
+
+- Add config-guess-sub-update.patch:
+  Update config.guess/sub for aarch64
+
+-------------------------------------------------------------------
+Tue Jul 17 08:05:33 UTC 2012 - a...@suse.de
+
+- Fix build failure with undefined gets (glibc 2.16).
+
+-------------------------------------------------------------------
+Wed May 30 13:08:28 UTC 2012 - sweet_...@gmx.de
+
+- avoid automake dependency 
+
+-------------------------------------------------------------------
+Fri Apr 20 19:55:01 UTC 2012 - crrodrig...@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 - crrodrig...@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 - tc...@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 - dmuel...@suse.de
+
+- disable testsuite on qemu build
+
+-------------------------------------------------------------------
+Wed Oct  5 11:38:57 UTC 2011 - sweet_...@gmx.de
+
+- minor portability fixes
+
+-------------------------------------------------------------------
+Thu Sep 29 11:32:04 UTC 2011 - sweet_...@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 - pu...@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 - pu...@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 - pu...@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 - jeng...@medozas.de
+
+- use %_smp_mflags
+
+-------------------------------------------------------------------
+Fri Mar 12 16:21:49 UTC 2010 - mse...@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 - mse...@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 - mse...@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 - jeng...@medozas.de
+
+- enable parallel building
+
+-------------------------------------------------------------------
+Fri Dec  4 21:46:24 CET 2009 - meiss...@suse.de
+
+- fixed FORTIFY_SOURCE=2 issue with gcc 4.5.
+
+-------------------------------------------------------------------
+Sun Aug 30 18:36:08 UTC 2009 - a...@suse.de
+
+- recommend not require language subpackage
+
+-------------------------------------------------------------------
+Tue Mar  3 14:49:58 CET 2009 - p...@suse.de
+
+- Recognize .xz as lzma archive.
+
+-------------------------------------------------------------------
+Wed Feb 11 10:41:36 CET 2009 - co...@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
+
++++ 380 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.1:Update/.tar.2586.new/tar.changes

New:
----
  config-guess-sub-update.patch
  paxutils-rtapelib_mtget.patch
  tar-1.26-remove_O_NONBLOCK.patch
  tar-1.26-stdio.in.patch
  tar-1.26.tar.bz2
  tar-backup-spec-fix-paths.patch
  tar-fix_large_uid_with_posix_format.patch
  tar-wildcards.patch
  tar.changes
  tar.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tar.spec ++++++
#
# spec file for package tar
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


# minimum suse version where the full featured package builds
%define min_suse_ver 1010

Name:           tar
Version:        1.26
Release:        0
Summary:        GNU implementation of tar ((t)ape (ar)chiver)
License:        GPL-3.0+
Group:          System/Base
Url:            http://www.gnu.org/software/tar/
Source0:        http://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
#
Patch3:         tar-wildcards.patch
Patch6:         tar-backup-spec-fix-paths.patch
Patch7:         tar-1.26-remove_O_NONBLOCK.patch
Patch8:         tar-1.26-stdio.in.patch
Patch9:         config-guess-sub-update.patch
Patch10:        paxutils-rtapelib_mtget.patch
Patch11:        tar-fix_large_uid_with_posix_format.patch
%if 0%{?suse_version} >= %min_suse_ver
BuildRequires:  help2man
Recommends:     tar-lang = %{version}
Recommends:     xz
%endif
Requires(pre):  info
Provides:       base:/bin/tar
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define _bindir  /bin

%description
This package normally also includes the program "rmt", which provides
remote tape drive control. Since there are compatible versions of 'rmt'
in either the 'star' package or the 'dump' package, we didn't put 'rmt'
into this package. If you are planning to use the remote tape features
provided by tar you have to also install the 'dump' or the 'star'
package.

%package backup-scripts
Summary:        Backup scripts
Group:          Productivity/Archiving/Backup
Requires:       %{name} = %{version}

%description backup-scripts
Shell scripts for system backup/restore

%{?lang_package}

%prep
%setup -q
%patch3 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9
%patch10 -p1
%patch11 -p1

%build
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes 
-Wformat-security -Wno-unused-parameter
export CFLAGS="%{optflags} %my_cflags"
export RSH="/usr/bin/rsh"
export DEFAULT_ARCHIVE_FORMAT="POSIX"
%configure \
        gl_cv_func_linkat_follow="yes" \
        --enable-backup-scripts \
        --disable-silent-rules
make %{?_smp_mflags};

%check
%if !0%{?qemu_user_space_build:1}
# Checks disabled in qemu because of races happening when we emulate
# multi-threaded programs
make check
%endif

%install
%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
%if 0%{?suse_version} >= %min_suse_ver
install -d -m 755 %{buildroot}/%{_mandir}/man1
help2man ./src/tar --name "The GNU version of the tar archiving utility" -p tar 
\
        | gzip -c > %{buildroot}/%{_mandir}/man1/tar.1.gz
%endif
install -d -m 755 %{buildroot}%{_sysconfdir}/backup
install -D -m 644 scripts/backup-specs 
%{buildroot}%{_sysconfdir}/backup/backup-specs
rm -rf %{buildroot}%{_libexecdir}/rmt
rm -f %{buildroot}%{_infodir}/dir
%find_lang %{name}

%files backup-scripts
%defattr(-,root, root)
%{_sbindir}/backup
%{_sbindir}/restore
%{_libexecdir}/backup.sh
%{_libexecdir}/dump-remind
%dir %{_sysconfdir}/backup
%config(noreplace) %{_sysconfdir}/backup/backup-specs

%if 0%{?lang_package:1}

%files lang -f %{name}.lang

%files
%else

%files -f %{name}.lang
%endif
%defattr(-, root, root)
%{_bindir}/tar
%doc README* ABOUT-NLS AUTHORS COPYING NEWS THANKS ChangeLog TODO
%{_infodir}/tar.info*
%if 0%{?suse_version} >= %min_suse_ver
%{_mandir}/man1/tar.1.gz
%endif

%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%clean
rm -rf %{buildroot}

%changelog
++++++ config-guess-sub-update.patch ++++++
++++ 678 lines (skipped)

++++++ paxutils-rtapelib_mtget.patch ++++++
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;
++++++ tar-1.26-remove_O_NONBLOCK.patch ++++++
Index: tar-1.26/src/tar.c
===================================================================
--- tar-1.26.orig/src/tar.c
+++ tar-1.26/src/tar.c
@@ -2467,10 +2467,14 @@ decode_options (int argc, char **argv)
 
   /* Flags for accessing files to be read from or copied into.  POSIX says
      O_NONBLOCK has unspecified effect on most types of files, but in
-     practice it never harms and sometimes helps.  */
+     practice it never harms and sometimes helps.
+
+     It seems in fact that in practice it never helps and sometimes harms.
+     Removing again.
+   */
   {
     int base_open_flags =
-      (O_BINARY | O_CLOEXEC | O_NOCTTY | O_NONBLOCK
+      (O_BINARY | O_CLOEXEC | O_NOCTTY
        | (dereference_option ? 0 : O_NOFOLLOW)
        | (atime_preserve_option == system_atime_preserve ? O_NOATIME : 0));
     open_read_flags = O_RDONLY | base_open_flags;
++++++ tar-1.26-stdio.in.patch ++++++
diff -urNp tar-1.26-orig/gnu/stdio.in.h tar-1.26/gnu/stdio.in.h
--- tar-1.26-orig/gnu/stdio.in.h
+++ tar-1.26/gnu/stdio.in.h
@@ -139,7 +139,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not 
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
 #undef gets
+#if HAVE_RAW_DECL_GETS
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
 
 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@
++++++ tar-backup-spec-fix-paths.patch ++++++
Index: tar-1.25/scripts/backup-specs
===================================================================
--- tar-1.25.orig/scripts/backup-specs
+++ tar-1.25/scripts/backup-specs
@@ -11,12 +11,12 @@ TAR=/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.
 # In this case you will have to use public key authentication.
-RSH=/usr/local/bin/ssh
+RSH=/usr/bin/ssh
 
 # (Optional) Path to rsh binary on remote mashines. This will be
 # passed via --rsh-command option to the remote invocation of
 # tar
-RSH_COMMAND=/usr/local/bin/ssh
+RSH_COMMAND=/usr/bin/ssh
 
 # Name of temporary file to hold volume numbers.  This needs to be accessible
 # by all the machines which have filesystems to be dumped.
++++++ tar-fix_large_uid_with_posix_format.patch ++++++
Index: tar-1.26/src/create.c
===================================================================
--- tar-1.26.orig/src/create.c  2011-03-12 10:09:33.000000000 +0100
+++ tar-1.26/src/create.c       2014-02-18 15:39:37.316745490 +0100
@@ -514,8 +514,8 @@ start_private_header (const char *name, size_t size, time_t 
t)
 
   TIME_TO_CHARS (t, header->header.mtime);
   MODE_TO_CHARS (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, header->header.mode);
-  UID_TO_CHARS (getuid (), header->header.uid);
-  GID_TO_CHARS (getgid (), header->header.gid);
+  UID_TO_CHARS (0, header->header.uid);
+  GID_TO_CHARS (0, header->header.gid);
   MAJOR_TO_CHARS (0, header->header.devmajor);
   MINOR_TO_CHARS (0, header->header.devminor);
   strncpy (header->header.magic, TMAGIC, TMAGLEN);
++++++ tar-wildcards.patch ++++++
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)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to