[arch-commits] Commit in libtiff/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Nov 19 20:25:39 UTC 2018
Date: Monday, November 19, 2018 @ 20:25:38
Author: anthraxx
Revision: 340143
upgpkg: libtiff 4.0.10-1
Modified:
libtiff/trunk/PKGBUILD
----------+
PKGBUILD | 49 +++++++++++++++++++------------------------------
1 file changed, 19 insertions(+), 30 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-19 18:22:04 UTC (rev 340142)
+++ PKGBUILD 2018-11-19 20:25:38 UTC (rev 340143)
@@ -1,41 +1,28 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
pkgname=libtiff
-pkgver=4.0.9
-pkgrel=2
-pkgdesc="Library for manipulation of TIFF images"
+pkgver=4.0.10
+pkgrel=1
+pkgdesc='Library for manipulation of TIFF images'
+url='http://www.simplesystems.org/libtiff/'
arch=('x86_64')
-url="http://www.simplesystems.org/libtiff/"
license=('custom')
-depends=('libjpeg' 'zlib' 'xz')
+depends=('libjpeg' 'zlib' 'xz' 'zstd')
makedepends=('freeglut' 'glu' 'mesa' 'jbigkit')
optdepends=('freeglut: for using tiffgt')
-source=(http://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz
- CVE-2017-18013.patch::"https://gitlab.com/libtiff/libtiff/commit/c6f41df7.diff"
- CVE-2018-5784.patch::"https://gitlab.com/libtiff/libtiff/commit/473851d2.diff"
- CVE-2018-7456.patch::"https://gitlab.com/libtiff/libtiff/commit/be4c85b1.diff"
- CVE-2018-8905.patch::"https://gitlab.com/libtiff/libtiff/commit/58a898cb.diff"
- CVE-2018-10963.patch::"https://gitlab.com/libtiff/libtiff/commit/de144fd2.diff")
-sha256sums=('6e7bdeec2c310734e734d19aae3a71ebe37a4d842e0e23dbb1b8921c0026cfcd'
- 'ea49366f085d324073bdbcc183db9b190e7ff4178649daf158e91ea1cfb12fef'
- 'b93ff957acc1236481e9c5f33844334c62f3636d575f5f2cc418491349ebe7a5'
- '2e00f46633e205fb6ed04957f07c5b13e3cc527876076c3cbda80f3894220909'
- '8aed7c35dd2fb79af16a704a95cddff2852f85dbb019e9e9cdb54638b529935b'
- 'f3c46de22050adad6da91498c549562af833d48e84028f36da5ec0387534e8af')
+source=(https://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz{,.sig})
+sha256sums=('2c52d11ccaf767457db0c46795d9c7d1a8d8f76f68b0b800a3dfe45786b996e4'
+ 'SKIP')
+validpgpkeys=('EBDFDB21B020EE8FD151A88DE301047DE1198975') # Bob Friesenhahn <bfriesen at simple.dallas.tx.us>
-prepare() {
- cd tiff-$pkgver
-# Security fixes
- patch -p1 -i ../CVE-2017-18013.patch
- patch -p1 -i ../CVE-2018-5784.patch
- patch -p1 -i ../CVE-2018-7456.patch
- patch -p1 -i ../CVE-2018-8905.patch
- patch -p1 -i ../CVE-2018-10963.patch
-}
-
build() {
cd tiff-${pkgver}
- ./configure --prefix=/usr
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --with-docdir=/usr/share/doc/${pkgname}
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
@@ -48,5 +35,7 @@
package() {
cd tiff-${pkgver}
make DESTDIR="${pkgdir}" install
- install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list