diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-29 14:16:54 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-29 14:16:54 +0200 |
commit | ed5322011b01b3971430f3fb26d6bb199f714d89 (patch) | |
tree | a155fca91a95111f6c9e06d3b2522ac270d28f27 /extra | |
parent | 98f68eb7c1ae70b86850b56ecdf1baa62b024752 (diff) | |
download | nutyx-pakxe-ed5322011b01b3971430f3fb26d6bb199f714d89.tar.gz nutyx-pakxe-ed5322011b01b3971430f3fb26d6bb199f714d89.tar.bz2 nutyx-pakxe-ed5322011b01b3971430f3fb26d6bb199f714d89.tar.xz nutyx-pakxe-ed5322011b01b3971430f3fb26d6bb199f714d89.zip |
Ajout de libnl#1.1-1
Diffstat (limited to 'extra')
-rw-r--r-- | extra/libnl/.footprint | 63 | ||||
-rw-r--r-- | extra/libnl/.md5sum | 4 | ||||
-rw-r--r-- | extra/libnl/01-missing_declaration.patch | 13 | ||||
-rw-r--r-- | extra/libnl/Pkgfile | 22 | ||||
-rw-r--r-- | extra/libnl/gcc43.patch | 11 | ||||
-rw-r--r-- | extra/libnl/libnl-1.pc | 11 |
6 files changed, 124 insertions, 0 deletions
diff --git a/extra/libnl/.footprint b/extra/libnl/.footprint new file mode 100644 index 000000000..82977baeb --- /dev/null +++ b/extra/libnl/.footprint @@ -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/extra/libnl/.md5sum b/extra/libnl/.md5sum new file mode 100644 index 000000000..cccbfde32 --- /dev/null +++ b/extra/libnl/.md5sum @@ -0,0 +1,4 @@ +c5dc2c568e2ecd1227b37a5dd1757a7b 01-missing_declaration.patch +fc990228bd3b9eb29f55127e86f3fdfa gcc43.patch +ae970ccd9144e132b68664f98e7ceeb1 libnl-1.1.tar.gz +ad524b445efaccf70c0b004f74d296f5 libnl-1.pc diff --git a/extra/libnl/01-missing_declaration.patch b/extra/libnl/01-missing_declaration.patch new file mode 100644 index 000000000..f9301b4bc --- /dev/null +++ b/extra/libnl/01-missing_declaration.patch @@ -0,0 +1,13 @@ +--- libnl-1.0/lib/route/link/vlan.c.orig 2008-01-16 22:59:21.000000000 -0800 ++++ libnl-1.0/lib/route/link/vlan.c 2008-01-16 22:59:36.000000000 -0800 +@@ -27,6 +27,9 @@ + #include <netlink/route/link/vlan.h> + + #include <linux/if_vlan.h> ++#ifndef VLAN_FLAG_REORDER_HDR ++#define VLAN_FLAG_REORDER_HDR 0x01 ++#endif + + /** @cond SKIP */ + #define VLAN_HAS_ID (1<<0) + diff --git a/extra/libnl/Pkgfile b/extra/libnl/Pkgfile new file mode 100644 index 000000000..c335d1474 --- /dev/null +++ b/extra/libnl/Pkgfile @@ -0,0 +1,22 @@ +# 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 +version=1.1 +release=1 +source=(http://people.suug.ch/~tgr/$name/files/$name-$version.tar.gz\ + libnl-1.pc 01-missing_declaration.patch gcc43.patch) + +build() { + cd $name-$version + patch -Np1 -i ../01-missing_declaration.patch + patch -Np1 -i ../gcc43.patch + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + install -D -m0644 ../libnl-1.pc $PKG/usr/lib/pkgconfig/libnl-1.pc + +} diff --git a/extra/libnl/gcc43.patch b/extra/libnl/gcc43.patch new file mode 100644 index 000000000..e9089639b --- /dev/null +++ b/extra/libnl/gcc43.patch @@ -0,0 +1,11 @@ +--- libnl-1.1/include/netlink-local.h.orig 2008-06-08 19:09:20.000000000 +0200 ++++ libnl-1.1/include/netlink-local.h 2008-06-08 19:09:33.000000000 +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> + diff --git a/extra/libnl/libnl-1.pc b/extra/libnl/libnl-1.pc new file mode 100644 index 000000000..206f2b088 --- /dev/null +++ b/extra/libnl/libnl-1.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=/usr +libdir=/usr/lib +includedir=/usr/include + +Name: libnl +Description: Convenience library for netlink sockets +Version: 1.0-pre8 +Libs: -L${libdir} -lnl +Cflags: + |