recognize old-archive/portability options(#594044)
This commit is contained in:
parent
0fc563d0a9
commit
478483cd93
23
tar-1.23-oldarchive.patch
Normal file
23
tar-1.23-oldarchive.patch
Normal file
@ -0,0 +1,23 @@
|
||||
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;
|
8
tar.spec
8
tar.spec
@ -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@redhat.com> 2:1.23-4
|
||||
- recognize old-archive/portability options(#594044)
|
||||
|
||||
* Wed Apr 07 2010 Ondrej Vasik <ovasik@redhat.com> 2:1.23-3
|
||||
- allow storing of extended attributes for fifo and block
|
||||
or character devices files(#573147)
|
||||
|
Loading…
Reference in New Issue
Block a user