CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
inetutils: updated to 1.9.1 and aligned with upstream
[crossrootfs.git] / inetutils / Pkgfile
index 8cd8273e12cfd1f739032959f7a5688b1d42bb3c..81c140e99c8435a0ad8fc78e5096fdd54cdcb66d 100644 (file)
@@ -5,13 +5,17 @@
 # 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 \
@@ -21,10 +25,13 @@ build() {
               --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
 }