For the release note, see: http://www.simplesystems.org/libtiff/releases/v4.7.0.html This commit also adds the _SOURCE variable, to switch to the xz archive, which saves ~1.5MB. The _SITE url is also updated to switch to the https protocol. This commit also adds a comment in the hash file about pgp signature veritication. Fixes: - https://nvd.nist.gov/vuln/detail/CVE-2023-6277 - https://nvd.nist.gov/vuln/detail/CVE-2023-52356 - https://nvd.nist.gov/vuln/detail/CVE-2024-7006 Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit d571951c67d63824fcdf96cba8b59c80876a827a) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
122 lines
2.5 KiB
Makefile
122 lines
2.5 KiB
Makefile
################################################################################
|
|
#
|
|
# tiff
|
|
#
|
|
################################################################################
|
|
|
|
TIFF_VERSION = 4.7.0
|
|
TIFF_SOURCE = tiff-$(TIFF_VERSION).tar.xz
|
|
TIFF_SITE = https://download.osgeo.org/libtiff
|
|
TIFF_LICENSE = tiff license
|
|
TIFF_LICENSE_FILES = LICENSE.md
|
|
TIFF_CPE_ID_VENDOR = libtiff
|
|
TIFF_CPE_ID_PRODUCT = libtiff
|
|
TIFF_INSTALL_STAGING = YES
|
|
|
|
# webp has a (optional) dependency on tiff, so we can't have webp
|
|
# support in tiff, or that would create a circular dependency.
|
|
TIFF_CONF_OPTS = \
|
|
--disable-contrib \
|
|
--disable-lerc \
|
|
--disable-jbig \
|
|
--disable-tests \
|
|
--disable-webp
|
|
|
|
TIFF_DEPENDENCIES = host-pkgconf
|
|
|
|
HOST_TIFF_CONF_OPTS = \
|
|
--disable-cxx \
|
|
--disable-zlib \
|
|
--disable-lerc \
|
|
--disable-libdeflate \
|
|
--disable-lzma \
|
|
--disable-jbig \
|
|
--disable-jpeg \
|
|
--disable-tests \
|
|
--disable-webp \
|
|
--disable-zstd
|
|
HOST_TIFF_DEPENDENCIES = host-pkgconf
|
|
|
|
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
|
TIFF_CONF_OPTS += --enable-cxx
|
|
else
|
|
TIFF_CONF_OPTS += --disable-cxx
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_CCITT),y)
|
|
TIFF_CONF_OPTS += --disable-ccitt
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF_LIBDEFLATE),y)
|
|
TIFF_CONF_OPTS += --enable-libdeflate
|
|
TIFF_DEPENDENCIES += libdeflate
|
|
else
|
|
TIFF_CONF_OPTS += --disable-libdeflate
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_PACKBITS),y)
|
|
TIFF_CONF_OPTS += --disable-packbits
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_LZW),y)
|
|
TIFF_CONF_OPTS += --disable-lzw
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_THUNDER),y)
|
|
TIFF_CONF_OPTS += --disable-thunder
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_NEXT),y)
|
|
TIFF_CONF_OPTS += --disable-next
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_LOGLUV),y)
|
|
TIFF_CONF_OPTS += --disable-logluv
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_MDI),y)
|
|
TIFF_CONF_OPTS += --disable-mdi
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_ZLIB),y)
|
|
TIFF_CONF_OPTS += --disable-zlib
|
|
else
|
|
TIFF_DEPENDENCIES += zlib
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_XZ),y)
|
|
TIFF_CONF_OPTS += --disable-lzma
|
|
else
|
|
TIFF_DEPENDENCIES += xz
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_PIXARLOG),y)
|
|
TIFF_CONF_OPTS += --disable-pixarlog
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_JPEG),y)
|
|
TIFF_CONF_OPTS += --disable-jpeg
|
|
else
|
|
TIFF_DEPENDENCIES += jpeg
|
|
endif
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_OLD_JPEG),y)
|
|
TIFF_CONF_OPTS += --disable-old-jpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF_UTILITIES),y)
|
|
TIFF_CONF_OPTS += --enable-tools
|
|
else
|
|
TIFF_CONF_OPTS += --disable-tools
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF_ZSTD),y)
|
|
TIFF_CONF_OPTS += --enable-zstd
|
|
TIFF_DEPENDENCIES += zstd
|
|
else
|
|
TIFF_CONF_OPTS += --disable-zstd
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|