From beb47d3f1fe5e73929d42ec1490acdf85eb6b0b8 Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 17 Dec 2009 21:37:36 +0100 Subject: libnl, déplacé dans base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/libnl/.footprint | 63 +++++++++++++++++++++++++++++++++ base/libnl/.md5sum | 4 +++ base/libnl/01-missing_declaration.patch | 13 +++++++ base/libnl/Pkgfile | 22 ++++++++++++ base/libnl/gcc43.patch | 11 ++++++ base/libnl/libnl-1.pc | 11 ++++++ 6 files changed, 124 insertions(+) create mode 100644 base/libnl/.footprint create mode 100644 base/libnl/.md5sum create mode 100644 base/libnl/01-missing_declaration.patch create mode 100644 base/libnl/Pkgfile create mode 100644 base/libnl/gcc43.patch create mode 100644 base/libnl/libnl-1.pc (limited to 'base') 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 + + #include ++#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 + #include + #include ++#include + + #include + #include + 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: + -- cgit v1.2.3-70-g09d2