# Exit on error:
set -e

wget http://ftpmirror.gnu.org/inetutils/inetutils-1.9.1.tar.gz
tar xf inetutils-1.9.1.tar.gz
cd inetutils-1.9.1

# Bug:
sed -i '/gets is a security hole/d' lib/stdio.in.h

./configure \
    --prefix=/usr \
    --disable-hostname
# hostname is provided by coreutils

make
make install

cd ..
exit 0
