summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-11-06 00:13:24 +0100
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-11-06 00:32:36 -0700
commit7391104e5db4835c76a71aa9ecc952c80d6db89e (patch)
tree8704ad240792722210451b62b5fd5dd080af2daa
parent3d3304332a1dcbc88ec0ae2332ea80490a84ed91 (diff)
downloadserenity-7391104e5db4835c76a71aa9ecc952c80d6db89e.zip
Ports: Update pcre2 to 10.39
PCRE2 has moved to GitHub for code and release hosting, and ftp.pcre.org is decommissioned.
-rw-r--r--Ports/AvailablePorts.md2
-rwxr-xr-xPorts/pcre2/package.sh6
-rw-r--r--Ports/pcre2/patches/fix-autoconf.patch10
3 files changed, 4 insertions, 14 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 4bf6d56b17..fd5b3400d3 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -132,7 +132,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`p7zip`](p7zip/) | p7zip | 17.04 | https://github.com/jinfeihan57/p7zip |
| [`patch`](patch/) | patch (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy |
| [`pcre`](pcre/) | Perl-compatible Regular Expressions (PCRE) | 8.44 | https://www.pcre.org/ |
-| [`pcre2`](pcre2/) | Perl-compatible Regular Expressions (PCRE2) | 10.34 | https://www.pcre.org/ |
+| [`pcre2`](pcre2/) | Perl-compatible Regular Expressions (PCRE2) | 10.39 | https://www.pcre.org/ |
| [`php`](php/) | PHP | 8.0.10 | https://www.php.net/ |
| [`pkgconf`](pkgconf/) | pkgconf | 1.8.0 | https://github.com/pkgconf/pkgconf |
| [`SDLPoP`](SDLPoP/) | Prince of Persia game | | https://github.com/NagyD/SDLPoP |
diff --git a/Ports/pcre2/package.sh b/Ports/pcre2/package.sh
index 3afb666a64..e4ebc34222 100755
--- a/Ports/pcre2/package.sh
+++ b/Ports/pcre2/package.sh
@@ -1,9 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=pcre2
-version=10.34
+version=10.39
useconfigure=true
-files="https://ftp.pcre.org/pub/pcre/pcre2-${version}.tar.gz pcre2-${version}.tar.gz
-https://ftp.pcre.org/pub/pcre/pcre2-${version}.tar.gz.sig pcre2-${version}.tar.gz.sig"
+files="https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz pcre2-${version}.tar.gz
+https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz.sig pcre2-${version}.tar.gz.sig"
auth_type="sig"
auth_import_key="45F68D54BBE23FB3039B46E59766E084FB0F43D8"
diff --git a/Ports/pcre2/patches/fix-autoconf.patch b/Ports/pcre2/patches/fix-autoconf.patch
deleted file mode 100644
index 3b18eab762..0000000000
--- a/Ports/pcre2/patches/fix-autoconf.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- pcre2-10.34/config.sub.orig Sun Jan 19 18:21:01 2020
-+++ pcre2-10.34/config.sub Sun Jan 19 18:21:19 2020
-@@ -1364,6 +1364,7 @@
- # Each alternative MUST end in a * to match a version number.
- # -sysv* is not here because it comes later, after sysvr4.
- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
-+ | -serenity* \
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
- | -sym* | -kopensolaris* | -plan9* \