diff options
author | Scott Garman <scott.a.garman@intel.com> | 2012-02-28 13:45:28 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-02 15:22:53 +0000 |
commit | 60eed3195cadf001ef683e96a5e65be5c1a2dde5 (patch) | |
tree | 9f80a9a81d1b31313b318adb913fe10bd30e84c9 /meta/recipes-extended/sudo/sudo_1.8.3.bb | |
parent | 78ae63423f123f89a5c72c85539e6ed71bd2653d (diff) | |
download | poky-60eed3195cadf001ef683e96a5e65be5c1a2dde5.tar.gz |
sudo: upgrade to 1.8.4
During the upgrade to 1.8.4, the UCB-licensed fnmatch.c was replaced
with a non-recursive BSD-licensed version, hence the removal of UCB
and addition of BSD in the LICENSE field. This led to checksum changes
in the doc/LICENSE file, and we now additionally track the comment
headers in redblack.c.
These changes were confirmed on the sudo mailing list:
http://www.sudo.ws/pipermail/sudo-workers/2012-February/000736.html
This upgrade also fixes CVE-2012-0809.
(From OE-Core rev: 7147a569758414467c9d022e4c11fbc303e050aa)
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo_1.8.3.bb')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.3.bb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.3.bb b/meta/recipes-extended/sudo/sudo_1.8.3.bb deleted file mode 100644 index 99fe5b91e7..0000000000 --- a/meta/recipes-extended/sudo/sudo_1.8.3.bb +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | require sudo.inc | ||
2 | |||
3 | PR = "r1" | ||
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] = "9e5517bbf3aee420b38c2d1d7a71bcad" | ||
12 | SRC_URI[sha256sum] = "ff1fcc410c5465063ee4912912e29936ea39f017d9a8a57ec76b0ded71b7c3c4" | ||
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/usr/bin/sudo | ||
28 | chmod 0440 $D/etc/sudoers | ||
29 | } | ||