Openembedded Core Discussions
 help / color / mirror / Atom feed
* [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI
@ 2014-12-30  5:50 Robert Yang
  2014-12-30  5:50 ` [meta-networking] [PATCH 2/2] esmtp: remove sendmail from sysroot Robert Yang
  2014-12-30  8:38 ` [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI Martin Jansa
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Yang @ 2014-12-30  5:50 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta-networking/recipes-support/esmtp/esmtp_1.2.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
index 46d468c..60d34e1 100644
--- a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
+++ b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
@@ -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}"
-- 
1.7.9.5



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

* [meta-networking] [PATCH 2/2] esmtp: remove sendmail from sysroot
  2014-12-30  5:50 [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI Robert Yang
@ 2014-12-30  5:50 ` Robert Yang
  2014-12-30  8:38 ` [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI Martin Jansa
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Yang @ 2014-12-30  5:50 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta-networking/recipes-support/esmtp/esmtp_1.2.bb |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
index 60d34e1..21cc1c3 100644
--- a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
+++ b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
@@ -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"
+}
-- 
1.7.9.5



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

* Re: [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI
  2014-12-30  5:50 [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI Robert Yang
  2014-12-30  5:50 ` [meta-networking] [PATCH 2/2] esmtp: remove sendmail from sysroot Robert Yang
@ 2014-12-30  8:38 ` Martin Jansa
  2014-12-30  8:41   ` Robert Yang
  1 sibling, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2014-12-30  8:38 UTC (permalink / raw)
  To: Robert Yang; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]

On Mon, Dec 29, 2014 at 09:50:10PM -0800, Robert Yang wrote:
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>

Wrong ML

> ---
>  meta-networking/recipes-support/esmtp/esmtp_1.2.bb |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
> index 46d468c..60d34e1 100644
> --- a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
> +++ b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
> @@ -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}"
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI
  2014-12-30  8:38 ` [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI Martin Jansa
@ 2014-12-30  8:41   ` Robert Yang
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2014-12-30  8:41 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core



On 12/30/2014 04:38 PM, Martin Jansa wrote:
> On Mon, Dec 29, 2014 at 09:50:10PM -0800, Robert Yang wrote:
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>
> Wrong ML

Sorry and thanks for the reminder, sent it to oe-devel just now.

// Robert

>
>> ---
>>   meta-networking/recipes-support/esmtp/esmtp_1.2.bb |    2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
>> index 46d468c..60d34e1 100644
>> --- a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
>> +++ b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
>> @@ -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}"
>> --
>> 1.7.9.5
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


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

end of thread, other threads:[~2014-12-30  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-30  5:50 [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI Robert Yang
2014-12-30  5:50 ` [meta-networking] [PATCH 2/2] esmtp: remove sendmail from sysroot Robert Yang
2014-12-30  8:38 ` [meta-networking] [PATCH 1/2] esmtp: use BPN in SRC_URI Martin Jansa
2014-12-30  8:41   ` Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox