Commit Graph

42 Commits

Author SHA1 Message Date
Fabrice Fontaine ae165deaf5 libs/tiff: fix license
tiff is licensed under its own "libtiff" license and not BSD-3-Clause

Fixes: 364de5bc3f (tiff: add licensing information)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 22:31:28 +01:00
krant 03139ed902 tiff: update to 4.6.0
- Don't set CMake options which are on by default

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-01-31 14:04:21 +02:00
Nick Hainke 342a2d4295 tiff: update to 4.5.0
Release Notes:
http://www.simplesystems.org/libtiff/releases/v4.5.0.html

Remove upstreamed:
- 010-CVE-2022-2519.patch
- 020-CVE-2022-2520.patch

Fixes: CVE-2022-2056, CVE-2022-2057, CVE-2022-2058, CVE-2022-3570,
       CVE-2022-3598, CVE-2022-3627, CVE-2022-3597, CVE-2022-3626,
       CVE-2022-3599, CVE-2022-34526
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-16 20:15:29 +02:00
Sebastian Kemper e3c6da4e25 tiff: force libdeflate support to off
Commit 81d2b72 added a package providing libdeflate. Tiff by default
links to it, causing a build error.

Package libtiff is missing dependencies for the following libraries:
libdeflate.so.0

This commit forces libdeflate use off to avoid this. No revision bump is
done because the package is currently not compiling anyway.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2023-03-07 22:31:44 +01:00
Rosen Penev 65c9f9524d tiff: don't use AUTORELEASE
Seems upstream wants to get rid of it.

Backport upstream patches fixing several CVEs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-13 21:04:14 -08:00
Rosen Penev 726c87b576 tiff: update to 4.4.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-06 13:08:57 -08:00
Jiri Slachta d3a0aaca7d
Merge pull request #15747 from neheb/tiff2
tiff: update to 4.2.3
2021-06-19 22:07:42 +02:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev 2072dc396f tiff: update to 4.2.3
Remove automake patch as it's not used.

Remove ftell patch as it seems to not be needed anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-01 23:10:37 -07:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Rosen Penev c3544ac71d tiff: get rid of libtiffxx
Nothing uses it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-05 15:07:24 -08:00
Rosen Penev c0937bbed1
tiff: update to 4.2.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-22 19:25:49 -08:00
Sebastian Kemper a82cb6fd2c tiff: declare ABI_VERSION in libtiffxx as well
ABI_VERSION is used in Package/libtiffxx/install but not defined, so we
don't get SONAME treatment for libtiffxx. This commit adds the missing
ABI_VERSION.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-06-30 18:16:46 +02:00
Rosen Penev e9d98f4bc1
tiff: switch to CMake
Allows removing autotools hacks. Also simplified InstallDev section.

Added ABI_VERSION parameter for proper rebuilds. Also used in the
pkgconfig path fixup.

Small cleanups for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-29 14:55:40 -07:00
Jiri Slachta a1a5799f07 tiff: update version to 4.1.0
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2019-11-11 21:49:06 +01:00
Jeffery To 1b90bf0db0 tiff: Install pkg-config metadata file in Build/InstallDev
Some programs use pkg-config to discover installed libraries.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-05-02 17:03:56 +08:00
Jan Pavlinec bd26dea94a
tiff: patch security issues
Fixes
CVE-2019-7663
CVE-2019-6128

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-04-09 13:29:59 +02:00
Sebastian Kemper ce14236117 tiff: disable ZSTD and WebP codecs explicitly
tiff 4.0.10 added two new compression codecs, ZSTD and WebP. If the
respective libraries are found, these codecs will be built. Currently
they're not built, because these libraries do not exist in OpenWrt.

This commit adds the configure switches to disable these codecs. It's
likely that any of these libs will make their way into OpenWrt sooner or
later, so this commit prevents the related build failures (missing
depends).

If there is a need to enable these codecs in tiff in the future, then
this can be done, obviously, but at least there will be no build failure
suprises in the meantime.

Also, this commit corrects the homepage of libtiff.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-02 11:16:26 +01:00
Rosen Penev 1c10f60c13 tiff: Update to 4.0.10
Fixes all CVEs as well as a few more.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-14 09:36:55 -08:00
Rosen Penev a430500ffb tiff: Fix CVE-2017-17095
Fedora does not have a fix for this but Debian does. Took fix from there.

There are two more CVEs as reported by uscan but I can't seem to find
patches for those.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-26 21:23:50 -07:00
Rosen Penev 29ffbead75 tiff: Fix remaining CVEs
Taken from Fedora. Reordered them so as to apply properly.

Added a CPE ID.

