-rwxr-xr-x root/root etc/rc.d/inetd
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
--rwxr-xr-x root/root usr/bin/ftp
-rwxr-xr-x root/root usr/bin/telnet
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/ftp.1.gz
--rw-r--r-- root/root usr/man/man1/inetd.1.gz
-rw-r--r-- root/root usr/man/man1/telnet.1.gz
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/inetd.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/inetd
87fdb9f85d8fc140b2f873e8e4e18440 inetd
dd0d71e008809420edada02dda7a3149 inetd.conf
-ad8fdcdf1797b9ca258264a6b04e48fd inetutils-1.8.tar.gz
+944f7196a2b3dba2d400e9088576000c inetutils-1.9.1.tar.gz
# Depends on: ncurses
name=inetutils
-version=1.8
+version=1.9.1
release=1
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
inetd.conf inetd)
build() {
cd inetutils-$version
+
+ # fix for glibc 'gets' removal
+ sed -i -e '/gets is a/d' lib/stdio.in.h
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--sysconfdir=/etc \
--disable-{servers,clients} \
--enable-{inetd,ftp,telnet}
+
make
make DESTDIR=$PKG install
+
install -d $PKG/etc/rc.d
install -m 644 $SRC/inetd.conf $PKG/etc
install -m 755 $SRC/inetd $PKG/etc/rc.d
+
rm -r $PKG/usr/share
}