aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-12-21 12:57:38 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-12-22 04:37:39 +0000
commitad6429b547becd15b2e82b9baba34c100c9908de (patch)
tree907fd846c50da58802ed8e828a5355fc41e16f48
parent61736b7067bc0012959eb92cc67e7dbec1ed69cb (diff)
downloadaports-ad6429b547becd15b2e82b9baba34c100c9908de.tar.gz
aports-ad6429b547becd15b2e82b9baba34c100c9908de.tar.bz2
aports-ad6429b547becd15b2e82b9baba34c100c9908de.tar.xz
main/tiff: switch to gitlab as homepage and source
libtiff.org has all sorts of misleading links and is not even HTTPS, it also says that the latest version is 3.6.1
-rw-r--r--main/tiff/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/tiff/APKBUILD b/main/tiff/APKBUILD
index 2ed8a45eff..20f5d69cb7 100644
--- a/main/tiff/APKBUILD
+++ b/main/tiff/APKBUILD
@@ -3,18 +3,19 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=tiff
pkgver=4.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Provides support for the Tag Image File Format or TIFF"
-url="http://www.libtiff.org"
+url="https://gitlab.com/libtiff/libtiff"
arch="all"
license="libtiff"
depends_dev="zlib-dev libjpeg-turbo-dev"
makedepends="libtool autoconf automake $depends_dev"
checkdepends="diffutils"
subpackages="$pkgname-doc $pkgname-dev $pkgname-tools libtiffxx:_libtiffxx"
-source="http://download.osgeo.org/libtiff/tiff-$pkgver.tar.gz
+source="https://gitlab.com/libtiff/libtiff/-/archive/v$pkgver/libtiff-v$pkgver.tar.gz
CVE-2018-12900.patch
"
+builddir="$srcdir/libtiff-v$pkgver"
# secfixes:
# 4.1.0-r0:
@@ -62,6 +63,11 @@ source="http://download.osgeo.org/libtiff/tiff-$pkgver.tar.gz
# 4.0.7-r1:
# - CVE-2017-5225
+prepare() {
+ default_prepare
+ autoreconf -fi
+}
+
build() {
./configure \
--build=$CBUILD \
@@ -94,5 +100,5 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-sha512sums="fd541dcb11e3d5afaa1ec2f073c9497099727a52f626b338ef87dc93ca2e23ca5f47634015a4beac616d4e8f05acf7b7cd5797fb218758cc2ad31b390491c5a6 tiff-4.1.0.tar.gz
+sha512sums="b8a278bc1b7c8ee73ceb2ac5c863c4beb52f765a99656e24aba093365ed3e6ac9c0fb4f635361690885d4372ec7978e2e410c05ec4ce29bbb83e0741aacbcad7 libtiff-v4.1.0.tar.gz
c321f1d4e5d334cdb3b0800299e8165055c040c0c030220769ccfdadcc7fd35a0f3231115f44dc86fe5e34f32eafe1074aa85495a744717f8fc10c0cab2ab085 CVE-2018-12900.patch"