void-packages/srcpkgs/tiff/template
maxice8 9cf12a7d58 tiff: Apply security patches from debian
Before

$ ./cve-check tiff
using srcpkgs/tiff/cve-check.
CVE: CVE-2017-17095 SEVERITY: 6.8
CVE: CVE-2017-17942 SEVERITY: 6.8
CVE: CVE-2017-18013 SEVERITY: 4.3
CVE: CVE-2018-10126 SEVERITY: 4.3
CVE: CVE-2018-10963 SEVERITY: 4.3
CVE: CVE-2018-12900 SEVERITY: 6.8
CVE: CVE-2018-5784 SEVERITY: 4.3
CVE: CVE-2018-7456 SEVERITY: 4.3
CVE: CVE-2018-8905 SEVERITY: 6.8

After

$ cve-check tiff
using srcpkgs/tiff/cve-check.
CVE: CVE-2017-17942 SEVERITY: 6.8
CVE: CVE-2018-10126 SEVERITY: 4.3
CVE: CVE-2018-12900 SEVERITY: 6.8
2018-10-02 11:37:56 +02:00

38 lines
988 B
Bash

# Template file for 'tiff'
pkgname=tiff
version=4.0.9
revision=2
patch_args="-Np1"
build_style=gnu-configure
configure_args="--enable-cxx --without-x"
hostmakedepends="automake libtool"
makedepends="zlib-devel libjpeg-turbo-devel liblzma-devel"
short_desc="Library and tools for reading and writing TIFF data files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://libtiff.maptools.org/"
distfiles="http://download.osgeo.org/libtiff/tiff-${version}.tar.gz"
checksum=6e7bdeec2c310734e734d19aae3a71ebe37a4d842e0e23dbb1b8921c0026cfcd
pre_configure() {
autoreconf -fi
}
post_install() {
for f in ${DESTDIR}/usr/share/man/man3/*.3tiff; do
mv ${f} ${f%tiff}
done
vlicense COPYRIGHT
}
tiff-devel_package() {
depends="${makedepends} tiff>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3
vmove usr/share/doc
}
}