aboutsummaryrefslogtreecommitdiffstats
path: root/main/tiff/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/tiff/APKBUILD')
-rw-r--r--main/tiff/APKBUILD31
1 files changed, 27 insertions, 4 deletions
diff --git a/main/tiff/APKBUILD b/main/tiff/APKBUILD
index c580a84a30..4b34846518 100644
--- a/main/tiff/APKBUILD
+++ b/main/tiff/APKBUILD
@@ -2,17 +2,33 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=tiff
pkgver=3.8.2
-pkgrel=0
+pkgrel=1
pkgdesc="Provides support for the Tag Image File Format or TIFF"
url="http://www.libtiff.org/"
license="GPL"
-depends="uclibc"
+depends=
subpackages="$pkgname-doc $pkgname-dev"
-source="ftp://ftp.remotesensing.org/pub/lib$pkgname/$pkgname-$pkgver.tar.gz"
+source="ftp://ftp.remotesensing.org/pub/lib$pkgname/$pkgname-$pkgver.tar.gz
+ CVE-2006-3459-3465.patch
+ libtiff-CVE-2009-2285.patch
+ tiff-3.8.2-CVE-2008-2327.patch
+ tiff-3.8.2-CVE-2009-2347.patch
+ tiff2pdf-compression.patch
+ tiff2pdf-octal-printf.patch
+ tiffsplit-fname-overflow.patch
+ "
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 < ../tiff2pdf-octal-printf.patch || return 1
+ patch -p1 < ../tiffsplit-fname-overflow.patch || return 1
+ patch -p1 < ../CVE-2006-3459-3465.patch || return 1
+ patch -p1 < ../tiff2pdf-compression.patch || return 1
+ patch -p1 < ../tiff-3.8.2-CVE-2008-2327.patch || return 1
+ patch -p1 < ../libtiff-CVE-2009-2285.patch || return 1
+ patch -p1 < ../tiff-3.8.2-CVE-2009-2347.patch || return 1
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -23,4 +39,11 @@ build() {
}
-md5sums="fbb6f446ea4ed18955e2714934e5b698 tiff-3.8.2.tar.gz"
+md5sums="fbb6f446ea4ed18955e2714934e5b698 tiff-3.8.2.tar.gz
+624d3067e6a4c0680767eb62253ea980 CVE-2006-3459-3465.patch
+ff61077408727a82281f77a94f555e2a libtiff-CVE-2009-2285.patch
+c2c2e22557d9c63011df5777dda6a86b tiff-3.8.2-CVE-2008-2327.patch
+d3b02693cca83e63005b162edd43016b tiff-3.8.2-CVE-2009-2347.patch
+b443ffca9d498bb3a88c17da0200025b tiff2pdf-compression.patch
+d54368687d2645ffbbe6c2df384b11bf tiff2pdf-octal-printf.patch
+323352fd60a7bd3ffac8724c3c031669 tiffsplit-fname-overflow.patch"