1 # Description: Inetd daemon, FTP and telnet client
2 # URL: http://www.gnu.org/software/inetutils/inetutils.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://ftpmirror.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
11 inetd.conf inetd $name-$version-pathprocnet.patch)
16 # Fix for PATH_PROC_NET undefined error
17 patch -p1 -i $SRC/$name-$version-pathprocnet.patch
19 ./configure --build=$CHOST \
22 --libexecdir=/usr/sbin \
23 --localstatedir=/var \
25 --disable-{servers,clients} \
26 --enable-{hostname,ifconfig,inetd,ftp,telnet,traceroute}
29 make DESTDIR=$PKG install
31 install -d $PKG/{bin,sbin,etc/rc.d}
33 mv $PKG/usr/bin/hostname $PKG/bin
34 mv $PKG/usr/bin/ifconfig $PKG/sbin
36 install -m 644 $SRC/inetd.conf $PKG/etc
37 install -m 755 $SRC/inetd $PKG/etc/rc.d
39 rm -r $PKG/usr/share/info