CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
inetutils: updated to 1.9.4 and updated mandir
authorVictor Martinez <pitillo@ono.com>
Thu, 12 Nov 2015 15:45:03 +0000 (15:45 +0000)
committerVictor Martinez <pitillo@ono.com>
Thu, 12 Nov 2015 15:45:03 +0000 (15:45 +0000)
inetutils/.footprint
inetutils/.md5sum
inetutils/Pkgfile
inetutils/inetutils-1.9.4-pathprocnet.patch [moved from inetutils/inetutils-1.9.1-pathprocnet.patch with 100% similarity]

index 424aaec079533df61f514eec702162028a9a2017..06e4a808c48a1222d0baa1c49d5705747fbda7cc 100644 (file)
@@ -1,19 +1,25 @@
+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
index f5111152beea123c7fb36f5782184da3b9dc106b..19291d654f1f18f38d9f5b96bea6cd44141afea0 100644 (file)
@@ -1,4 +1,4 @@
 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
index 7baf897c8416635ffc7123e8e2918459aad310f2..7a4b5a0cf2483333ec687428d1a0ccbd5217823e 100644 (file)
@@ -5,17 +5,14 @@
 # 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
 
@@ -23,19 +20,21 @@ build() {
               --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
 }