diff options
author | Bian Naimeng <biannm@cn.fujitsu.com> | 2014-11-17 17:15:40 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-11-21 14:09:14 -0500 |
commit | c78db30ef5406b10f9522260b1ea6025cdb59ae1 (patch) | |
tree | 5fb5a09d569caa530cd21b50849be157b42d684c /meta-networking | |
parent | 1037a44e9d6b101f1b12c183176af95a26a879f3 (diff) | |
download | meta-openembedded-c78db30ef5406b10f9522260b1ea6025cdb59ae1.tar.gz |
esmpt: port from openembedded.
The esmtp is not longer being maintained since 1.2,
but it's used at many distribution now such as Ubuntu trusty(14.04LTS).
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb new file mode 100644 index 000000000..46d468cbc --- /dev/null +++ b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "User configurable send-only Mail Transfer Agent" | ||
2 | DESCRIPTION = "ESMTP is a user-configurable relay-only MTA \ | ||
3 | with a sendmail-compatible syntax, based on libESMTP and \ | ||
4 | supporting the AUTH (including the CRAM-MD5 and NTLM SASL \ | ||
5 | mechanisms) and StartTLS SMTP extensions." | ||
6 | HOMEPAGE = "http://esmtp.sourceforge.net/" | ||
7 | SECTION = "console/network" | ||
8 | |||
9 | DEPENDS = "libesmtp" | ||
10 | |||
11 | LICENSE = "GPL-2.0" | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | ||
13 | |||
14 | SRC_URI = "http://nchc.dl.sourceforge.net/project/${PN}/${PN}/${PV}/${PN}-${PV}.tar.bz2" | ||
15 | |||
16 | # Have to set this or we get -L/lib in LDFLAGS | ||
17 | EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}" | ||
18 | |||
19 | inherit autotools update-alternatives | ||
20 | |||
21 | ALTERNATIVE_${PN} = "sbinsendmail libsendmail" | ||
22 | |||
23 | ALTERNATIVE_LINK_NAME[sbinsendmail] = "${sbindir}/sendmail" | ||
24 | ALTERNATIVE_TARGET[sbinsendmail] = "${bindir}/esmtp" | ||
25 | ALTERNATIVE_LINK_NAME[libsendmail] = "${libdir}/sendmail" | ||
26 | ALTERNATIVE_TARGET[libsendmail] = "${bindir}/esmtp" | ||
27 | ALTERNATIVE_PRIORITY = "10" | ||
28 | |||
29 | SRC_URI[md5sum] = "79a9c1f9023d53f35bb82bf446150a72" | ||
30 | SRC_URI[sha256sum] = "a0d26931bf731f97514da266d079d8bc7d73c65b3499ed080576ab606b21c0ce" | ||
31 | |||
32 | FILES_${PN} += "${libdir}/" | ||