diff options
author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2013-06-07 17:52:53 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-11 15:38:02 +0100 |
commit | 7c1a5555508c55a3888b9c906f5a59e61799dbed (patch) | |
tree | c4930b70c2f07673e135c16cf9f69f7854dd66d3 /meta/recipes-extended/sudo/sudo_1.8.6p8.bb | |
parent | 55316357e39b1abf1cfa4c935bfc53cf317f37ec (diff) | |
download | poky-7c1a5555508c55a3888b9c906f5a59e61799dbed.tar.gz |
sudo : upgrade to 1.8.6p8
upgrade from 1.8.6p7 -> 1.8.6p8
- removed crypt.patch because it was contained upstream
(From OE-Core rev: 198e0db0e840dd3ac719d0c2ea980e08bf1f3442)
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo_1.8.6p8.bb')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.6p8.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.6p8.bb b/meta/recipes-extended/sudo/sudo_1.8.6p8.bb new file mode 100644 index 0000000000..00602c00a3 --- /dev/null +++ b/meta/recipes-extended/sudo/sudo_1.8.6p8.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | require sudo.inc | ||
2 | |||
3 | PR = "r0" | ||
4 | |||
5 | SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ | ||
6 | file://libtool.patch \ | ||
7 | ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" | ||
8 | |||
9 | PAM_SRC_URI = "file://sudo.pam" | ||
10 | |||
11 | SRC_URI[md5sum] = "6dac48c73c8e0932980efcddafa569af" | ||
12 | SRC_URI[sha256sum] = "c0baaa87f59153967b650a0dde2f7d4147d358fa15f3fdabb47e84d0282fe625" | ||
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 | |||
17 | EXTRA_OECONF += " ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}" | ||
18 | |||
19 | do_install_append () { | ||
20 | for feature in ${DISTRO_FEATURES}; do | ||
21 | if [ "$feature" = "pam" ]; then | ||
22 | install -D -m 664 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo | ||
23 | break | ||
24 | fi | ||
25 | done | ||
26 | |||
27 | chmod 4111 ${D}${bindir}/sudo | ||
28 | chmod 0440 ${D}${sysconfdir}/sudoers | ||
29 | } | ||