+drwxr-xr-x root/root bin/
+-rwxr-xr-x root/root bin/hostname
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/inetd.conf
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/inetd
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/ifconfig
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
--rwxr-xr-x root/root usr/bin/ifconfig
+-rwxr-xr-x root/root usr/bin/ftp
-rwxr-xr-x root/root usr/bin/telnet
--rwsrwxr-x root/root usr/bin/traceroute
-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/ifconfig.1.gz
--rw-r--r-- root/root usr/man/man1/telnet.1.gz
--rw-r--r-- root/root usr/man/man1/traceroute.1.gz
-drwxr-xr-x root/root usr/man/man8/
--rw-r--r-- root/root usr/man/man8/inetd.8.gz
+-rwsr-xr-x root/root usr/bin/traceroute
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/inetd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/ftp.1.gz
+-rw-r--r-- root/root usr/share/man/man1/hostname.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ifconfig.1.gz
+-rw-r--r-- root/root usr/share/man/man1/telnet.1.gz
+-rw-r--r-- root/root usr/share/man/man1/traceroute.1.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/inetd.8.gz
87fdb9f85d8fc140b2f873e8e4e18440 inetd
dd0d71e008809420edada02dda7a3149 inetd.conf
-c4d6af326062d6ea848cccb038c817c8 inetutils-1.9.1-pathprocnet.patch
-944f7196a2b3dba2d400e9088576000c inetutils-1.9.1.tar.gz
+c4d6af326062d6ea848cccb038c817c8 inetutils-1.9.4-pathprocnet.patch
+04852c26c47cc8c6b825f2b74f191f52 inetutils-1.9.4.tar.gz
# Depends on: ncurses
name=inetutils
-version=1.9.1
-release=4
+version=1.9.4
+release=3
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
inetd.conf inetd $name-$version-pathprocnet.patch)
build() {
cd inetutils-$version
- # fix for glibc 'gets' removal
- sed -i -e '/gets is a/d' lib/stdio.in.h
-
# Fix for PATH_PROC_NET undefined error
patch -p1 -i $SRC/$name-$version-pathprocnet.patch
--host=$CTARGET \
--prefix=/usr \
--libexecdir=/usr/sbin \
- --mandir=/usr/man \
--localstatedir=/var \
--sysconfdir=/etc \
--disable-{servers,clients} \
- --enable-{ifconfig,inetd,ftp,telnet,traceroute}
+ --enable-{hostname,ifconfig,inetd,ftp,telnet,traceroute}
make
make DESTDIR=$PKG install
- install -d $PKG/etc/rc.d
+ 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
+ rm -r $PKG/usr/share/info
}