Skip to contentSkip to conversation

multilib fixes for some networking recipes

PATCH Applied Aws Ismail 2 participants 5 messages Feb 14, 2013 – Feb 15, 2013

lore
Share & tools
lore

Aws Ismail

author
#0 lore raw

v3 cover multilib fixes for some networking recipes

*** V3 ****
separate the commits by recipe basis.
***********

Aws Ismail (3):
accel-ppp: resolve QA warnings and satisfy multilib
netcat-openbsd: resolve multilib issues.
traceroute: resolve multilib issues

 .../recipes-protocols/accel-ppp/accel-ppp_git.bb   |    7 +++++++
 .../recipes-support/netcat/netcat-openbsd_1.89.bb  |    6 +++---
 .../traceroute/traceroute_2.0.18.bb                |   10 ++++++----
 3 files changed, 16 insertions(+), 7 deletions(-)
author
#1 lore raw

PATCH v3 1/3 accel-ppp: resolve QA warnings and satisfy multilib

Create -libs and -dbg splits to include .so and .debug files, respectively to resolve the QA warning:
lib64-accel-ppp rdepends on lib64-accel-ppp-dev when multilib is being used.

---
 .../recipes-protocols/accel-ppp/accel-ppp_git.bb   |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb +7 -0
index 9eb9bf8..d17cc78 100644
@@ -8,6 +8,7 @@ DEPENDS = "openssl libpcre"
 
 inherit cmake
 
+PR = "r1"
 PV = "1.7.3+git"
 
 SRCREV = "4acfa46c321a344b9a6ce4128e72d1e02828d8a0"
@@ -23,3 +24,9 @@ EXTRA_OECMAKE = " \
                  -DRADIUS=FALSE \
                  -DNETSNMP=FALSE \
                 "
+FILES_${PN}-dbg += "/usr/lib/${BPN}/.debug/*"
+
+PACKAGES =+ "${PN}-libs"
+FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so"
+INSANE_SKIP_${PN}-libs = "dev-so"
+RDEPENDS_${PN} += "${PN}-libs"
Signature · 1 line
1.7.0.4
author
#2 lore raw

PATCH v3 2/3 netcat-openbsd: resolve multilib issues.

In reply to Aws Ismail

Make recipe changes to enable successfull building when multilib is being used.

---
 .../recipes-support/netcat/netcat-openbsd_1.89.bb  |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb +3 -3
index 25cbfa6..00eec3e 100644
@@ -2,7 +2,7 @@ require netcat.inc
 DESCRIPTION = "OpenBSD Netcat"
 HOMEPAGE = "http://ftp.debian.org"
 LICENSE = "BSD-3-Clause"
-PR = "r1"
+PR = "r2"
 
 DEPENDS += "glib-2.0"
 
@@ -14,7 +14,7 @@ SRC_URI[netcat.sha256sum] = "72e844dde8a2a7cba61971d493758dbea9ef0b164bccef15fd4
 SRC_URI[netcat-patch.md5sum] = "00c65aa22243b76998174c733cbb64cc"
 SRC_URI[netcat-patch.sha256sum] = "d5b6b2bd9788114bdcfbb71acad0263720b4fdc41529e287adf451b8610f84f1"
 
-S = "${WORKDIR}/${PN}-${PV}.orig"
+S = "${WORKDIR}/${BPN}-${PV}.orig"
 
 do_configure[noexec] = "1"
 
@@ -27,6 +27,6 @@ do_compile() {
 
 do_install() {
         install -d ${D}${bindir}
-        install -m 755 ${S}/nc ${D}${bindir}/nc.${PN}
+        install -m 755 ${S}/nc ${D}${bindir}/nc.${BPN}
 }
 ALTERNATIVE_PRIORITY = "50"
Signature · 1 line
1.7.0.4
author
#3 lore raw

PATCH v3 3/3 traceroute: resolve multilib issues

In reply to Aws Ismail

Make recipe changes to enable successfull building when multilib is being used.

---
 .../traceroute/traceroute_2.0.18.bb                |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb +6 -4
index 6eca731..f523140 100644
@@ -11,6 +11,8 @@ LICENSE = "GPL-2.0 LGPL-2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
 
+PR = "r1"
+
 inherit update-alternatives
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/traceroute-2.0.18/traceroute-2.0.18.tar.gz \
@@ -26,14 +28,14 @@ do_compile() {
 
 do_install() {
     install -d ${D}${bindir}
-    install -m755 ${PN}/${PN} ${D}${bindir}
+    install -m755 ${BPN}/${BPN} ${D}${bindir}
 
     install -m755 wrappers/tcptraceroute ${D}${bindir}
 
     install -d ${D}${mandir}
-    install -p -m644 ${PN}/${PN}.8 ${D}${mandir}
-    ln -s ${PN}.8 ${D}${mandir}/${PN}6.8
-    ln -s ${PN}.8 ${D}${mandir}/tcptraceroute.8
+    install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir}
+    ln -s ${BPN}.8 ${D}${mandir}/${BPN}6.8
+    ln -s ${BPN}.8 ${D}${mandir}/tcptraceroute.8
 
 }
 
Signature · 1 line
1.7.0.4
#4 lore raw
In reply to Aws Ismail
Quoted 9 lines · [[meta-networking][PATCH 0/3][V3] multilib fixes for some networking recipes]…

*** V3 ****
separate the commits by recipe basis.
***********

Aws Ismail (3):
accel-ppp: resolve QA warnings and satisfy multilib
netcat-openbsd: resolve multilib issues.
traceroute: resolve multilib issues

Quoted 4 lines
 .../recipes-protocols/accel-ppp/accel-ppp_git.bb   |    7 +++++++
 .../recipes-support/netcat/netcat-openbsd_1.89.bb  |    6 +++---
 .../traceroute/traceroute_2.0.18.bb                |   10 ++++++----
 3 files changed, 16 insertions(+), 7 deletions(-)

Merged, thanks Aws.

Signature · 2 lines
-Joe MacDonald.
:wq