Procedure for Ubuntu 8.04 and other installations where binaries are not available (default 8.04 LTS server did not have m4 and bison dependencies), assuming that 1st patch has already been applied per https://news.ycombinator.com/item?id=8364385 :
#Executing as root
#assume your sources are in /src:
cd /src/
echo "getting m4..."
wget http://ftp.gnu.org/gnu/m4/m4-latest.tar.gz
tar zxvf m4-latest.tar.gz
cd m4-1.4.17/
./configure && make && sudo make install
cd /src/
echo "getting bison..."
wget http://ftp.gnu.org/gnu/bison/bison-3.0.tar.gz
tar zxvf bison-3.0.tar.gz
cd bison-3.0
./configure && make && sudo make install
echo "getting patch..."
cd /src/
#replace line below with wget http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-026 tomorrow
wget http://seclists.org/oss-sec/2014/q3/att-690/eol-pushback.patch
cd bash-4.3
patch -p0 < ../eol-pushback.patch
./configure --bindir=/bin && make && sudo make install
Procedure for Ubuntu 8.04 and other installations where binaries are not available (default 8.04 LTS server did not have m4 and bison dependencies), assuming that 1st patch has already been applied per https://news.ycombinator.com/item?id=8364385 :