libnl: Adding recipe for 3.2.22 from oe-core
PATCH 1/2 libnl: Adding recipe for 3.2.22 from oe-core
- Copied with intention to update to new version of libnl
--- .../recipes-support/libnl/libnl_3.2.22.bb | 44 ++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb
meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb new file +44 -0
@@ -0,0 +1,44 @@ +SUMMARY = "A library for applications dealing with netlink sockets" +HOMEPAGE = "http://www.infradead.org/~tgr/libnl/" +SECTION = "libs/network" + +PE = "1" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "flex-native bison-native" + +SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \ + file://fix-pktloc_syntax_h-race.patch \ + file://fix-pc-file.patch \ + file://fix-lib-cache_mngr.c-two-parentheses-bugs.patch \ + file://0001-fix-double-free-caused-by-freeing-link-af_data-in-rt.patch \ + " + +SRC_URI[md5sum] = "2e1c889494d274aca24ce5f6a748e66e" +SRC_URI[sha256sum] = "c7c5f267dfeae0c1a530bf96b71fb7c8dbbb07d54beef49b6712d8d6166f629b" + +inherit autotools-brokensep pkgconfig + +FILES_${PN} = "${libdir}/libnl-3.so.* \ + ${libdir}/libnl.so.* \ + ${sysconfdir}" +RREPLACES_${PN} = "libnl2" +RCONFLICTS_${PN} = "libnl2" +FILES_${PN}-dbg += "${libdir}/libnl/cli/*/.debug" +FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.so \ + ${libdir}/libnl/cli/*/*.la" +FILES_${PN}-staticdev += "${libdir}/libnl/cli/*/*.a" + +PACKAGES += "${PN}-cli ${PN}-route ${PN}-nf ${PN}-genl" +FILES_${PN}-cli = "${libdir}/libnl-cli-3.so.* \ + ${libdir}/libnl/cli/*/*.so.* \ + ${sbindir}/nl-*" +FILES_${PN}-route = "${libdir}/libnl-route-3.so.*" +FILES_${PN}-nf = "${libdir}/libnl-nf-3.so.*" +FILES_${PN}-genl = "${libdir}/libnl-genl-3.so.* \ + ${libdir}/libnl-genl.so.* \ + ${sbindir}/genl-ctrl-list" +RREPLACES_${PN}-genl = "libnl-genl2 libnl-genl-3-200" +RCONFLICTS_${PN}-genl = "libnl-genl2 libnl-genl-3-200"
Signature · 1 line
1.7.9.5
PATCH 2/2 libnl: Update recipe from 3.2.22 to 3.2.24
- removed old patches
- Updated autotools
- Added some private files to be installed to allow libnl extensions.
---
Planning to send as similar patch to oe-core as well. Once accepted can be removed here
---
---
.../libnl/{libnl_3.2.22.bb => libnl_3.2.24.bb} | 23 ++++++++++----------
1 file changed, 12 insertions(+), 11 deletions(-)
rename meta-arago-extras/recipes-support/libnl/{libnl_3.2.22.bb => libnl_3.2.24.bb} (72%)meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +12 -11
@@ -9,17 +9,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" DEPENDS = "flex-native bison-native" -SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \ - file://fix-pktloc_syntax_h-race.patch \ - file://fix-pc-file.patch \ - file://fix-lib-cache_mngr.c-two-parentheses-bugs.patch \ - file://0001-fix-double-free-caused-by-freeing-link-af_data-in-rt.patch \ - " - -SRC_URI[md5sum] = "2e1c889494d274aca24ce5f6a748e66e" -SRC_URI[sha256sum] = "c7c5f267dfeae0c1a530bf96b71fb7c8dbbb07d54beef49b6712d8d6166f629b" - -inherit autotools-brokensep pkgconfig +SRC_URI[md5sum] = "6e0e7bad0674749d930dd9f285343d55" +SRC_URI[sha256sum] = "fb8d6e5dc8af5b85bc6d00a71582a68a01e6a3f7d1664d4a646e289a99dd6816" +SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz" + +inherit autotools pkgconfig + +do_install_append() { +# Install private files to allow libnl extensions + install -d ${D}${includedir}/netlink-private + cp -r ${S}/include/netlink-private/cache-api.h ${D}${includedir}/netlink-private/ + cp -r ${S}/include/netlink-private/object-api.h ${D}${includedir}/netlink-private/ +} FILES_${PN} = "${libdir}/libnl-3.so.* \ ${libdir}/libnl.so.* \
Signature · 1 line
1.7.9.5
Re: [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24
A couple of things.
Just to confirm. Are the old patches something that has been merged into this updated version of libnl or do they simply not apply anymore? Also I don't understand the "Updated autotools comment".
Also just a heads up. Libnl is only used currently by the wilink drivers. I thought I remember in the past that sometimes the wireless packages break/need to be fixed when the packages they depend on has been updated or changed. So if you plan on setting the PREFERRED_VERSION to use this updated version of libnl please hold off on setting it globally until the AMSDK release at the end of this month is completed. Or feel free to set it globally and simply insure that am335x and am437x still uses 3.2.22.
Quoted 75 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Wednesday, January 21, 2015 11:08 PM
To: [email protected]
Subject: [meta-arago] [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24- removed old patches
- Updated autotools
- Added some private files to be installed to allow libnl extensions.Signed-off-by Sam Nelson <[email protected]>---
Planning to send as similar patch to oe-core as well. Once accepted can be removed here
------ .../libnl/{libnl_3.2.22.bb => libnl_3.2.24.bb} | 23 ++++++++++---------- 1 file changed, 12 insertions(+), 11 deletions(-) rename meta-arago-extras/recipes-support/libnl/{libnl_3.2.22.bb => libnl_3.2.24.bb} (72%)
meta- renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +0
-0arago-extras/recipes-support/libnl/libnl_3.2.24.bb similarity index 72%
rename from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb rename to meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb index a299bfb..50a9cd9 100644meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +0
-0@@ -9,17 +9,18 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = "flex-native bison-native"
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +0
-5-SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \ - file://fix-pktloc_syntax_h-race.patch \ - file://fix-pc-file.patch \ - file://fix-lib-cache_mngr.c-two-parentheses-bugs.patch \ - file://0001-fix-double-free-caused-by-freeing-link-af_data-in-rt.patch\
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +0
-4- " - -SRC_URI[md5sum] = "2e1c889494d274aca24ce5f6a748e66e" -SRC_URI[sha256sum] ="
c7c5f267dfeae0c1a530bf96b71fb7c8dbbb07d54beef49b6712d8d6166f629b"meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +2
-2- -inherit autotools-brokensep pkgconfig +SRC_URI[md5sum] = "6e0e7bad0674749d930dd9f285343d55" +SRC_URI[sha256sum] ="
fb8d6e5dc8af5b85bc6d00a71582a68a01e6a3f7d1664d4a646e289a99dd6816"meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +8
-0+SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz" + +inherit autotools pkgconfig + +do_install_append() { +# Install private files to allow libnl extensions + install -d ${D}${includedir}/netlink-private + cp -r ${S}/include/netlink-private/cache-api.h ${D}${includedir}/netlink-private/
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +3
-1+ cp -r ${S}/include/netlink-private/object-api.h +${D}${includedir}/netlink-private/ +} FILES_${PN} = "${libdir}/libnl-3.so.* \ ${libdir}/libnl.so.* \ --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24
Quoted 9 lines
-----Original Message-----
From: Cooper Jr., Franklin
Sent: Thursday, January 22, 2015 9:40 AM
To: Nelson, Sam; [email protected]
Subject: RE: [meta-arago] [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24
Quoted 4 lines
A couple of things.
Just to confirm. Are the old patches something that has been merged into this updated version of libnl or do they simply not apply anymore?
[Sam] Looking more into the details, looks like couple of patches are still applicable. I will add them back.
Quoted 1 line
don't understand the "Updated autotools comment".
[Sam] The autotools-brokensep was updated to autotools.
Quoted 8 lines
Also just a heads up. Libnl is only used currently by the wilink drivers. I thought I remember in the past that sometimes the wireless packages break/need to be fixed when the packages they depend on has been updated or changed. So if you plan on setting the
PREFERRED_VERSIONto use this updated version of libnl please hold off on setting it globally until the AMSDK release at the end of this month is completed. Or feel free to set it globally and simply insure that am335x and am437x still uses 3.2.22.
[Sam] Ok. Thanks for the information. I will hold off on the PREFERRED_VERISION update.
Quoted 83 lines
Quoted 7 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Wednesday, January 21, 2015 11:08 PM
To: [email protected]
Subject: [meta-arago] [PATCH 2/2] libnl: Update recipe from 3.2.22 to3.2.24
Quoted 11 lines
- removed old patches
- Updated autotools
- Added some private files to be installed to allow libnl extensions.Signed-off-by Sam Nelson <[email protected]>---
Planning to send as similar patch to oe-core as well. Once accepted can be removed here
---Review
Quoted 6 lines
--- .../libnl/{libnl_3.2.22.bb => libnl_3.2.24.bb} | 23 ++++++++++---------- 1 file changed, 12 insertions(+), 11 deletions(-) rename meta-arago-extras/recipes-support/libnl/{libnl_3.2.22.bb => libnl_3.2.24.bb} (72%)
(quoted diff) +0
-0b/meta-
Quoted 12 lines
arago-extras/recipes-support/libnl/libnl_3.2.24.bb similarity index 72%
rename from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb rename to meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb index a299bfb..50a9cd9 100644meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +0
-0@@ -9,17 +9,18 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = "flex-native bison-native"
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
Quoted 5 lines
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +0
-5-SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \ - file://fix-pktloc_syntax_h-race.patch \ - file://fix-pc-file.patch \ - file://fix-lib-cache_mngr.c-two-parentheses-bugs.patch \ - file://0001-fix-double-free-caused-by-freeing-link-af_data-in-rt.patch
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
Quoted 6 lines
\
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +0
-4- " - -SRC_URI[md5sum] = "2e1c889494d274aca24ce5f6a748e66e" -SRC_URI[sha256sum] ="
c7c5f267dfeae0c1a530bf96b71fb7c8dbbb07d54beef49b6712d8d6166f629bmeta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
Quoted 6 lines
"
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +2
-2- -inherit autotools-brokensep pkgconfig +SRC_URI[md5sum] = "6e0e7bad0674749d930dd9f285343d55" +SRC_URI[sha256sum] ="
fb8d6e5dc8af5b85bc6d00a71582a68a01e6a3f7d1664d4a646e289a99dd681meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
Quoted 9 lines
6"
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +8
-0+SRC_URI = "http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz" + +inherit autotools pkgconfig + +do_install_append() { +# Install private files to allow libnl extensions + install -d ${D}${includedir}/netlink-private + cp -r ${S}/include/netlink-private/cache-api.h${D}${includedir}/netlink-
Quoted 14 lines
private/
meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb renamed from meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb +3
-1+ cp -r ${S}/include/netlink-private/object-api.h +${D}${includedir}/netlink-private/ +} FILES_${PN} = "${libdir}/libnl-3.so.* \ ${libdir}/libnl.so.* \ --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago