CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rc: updated to 2.31
[crossrootfs.git] / cpio / Pkgfile
index 09a88e94f1a6ff6a39439459ade1c4087dc60b42..7b85c13d7f59fa395d99da037b76cd00d1d029a1 100644 (file)
@@ -5,16 +5,17 @@
 
 name=cpio
 version=2.12
-release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+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 \
               --disable-nls
-
   make
   make DESTDIR=$PKG install
   rm -r $PKG/usr/{libexec,share/info}