CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libnl: initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 06:50:42 +0000 (06:50 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 06:50:42 +0000 (06:50 +0000)
libnl/.footprint [new file with mode: 0644]
libnl/.md5sum [new file with mode: 0644]
libnl/Pkgfile [new file with mode: 0644]
libnl/libnl-1.1_ulong_max.diff [new file with mode: 0644]

diff --git a/libnl/.footprint b/libnl/.footprint
new file mode 100644 (file)
index 0000000..82977ba
--- /dev/null
@@ -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/libnl/.md5sum b/libnl/.md5sum
new file mode 100644 (file)
index 0000000..0085e3b
--- /dev/null
@@ -0,0 +1,2 @@
+ae970ccd9144e132b68664f98e7ceeb1  libnl-1.1.tar.gz
+56b9623b93b7163e30f968205897c3ef  libnl-1.1_ulong_max.diff
diff --git a/libnl/Pkgfile b/libnl/Pkgfile
new file mode 100644 (file)
index 0000000..70f7b11
--- /dev/null
@@ -0,0 +1,21 @@
+# Description: library for applications dealing with netlink sockets
+# URL: http://www.infradead.org/~tgr/libnl/
+# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
+# Packager: Hannes Mayer, kontakt at ecarux dot de
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+
+name=libnl
+version=1.1
+release=1
+source=(http://mirror.slitaz.org/sources/packages/l/$name-$version.tar.gz
+    $name-1.1_ulong_max.diff)
+
+build() {
+  cd $name-$version
+  patch -p1 -i ../libnl-1.1_ulong_max.diff
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr
+  make CC="$CC" AR="$AR" RM="$RM"
+  make DESTDIR=$PKG install
+}
diff --git a/libnl/libnl-1.1_ulong_max.diff b/libnl/libnl-1.1_ulong_max.diff
new file mode 100644 (file)
index 0000000..4e4538f
--- /dev/null
@@ -0,0 +1,11 @@
+diff -pruN libnl-1.1.orig/include/netlink-local.h libnl-1.1/include/netlink-local.h
+--- libnl-1.1.orig/include/netlink-local.h     2009-01-19 19:26:15.000000000 +0100
++++ libnl-1.1/include/netlink-local.h  2009-01-19 19:27:15.000000000 +0100
+@@ -26,6 +26,7 @@
+ #include <sys/socket.h>
+ #include <inttypes.h>
+ #include <assert.h>
++#include <limits.h>
+ #include <arpa/inet.h>
+ #include <netdb.h>