All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] libnl: Adding recipe for 3.2.22 from oe-core
@ 2015-01-22  5:07 Sam Nelson
  2015-01-22  5:07 ` [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24 Sam Nelson
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Nelson @ 2015-01-22  5:07 UTC (permalink / raw)
  To: meta-arago

- Copied with intention to update to new version of libnl

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
 .../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

diff --git a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb
new file mode 100644
index 0000000..a299bfb
--- /dev/null
+++ b/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb
@@ -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"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24
  2015-01-22  5:07 [PATCH 1/2] libnl: Adding recipe for 3.2.22 from oe-core Sam Nelson
@ 2015-01-22  5:07 ` Sam Nelson
  2015-01-22 14:40   ` Cooper Jr., Franklin
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Nelson @ 2015-01-22  5:07 UTC (permalink / raw)
  To: meta-arago

- removed old patches
- Updated autotools
- Added some private files to be installed to allow libnl extensions.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>

---
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%)

diff --git a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb b/meta-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 100644
--- a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb
+++ b/meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb
@@ -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.* \
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24
  2015-01-22  5:07 ` [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24 Sam Nelson
@ 2015-01-22 14:40   ` Cooper Jr., Franklin
  2015-01-23  0:32     ` Nelson, Sam
  0 siblings, 1 reply; 4+ messages in thread
From: Cooper Jr., Franklin @ 2015-01-22 14:40 UTC (permalink / raw)
  To: Nelson, Sam, meta-arago

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.

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Nelson, Sam
> Sent: Wednesday, January 21, 2015 11:08 PM
> To: meta-arago@arago-project.org
> 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 <sam.nelson@ti.com>
> 
> ---
> 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%)
> 
> diff --git a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb b/meta-
> 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 100644
> --- a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb
> +++ b/meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb
> @@ -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] =
> "fb8d6e5dc8af5b85bc6d00a71582a68a01e6a3f7d1664d4a646e289a99dd681
> 6"
> +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.* \
> --
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24
  2015-01-22 14:40   ` Cooper Jr., Franklin
@ 2015-01-23  0:32     ` Nelson, Sam
  0 siblings, 0 replies; 4+ messages in thread
From: Nelson, Sam @ 2015-01-23  0:32 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago



> -----Original Message-----
> From: Cooper Jr., Franklin
> Sent: Thursday, January 22, 2015 9:40 AM
> To: Nelson, Sam; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [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? 
[Sam] Looking more into the details, looks like couple of patches are still applicable. I will add them back. 
> don't understand the "Updated autotools comment".
 [Sam]  The autotools-brokensep  was updated to  autotools. 
> 
> 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.
[Sam] Ok. Thanks for the information. I will hold off on the PREFERRED_VERISION update.
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Nelson, Sam
> > Sent: Wednesday, January 21, 2015 11:08 PM
> > To: meta-arago@arago-project.org
> > 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 <sam.nelson@ti.com>
> >
> > ---
> > 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%)
> >
> > diff --git a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb
> b/meta-
> > 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 100644
> > --- a/meta-arago-extras/recipes-support/libnl/libnl_3.2.22.bb
> > +++ b/meta-arago-extras/recipes-support/libnl/libnl_3.2.24.bb
> > @@ -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] =
> >
> "fb8d6e5dc8af5b85bc6d00a71582a68a01e6a3f7d1664d4a646e289a99dd68
> 1
> > 6"
> > +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.* \
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-23  0:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-22  5:07 [PATCH 1/2] libnl: Adding recipe for 3.2.22 from oe-core Sam Nelson
2015-01-22  5:07 ` [PATCH 2/2] libnl: Update recipe from 3.2.22 to 3.2.24 Sam Nelson
2015-01-22 14:40   ` Cooper Jr., Franklin
2015-01-23  0:32     ` Nelson, Sam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.