summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-10-20 15:29:15 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2018-01-08 11:48:42 -0500
commit5ff5afa30b5b673847af2d202e6c2b35be4ad5dc (patch)
tree22363aeefeeab0a31455a3e1697cfe0fe22b12d0 /meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb
parent43d2d966b957886bc54d7f15e6632211c41114c3 (diff)
downloadmeta-openembedded-5ff5afa30b5b673847af2d202e6c2b35be4ad5dc.tar.gz
ssmtp: misc recipe updates + add Debian "partial loss of message body" fix
- Backport Debian fix for "partial loss of message body, sending message to wrong recipicients" issue: https://sources.debian.net/patches/ssmtp/2.64-8/ssmtp-bug584162-fix.patch/ - Control ipv6 support based on ipv6 DISTRO feature. - Enable ssl support by default (and add PACKAGECONFIG option to control it). - Drop inetutils dependency (inetutils provides only applications, not libraries or header files, so a build dependency on it doesn't make sense). - Drop pkgconfig class (the ssmtp configure script etc doesn't make any use of pkg-config). Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb')
-rw-r--r--meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb24
1 files changed, 14 insertions, 10 deletions
diff --git a/meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb b/meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb
index 9d4864d79a..07e3ffed42 100644
--- a/meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb
+++ b/meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb
@@ -1,25 +1,29 @@
1SUMMARY = "extremely simple MTA to get mail off the system to a mail hub" 1SUMMARY = "extremely simple MTA to get mail off the system to a mail hub"
2HOMEPAGE = "http://packages.qa.debian.org/s/ssmtp.html" 2HOMEPAGE = "http://packages.qa.debian.org/s/ssmtp.html"
3
4LICENSE = "GPLv2" 3LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" 4LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e"
6 5
7SRC_URI = "\ 6SRC_URI = "${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.bz2 \
8 ${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.bz2 \ 7 file://ssmtp-bug584162-fix.patch \
9 file://build-ouside_srcdir.patch \ 8 file://build-ouside_srcdir.patch \
10 file://use-DESTDIR.patch \ 9 file://use-DESTDIR.patch \
11 " 10"
12
13EXTRA_OECONF += "--mandir=${mandir}"
14
15EXTRA_OEMAKE = "GEN_CONFIG='/bin/true'"
16 11
17SRC_URI[md5sum] = "65b4e0df4934a6cd08c506cabcbe584f" 12SRC_URI[md5sum] = "65b4e0df4934a6cd08c506cabcbe584f"
18SRC_URI[sha256sum] = "22c37dc90c871e8e052b2cab0ad219d010fa938608cd66b21c8f3c759046fa36" 13SRC_URI[sha256sum] = "22c37dc90c871e8e052b2cab0ad219d010fa938608cd66b21c8f3c759046fa36"
19 14
20inherit autotools pkgconfig 15inherit autotools
16
17PACKAGECONFIG ?= "ssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
18
19PACKAGECONFIG[ssl] = "--enable-ssl,--disable-ssl,openssl"
20PACKAGECONFIG[ipv6] = "--enable-inet6,--disable-inet6"
21
22EXTRA_OECONF += "--mandir=${mandir}"
23
24EXTRA_OEMAKE = "GEN_CONFIG='/bin/true'"
21 25
22DEPENDS += "openssl inetutils" 26LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'ssl', '-lssl -lcrypto', '', d)}"
23 27
24do_install_append () { 28do_install_append () {
25 install -d ${D}${mandir}/ 29 install -d ${D}${mandir}/