[oe-commits] org.oe.dev libnl: add 0.5.0 (stable)

justinp commit openembedded-commits at lists.openembedded.org
Sat Jan 27 19:12:43 UTC 2007


libnl: add 0.5.0 (stable)

Author: justinp at openembedded.org
Branch: org.openembedded.dev
Revision: 95c991e65f8c2e790e4cc2627adee6399cef945f
ViewMTN: http://monotone.openembedded.org/revision.psp?id=95c991e65f8c2e790e4cc2627adee6399cef945f
Files:
1
packages/libnl/files/fix-helpers.patch
packages/libnl/files/libnl-0.5.0-include.diff
packages/libnl/libnl_0.5.0.bb
Diffs:

#
# mt diff -r04039f8e36bd1c8e673ca5e4a8b472fcbc91bc05 -r95c991e65f8c2e790e4cc2627adee6399cef945f
#
# 
# 
# add_file "packages/libnl/files/fix-helpers.patch"
#  content [267f9e3190847239002f52a8132137b8660d5131]
# 
# add_file "packages/libnl/files/libnl-0.5.0-include.diff"
#  content [7e4a8caf005f2c15e2ea174c3f533bca67c1bd06]
# 
# add_file "packages/libnl/libnl_0.5.0.bb"
#  content [b29e406094a7b4e14c7fba48d1684ddbd805a452]
# 
============================================================
--- packages/libnl/files/fix-helpers.patch	267f9e3190847239002f52a8132137b8660d5131
+++ packages/libnl/files/fix-helpers.patch	267f9e3190847239002f52a8132137b8660d5131
@@ -0,0 +1,49 @@
+Index: libnl-0.5.0/lib/helpers.c
+===================================================================
+--- libnl-0.5.0.orig/lib/helpers.c
++++ libnl-0.5.0/lib/helpers.c
+@@ -29,6 +29,7 @@
+ #include <netlink/netlink.h>
+ #include <netlink/helpers.h>
+ #include <linux/socket.h>
++#include <linux/if_ether.h>
+ 
+ int nl_debug = 0;
+ 
+Index: libnl-0.5.0/lib/route/filter.c
+===================================================================
+--- libnl-0.5.0.orig/lib/route/filter.c
++++ libnl-0.5.0/lib/route/filter.c
+@@ -40,6 +40,7 @@
+ #include <netlink/route/filter.h>
+ #include <netlink/route/link.h>
+ #include <netlink/route/rtattr.h>
++#include <linux/if_ether.h>
+ 
+ static struct rtnl_filter_ops *filter_ops;
+ 
+Index: libnl-0.5.0/lib/Makefile
+===================================================================
+--- libnl-0.5.0.orig/lib/Makefile
++++ libnl-0.5.0/lib/Makefile
+@@ -68,7 +68,7 @@ distclean:
+ 
+ install:
+ 	mkdir -p $(DESTDIR)$(prefix)/lib/
+-	install -o root -g root -m 0644 $(OUT_SLIB) $(DESTDIR)$(prefix)/lib
++	install -m 0644 $(OUT_SLIB) $(DESTDIR)$(prefix)/lib
+ 	rm -f $(DESTDIR)$(prefix)/lib/$(LN1_SLIB) ; \
+ 	$(LN) -s $(DESTDIR)$(prefix)/lib/$(OUT_SLIB) $(DESTDIR)$(prefix)/lib/$(LN1_SLIB)
+ 	rm -f $(DESTDIR)$(prefix)/lib/$(LN_SLIB) ; \
+Index: libnl-0.5.0/include/Makefile
+===================================================================
+--- libnl-0.5.0.orig/include/Makefile
++++ libnl-0.5.0/include/Makefile
+@@ -37,5 +37,5 @@ distclean:
+ 
+ install:
+ 	mkdir -p $(DESTDIR)$(prefix)/include/netlink/route/
+-	install -o root -g root -m 0644 netlink/*.h $(DESTDIR)$(prefix)/include/netlink/
+-	install -o root -g root -m 0644 netlink/route/*.h $(DESTDIR)$(prefix)/include/netlink/route/
++	install -m 0644 netlink/*.h $(DESTDIR)$(prefix)/include/netlink/
++	install -m 0644 netlink/route/*.h $(DESTDIR)$(prefix)/include/netlink/route/
============================================================
--- packages/libnl/files/libnl-0.5.0-include.diff	7e4a8caf005f2c15e2ea174c3f533bca67c1bd06
+++ packages/libnl/files/libnl-0.5.0-include.diff	7e4a8caf005f2c15e2ea174c3f533bca67c1bd06
@@ -0,0 +1,10 @@
+--- libnl-0.5.0.orig/include/netlink/route/tc.h	2005-09-08 19:13:15.000000000 -0300
++++ libnl-0.5.0/include/netlink/route/tc.h	2005-09-08 19:32:33.000000000 -0300
+@@ -24,6 +24,7 @@
+ #include <netlink/netlink.h>
+ #include <netlink/cache.h>
+ #include <netlink/data.h>
++#include <linux/pkt_sched.h>
+ 
+ #define TCA_HAS_HANDLE    0x001
+ #define TCA_HAS_PARENT    0x002
============================================================
--- packages/libnl/libnl_0.5.0.bb	b29e406094a7b4e14c7fba48d1684ddbd805a452
+++ packages/libnl/libnl_0.5.0.bb	b29e406094a7b4e14c7fba48d1684ddbd805a452
@@ -0,0 +1,11 @@
+DESCRIPTION = "Netlink library"
+HOMEPAGE = "http://people.suug.ch/~tgr/libnl/"
+SECTION = "libraries/network"
+LICENSE = "GPLv2.1"
+PR = "r0"
+
+SRC_URI = "http://people.suug.ch/~tgr/libnl/files/libnl-0.5.0.tar.gz \
+           file://libnl-0.5.0-include.diff;patch=1 \
+           file://fix-helpers.patch;patch=1"
+
+inherit autotools






More information about the Openembedded-commits mailing list