Ports: Use immutable tarballs for libsodium

The "stable" tarballs appear to be continuously updated after the
release.
This commit is contained in:
Tim Schumacher 2021-11-01 10:19:33 +01:00 committed by Andreas Kling
parent e42431ec7c
commit 37aa75c370
Notes: sideshowbarker 2024-07-18 01:32:10 +09:00
3 changed files with 16 additions and 4 deletions

View file

@ -85,7 +85,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libpng`](libpng/) | libpng | 1.6.37 | https://libpng.org/ | | [`libpng`](libpng/) | libpng | 1.6.37 | https://libpng.org/ |
| [`libpuffy`](libpuffy/) | libpuffy | 1.0 | https://github.com/ibara/libpuffy | | [`libpuffy`](libpuffy/) | libpuffy | 1.0 | https://github.com/ibara/libpuffy |
| [`libsixel`](libsixel/) | libsixel | 1.8.6 | https://github.com/saitoha/libsixel | | [`libsixel`](libsixel/) | libsixel | 1.8.6 | https://github.com/saitoha/libsixel |
| [`libsodium`](libsodium/) | libsodium | 1.0.18-stable | https://doc.libsodium.org/ | | [`libsodium`](libsodium/) | libsodium | 1.0.18 | https://doc.libsodium.org/ |
| [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.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.2.0 | http://www.libtiff.org/ |
| [`libtool`](libtool/) | libtool | 2.4 | https://www.gnu.org/software/libtool/ | | [`libtool`](libtool/) | libtool | 2.4 | https://www.gnu.org/software/libtool/ |

View file

@ -1,9 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh #!/usr/bin/env -S bash ../.port_include.sh
port=libsodium port=libsodium
version=1.0.18-stable version=1.0.18
useconfigure=true useconfigure=true
workdir=libsodium-stable workdir=libsodium-${version}
files="https://download.libsodium.org/libsodium/releases/libsodium-${version}.tar.gz libsodium-${version}.tar.gz 3c240fcd414189492d7c7dc12d2cf48f67bf04142ce2f60b620adb5bac6ca732" files="https://download.libsodium.org/libsodium/releases/libsodium-${version}.tar.gz libsodium-${version}.tar.gz 6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1"
auth_type=sha256 auth_type=sha256
install() { install() {

View file

@ -0,0 +1,12 @@
diff -ur a/build-aux/config.sub b/build-aux/config.sub
--- a/build-aux/config.sub 2019-05-30 22:20:06.000000000 +0200
+++ b/build-aux/config.sub 2021-11-01 10:53:11.568353185 +0100
@@ -1341,7 +1341,7 @@
# The portable systems comes first.
# 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* \
+ gnu* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | kopensolaris* | plan9* \