# Exit on error:
set -e

wget http://www.netfilter.org/projects/iptables/files/iptables-1.4.21.tar.bz2
tar xf iptables-1.4.21.tar.bz2
cd iptables-1.4.21

./configure \
    --prefix=/usr

make

# Bug?

sed -i.orig -e '/ldconfig/d' \
    -e '/dm0755/d' iptables/Makefile

make install

cd ..
exit 0
