You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
820 B
35 lines
820 B
#!/usr/bin/env bash |
|
|
|
sed -i 's/def HAVE_TERMCAP_TGETENT/ 1/' telnet/telnet.c |
|
|
|
./configure --prefix=/usr \ |
|
--bindir=/usr/bin \ |
|
--localstatedir=/var \ |
|
--disable-logger \ |
|
--disable-whois \ |
|
--disable-rcp \ |
|
--disable-rexec \ |
|
--disable-rlogin \ |
|
--disable-rsh \ |
|
--disable-servers |
|
|
|
make |
|
|
|
:>/tmp/inetutils_make_check.log |
|
|
|
if ! make check | tee /tmp/inetutils_make_check.log |
|
then |
|
grep ^FAIL /tmp/inetutils_make_check.log | cut --delimiter=' ' --fields=2 | while IFS= read -r failure |
|
do |
|
case ${failure} in |
|
*) |
|
echo "Failed on FAIL" |
|
exit 1 |
|
;; |
|
esac |
|
done |
|
fi |
|
|
|
make install |
|
|
|
mv -v /usr/{,s}bin/ifconfig
|
|
|