# $Id$ PNAME="inetutils" PVER="1.9.2" PBUILD="r2" PCAT="sys-apps" DESCRIPTION="Collections of programs to control linux networking." HOMEPAGE="http://www.gnu.org/software/inetutils/" DEPEND=">= virtual/glibc >= sys-libs/readline-6.3 >= sys-libs/ncurses-5.9" PROVIDE="virtual/inetutils" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild mtools SRC_URI=( gnu://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd_gnu ${PNAME} gz" src_compile() { cd ${SRCDIR} # NOTE: # we want use inet; later it will be xinet; decprecated by systemd # we also use ifconfig from net-tools # and disable all other (insecure) servers; # whois and logger also disabled (too old); mconfigure \ --libexecdir=/usr/sbin \ --disable-ftpd \ --disable-inetd \ --disable-rexecd \ --disable-rlogind \ --disable-rshd \ --disable-syslogd \ --disable-talkd \ --disable-telnetd \ --disable-tftpd \ --disable-uucpd \ --enable-ftp \ --enable-ping \ --enable-rcp \ --enable-rlogin \ --enable-rsh \ --disable-logger \ --enable-talk \ --enable-telnet \ --enable-tftp \ --disable-whois \ --disable-ifconfig \ || die mmake || die }