diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2017-06-09 09:17:36 +0800 |
---|---|---|
committer | Ross Burton <ross.burton@intel.com> | 2017-06-09 13:50:35 +0100 |
commit | 9397c157eef1ff74e41f5a82faceb6dc3f672a0c (patch) | |
tree | 86c6a53872f26499d44deabdb6d3dce3a95ac5e8 /recipes-extended/msmtp/msmtp_1.4.12.bb | |
parent | b0cdb6ffa9dd814865a0510115935ba2ced5827f (diff) | |
download | meta-gplv2-9397c157eef1ff74e41f5a82faceb6dc3f672a0c.tar.gz |
msmtp: add old version with gplv2
msmtp changed to gplv3 from 1.4.13
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'recipes-extended/msmtp/msmtp_1.4.12.bb')
-rw-r--r-- | recipes-extended/msmtp/msmtp_1.4.12.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-extended/msmtp/msmtp_1.4.12.bb b/recipes-extended/msmtp/msmtp_1.4.12.bb new file mode 100644 index 0000000..e03d432 --- /dev/null +++ b/recipes-extended/msmtp/msmtp_1.4.12.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "msmtp is an SMTP client." | ||
2 | DESCRIPTION = "A sendmail replacement for use in MTAs like mutt" | ||
3 | HOMEPAGE = "http://msmtp.sourceforge.net/" | ||
4 | SECTION = "console/network" | ||
5 | |||
6 | LICENSE = "GPLv2" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
9 | |||
10 | DEPENDS = "zlib gnutls" | ||
11 | |||
12 | SRC_URI = "http://sourceforge.net/projects/msmtp/files/msmtp/${PV}/${BPN}-${PV}.tar.bz2 \ | ||
13 | file://msmtp-fixup-api-and-compiler-warning.patch \ | ||
14 | file://msmtp-replace-deprecated-function.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "ba5b61d5f7667d288f1cfadccfff8ac5" | ||
18 | SRC_URI[sha256sum] = "ab794bb014cdaeae0a1460a7aca1869dab8c93383bf01f41aca41b3d99b69509" | ||
19 | |||
20 | EXTRA_OECONF += "--with-libgnutls-prefix=${STAGING_DIR}/${HOST_SYS}" | ||
21 | |||
22 | PACKAGECONFIG ??= "" | ||
23 | PACKAGECONFIG[libidn] = "--with-libidn,--without-libidn,libidn" | ||
24 | |||
25 | inherit gettext autotools update-alternatives | ||
26 | |||
27 | ALTERNATIVE_${PN} = "sendmail" | ||
28 | ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp" | ||
29 | ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" | ||
30 | ALTERNATIVE_PRIORITY = "100" | ||
31 | |||
32 | pkg_postinst_${PN}_linuxstdbase () { | ||
33 | # /usr/lib/sendmail is required by LSB specification | ||
34 | [ ! -L $D/usr/lib/sendmail ] && ln -sf ${sbindir}/sendmail $D/usr/lib | ||
35 | } | ||