From e9d26fb47d5af661e25fc183fd3561e6eb9fc9c0 Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Sat, 8 Jan 2022 02:18:42 +0000 Subject: [PATCH] Ports: Update libtiff port to version 4.3.0 and use sha256 This uses sha256 instead of signatures like what has been done for the other ports. This version of libtiff uses the version of config.sub which has Serenity in it, so this port no longer needs any patches! :^) --- Ports/AvailablePorts.md | 2 +- Ports/libtiff/package.sh | 9 +++------ Ports/libtiff/patches/system-detect.patch | 11 ----------- 3 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 Ports/libtiff/patches/system-detect.patch diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 78677623ee..1fd78fa025 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -94,7 +94,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`libsodium`](libsodium/) | libsodium | 1.0.18 | https://doc.libsodium.org/ | | [`libssh2`](libssh2/) | libssh2 | 1.10.0 | https://www.libssh2.org/ | | [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.org/ | -| [`libtiff`](libtiff/) | libtiff | 4.2.0 | http://www.libtiff.org/ | +| [`libtiff`](libtiff/) | libtiff | 4.3.0 | http://www.libtiff.org/ | | [`libtool`](libtool/) | libtool | 2.4 | https://www.gnu.org/software/libtool/ | | [`libuuid`](libuuid/) | libuuid (from util-linux) | 2.37.2 | https://github.com/karelzak/util-linux/tree/master/libuuid | | [`libuv`](libuv/) | libuv | 1.42.0 | https://github.com/libuv/libuv | diff --git a/Ports/libtiff/package.sh b/Ports/libtiff/package.sh index 79ab1a9d95..f6a638276e 100755 --- a/Ports/libtiff/package.sh +++ b/Ports/libtiff/package.sh @@ -1,12 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=tiff -version=4.2.0 +version=4.3.0 useconfigure=true -files="http://download.osgeo.org/libtiff/tiff-${version}.tar.gz tiff-${version}.tar.gz -http://download.osgeo.org/libtiff/tiff-${version}.tar.gz.sig tiff-${version}.tar.gz.sig" -auth_type="sig" -auth_import_key="EBDFDB21B020EE8FD151A88DE301047DE1198975" -auth_opts=("tiff-${version}.tar.gz.sig" "tiff-${version}.tar.gz") +files="http://download.osgeo.org/libtiff/tiff-${version}.tar.gz tiff-${version}.tar.gz 0e46e5acb087ce7d1ac53cf4f56a09b221537fc86dfc5daaad1c2e89e1b37ac8" +auth_type="sha256" depends=("libjpeg" "zstd" "xz") install() { diff --git a/Ports/libtiff/patches/system-detect.patch b/Ports/libtiff/patches/system-detect.patch deleted file mode 100644 index 2feb9db5c1..0000000000 --- a/Ports/libtiff/patches/system-detect.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- tiff-4.2.0/config/config.sub.orig 2021-02-16 23:55:55.240259207 +0000 -+++ tiff-4.2.0/config/config.sub 2021-02-16 23:55:59.792227377 +0000 -@@ -1393,7 +1393,7 @@ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ -- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) -+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos* | -serenity* ) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*)