diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-05 13:52:32 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-05 13:53:39 +0100 |
commit | 22277253eefedc3c5b90164d954e5b9f675a050b (patch) | |
tree | 1f74772fa62c2479fb5a3bcc405c5bbfd8821d24 /recipes/sudo/sudo_1.7.2p4.bb | |
parent | 8cd06fd4e9db58ce24644572868b8dbef83d15a7 (diff) | |
download | openembedded-22277253eefedc3c5b90164d954e5b9f675a050b.tar.gz |
sudo: Upgrade from 1.7.2p1.bb to 1.7.2p4
This addresses CVE-2010-0426
http://www.vuxml.org/freebsd/018a84d0-2548-11df-b4a3-00e0815b8da8.html
Diffstat (limited to 'recipes/sudo/sudo_1.7.2p4.bb')
-rw-r--r-- | recipes/sudo/sudo_1.7.2p4.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/sudo/sudo_1.7.2p4.bb b/recipes/sudo/sudo_1.7.2p4.bb new file mode 100644 index 0000000000..3fe7aeffcd --- /dev/null +++ b/recipes/sudo/sudo_1.7.2p4.bb @@ -0,0 +1,22 @@ +PR = "r3" + +DEPENDS = "libpam" +RDEPENDS = "libpam libpam-meta" + +SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz;name=src \ + file://sudo.pamd \ +" + +SRC_URI[src.md5sum] = "3989e5a00538247d7dcef8b514076752" +SRC_URI[src.sha256sum] = "57d9adbdffa881e32894231079da7d68ffe99f46942818b63baadf6c795b7bdd" + +EXTRA_OECONF += " --with-pam " + +require sudo.inc + +# Do in the recipe not the common inc as not all SUDO recipes want PAM support. + +do_install_append() { + install -d ${D}${sysconfdir}/pam.d/ + install -m 0644 ${WORKDIR}/sudo.pamd ${D}${sysconfdir}/pam.d/sudo +} |