2022-08-02 04:08:18 +03:00
|
|
|
|
distributable:
|
|
|
|
|
url: https://ftp.gnu.org/gnu/bash/bash-{{ version.raw }}.tar.gz
|
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
|
|
versions:
|
|
|
|
|
#TODO possibly, `github: bminor/bash/tags` though doesn’t know patch releases
|
|
|
|
|
#TODO HTML listing: https://ftp.gnu.org/gnu/bash/
|
|
|
|
|
- 5.1.16
|
|
|
|
|
|
|
|
|
|
provides:
|
|
|
|
|
- bin/bash
|
|
|
|
|
- bin/bashbug
|
|
|
|
|
|
2023-01-14 23:57:43 +03:00
|
|
|
|
interprets:
|
|
|
|
|
extensions: bash
|
|
|
|
|
args: [bash, -e]
|
|
|
|
|
|
2022-08-02 04:08:18 +03:00
|
|
|
|
build:
|
|
|
|
|
dependencies:
|
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
|
script: |
|
|
|
|
|
./configure --prefix={{ prefix }}
|
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
|
env:
|
|
|
|
|
# causes bash to source ~/.bashrc when instantiated
|
|
|
|
|
# non-interactively from sshd. macOS’s bash does this so users expect it.
|
2023-04-16 02:06:40 +03:00
|
|
|
|
CFLAGS: $CFLAGS -DSSH_SOURCE_BASHRC
|
2022-08-02 04:08:18 +03:00
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
script: |
|
|
|
|
|
bash -c "set -o pipefail"
|