diff options
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 @@ SUMMARY = "extremely simple MTA to get mail off the system to a mail hub" HOMEPAGE = "http://packages.qa.debian.org/s/ssmtp.html" - LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" -SRC_URI = "\ - ${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.bz2 \ +SRC_URI = "${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.bz2 \ + file://ssmtp-bug584162-fix.patch \ file://build-ouside_srcdir.patch \ file://use-DESTDIR.patch \ - " - -EXTRA_OECONF += "--mandir=${mandir}" - -EXTRA_OEMAKE = "GEN_CONFIG='/bin/true'" +" SRC_URI[md5sum] = "65b4e0df4934a6cd08c506cabcbe584f" SRC_URI[sha256sum] = "22c37dc90c871e8e052b2cab0ad219d010fa938608cd66b21c8f3c759046fa36" -inherit autotools pkgconfig +inherit autotools + +PACKAGECONFIG ?= "ssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" + +PACKAGECONFIG[ssl] = "--enable-ssl,--disable-ssl,openssl" +PACKAGECONFIG[ipv6] = "--enable-inet6,--disable-inet6" + +EXTRA_OECONF += "--mandir=${mandir}" + +EXTRA_OEMAKE = "GEN_CONFIG='/bin/true'" -DEPENDS += "openssl inetutils" +LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'ssl', '-lssl -lcrypto', '', d)}" do_install_append () { install -d ${D}${mandir}/ |