1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 21:27:36 +00:00

Ports: Update bash to 5.1.8

Also switches to using a sha256 signature check.
This commit is contained in:
Luke 2021-07-29 18:14:59 +01:00 committed by Linus Groh
parent e3b588a43d
commit 999448066f
9 changed files with 58 additions and 60 deletions

View file

@ -1,13 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=bash
version=5.0
version=5.1.8
useconfigure=true
configopts="--disable-nls --without-bash-malloc"
files="https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz.sig bash-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg bash-${version}.tar.gz.sig"
files="https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz 0cfb5c9bb1a29f800a97bd242d19511c997a1013815b805e0fdd32214113d6be"
auth_type="sha256"
build() {
run_replace_in_file "s/define GETCWD_BROKEN 1/undef GETCWD_BROKEN/" config.h