diff options
| author | Andre McCurdy <armccurdy@gmail.com> | 2017-10-20 15:29:15 -0700 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-01-08 11:48:42 -0500 |
| commit | 5ff5afa30b5b673847af2d202e6c2b35be4ad5dc (patch) | |
| tree | 22363aeefeeab0a31455a3e1697cfe0fe22b12d0 /meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb | |
| parent | 43d2d966b957886bc54d7f15e6632211c41114c3 (diff) | |
| download | meta-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.bb | 24 |
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 @@ | |||
| 1 | SUMMARY = "extremely simple MTA to get mail off the system to a mail hub" | 1 | SUMMARY = "extremely simple MTA to get mail off the system to a mail hub" |
| 2 | HOMEPAGE = "http://packages.qa.debian.org/s/ssmtp.html" | 2 | HOMEPAGE = "http://packages.qa.debian.org/s/ssmtp.html" |
| 3 | |||
| 4 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" |
| 6 | 5 | ||
| 7 | SRC_URI = "\ | 6 | SRC_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 | |||
| 13 | EXTRA_OECONF += "--mandir=${mandir}" | ||
| 14 | |||
| 15 | EXTRA_OEMAKE = "GEN_CONFIG='/bin/true'" | ||
| 16 | 11 | ||
| 17 | SRC_URI[md5sum] = "65b4e0df4934a6cd08c506cabcbe584f" | 12 | SRC_URI[md5sum] = "65b4e0df4934a6cd08c506cabcbe584f" |
| 18 | SRC_URI[sha256sum] = "22c37dc90c871e8e052b2cab0ad219d010fa938608cd66b21c8f3c759046fa36" | 13 | SRC_URI[sha256sum] = "22c37dc90c871e8e052b2cab0ad219d010fa938608cd66b21c8f3c759046fa36" |
| 19 | 14 | ||
| 20 | inherit autotools pkgconfig | 15 | inherit autotools |
| 16 | |||
| 17 | PACKAGECONFIG ?= "ssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
| 18 | |||
| 19 | PACKAGECONFIG[ssl] = "--enable-ssl,--disable-ssl,openssl" | ||
| 20 | PACKAGECONFIG[ipv6] = "--enable-inet6,--disable-inet6" | ||
| 21 | |||
| 22 | EXTRA_OECONF += "--mandir=${mandir}" | ||
| 23 | |||
| 24 | EXTRA_OEMAKE = "GEN_CONFIG='/bin/true'" | ||
| 21 | 25 | ||
| 22 | DEPENDS += "openssl inetutils" | 26 | LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'ssl', '-lssl -lcrypto', '', d)}" |
| 23 | 27 | ||
| 24 | do_install_append () { | 28 | do_install_append () { |
| 25 | install -d ${D}${mandir}/ | 29 | install -d ${D}${mandir}/ |
