CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
db: updated to 5.3.28
[crossrootfs.git] / inetutils / Pkgfile
index 22ee644fdf4054dbb43eda9bef30973ab4040647..280bb00a442fc785ebc3445f6e537c3dbbb6b24d 100644 (file)
@@ -5,13 +5,17 @@
 # Depends on: ncurses
 
 name=inetutils
-version=1.7
-release=1
+version=1.9.1
+release=2
 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
 }