# Description: Inetd daemon, FTP and telnet client # URL: http://www.gnu.org/software/inetutils/inetutils.html # Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: ncurses name=inetutils version=1.9.4 release=3 source=(http://ftpmirror.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \ inetd.conf inetd $name-$version-pathprocnet.patch) build() { cd inetutils-$version # Fix for PATH_PROC_NET undefined error patch -p1 -i $SRC/$name-$version-pathprocnet.patch ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --libexecdir=/usr/sbin \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-{servers,clients} \ --enable-{hostname,ifconfig,inetd,ftp,telnet,traceroute} make make DESTDIR=$PKG install install -d $PKG/{bin,sbin,etc/rc.d} mv $PKG/usr/bin/hostname $PKG/bin mv $PKG/usr/bin/ifconfig $PKG/sbin install -m 644 $SRC/inetd.conf $PKG/etc install -m 755 $SRC/inetd $PKG/etc/rc.d rm -r $PKG/usr/share/info }