diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-06-06 14:01:16 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-07 21:21:54 +0100 |
| commit | 570991487424397bf8374e77320820ce89493b3a (patch) | |
| tree | 6370c28e8541f2dec687f9d8be24be98924f9d34 /meta/recipes-multimedia/libtiff/tiff_4.4.0.bb | |
| parent | 6196e496847e67d38462b9b40bba13b021caaf19 (diff) | |
| download | poky-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.bb | 64 |
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 @@ | |||
| 1 | SUMMARY = "Provides support for the Tag Image File Format (TIFF)" | ||
| 2 | DESCRIPTION = "Library provides support for the Tag Image File Format \ | ||
| 3 | (TIFF), a widely used format for storing image data. This library \ | ||
| 4 | provide means to easily access and create TIFF image files." | ||
| 5 | HOMEPAGE = "http://www.libtiff.org/" | ||
| 6 | LICENSE = "BSD-2-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=34da3db46fab7501992f9615d7e158cf" | ||
| 8 | |||
| 9 | CVE_PRODUCT = "libtiff" | ||
| 10 | |||
| 11 | SRC_URI = "http://download.osgeo.org/libtiff/tiff-${PV}.tar.gz" | ||
| 12 | |||
| 13 | SRC_URI[sha256sum] = "917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed" | ||
| 14 | |||
| 15 | # exclude betas | ||
| 16 | UPSTREAM_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 | ||
| 20 | CVE_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. | ||
| 23 | CVE_CHECK_IGNORE += "CVE-2022-1622 CVE-2022-1623" | ||
| 24 | |||
| 25 | # Issue is in jbig which we don't enable | ||
| 26 | CVE_CHECK_IGNORE += "CVE-2022-1210" | ||
| 27 | |||
| 28 | inherit autotools multilib_header | ||
| 29 | |||
| 30 | CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no" | ||
| 31 | |||
| 32 | PACKAGECONFIG ?= "cxx jpeg zlib lzma \ | ||
| 33 | strip-chopping extrasample-as-alpha check-ycbcr-subsampling" | ||
| 34 | |||
| 35 | PACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,," | ||
| 36 | PACKAGECONFIG[jbig] = "--enable-jbig,--disable-jbig,jbig," | ||
| 37 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg," | ||
| 38 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib," | ||
| 39 | PACKAGECONFIG[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 | ||
| 43 | PACKAGECONFIG[strip-chopping] = "--enable-strip-chopping,--disable-strip-chopping,," | ||
| 44 | |||
| 45 | # Treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA | ||
| 46 | PACKAGECONFIG[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 | ||
| 50 | PACKAGECONFIG[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 | ||
| 54 | PACKAGECONFIG[chunky-strip-read] = "--enable-chunky-strip-read,--disable-chunky-strip-read,," | ||
| 55 | |||
| 56 | PACKAGES =+ "tiffxx tiff-utils" | ||
| 57 | FILES:tiffxx = "${libdir}/libtiffxx.so.*" | ||
| 58 | FILES:tiff-utils = "${bindir}/*" | ||
| 59 | |||
| 60 | do_install:append() { | ||
| 61 | oe_multilib_header tiffconf.h | ||
| 62 | } | ||
| 63 | |||
| 64 | BBCLASSEXTEND = "native nativesdk" | ||
