summaryrefslogtreecommitdiff
path: root/libtiff-32/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libtiff-32/Pkgfile')
-rw-r--r--libtiff-32/Pkgfile17
1 files changed, 14 insertions, 3 deletions
diff --git a/libtiff-32/Pkgfile b/libtiff-32/Pkgfile
index 4376f758..57848131 100644
--- a/libtiff-32/Pkgfile
+++ b/libtiff-32/Pkgfile
@@ -5,13 +5,24 @@
name=libtiff-32
version=4.0.3
-release=1
-source=(http://download.osgeo.org/libtiff/tiff-$version.tar.gz)
+release=2
+source=(http://download.osgeo.org/libtiff/tiff-$version.tar.gz
+ gif2tiff-buffer-overflow.patch
+ tiff2pdf_use-after-free.patch
+ lzw-oob-write.patch
+ tiff-4.0.3-CVE-2013-4243.patch
+ tiff-4.0.3-CVE-2013-1960.patch)
build() {
cd tiff-$version
+ patch -d tools -p0 -i $SRC/tiff2pdf_use-after-free.patch
+ patch -d tools -p0 -i $SRC/gif2tiff-buffer-overflow.patch
+ patch -d tools -p0 -i $SRC/lzw-oob-write.patch
+ patch -p0 -i $SRC/tiff-4.0.3-CVE-2013-4243.patch
+ patch -p1 -i $SRC/tiff-4.0.3-CVE-2013-1960.patch
+
./configure --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/man
make
make DESTDIR=$PKG install
- rm -rf $PKG/usr/{bin,include,share,man}
+ rm -r $PKG/usr/{bin,include,share,man}
}

Generated by cgit