diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-05-07 11:30:08 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-08 13:00:35 +0100 |
commit | 43b0a2e2daaf83730532c9e0f536872f55d26ef9 (patch) | |
tree | c0dd509c1272588e36c71b251eba789fc6bbda38 /meta/recipes-extended/sudo/sudo_1.8.9p5.bb | |
parent | e7e433413d241a1f266f3bd3bef155f1c1b8b3ed (diff) | |
download | poky-43b0a2e2daaf83730532c9e0f536872f55d26ef9.tar.gz |
sudo: upgrade from 1.8.9p5 to 1.8.10p2
Upgrade sudo from 1.8.9p5 to the newest stable release 1.8.10p2.
The license checksums are modified as required, because the doc/LICENSE
file now declares that compat/inet_pton.c bears the ISC license.
As /var/run/sudo is the default directory for sudo's time stamp
files, this patch adds a configuration file to manage this directory.
(From OE-Core rev: af625d2f78a24dac96d11f159569f6465a534dfd)
Signed-off-by: Chen Qi <Qi.Chen@windriver.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.9p5.bb')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.9p5.bb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.9p5.bb b/meta/recipes-extended/sudo/sudo_1.8.9p5.bb deleted file mode 100644 index 7851473e47..0000000000 --- a/meta/recipes-extended/sudo/sudo_1.8.9p5.bb +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | require sudo.inc | ||
2 | |||
3 | SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ | ||
4 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" | ||
5 | |||
6 | PAM_SRC_URI = "file://sudo.pam" | ||
7 | |||
8 | SRC_URI[md5sum] = "d3f1f1cfca6b2b06b048e1abb7d0227e" | ||
9 | SRC_URI[sha256sum] = "bc9d5c96de5f8b4d2b014f87a37870aef60d2891c869202454069150a21a5c21" | ||
10 | |||
11 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
12 | RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" | ||
13 | |||
14 | EXTRA_OECONF += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}" | ||
15 | |||
16 | do_install_append () { | ||
17 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then | ||
18 | install -D -m 664 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo | ||
19 | fi | ||
20 | |||
21 | chmod 4111 ${D}${bindir}/sudo | ||
22 | chmod 0440 ${D}${sysconfdir}/sudoers | ||
23 | } | ||