bash-3.2.57: Build new package to replace bash 2.05b

Resulting build now works interactively
This commit is contained in:
Paul Dersey 2021-02-25 14:52:05 -05:00
parent ad54802f21
commit c0fedeba61
7 changed files with 43 additions and 2 deletions

24
sysa/bash-3.2.57/bash-3.2.57.sh Executable file
View file

@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
# Remove bison generated files
rm y.tab.c y.tab.h
# Rebuild configure script
# Ignore harmless error from autoconf for now
rm configure
autoconf-2.52 || true
}
src_configure() {
CC=tcc CPPFLAGS="-D HAVE_ALLOCA_H" \
./configure --prefix=/after \
--without-bash-malloc \
--build=i386-unknown-linux
}
src_install() {
install bash ${bindir}
}

View file

@ -0,0 +1 @@
0d6cbaa5f93fa4c2186ef40dd834b47841b3bf70f6183cfdb6ada38fdb835c5a /after/bin/bash

View file

@ -91,4 +91,6 @@ populate_device_nodes
# Rebuild tcc-musl using new musl
build tcc-0.9.27 tcc-musl-pass3.sh checksums/tcc-musl-pass3
build bash-3.2.57
echo "Bootstrapping completed."