upgrade to 2.6
This commit is contained in:
parent
58c90e1976
commit
e032091115
@ -1,2 +1 @@
|
|||||||
cpio-2.5.tar.gz
|
cpio-2.6.tar.gz
|
||||||
cpio-2.5.90.tar.gz
|
|
||||||
|
11
cpio-2.5-nolibnsl.patch
Normal file
11
cpio-2.5-nolibnsl.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- cpio-2.5/configure.nolibnsl 2004-09-08 11:43:38.000000000 +0000
|
||||||
|
+++ cpio-2.5/configure 2004-11-04 12:44:10.093187568 +0000
|
||||||
|
@@ -13564,7 +13564,7 @@
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
|
-LIBS="-lnsl $LIBS"
|
||||||
|
+LIBS="-lXXXnsl $LIBS"
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
22
cpio-2.6-rh.patch
Normal file
22
cpio-2.6-rh.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- cpio-2.5.90/doc/cpio.info.rh 2004-02-27 12:42:01.000000000 +0000
|
||||||
|
+++ cpio-2.5.90/doc/cpio.info 2004-11-04 14:40:57.000000000 +0000
|
||||||
|
@@ -261,7 +261,8 @@
|
||||||
|
Set the I/O block size to BLOCK-SIZE * 512 bytes.
|
||||||
|
|
||||||
|
`-c'
|
||||||
|
- Use the old portable (ASCII) archive format.
|
||||||
|
+ Identical to "-H newc", use the new (SVR4) portable format.
|
||||||
|
+ If you wish the old portable (ASCII) archive format, use "-H odc" instead.
|
||||||
|
|
||||||
|
`-C IO-SIZE, --io-size=IO-SIZE'
|
||||||
|
Set the I/O block size to IO-SIZE bytes.
|
||||||
|
--- cpio-2.5.90/src/main.c.rh 2004-09-08 11:41:42.000000000 +0000
|
||||||
|
+++ cpio-2.5.90/src/main.c 2004-11-05 11:09:59.869355664 +0000
|
||||||
|
@@ -302,6 +302,7 @@
|
||||||
|
case 'c': /* Use the old portable ASCII format. */
|
||||||
|
if (archive_format != arf_unknown)
|
||||||
|
USAGE_ERROR ((0, 0, _("Archive format multiply defined")));
|
||||||
|
+#define SVR4_COMPAT
|
||||||
|
#ifdef SVR4_COMPAT
|
||||||
|
archive_format = arf_newascii; /* -H newc. */
|
||||||
|
#else
|
30
cpio.spec
30
cpio.spec
@ -5,19 +5,19 @@
|
|||||||
|
|
||||||
Summary: A GNU archiving program.
|
Summary: A GNU archiving program.
|
||||||
Name: cpio
|
Name: cpio
|
||||||
Version: 2.5
|
Version: 2.6
|
||||||
Release: 10
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Archiving
|
Group: Applications/Archiving
|
||||||
URL: ftp://ftp.gnu.org/pub/gnu/cpio/
|
URL: http://www.gnu.org/software/cpio/
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/cpio/cpio-2.5.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/cpio/cpio-%{version}.tar.gz
|
||||||
Patch0: cpio-2.5-rh.patch
|
Patch0: cpio-2.6-rh.patch
|
||||||
Patch10: cpio-2.4.2-freebsd.patch
|
#Patch10: cpio-2.4.2-freebsd.patch
|
||||||
Patch11: cpio-2.4.2-bug56346.patch
|
#Patch11: cpio-2.4.2-bug56346.patch
|
||||||
Patch12: cpio-2.5-i18n-0.1.patch
|
#Patch12: cpio-2.5-i18n-0.1.patch
|
||||||
Patch13: cpio-2.5-nolibnsl.patch
|
Patch13: cpio-2.5-nolibnsl.patch
|
||||||
Patch14: cpio-2.5-lfs.patch
|
Patch14: cpio-2.5-lfs.patch
|
||||||
Patch15: cpio-2.5-time.patch
|
#Patch15: cpio-2.5-time.patch
|
||||||
|
|
||||||
%ifnos linux
|
%ifnos linux
|
||||||
Prereq: /sbin/rmt
|
Prereq: /sbin/rmt
|
||||||
@ -45,10 +45,10 @@ Install cpio if you need a program to manage file archives.
|
|||||||
%patch0 -p1 -b .rh
|
%patch0 -p1 -b .rh
|
||||||
#%patch10 -p1 -b .fbsd
|
#%patch10 -p1 -b .fbsd
|
||||||
#%patch11 -p1 -b .multilink
|
#%patch11 -p1 -b .multilink
|
||||||
%patch12 -p1 -b .i18n
|
##%patch12 -p1 -b .i18n
|
||||||
%patch13 -p1
|
%patch13 -p1 -b .nolibnsl
|
||||||
%patch14 -p1 -b .lfs
|
%patch14 -p1 -b .lfs
|
||||||
%patch15 -p1 -b .time
|
#%patch15 -p1 -b .time
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README NEWS
|
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||||
|
|
||||||
%ifnos linux
|
%ifnos linux
|
||||||
%{_libexecdir}/*
|
%{_libexecdir}/*
|
||||||
@ -94,8 +94,12 @@ fi
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%{_infodir}/*.info*
|
%{_infodir}/*.info*
|
||||||
|
%{_datadir}/locale/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 13 2005 Peter Vrabec <pvrabec@redhat.com>
|
||||||
|
- upgrade to cpio-2.6
|
||||||
|
|
||||||
* Tue Nov 09 2004 Peter Vrabec <pvrabec@redhat.com>
|
* Tue Nov 09 2004 Peter Vrabec <pvrabec@redhat.com>
|
||||||
- fixed "cpio -oH ustar (or tar) saves bad mtime date after Jan 10 2004" (#114580)
|
- fixed "cpio -oH ustar (or tar) saves bad mtime date after Jan 10 2004" (#114580)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user