diff options
author | tnut <thierryn1 at hispeed dot ch> | 2009-12-17 21:37:36 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2009-12-17 21:37:36 +0100 |
commit | beb47d3f1fe5e73929d42ec1490acdf85eb6b0b8 (patch) | |
tree | f0c3c31f645a154cc1c0184e3acdd5144947df89 /base | |
parent | 6d1dfc9b5e483ec9690fde1c12a6607722e60325 (diff) | |
download | nutyx-extra-beb47d3f1fe5e73929d42ec1490acdf85eb6b0b8.tar.gz nutyx-extra-beb47d3f1fe5e73929d42ec1490acdf85eb6b0b8.tar.bz2 nutyx-extra-beb47d3f1fe5e73929d42ec1490acdf85eb6b0b8.tar.xz nutyx-extra-beb47d3f1fe5e73929d42ec1490acdf85eb6b0b8.zip |
libnl, déplacé dans base
Diffstat (limited to 'base')
-rw-r--r-- | base/libnl/.footprint | 63 | ||||
-rw-r--r-- | base/libnl/.md5sum | 4 | ||||
-rw-r--r-- | base/libnl/01-missing_declaration.patch | 13 | ||||
-rw-r--r-- | base/libnl/Pkgfile | 22 | ||||
-rw-r--r-- | base/libnl/gcc43.patch | 11 | ||||
-rw-r--r-- | base/libnl/libnl-1.pc | 11 |
6 files changed, 124 insertions, 0 deletions
diff --git a/base/libnl/.footprint b/base/libnl/.footprint new file mode 100644 index 000000000..82977baeb --- /dev/null +++ b/base/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/base/libnl/.md5sum b/base/libnl/.md5sum new file mode 100644 index 000000000..cccbfde32 --- /dev/null +++ b/base/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/base/libnl/01-missing_declaration.patch b/base/libnl/01-missing_declaration.patch new file mode 100644 index 000000000..f9301b4bc --- /dev/null +++ b/base/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/base/libnl/Pkgfile b/base/libnl/Pkgfile new file mode 100644 index 000000000..3214c5e0e --- /dev/null +++ b/base/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://kiao.no-ip.info/sources/$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/base/libnl/gcc43.patch b/base/libnl/gcc43.patch new file mode 100644 index 000000000..e9089639b --- /dev/null +++ b/base/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/base/libnl/libnl-1.pc b/base/libnl/libnl-1.pc new file mode 100644 index 000000000..206f2b088 --- /dev/null +++ b/base/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: + |