summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libtiff/tiff_4.4.0.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-06-06 14:01:16 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-07 21:21:54 +0100
commit570991487424397bf8374e77320820ce89493b3a (patch)
tree6370c28e8541f2dec687f9d8be24be98924f9d34 /meta/recipes-multimedia/libtiff/tiff_4.4.0.bb
parent6196e496847e67d38462b9b40bba13b021caaf19 (diff)
downloadpoky-570991487424397bf8374e77320820ce89493b3a.tar.gz
tiff: update 4.3.0 -> 4.4.0
Drop all CVE backports. (From OE-Core rev: ec3897659a046e7e3f652cabd04e98bb56f1b261) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/libtiff/tiff_4.4.0.bb')
-rw-r--r--meta/recipes-multimedia/libtiff/tiff_4.4.0.bb64
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libtiff/tiff_4.4.0.bb b/meta/recipes-multimedia/libtiff/tiff_4.4.0.bb
new file mode 100644
index 0000000000..c82965ffa1
--- /dev/null
+++ b/meta/recipes-multimedia/libtiff/tiff_4.4.0.bb
@@ -0,0 +1,64 @@
1SUMMARY = "Provides support for the Tag Image File Format (TIFF)"
2DESCRIPTION = "Library provides support for the Tag Image File Format \
3(TIFF), a widely used format for storing image data. This library \
4provide means to easily access and create TIFF image files."
5HOMEPAGE = "http://www.libtiff.org/"
6LICENSE = "BSD-2-Clause"
7LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=34da3db46fab7501992f9615d7e158cf"
8
9CVE_PRODUCT = "libtiff"
10
11SRC_URI = "http://download.osgeo.org/libtiff/tiff-${PV}.tar.gz"
12
13SRC_URI[sha256sum] = "917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed"
14
15# exclude betas
16UPSTREAM_CHECK_REGEX = "tiff-(?P<pver>\d+(\.\d+)+).tar"
17
18# Tested with check from https://security-tracker.debian.org/tracker/CVE-2015-7313
19# and 4.3.0 doesn't have the issue
20CVE_CHECK_IGNORE += "CVE-2015-7313"
21# These issues only affect libtiff post-4.3.0 but before 4.4.0,
22# caused by 3079627e and fixed by b4e79bfa.
23CVE_CHECK_IGNORE += "CVE-2022-1622 CVE-2022-1623"
24
25# Issue is in jbig which we don't enable
26CVE_CHECK_IGNORE += "CVE-2022-1210"
27
28inherit autotools multilib_header
29
30CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no"
31
32PACKAGECONFIG ?= "cxx jpeg zlib lzma \
33 strip-chopping extrasample-as-alpha check-ycbcr-subsampling"
34
35PACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,,"
36PACKAGECONFIG[jbig] = "--enable-jbig,--disable-jbig,jbig,"
37PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg,"
38PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib,"
39PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz,"
40
41# Convert single-strip uncompressed images to multiple strips of specified
42# size (default: 8192) to reduce memory usage
43PACKAGECONFIG[strip-chopping] = "--enable-strip-chopping,--disable-strip-chopping,,"
44
45# Treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA
46PACKAGECONFIG[extrasample-as-alpha] = "--enable-extrasample-as-alpha,--disable-extrasample-as-alpha,,"
47
48# Control picking up YCbCr subsample info. Disable to support files lacking
49# the tag
50PACKAGECONFIG[check-ycbcr-subsampling] = "--enable-check-ycbcr-subsampling,--disable-check-ycbcr-subsampling,,"
51
52# Support a mechanism allowing reading large strips (usually one strip files)
53# in chunks when using TIFFReadScanline. Experimental 4.0+ feature
54PACKAGECONFIG[chunky-strip-read] = "--enable-chunky-strip-read,--disable-chunky-strip-read,,"
55
56PACKAGES =+ "tiffxx tiff-utils"
57FILES:tiffxx = "${libdir}/libtiffxx.so.*"
58FILES:tiff-utils = "${bindir}/*"
59
60do_install:append() {
61 oe_multilib_header tiffconf.h
62}
63
64BBCLASSEXTEND = "native nativesdk"