Added parallel build for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-17 18:19:00 -07:00
Sebastian Kemper 883af8a5d1 tiff: revert uclibc++ commit
This reverts 5b5659850d.

In hindsight I have to admit I did not correctly understand the
implications of the uclibc++.mk include.

The include allows a package to follow the user's choice regarding which
C++ library should be the standard. Linking against uClibc++ instead of
libstd++ is not a problem when running musl (which is what I had
incorrectly assumed), as both C++ libs are separate packages. And
uClibc++ is a lot smaller than libstd++, which is probably why it is
even the default C++ lib on OpenWrt currently.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-04 19:14:10 +01:00
Sebastian Kemper a257f44b30 tiff: install headers of the c++ bindings
Make sure that the c++ headers get installed to the staging directory
when libtiffxx was selected/built.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-25 20:06:06 +01:00
Sebastian Kemper 4ade6e6f7a tiff: use CONFIGURE_ARGS
Simplify the Makefile. No functional change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-25 20:03:41 +01:00
Sebastian Kemper b0c9cc9b19 tiff: switch PKG_SOURCE_URL to HTTPS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-25 20:01:27 +01:00
Sebastian Kemper 47b3a829d7 tiff: update install defines
- Use $(INSTALL_DATA) for headers (and really copy only the headers).
- Install _all_ symlinks.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:58:41 +01:00
Sebastian Kemper fad6014357 tiff: remove $(FPIC) from TARGET_CFLAGS
tiff already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the tiff build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Also with $(FPIC) in CFLAGS even the tiff utils get compiled with PIC,
which us undesirable.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:56:03 +01:00
Sebastian Kemper 5b5659850d tiff: remove uclibc++.mk include
The include injects a lib depend on libuClibc++.so.0 into the package,
even on musl. Remove it and replace the depend with libstcpp instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:54:25 +01:00
Sebastian Kemper f48dade356 tiff: version bump
- bump version to 4.0.9
- add patches copied from Debian for CVE-2017-18013 and CVE-2017-9935

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-30 15:00:02 +01:00
Jiri Slachta 272f907135 tiff: update package to version 4.0.8
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-08-18 11:27:50 +02:00
Jiri Slachta fa91da9aeb tiff: update to version 4.0.7 with CVE fixes
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-05-04 14:15:34 +02:00
Alberto Bursi 3e7d592316 tiff-utils: move to Image Manipulation submenu
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-11-02 12:34:31 +01:00
Jiri Slachta a3a8bbdc51 libssh2, libxslt, tiff: change PKG_MAINTAINER email address
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2016-05-31 20:22:37 +02:00
Jo-Philipp Wich ae2c7c824f tiff: fix wrong declaration of ftell() compat macro
The libtiff library declares an `ftell()` compat macro redirecting calls
to `ftello()` if such an implementation exists. The compat macro however
is declared with a wrong number of arguments, leading to the following
error on our buildbots:

    In file included from .../usr/include/uClibc++/iostream:29:0,
                     from tif_stream.cxx:31:
    .../usr/include/uClibc++/fstream:422:22: error: macro "ftell" requires 3 arguments, but only 1 given
         retval = ftell(fp);

Add a patch to fix the macro definition in order to fix compilation of
the tiff package.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-05-19 14:29:57 +02:00
Jiri Slachta 7c7614efb5 tiff: update to 4.0.6
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2016-04-05 14:34:54 +02:00
Jiri Slachta 5b83e7cfa8 tiff: fix CVE-2014-9330
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2015-01-28 21:12:21 +01:00
Jiri Slachta 364de5bc3f tiff: add licensing information
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-10 09:25:21 +02:00
Jiri Slachta aafd3b9572 tiff: fix multiple CVE's
This commit fixes multiple CVE's for library tiff:
CVE-2012-4564
CVE-2013-1960
CVE-2013-1961
CVE-2013-4231
CVE-2013-4232
CVE-2013-4244
CVE-2013-4243

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-04 12:08:07 +02:00
Jiri Slachta 3dd358e1f1 tiff: add tiff package back, take over maintainership
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-07-31 15:20:15 +02:00
Steven Barth 0cb8ba433a tiff, giflib: removed for being abandoned
Signed-off-by: Steven Barth <steven@midlink.org>
2014-07-29 09:00:15 +02:00
Steven Barth 1ab5d3643a tiff, giflib: remove maintainer as per request
Signed-off-by: Steven Barth <steven@midlink.org>
2014-07-27 12:47:50 +02:00
Oliver Ertl 2ebd144735 inport tiff from oldpackages, refresh patches and add myself and maintainer
Signed-off-by: Oliver Ertl <oliver-ertl@t-online.de>
2014-07-20 13:16:29 +02:00