summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:49:31 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:49:31 +0200
commit066f1e695b8476eafc73d0b73d5cee22ba0f529a (patch)
treedeec8e79b2d09dd27f3e303e77dfb4c32b0ce877 /base
parent9002eb48291cd8a10eaeb356c8d4cf683b346169 (diff)
downloadnutyx-extra-066f1e695b8476eafc73d0b73d5cee22ba0f529a.tar.gz
nutyx-extra-066f1e695b8476eafc73d0b73d5cee22ba0f529a.tar.bz2
nutyx-extra-066f1e695b8476eafc73d0b73d5cee22ba0f529a.tar.xz
nutyx-extra-066f1e695b8476eafc73d0b73d5cee22ba0f529a.zip
Ajout de iproute2#2.6.29.1-1
Diffstat (limited to 'base')
-rw-r--r--base/iproute2/.footprint54
-rw-r--r--base/iproute2/.md5sum1
-rwxr-xr-xbase/iproute2/Pkgfile22
-rw-r--r--base/iproute2/xt_tcpudp.h36
4 files changed, 113 insertions, 0 deletions
diff --git a/base/iproute2/.footprint b/base/iproute2/.footprint
new file mode 100644
index 000000000..8a77bb4aa
--- /dev/null
+++ b/base/iproute2/.footprint
@@ -0,0 +1,54 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/iproute2/
+-rw-r--r-- root/root etc/iproute2/ematch_map
+-rw-r--r-- root/root etc/iproute2/rt_dsfield
+-rw-r--r-- root/root etc/iproute2/rt_protos
+-rw-r--r-- root/root etc/iproute2/rt_realms
+-rw-r--r-- root/root etc/iproute2/rt_scopes
+-rw-r--r-- root/root etc/iproute2/rt_tables
+drwxr-xr-x root/root sbin/
+lrwxrwxrwx root/root sbin/ctstat -> lnstat
+-rwxr-xr-x root/root sbin/genl
+-rwxr-xr-x root/root sbin/ifcfg
+-rwxr-xr-x root/root sbin/ifstat
+-rwxr-xr-x root/root sbin/ip
+-rwxr-xr-x root/root sbin/lnstat
+-rwxr-xr-x root/root sbin/nstat
+-rwxr-xr-x root/root sbin/routef
+-rwxr-xr-x root/root sbin/routel
+-rwxr-xr-x root/root sbin/rtacct
+-rwxr-xr-x root/root sbin/rtmon
+-rwxr-xr-x root/root sbin/rtpr
+lrwxrwxrwx root/root sbin/rtstat -> lnstat
+-rwxr-xr-x root/root sbin/ss
+-rwxr-xr-x root/root sbin/tc
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/arpd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/libnetlink.3.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/arpd.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/ctstat.8.gz -> lnstat.8.gz
+-rw-r--r-- root/root usr/share/man/man8/ip.8.gz
+-rw-r--r-- root/root usr/share/man/man8/lnstat.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/nstat.8.gz -> rtacct.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/routef.8.gz -> routel.8.gz
+-rw-r--r-- root/root usr/share/man/man8/routel.8.gz
+-rw-r--r-- root/root usr/share/man/man8/rtacct.8.gz
+-rw-r--r-- root/root usr/share/man/man8/rtmon.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/rtstat.8.gz -> lnstat.8.gz
+-rw-r--r-- root/root usr/share/man/man8/ss.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc-bfifo.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc-cbq-details.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc-cbq.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc-htb.8.gz
+lrwxrwxrwx root/root usr/share/man/man8/tc-pfifo.8.gz -> tc-bfifo.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc-pfifo_fast.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc-prio.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc-red.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc-sfq.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc-tbf.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tc.8.gz
diff --git a/base/iproute2/.md5sum b/base/iproute2/.md5sum
new file mode 100644
index 000000000..63891f10b
--- /dev/null
+++ b/base/iproute2/.md5sum
@@ -0,0 +1 @@
+c1bc258a6c345905e79935ac7a3cc582 iproute2-2.6.29-1.tar.bz2
diff --git a/base/iproute2/Pkgfile b/base/iproute2/Pkgfile
new file mode 100755
index 000000000..5f8277bab
--- /dev/null
+++ b/base/iproute2/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Programmes de base et avancés pour réseau IPV4
+# URL: http://linux-net.osdl.org/index.php/Iproute2
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: gzip
+
+name=iproute2
+version=2.6.29.1
+release=1
+source=( http://developer.osdl.org/dev/$name/download/$name-2.6.29-1.tar.bz2\
+ )
+
+
+build() {
+cd $name-*
+sed -i "s|local/lib/iptables|lib/xtables|" include/iptables.h
+make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info \
+ DESTDIR=$PKG install
+mkdir -p $PKG/usr/sbin
+mv $PKG/sbin/arpd $PKG/usr/sbin/
+rm -r $PKG/{share,lib,usr/lib}
+}
diff --git a/base/iproute2/xt_tcpudp.h b/base/iproute2/xt_tcpudp.h
new file mode 100644
index 000000000..78bc65f11
--- /dev/null
+++ b/base/iproute2/xt_tcpudp.h
@@ -0,0 +1,36 @@
+#ifndef _XT_TCPUDP_H
+#define _XT_TCPUDP_H
+
+/* TCP matching stuff */
+struct xt_tcp
+{
+ u_int16_t spts[2]; /* Source port range. */
+ u_int16_t dpts[2]; /* Destination port range. */
+ u_int8_t option; /* TCP Option iff non-zero*/
+ u_int8_t flg_mask; /* TCP flags mask byte */
+ u_int8_t flg_cmp; /* TCP flags compare byte */
+ u_int8_t invflags; /* Inverse flags */
+};
+
+/* Values for "inv" field in struct ipt_tcp. */
+#define XT_TCP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
+#define XT_TCP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
+#define XT_TCP_INV_FLAGS 0x04 /* Invert the sense of TCP flags. */
+#define XT_TCP_INV_OPTION 0x08 /* Invert the sense of option test. */
+#define XT_TCP_INV_MASK 0x0F /* All possible flags. */
+
+/* UDP matching stuff */
+struct xt_udp
+{
+ u_int16_t spts[2]; /* Source port range. */
+ u_int16_t dpts[2]; /* Destination port range. */
+ u_int8_t invflags; /* Inverse flags */
+};
+
+/* Values for "invflags" field in struct ipt_udp. */
+#define XT_UDP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
+#define XT_UDP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
+#define XT_UDP_INV_MASK 0x03 /* All possible flags. */
+
+
+#endif