X-Git-Url: http://gitweb/?a=blobdiff_plain;f=inetutils%2FPkgfile;h=eed400944649cfe882defb61fba840ef599da62d;hb=3b058de9db3d7180f3b35c4874f0e3fc2b53efc1;hp=280bb00a442fc785ebc3445f6e537c3dbbb6b24d;hpb=7e2ffe75cfc6f67bc26b2fd07edfaaf86e8ca33e;p=crossrootfs.git diff --git a/inetutils/Pkgfile b/inetutils/Pkgfile index 280bb00..eed4009 100644 --- a/inetutils/Pkgfile +++ b/inetutils/Pkgfile @@ -6,9 +6,9 @@ name=inetutils version=1.9.1 -release=2 +release=4 source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \ - inetd.conf inetd) + inetd.conf inetd $name-$version-pathprocnet.patch) build() { cd inetutils-$version @@ -16,6 +16,9 @@ build() { # 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 + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ @@ -24,12 +27,16 @@ build() { --localstatedir=/var \ --sysconfdir=/etc \ --disable-{servers,clients} \ - --enable-{inetd,ftp,telnet} + --enable-{hostname,ifconfig,inetd,ftp,telnet,traceroute} make make DESTDIR=$PKG install - install -d $PKG/etc/rc.d + install -d $PKG/{etc/rc.d,bin,sbin} + + 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