summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2011-03-21 10:46:11 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-23 15:43:45 +0000
commitab44c22a3840060a65faff871404ca4fac555c2f (patch)
tree3aed9c6c5179453cc6e2679e47028e4397ba24ab
parent38a5f6123321f85df4ea863827c7578dd4cd5dca (diff)
downloadpoky-ab44c22a3840060a65faff871404ca4fac555c2f.tar.gz
msmtp: add link sendmail for lsb command check
LSB command check will test the exist of sendmail, so make sendmail link to msmtp using update-alternatives class in order to pass the test. Related to [YOCTO #520] (From OE-Core rev: 97b71119d716eab86b8afcbac204f38a00b88cf3) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/msmtp/msmtp_1.4.23.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-extended/msmtp/msmtp_1.4.23.bb b/meta/recipes-extended/msmtp/msmtp_1.4.23.bb
index cb3d83c716..d48881ace4 100644
--- a/meta/recipes-extended/msmtp/msmtp_1.4.23.bb
+++ b/meta/recipes-extended/msmtp/msmtp_1.4.23.bb
@@ -6,7 +6,7 @@ SECTION = "console/network"
6PRIORITY = "required" 6PRIORITY = "required"
7LICENSE = "GPLv3" 7LICENSE = "GPLv3"
8DEPENDS = "zlib gnutls" 8DEPENDS = "zlib gnutls"
9PR = "r0" 9PR = "r1"
10 10
11 11
12#COPYING or Licence 12#COPYING or Licence
@@ -18,4 +18,9 @@ SRC_URI = "http://sourceforge.net/projects/msmtp/files/msmtp/${PV}/${BPN}-${PV}.
18SRC_URI[md5sum] = "5fb7ae88186624cdb125d3efad3fdc16" 18SRC_URI[md5sum] = "5fb7ae88186624cdb125d3efad3fdc16"
19SRC_URI[sha256sum] = "269cd30eeb867167c6a599e23399f4fc24196fcdef3bac5b120d806b3b421810" 19SRC_URI[sha256sum] = "269cd30eeb867167c6a599e23399f4fc24196fcdef3bac5b120d806b3b421810"
20 20
21inherit gettext autotools 21inherit gettext autotools update-alternatives
22
23ALTERNATIVE_NAME = "sendmail"
24ALTERNATIVE_PATH = "${bindir}/msmtp"
25ALTERNATIVE_LINK = "${sbindir}/sendmail"
26ALTERNATIVE_PRIORITY = "100"