|
@@ -6,19 +6,50 @@
|
|
|
Summary: A GNU archiving program.
|
|
|
Summary(ja): GNU アーカイブプログラム
|
|
|
Name: cpio
|
|
|
-Version: 2.12
|
|
|
+Version: 2.13
|
|
|
Release: 1%{?_dist_release}
|
|
|
+Group: Applications/Archiving
|
|
|
|
|
|
License: GPLv3
|
|
|
-Group: Applications/Archiving
|
|
|
-URL: ftp://ftp.gnu.org/pub/gnu/cpio/
|
|
|
+URL: https://www.gnu.org/software/cpio/cpio.html
|
|
|
|
|
|
-Source: ftp://ftp.gnu.org/gnu/cpio/cpio-%{version}.tar.bz2
|
|
|
+Source: https://ftp.gnu.org/gnu/cpio/cpio-%{version}.tar.bz2
|
|
|
Source1: cpio.1
|
|
|
-Patch1: cpio-2.6-setLocale.patch
|
|
|
-Patch2: cpio-2.12-rh.patch
|
|
|
-Patch4: cpio-2.9-exitCode.patch
|
|
|
-Patch6: cpio-2.9-dev_number.patch
|
|
|
+
|
|
|
+# We use SVR4 portable format as default.
|
|
|
+Patch1: cpio-2.9-rh.patch
|
|
|
+
|
|
|
+# fix warn_if_file_changed() and set exit code to 1 when cpio fails to store
|
|
|
+# file > 4GB (#183224)
|
|
|
+# http://lists.gnu.org/archive/html/bug-cpio/2006-11/msg00000.html
|
|
|
+Patch2: cpio-2.13-exitCode.patch
|
|
|
+
|
|
|
+# Support major/minor device numbers over 127 (bz#450109)
|
|
|
+# http://lists.gnu.org/archive/html/bug-cpio/2008-07/msg00000.html
|
|
|
+Patch3: cpio-2.13-dev_number.patch
|
|
|
+
|
|
|
+# Define default remote shell as /usr/bin/ssh (#452904)
|
|
|
+Patch4: cpio-2.9.90-defaultremoteshell.patch
|
|
|
+
|
|
|
+# Fix segfault with nonexisting file with patternnames (#567022)
|
|
|
+# http://savannah.gnu.org/bugs/index.php?28954
|
|
|
+# We have slightly different solution than upstream.
|
|
|
+Patch5: cpio-2.10-patternnamesigsegv.patch
|
|
|
+
|
|
|
+# Fix bad file name splitting while creating ustar archive (#866467)
|
|
|
+# (fix backported from tar's source)
|
|
|
+Patch7: cpio-2.10-longnames-split.patch
|
|
|
+
|
|
|
+# Cpio does Sum32 checksum, not CRC (downstream)
|
|
|
+Patch8: cpio-2.11-crc-fips-nit.patch
|
|
|
+
|
|
|
+# Fix multiple definition of `program_name'
|
|
|
+Patch9: cpio-2.13-mutiple-definition.patch
|
|
|
+
|
|
|
+# Revert fix for CVE-2015-1197 (#1797163)
|
|
|
+# reverts upstream commit 45b0ee2b4
|
|
|
+Patch10: cpio-2.13-revert-CVE-2015-1197-fix.patch
|
|
|
+
|
|
|
#security
|
|
|
|
|
|
%ifnos linux
|
|
@@ -65,14 +96,9 @@ GNU cpio がサポートしているアーカイブ形式は以下の通りで
|
|
|
|
|
|
|
|
|
%prep
|
|
|
-%setup -q
|
|
|
-%patch1 -p1 -b .setLocale
|
|
|
-%patch2 -p1 -b .rh
|
|
|
-%patch4 -p1 -b .exitCode
|
|
|
-%patch6 -p1 -b .dev_number
|
|
|
-# security
|
|
|
+%autosetup -p1
|
|
|
|
|
|
-autoheader
|
|
|
+autoreconf -vif
|
|
|
|
|
|
%build
|
|
|
|
|
@@ -111,7 +137,8 @@ fi
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
-%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
|
|
+%license COPYING
|
|
|
+%doc AUTHORS NEWS README THANKS TODO
|
|
|
%ifnos linux
|
|
|
%{_libexecdir}/*
|
|
|
%endif
|
|
@@ -121,6 +148,11 @@ fi
|
|
|
%{_datadir}/locale/*
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Feb 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13-1
|
|
|
+- updated to 2.13.
|
|
|
+- dropped all patches.
|
|
|
+- imported Patch1-10 from rawhide.
|
|
|
+
|
|
|
* Mon Nov 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.12-1
|
|
|
- update to 2.12
|
|
|
- update Patch2 (cpio-2.12-rh.patch)
|