1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:17:34 +00:00

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
3 changed files with 16 additions and 4 deletions

View file

@ -1,9 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libsodium
version=1.0.18-stable
version=1.0.18
useconfigure=true
workdir=libsodium-stable
files="https://download.libsodium.org/libsodium/releases/libsodium-${version}.tar.gz libsodium-${version}.tar.gz 3c240fcd414189492d7c7dc12d2cf48f67bf04142ce2f60b620adb5bac6ca732"
workdir=libsodium-${version}
files="https://download.libsodium.org/libsodium/releases/libsodium-${version}.tar.gz libsodium-${version}.tar.gz 6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1"
auth_type=sha256
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* \