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:
|
2023-05-08 17:05:55 +03:00
|
|
|
|
url: https://ftp.gnu.org/gnu/bash/
|
|
|
|
|
match: /bash-\d+\.\d+(\.\d+)?.tar.gz/
|
|
|
|
|
strip:
|
|
|
|
|
- /^bash-/
|
|
|
|
|
- /\.tar\.gz$/
|
2022-08-02 04:08:18 +03:00
|
|
|
|
|
|
|
|
|
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:
|
|
|
|
|
script: |
|
|
|
|
|
./configure --prefix={{ prefix }}
|
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
|
env:
|
2023-11-10 01:11:02 +03:00
|
|
|
|
CFLAGS:
|
|
|
|
|
# causes bash to source ~/.bashrc when instantiated
|
|
|
|
|
# non-interactively from sshd. macOS’s bash does this so users expect it.
|
|
|
|
|
- -DSSH_SOURCE_BASHRC
|
|
|
|
|
- -Wno-implicit-function-declaration
|
2022-08-02 04:08:18 +03:00
|
|
|
|
|
2023-10-02 03:41:57 +03:00
|
|
|
|
test: bash -c "set -o pipefail"
|