summaryrefslogtreecommitdiff
path: root/user/tiff/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 02:21:21 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 02:21:21 -0500
commitd9d3051169620f9c1e3aa6925d1ccd4a0e64004f (patch)
treea107c65dae3ec16ec62a522a9f93d8d60b532fa9 /user/tiff/APKBUILD
parent665faf54a6707c3d7ea1280987bf5857fd92568a (diff)
downloadpackages-d9d3051169620f9c1e3aa6925d1ccd4a0e64004f.tar.gz
packages-d9d3051169620f9c1e3aa6925d1ccd4a0e64004f.tar.bz2
packages-d9d3051169620f9c1e3aa6925d1ccd4a0e64004f.tar.xz
packages-d9d3051169620f9c1e3aa6925d1ccd4a0e64004f.zip
user/tiff: pull in, take, fix
Diffstat (limited to 'user/tiff/APKBUILD')
-rw-r--r--user/tiff/APKBUILD75
1 files changed, 75 insertions, 0 deletions
diff --git a/user/tiff/APKBUILD b/user/tiff/APKBUILD
new file mode 100644
index 000000000..f05bcbc2f
--- /dev/null
+++ b/user/tiff/APKBUILD
@@ -0,0 +1,75 @@
+# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=tiff
+pkgver=4.0.9
+pkgrel=2
+pkgdesc="Library to read, create, and manipulate TIFF image files"
+url="http://www.libtiff.org/"
+arch="all"
+license="MIT"
+depends=
+depends_dev="zlib-dev libjpeg-turbo-dev"
+makedepends="libtool autoconf automake $depends_dev"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-tools"
+source="http://download.osgeo.org/libtiff/$pkgname-$pkgver.tar.gz
+ CVE-2017-18013.patch
+ "
+# secfixes:
+# 4.0.9-r1:
+# - CVE-2017-18013
+# 4.0.9-r0:
+# - CVE-2017-16231
+# - CVE-2017-16232
+# 4.0.8-r1:
+# - CVE-2017-9936
+# - CVE-2017-10688
+# 4.0.7-r2:
+# - CVE-2017-7592
+# - CVE-2017-7593
+# - CVE-2017-7594
+# - CVE-2017-7595
+# - CVE-2017-7596
+# - CVE-2017-7598
+# - CVE-2017-7601
+# - CVE-2017-7602
+# 4.0.7-r1:
+# - CVE-2017-5225
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --disable-cxx
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+tools() {
+ pkgdesc="Command-line utility programs for manipulating TIFF files"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+sha512sums="04f3d5eefccf9c1a0393659fe27f3dddd31108c401ba0dc587bca152a1c1f6bc844ba41622ff5572da8cc278593eff8c402b44e7af0a0090e91d326c2d79f6cd tiff-4.0.9.tar.gz
+2baa66963302ff51e34774d6e0703f769ba1ca7f527456ae13ea230af69280e024440390df9b5a51776fc29cb6d2d40713431a2c2d98f29e50e3f8f5a7f4d73b CVE-2017-18013.patch"