diff --git a/steps-guix/bash-5.3-1/pass1.sh b/steps-guix/bash-5.3-1/pass1.sh new file mode 100644 index 00000000..d4ade2f2 --- /dev/null +++ b/steps-guix/bash-5.3-1/pass1.sh @@ -0,0 +1,27 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +SEED_PREFIX="/bootstrap-seeds/bash-5.3-1" + +src_prepare() { + default +} + +src_configure() { + ./configure \ + --prefix="${SEED_PREFIX}" \ + --without-bash-malloc \ + --disable-nls \ + --enable-static-link \ + --build="${TARGET}" \ + bash_cv_dev_stdin=absent \ + bash_cv_dev_fd=whacky +} + +src_compile() { + make -j1 +} + +src_install() { + install -D -m 0755 bash "${DESTDIR}${SEED_PREFIX}/bin/bash" + ln -sf bash "${DESTDIR}${SEED_PREFIX}/bin/sh" +} diff --git a/steps-guix/bash-5.3-1/sources b/steps-guix/bash-5.3-1/sources new file mode 100644 index 00000000..ac07ef5d --- /dev/null +++ b/steps-guix/bash-5.3-1/sources @@ -0,0 +1 @@ +f https://ftp.gnu.org/gnu/bash/bash-5.3.tar.gz 0d5cd86965f869a26cf64f4b71be7b96f90a3ba8b3d74e27e8e9d9d5550f31ba diff --git a/steps-guix/manifest b/steps-guix/manifest index cb23a129..47884f53 100644 --- a/steps-guix/manifest +++ b/steps-guix/manifest @@ -52,7 +52,7 @@ build: xz-5.2.4 build: gzip-1.9 build: bzip2-1.0.6 build: patch-2.7.6 -build: bash-4.4.23-1 +build: bash-5.3-1 build: static-binaries-0-i686-linux # Build guile-static-stripped-2.2.4-i686-linux.tar.xz build: guile-2.2.4 diff --git a/steps-guix/static-binaries-0-i686-linux/pass1.sh b/steps-guix/static-binaries-0-i686-linux/pass1.sh index e70492af..04239828 100644 --- a/steps-guix/static-binaries-0-i686-linux/pass1.sh +++ b/steps-guix/static-binaries-0-i686-linux/pass1.sh @@ -23,7 +23,7 @@ src_compile() { cp -a /bootstrap-seeds/gzip-1.9/bin/gzip "${stage}/bin/" cp -a /bootstrap-seeds/bzip2-1.0.6/bin/bzip2 "${stage}/bin/" cp -a /bootstrap-seeds/patch-2.7.6/bin/patch "${stage}/bin/" - cp -a /bootstrap-seeds/bash-4.4.23-1/bin/bash "${stage}/bin/" + cp -a /bootstrap-seeds/bash-5.3-1/bin/bash "${stage}/bin/" ln -sf bash "${stage}/bin/sh" ln -sf gawk "${stage}/bin/awk"