diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-09-21 20:47:04 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-22 05:06:59 +0100 |
commit | 7042e14c7027a8e084c94e218c57aed7e071334b (patch) | |
tree | 5cd44f8cbcf5838fe9081647a6762162ccf1483f /meta/recipes-extended/sudo | |
parent | 0f6ef5cc921fd2aff5113207cc3b49cd22507b11 (diff) | |
download | poky-7042e14c7027a8e084c94e218c57aed7e071334b.tar.gz |
sudo: Fix PAM dependencies
When PAM is enabled for the distribution we need to be sure to have a
build dependency of libpam, and runtime dependencies on the pam modules
used by the sudo package.
(From OE-Core rev: 79db5ccc7ee9b360451074dd42f7676e138cf384)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.1p2.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.1p2.bb b/meta/recipes-extended/sudo/sudo_1.8.1p2.bb index 9cf9ecc083..b56829181a 100644 --- a/meta/recipes-extended/sudo/sudo_1.8.1p2.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.1p2.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require sudo.inc | 1 | require sudo.inc |
2 | 2 | ||
3 | PR = "r1" | 3 | PR = "r2" |
4 | 4 | ||
5 | SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ | 5 | SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ |
6 | file://libtool.patch \ | 6 | file://libtool.patch \ |
@@ -11,6 +11,9 @@ PAM_SRC_URI = "file://sudo.pam" | |||
11 | SRC_URI[md5sum] = "e8330f0e63b0ecb2e12b5c76922818cc" | 11 | SRC_URI[md5sum] = "e8330f0e63b0ecb2e12b5c76922818cc" |
12 | SRC_URI[sha256sum] = "281f90c80547cf22132e351e7f61c25ba4ba9cf393438468f318f9a7884026fb" | 12 | SRC_URI[sha256sum] = "281f90c80547cf22132e351e7f61c25ba4ba9cf393438468f318f9a7884026fb" |
13 | 13 | ||
14 | DEPENDS += " ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
15 | RDEPENDS_${PN} += " ${@base_contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" | ||
16 | |||
14 | EXTRA_OECONF += " ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}" | 17 | EXTRA_OECONF += " ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}" |
15 | 18 | ||
16 | do_install_append () { | 19 | do_install_append () { |