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://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
16 # fix for glibc 'gets' removal
17 sed -i -e '/gets is a/d' lib/stdio.in.h
19 ./configure --build=$CHOST \
22 --libexecdir=/usr/sbin \
24 --localstatedir=/var \
26 --disable-{servers,clients} \
27 --enable-{inetd,ftp,telnet}
30 make DESTDIR=$PKG install
32 install -d $PKG/etc/rc.d
33 install -m 644 $SRC/inetd.conf $PKG/etc
34 install -m 755 $SRC/inetd $PKG/etc/rc.d