diff options
Diffstat (limited to 'p7zip/Pkgfile')
-rw-r--r-- | p7zip/Pkgfile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/p7zip/Pkgfile b/p7zip/Pkgfile index f032e566f..fefb67705 100644 --- a/p7zip/Pkgfile +++ b/p7zip/Pkgfile @@ -1,17 +1,28 @@ # Description: A port of 7-zip for POSIX systems. # URL: http://p7zip.sourceforge.net/ # Maintainer: Danny Rawlins, crux at romster dot me -# Packager: Matt Housh, jaeger at crux dot nu # Depends on: yasm name=p7zip version=16.02 -release=1 -source=(http://downloads.sourceforge.net/project/$name/$name/$version/${name}_${version}_src_all.tar.bz2) +release=2 +source=(https://downloads.sourceforge.net/project/$name/$name/$version/${name}_${version}_src_all.tar.bz2 + CVE-2016-9296.patch + CVE-2017-17969.patch + CVE-2018-5996.patch) build() { cd ${name}_$version + # https://nvd.nist.gov/vuln/detail/CVE-2016-9296 + patch -p1 -i $SRC/CVE-2016-9296.patch + + # https://nvd.nist.gov/vuln/detail/CVE-2017-17969 + patch -p1 -i $SRC/CVE-2017-17969.patch + + # https://nvd.nist.gov/vuln/detail/CVE-2018-5996 + patch -p1 -i $SRC/CVE-2018-5996.patch + cp makefile.linux_amd64_asm makefile.machine make all3 OPTFLAGS="$CFLAGS" |