Skip to contentSkip to conversation

esmtp: use BPN in SRC_URI

PATCH In review Robert Yang 2 participants 5 messages Dec 19, 2014 – Dec 30, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 esmtp: use BPN in SRC_URI

(LOCAL REV: NOT UPSTREAM) -- Sent to meta-networking on 20141219

---
 meta-networking/recipes-support/esmtp/esmtp_1.2.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/esmtp/esmtp_1.2.bb +1 -1
index 46d468c..60d34e1 100644
@@ -11,7 +11,7 @@ DEPENDS = "libesmtp"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
 
-SRC_URI = "http://nchc.dl.sourceforge.net/project/${PN}/${PN}/${PV}/${PN}-${PV}.tar.bz2"
+SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${PV}.tar.bz2"
 
 # Have to set this or we get -L/lib in LDFLAGS
 EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}"
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/3 esmtp: remove sendmail from sysroot

The sysroot/${libdir}/sendmail conflicts with lsb's, and it's a symlink to ${bindir}/esmtp which is meaningless for sysroot, so remove it.

(LOCAL REV: NOT UPSTREAM) -- Sent to meta-networking on 20141219

---
 meta-networking/recipes-support/esmtp/esmtp_1.2.bb |    8 ++++++++
 1 file changed, 8 insertions(+)
meta-networking/recipes-support/esmtp/esmtp_1.2.bb +8 -0
index 60d34e1..21cc1c3 100644
@@ -30,3 +30,11 @@ SRC_URI[md5sum] = "79a9c1f9023d53f35bb82bf446150a72"
 SRC_URI[sha256sum] = "a0d26931bf731f97514da266d079d8bc7d73c65b3499ed080576ab606b21c0ce"
 
 FILES_${PN} += "${libdir}/"
+
+# The sysroot/${libdir}/sendmail conflicts with lsb's, and it's a
+# symlink to ${bindir}/esmtp which is meaningless for sysroot, so
+# remove it.
+SYSROOT_PREPROCESS_FUNCS += "remove_sysroot_sendmail"
+remove_sysroot_sendmail() {
+    rm -r "${SYSROOT_DESTDIR}${libdir}/sendmail"
+}
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 3/3 netkit-rusers: fix parallel build issue

In reply to Robert Yang

Fixed:
rusers.x: No such file or directory Makefile:44: recipe for target 'rusers_xdr.c' failed

(LOCAL REV: NOT UPSTREAM) -- Sent to meta-networking on 20141219

---
 ...rusersd-Makefile-fix-parallel-build-issue.patch |   30 ++++++++++++++++++++
 .../netkit-rusers/netkit-rusers_0.17.bb            |    1 +
 2 files changed, 31 insertions(+)
 create mode 100644 meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/rpc.rusersd-Makefile-fix-parallel-build-issue.patch
meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/rpc.rusersd-Makefile-fix-parallel-build-issue.patch new file +30 -0
new file mode 100644
index 0000000..d85178d
@@ -0,0 +1,30 @@
+From c23cc112a480f90950de5cf1de09b1a7e732bf21 Mon Sep 17 00:00:00 2001
+From: Robert Yang <[email protected]>
+Date: Mon, 15 Dec 2014 18:31:13 -0800
+Subject: [PATCH] rpc.rusersd/Makefile: fix parallel build issue
+
+Fixed:
+rusers.x: No such file or directory
+Makefile:44: recipe for target 'rusers_xdr.c' failed
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <[email protected]>
+---
+ rpc.rusersd/Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/rpc.rusersd/Makefile b/rpc.rusersd/Makefile
+index 792f528..65a424a 100644
+--- a/rpc.rusersd/Makefile
++++ b/rpc.rusersd/Makefile
+@@ -40,5 +40,5 @@ rusers.x:
+ rusers.h: $(RUSERSX) rusers.x
+ 	$(RPCGEN) -h -o rusers.h rusers.x
+ 
+-rusers_xdr.c: $(RUSERSX)
++rusers_xdr.c: $(RUSERSX) rusers.x
+ 	$(RPCGEN) -c -C -o rusers_xdr.c rusers.x
+-- 
+1.7.9.5
+
meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb +1 -0
index e59f7a7..c930842 100644
@@ -8,6 +8,7 @@ DEPENDS = " tcp-wrappers libtirpc rpcbind"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.orig.tar.gz;name=archive \
            ${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}-8.diff.gz;name=patch8 \
+           file://rpc.rusersd-Makefile-fix-parallel-build-issue.patch \
 "
 
 SRC_URI[archive.md5sum] = "dc99a80b9fde2ab427c874f88f1c1602"
Signature · 1 line
1.7.9.5
#3 lore raw

Re: [meta-networking] [PATCH 3/3] netkit-rusers: fix parallel build issue

Hi Robert,

I merged this patch after removing your "LOCAL REV:" comment from the commit log) but I haven't merged the esmtp ones yet, I wanted to confirm first that the runtime behaviour wasn't impacted. Just FYI.

-J

Quoted 64 lines · [[oe] [meta-networking] [PATCH 3/3] netkit-rusers: fix parallel build issue]…

Fixed:
rusers.x: No such file or directory Makefile:44: recipe for target 'rusers_xdr.c' failed

(LOCAL REV: NOT UPSTREAM) -- Sent to meta-networking on 20141219

