summaryrefslogtreecommitdiffstats
path: root/base/net-tools
diff options
context:
space:
mode:
Diffstat (limited to 'base/net-tools')
-rw-r--r--base/net-tools/.footprint39
-rw-r--r--base/net-tools/.md5sum4
-rwxr-xr-xbase/net-tools/Pkgfile27
3 files changed, 70 insertions, 0 deletions
diff --git a/base/net-tools/.footprint b/base/net-tools/.footprint
new file mode 100644
index 000000000..e20b7272e
--- /dev/null
+++ b/base/net-tools/.footprint
@@ -0,0 +1,39 @@
+drwxr-xr-x root/root bin/
+lrwxrwxrwx root/root bin/dnsdomainname -> hostname
+lrwxrwxrwx root/root bin/domainname -> hostname
+-rwxr-xr-x root/root bin/hostname
+-rwxr-xr-x root/root bin/netstat
+lrwxrwxrwx root/root bin/nisdomainname -> hostname
+lrwxrwxrwx root/root bin/ypdomainname -> hostname
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/arp
+-rwxr-xr-x root/root sbin/ifconfig
+-rwxr-xr-x root/root sbin/ipmaddr
+-rwxr-xr-x root/root sbin/iptunnel
+-rwxr-xr-x root/root sbin/mii-tool
+-rwxr-xr-x root/root sbin/nameif
+-rwxr-xr-x root/root sbin/plipconfig
+-rwxr-xr-x root/root sbin/rarp
+-rwxr-xr-x root/root sbin/route
+-rwxr-xr-x root/root sbin/slattach
+drwxr-xr-x root/root usr/
+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/dnsdomainname.1.gz
+-rw-r--r-- root/root usr/share/man/man1/domainname.1.gz
+-rw-r--r-- root/root usr/share/man/man1/hostname.1.gz
+-rw-r--r-- root/root usr/share/man/man1/nisdomainname.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ypdomainname.1.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/ethers.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/arp.8.gz
+-rw-r--r-- root/root usr/share/man/man8/ifconfig.8.gz
+-rw-r--r-- root/root usr/share/man/man8/mii-tool.8.gz
+-rw-r--r-- root/root usr/share/man/man8/nameif.8.gz
+-rw-r--r-- root/root usr/share/man/man8/netstat.8.gz
+-rw-r--r-- root/root usr/share/man/man8/plipconfig.8.gz
+-rw-r--r-- root/root usr/share/man/man8/rarp.8.gz
+-rw-r--r-- root/root usr/share/man/man8/route.8.gz
+-rw-r--r-- root/root usr/share/man/man8/slattach.8.gz
diff --git a/base/net-tools/.md5sum b/base/net-tools/.md5sum
new file mode 100644
index 000000000..2914c29e5
--- /dev/null
+++ b/base/net-tools/.md5sum
@@ -0,0 +1,4 @@
+20697137d49bc0f6b7ba2b35cdb3e27d net-tools-1.60-gcc34-3.patch
+901a8728f17a8190ef6e441d56b30112 net-tools-1.60-kernel_headers-2.patch
+7de67d26122785defd46bf2ed9b5b82b net-tools-1.60-mii_ioctl-1.patch
+888774accab40217dde927e21979c165 net-tools-1.60.tar.bz2
diff --git a/base/net-tools/Pkgfile b/base/net-tools/Pkgfile
new file mode 100755
index 000000000..ea0d5de56
--- /dev/null
+++ b/base/net-tools/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Collection de programmes pour gérer les connections réseaux
+# URL: http://www.tazenda.demon.co.uk
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=net-tools
+version=1.60
+release=1
+source=( http://www.tazenda.demon.co.uk/phil/$name/$name-$version.tar.bz2\
+ http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-gcc34-3.patch\
+ http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-kernel_headers-2.patch\
+ http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-mii_ioctl-1.patch)
+
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../net-tools-1.60-gcc34-3.patch &&
+ patch -Np1 -i ../net-tools-1.60-kernel_headers-2.patch &&
+ patch -Np1 -i ../net-tools-1.60-mii_ioctl-1.patch &&
+yes "" | make config &&
+sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \
+ -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h &&
+sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \
+ -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make
+ make BASEDIR=$PKG update
+}