summaryrefslogtreecommitdiffstats
path: root/base/libnl-1
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-13 22:36:17 +0100
committersibel <lesibel@free.fr>2011-03-13 22:36:17 +0100
commit4768758abef70de13a183713164dadeb720c375b (patch)
treedd9a7d80777526542828a85d070d0fa75b093751 /base/libnl-1
parent82707a004f63f71d64fc0371dad90eda9889a34c (diff)
downloadnutyx-pakxe-4768758abef70de13a183713164dadeb720c375b.tar.gz
nutyx-pakxe-4768758abef70de13a183713164dadeb720c375b.tar.bz2
nutyx-pakxe-4768758abef70de13a183713164dadeb720c375b.tar.xz
nutyx-pakxe-4768758abef70de13a183713164dadeb720c375b.zip
libnl-1, creation port 1.1-1
Diffstat (limited to 'base/libnl-1')
-rw-r--r--base/libnl-1/.footprint.x86_6463
-rw-r--r--base/libnl-1/.md5sum.x86_642
-rw-r--r--base/libnl-1/Pkgfile19
-rw-r--r--base/libnl-1/libnl-1-fix-compilation.patch10
4 files changed, 94 insertions, 0 deletions
diff --git a/base/libnl-1/.footprint.x86_64 b/base/libnl-1/.footprint.x86_64
new file mode 100644
index 000000000..82977baeb
--- /dev/null
+++ b/base/libnl-1/.footprint.x86_64
@@ -0,0 +1,63 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/netlink/
+-rw-r--r-- root/root usr/include/netlink/addr.h
+-rw-r--r-- root/root usr/include/netlink/attr.h
+-rw-r--r-- root/root usr/include/netlink/cache-api.h
+-rw-r--r-- root/root usr/include/netlink/cache.h
+-rw-r--r-- root/root usr/include/netlink/data.h
+drwxr-xr-x root/root usr/include/netlink/fib_lookup/
+-rw-r--r-- root/root usr/include/netlink/fib_lookup/lookup.h
+-rw-r--r-- root/root usr/include/netlink/fib_lookup/request.h
+drwxr-xr-x root/root usr/include/netlink/genl/
+-rw-r--r-- root/root usr/include/netlink/genl/ctrl.h
+-rw-r--r-- root/root usr/include/netlink/genl/family.h
+-rw-r--r-- root/root usr/include/netlink/genl/genl.h
+-rw-r--r-- root/root usr/include/netlink/genl/mngt.h
+-rw-r--r-- root/root usr/include/netlink/handlers.h
+-rw-r--r-- root/root usr/include/netlink/list.h
+-rw-r--r-- root/root usr/include/netlink/msg.h
+-rw-r--r-- root/root usr/include/netlink/netlink-compat.h
+-rw-r--r-- root/root usr/include/netlink/netlink-kernel.h
+-rw-r--r-- root/root usr/include/netlink/netlink.h
+-rw-r--r-- root/root usr/include/netlink/object-api.h
+-rw-r--r-- root/root usr/include/netlink/object.h
+drwxr-xr-x root/root usr/include/netlink/route/
+-rw-r--r-- root/root usr/include/netlink/route/addr.h
+-rw-r--r-- root/root usr/include/netlink/route/class-modules.h
+-rw-r--r-- root/root usr/include/netlink/route/class.h
+-rw-r--r-- root/root usr/include/netlink/route/classifier-modules.h
+-rw-r--r-- root/root usr/include/netlink/route/classifier.h
+drwxr-xr-x root/root usr/include/netlink/route/cls/
+-rw-r--r-- root/root usr/include/netlink/route/cls/fw.h
+-rw-r--r-- root/root usr/include/netlink/route/cls/police.h
+-rw-r--r-- root/root usr/include/netlink/route/cls/u32.h
+-rw-r--r-- root/root usr/include/netlink/route/link.h
+-rw-r--r-- root/root usr/include/netlink/route/neighbour.h
+-rw-r--r-- root/root usr/include/netlink/route/neightbl.h
+-rw-r--r-- root/root usr/include/netlink/route/nexthop.h
+-rw-r--r-- root/root usr/include/netlink/route/qdisc-modules.h
+-rw-r--r-- root/root usr/include/netlink/route/qdisc.h
+-rw-r--r-- root/root usr/include/netlink/route/route.h
+-rw-r--r-- root/root usr/include/netlink/route/rtnl.h
+-rw-r--r-- root/root usr/include/netlink/route/rule.h
+drwxr-xr-x root/root usr/include/netlink/route/sch/
+-rw-r--r-- root/root usr/include/netlink/route/sch/cbq.h
+-rw-r--r-- root/root usr/include/netlink/route/sch/dsmark.h
+-rw-r--r-- root/root usr/include/netlink/route/sch/fifo.h
+-rw-r--r-- root/root usr/include/netlink/route/sch/htb.h
+-rw-r--r-- root/root usr/include/netlink/route/sch/netem.h
+-rw-r--r-- root/root usr/include/netlink/route/sch/prio.h
+-rw-r--r-- root/root usr/include/netlink/route/sch/red.h
+-rw-r--r-- root/root usr/include/netlink/route/sch/sfq.h
+-rw-r--r-- root/root usr/include/netlink/route/sch/tbf.h
+-rw-r--r-- root/root usr/include/netlink/route/tc.h
+-rw-r--r-- root/root usr/include/netlink/socket.h
+-rw-r--r-- root/root usr/include/netlink/types.h
+-rw-r--r-- root/root usr/include/netlink/utils.h
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libnl.so -> libnl.so.1
+lrwxrwxrwx root/root usr/lib/libnl.so.1 -> libnl.so.1.1
+-rw-r--r-- root/root usr/lib/libnl.so.1.1
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libnl-1.pc
diff --git a/base/libnl-1/.md5sum.x86_64 b/base/libnl-1/.md5sum.x86_64
new file mode 100644
index 000000000..d9ab6dcb3
--- /dev/null
+++ b/base/libnl-1/.md5sum.x86_64
@@ -0,0 +1,2 @@
+e1f5e82c8aa1b3ad025c7b588178de1e libnl-1-fix-compilation.patch
+ae970ccd9144e132b68664f98e7ceeb1 libnl-1.1.tar.gz
diff --git a/base/libnl-1/Pkgfile b/base/libnl-1/Pkgfile
new file mode 100644
index 000000000..03facee09
--- /dev/null
+++ b/base/libnl-1/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Librairie pour des application utilisants des sockets
+# URL: http://people.suug.ch/~tgr/libnl
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=libnl-1
+version=1.1
+release=1
+source=(http://www.infradead.org/~tgr/libnl/files/libnl-$version.tar.gz \
+ libnl-1-fix-compilation.patch)
+
+build() {
+ cd libnl-$version
+ patch -Np1 -i ../libnl-1-fix-compilation.patch
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+}
diff --git a/base/libnl-1/libnl-1-fix-compilation.patch b/base/libnl-1/libnl-1-fix-compilation.patch
new file mode 100644
index 000000000..891562a39
--- /dev/null
+++ b/base/libnl-1/libnl-1-fix-compilation.patch
@@ -0,0 +1,10 @@
+--- libnl-1.1.orig/include/netlink-local.h 2008-01-14 16:48:45.000000000 +0100
++++ libnl-1.1/include/netlink-local.h 2009-06-26 11:15:33.186011844 +0200
+@@ -26,6 +26,7 @@
+ #include <sys/socket.h>
+ #include <inttypes.h>
+ #include <assert.h>
++#include <limits.h>
+
+ #include <arpa/inet.h>
+ #include <netdb.h>