rpms/tar/devel tar-1.23-oldarchive.patch, NONE, 1.1 tar.spec, 1.101, 1.102

Ondrej Vasik ovasik at fedoraproject.org
Tue Jun 1 12:20:48 UTC 2010


Author: ovasik

Update of /cvs/pkgs/rpms/tar/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21207

Modified Files:
	tar.spec 
Added Files:
	tar-1.23-oldarchive.patch 
Log Message:
recognize old-archive/portability options(#594044)

tar-1.23-oldarchive.patch:
 tar.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

--- NEW FILE tar-1.23-oldarchive.patch ---
diff -urNp tar-1.23-orig/src/tar.c tar-1.23/src/tar.c
--- tar-1.23-orig/src/tar.c	2010-06-01 13:55:03.792173060 +0200
+++ tar-1.23/src/tar.c	2010-06-01 14:01:40.494172986 +0200
@@ -1911,6 +1911,10 @@ parse_opt (int key, char *arg, struct ar
 			  _("Invalid number")));
 	}
       break;
+
+    case OLD_ARCHIVE_OPTION:
+      set_archive_format ("v7");
+      break;
       
     case OVERWRITE_DIR_OPTION:
       old_files_option = DEFAULT_OLD_FILES;
@@ -1955,7 +1959,7 @@ parse_opt (int key, char *arg, struct ar
     case POSIX_OPTION:
       set_archive_format ("posix");
       break;
-      
+
     case PRESERVE_OPTION:
       /* FIXME: What it is good for? */
       same_permissions_option = true;


Index: tar.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tar/devel/tar.spec,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -p -r1.101 -r1.102
--- tar.spec	7 Apr 2010 18:46:55 -0000	1.101
+++ tar.spec	1 Jun 2010 12:20:48 -0000	1.102
@@ -5,7 +5,7 @@ Summary: A GNU file archiving program
 Name: tar
 Epoch: 2
 Version: 1.23
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv3+
 Group: Applications/Archiving
 URL: http://www.gnu.org/software/tar/
@@ -29,6 +29,8 @@ Patch5: tar-1.22-atime-rofs.patch
 #Do not sigabrt with new gcc/glibc because of writing to
 #struct members of gnutar header at once via strcpy
 Patch6: tar-1.22-fortifysourcessigabrt.patch
+#oldarchive option was not working(#594044)
+Patch7: tar-1.23-oldarchive.patch
 Requires: info
 BuildRequires: autoconf automake gzip texinfo gettext libacl-devel gawk rsh
 %if %{WITH_SELINUX}
@@ -58,6 +60,7 @@ the rmt package.
 %patch4 -p1 -b .wildcards
 %patch5 -p1 -b .rofs
 %patch6 -p1 -b .fortify
+%patch7 -p1 -b .oldarchive
 
 autoreconf
 
@@ -119,6 +122,9 @@ fi
 %{_infodir}/tar.info*
 
 %changelog
+* Tue Jun 01 2010 Ondrej Vasik <ovasik at redhat.com> 2:1.23-4
+- recognize old-archive/portability options(#594044)
+
 * Wed Apr 07 2010 Ondrej Vasik <ovasik at redhat.com> 2:1.23-3
 - allow storing of extended attributes for fifo and block
   or character devices files(#573147)



More information about the scm-commits mailing list