CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
grep: updated to 3.1
[crossrootfs.git] / cpio / Pkgfile
index 85282f2b49af2682504c1bab43afe2c46ac29567..7b85c13d7f59fa395d99da037b76cd00d1d029a1 100644 (file)
@@ -1,22 +1,23 @@
 # Description: A tool to copy files into or out of a cpio or tar archive
 # URL: http://www.gnu.org/software/cpio/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 
 name=cpio
-version=2.10
-release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+version=2.12
+release=2
+source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2 \
+        CVE-2017-7516.patch)
 
 build() {
   cd $name-$version
+  patch -p1 -i $SRC/CVE-2017-7516.patch
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=/usr/man \
               --disable-nls
   make
   make DESTDIR=$PKG install
-  rm -r $PKG/usr/{share,libexec}
-  rm $PKG/usr/man/man1/mt.1
+  rm -r $PKG/usr/{libexec,share/info}
+  rm -r $PKG/usr/share/man/man8
 }