---
 ...rusersd-Makefile-fix-parallel-build-issue.patch |   30 ++++++++++++++++++++
 .../netkit-rusers/netkit-rusers_0.17.bb            |    1 +
 2 files changed, 31 insertions(+)
 create mode 100644 meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/rpc.rusersd-Makefile-fix-parallel-build-issue.patch
meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/rpc.rusersd-Makefile-fix-parallel-build-issue.patch new file +30 -0
new file mode 100644
index 0000000..d85178d
@@ -0,0 +1,30 @@
+From c23cc112a480f90950de5cf1de09b1a7e732bf21 Mon Sep 17 00:00:00 2001
+From: Robert Yang <[email protected]>
+Date: Mon, 15 Dec 2014 18:31:13 -0800
+Subject: [PATCH] rpc.rusersd/Makefile: fix parallel build issue
+
+Fixed:
+rusers.x: No such file or directory
+Makefile:44: recipe for target 'rusers_xdr.c' failed
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <[email protected]>
+---
+ rpc.rusersd/Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/rpc.rusersd/Makefile b/rpc.rusersd/Makefile
+index 792f528..65a424a 100644
+--- a/rpc.rusersd/Makefile
++++ b/rpc.rusersd/Makefile
+@@ -40,5 +40,5 @@ rusers.x:
+ rusers.h: $(RUSERSX) rusers.x
+ 	$(RPCGEN) -h -o rusers.h rusers.x
+ 
+-rusers_xdr.c: $(RUSERSX)
++rusers_xdr.c: $(RUSERSX) rusers.x
+ 	$(RPCGEN) -c -C -o rusers_xdr.c rusers.x
+-- 
+1.7.9.5
+
meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb +1 -0
index e59f7a7..c930842 100644
@@ -8,6 +8,7 @@ DEPENDS = " tcp-wrappers libtirpc rpcbind"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.orig.tar.gz;name=archive \
            ${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}-8.diff.gz;name=patch8 \
+           file://rpc.rusersd-Makefile-fix-parallel-build-issue.patch \
 "
 
 SRC_URI[archive.md5sum] = "dc99a80b9fde2ab427c874f88f1c1602"
Signature · 1 line
1.7.9.5
Signature · 2 lines
-Joe MacDonald.
:wq
#4 lore raw

Re: [meta-networking] [PATCH 3/3] netkit-rusers: fix parallel build issue

Quoted 5 lines · Joe MacDonald

Hi Robert,

I merged this patch after removing your "LOCAL REV:" comment from the commit log) but I haven't merged the esmtp ones yet, I wanted to confirm first that the runtime behaviour wasn't impacted. Just FYI.

Ah, sorry, my fault, I will remove the "(LOCAL REV" and send again, it doesn't affect the runtime behaviour since I only remove it from sysroot.

// Robert

Quoted 71 lines

-J

Quoted 66 lines · [[oe] [meta-networking] [PATCH 3/3] netkit-rusers: fix parallel build issue]…

Fixed:
rusers.x: No such file or directory Makefile:44: recipe for target 'rusers_xdr.c' failed

(LOCAL REV: NOT UPSTREAM) -- Sent to meta-networking on 20141219

---
  ...rusersd-Makefile-fix-parallel-build-issue.patch |   30 ++++++++++++++++++++
  .../netkit-rusers/netkit-rusers_0.17.bb            |    1 +
  2 files changed, 31 insertions(+)

create mode 100644 meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/rpc.rusersd-Makefile-fix-parallel-build-issue.patch

meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/rpc.rusersd-Makefile-fix-parallel-build-issue.patch new file +30 -0
new file mode 100644
index 0000000..d85178d
@@ -0,0 +1,30 @@
+From c23cc112a480f90950de5cf1de09b1a7e732bf21 Mon Sep 17 00:00:00 2001
+From: Robert Yang <[email protected]>
+Date: Mon, 15 Dec 2014 18:31:13 -0800
+Subject: [PATCH] rpc.rusersd/Makefile: fix parallel build issue
+
+Fixed:
+rusers.x: No such file or directory
+Makefile:44: recipe for target 'rusers_xdr.c' failed
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <[email protected]>
+---
+ rpc.rusersd/Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/rpc.rusersd/Makefile b/rpc.rusersd/Makefile
+index 792f528..65a424a 100644
+--- a/rpc.rusersd/Makefile
++++ b/rpc.rusersd/Makefile
+@@ -40,5 +40,5 @@ rusers.x:
+ rusers.h: $(RUSERSX) rusers.x
+ 	$(RPCGEN) -h -o rusers.h rusers.x
+
+-rusers_xdr.c: $(RUSERSX)
++rusers_xdr.c: $(RUSERSX) rusers.x
+ 	$(RPCGEN) -c -C -o rusers_xdr.c rusers.x
+--
+1.7.9.5
+
meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb +1 -1
index e59f7a7..c930842 100644
@@ -8,6 +8,7 @@ DEPENDS = " tcp-wrappers libtirpc rpcbind"
 
  SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.orig.tar.gz;name=archive \
             ${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}-8.diff.gz;name=patch8 \
+           file://rpc.rusersd-Makefile-fix-parallel-build-issue.patch \
  "
 
  SRC_URI[archive.md5sum] = "dc99a80b9fde2ab427c874f88f1c1602"
--

1.7.9.5