diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-03-21 10:46:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-23 15:43:45 +0000 |
commit | ab44c22a3840060a65faff871404ca4fac555c2f (patch) | |
tree | 3aed9c6c5179453cc6e2679e47028e4397ba24ab /meta/recipes-extended/msmtp | |
parent | 38a5f6123321f85df4ea863827c7578dd4cd5dca (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-extended/msmtp')
-rw-r--r-- | meta/recipes-extended/msmtp/msmtp_1.4.23.bb | 9 |
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" | |||
6 | PRIORITY = "required" | 6 | PRIORITY = "required" |
7 | LICENSE = "GPLv3" | 7 | LICENSE = "GPLv3" |
8 | DEPENDS = "zlib gnutls" | 8 | DEPENDS = "zlib gnutls" |
9 | PR = "r0" | 9 | PR = "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}. | |||
18 | SRC_URI[md5sum] = "5fb7ae88186624cdb125d3efad3fdc16" | 18 | SRC_URI[md5sum] = "5fb7ae88186624cdb125d3efad3fdc16" |
19 | SRC_URI[sha256sum] = "269cd30eeb867167c6a599e23399f4fc24196fcdef3bac5b120d806b3b421810" | 19 | SRC_URI[sha256sum] = "269cd30eeb867167c6a599e23399f4fc24196fcdef3bac5b120d806b3b421810" |
20 | 20 | ||
21 | inherit gettext autotools | 21 | inherit gettext autotools update-alternatives |
22 | |||
23 | ALTERNATIVE_NAME = "sendmail" | ||
24 | ALTERNATIVE_PATH = "${bindir}/msmtp" | ||
25 | ALTERNATIVE_LINK = "${sbindir}/sendmail" | ||
26 | ALTERNATIVE_PRIORITY = "100" | ||