ports/core (3.1): unzip: build the generic target to get large file support
commit 606cf0584da42a4d7ee884f863810cce62f85991 Author: Juergen Daubert <jue@jue.li> Date: Wed Feb 25 17:39:39 2015 +0100 unzip: build the generic target to get large file support diff --git a/unzip/Pkgfile b/unzip/Pkgfile index 9c264b2..e67c65c 100644 --- a/unzip/Pkgfile +++ b/unzip/Pkgfile @@ -4,7 +4,7 @@ name=unzip version=6.0 -release=4 +release=5 source=(http://downloads.sourceforge.net/sourceforge/infozip/${name}${version//./}.tar.gz \ unzip-6.0-overflow.patch unzip-6.0-attribs-overflow.patch \ unzip-6.0-cve-2014-8139.patch \ @@ -19,7 +19,8 @@ build() { patch -p1 -i $SRC/unzip-6.0-cve-2014-8140.patch patch -p1 -i $SRC/unzip-6.0-cve-2014-8141.patch - make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr linux_noasm + sed -i 's/-O3//' unix/configure + make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" generic make -f unix/Makefile prefix=$PKG/usr install ln -sf unzip $PKG/usr/bin/zipinfo }
participants (1)
-
crux@crux.nu