X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=bzip2%2FPkgfile;h=d2bc2af8536259d8c303e0e54db1fc263e4d2215;hb=409d70d3a79af22e7342f5e34094a9584ac4f34e;hp=34fda8164a5c00ad5a795835cba44845081d9d4b;hpb=9a71905944b99eac7cf34220027735165fb7d76e;p=crossrootfs.git diff --git a/bzip2/Pkgfile b/bzip2/Pkgfile index 34fda81..d2bc2af 100644 --- a/bzip2/Pkgfile +++ b/bzip2/Pkgfile @@ -6,16 +6,21 @@ name=bzip2 version=1.0.6 -release=1 +release=3 source=(http://www.bzip.org/$version/$name-$version.tar.gz \ - $name.patch) + $name.patch CVE-2016-3189.patch) build() { cd $name-$version + patch -Np1 -i $SRC/$name.patch + patch -p1 -i $SRC/CVE-2016-3189.patch + sed "s|all: libbz2.a bzip2 bzip2recover test|all: libbz2.a bzip2 bzip2recover|g" -i Makefile + make CC="$CC" AR="$AR" RANLIB="$RANLIB" make PREFIX=$PKG/usr install + make -f Makefile-libbz2_so CC="$CC" make -f Makefile-libbz2_so PREFIX=$PKG/usr install