CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
cpio: updated 2.12-2
authorVictor Martinez <pitillo@ono.com>
Thu, 3 May 2018 20:41:50 +0000 (20:41 +0000)
committerVictor Martinez <pitillo@ono.com>
Thu, 3 May 2018 20:41:50 +0000 (20:41 +0000)
cpio/.md5sum
cpio/Pkgfile

index c087492d203aeacad925bf1b1e501de8130e30e5..dccd7d8d35187ee42c7aa0d00b1cd260ef0f4819 100644 (file)
@@ -1 +1,2 @@
+c45d7e0ab5109dc26c8bca7d593e2624  CVE-2017-7516.patch
 93eea9f07c0058c097891c73e4955456  cpio-2.12.tar.bz2
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}