summaryrefslogtreecommitdiff
path: root/Ports/bash
diff options
context:
space:
mode:
authorEmanuel Sprung <emanuel.sprung@gmail.com>2020-02-04 01:11:35 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 14:06:23 +0100
commitf46d80ac4fc2d9c4d3da9baf5515d2af9c577596 (patch)
tree2e0ad4da9691ebb725851756ac7f670309f1c17c /Ports/bash
parent991953ab0a957484ca1333de466374952381d1b2 (diff)
downloadserenity-f46d80ac4fc2d9c4d3da9baf5515d2af9c577596.zip
Ports: Added checksums / signature files and other fixes
* Use ${version} instead of explicit version numbers in urls/filenames * Move -L option to port script, as this is always good * Fix some various other stuff
Diffstat (limited to 'Ports/bash')
-rwxr-xr-xPorts/bash/package.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/Ports/bash/package.sh b/Ports/bash/package.sh
index 56daeb313f..019c34a5d7 100755
--- a/Ports/bash/package.sh
+++ b/Ports/bash/package.sh
@@ -3,7 +3,11 @@ port=bash
version=5.0
useconfigure=true
configopts="--disable-nls --without-bash-malloc"
-files="https://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz bash-5.0.tar.gz"
+files="https://ftp.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz
+https://ftp.gnu.org/gnu/bash/bash-${version}.tar.gz.sig bash-${version}.tar.gz.sig
+https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
+auth_type="sig"
+auth_opts="--keyring ./gnu-keyring.gpg bash-${version}.tar.gz.sig"
build() {
run_replace_in_file "s/define GETCWD_BROKEN 1/undef GETCWD_BROKEN/" config.h