From afc9e06c4cd9fdb52a751c480d7575a6d611ae34 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Wed, 12 Mar 2014 09:57:46 +0800 Subject: sudo: upgrade to 1.8.9p5 Upgrade sudo from 1.8.9p1 to 1.8.9p5. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- meta/recipes-extended/sudo/sudo_1.8.9p1.bb | 23 ----------------------- meta/recipes-extended/sudo/sudo_1.8.9p5.bb | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta/recipes-extended/sudo/sudo_1.8.9p1.bb create mode 100644 meta/recipes-extended/sudo/sudo_1.8.9p5.bb diff --git a/meta/recipes-extended/sudo/sudo_1.8.9p1.bb b/meta/recipes-extended/sudo/sudo_1.8.9p1.bb deleted file mode 100644 index b3c2086c4e..0000000000 --- a/meta/recipes-extended/sudo/sudo_1.8.9p1.bb +++ /dev/null @@ -1,23 +0,0 @@ -require sudo.inc - -SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ - ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" - -PAM_SRC_URI = "file://sudo.pam" - -SRC_URI[md5sum] = "03773c373082843211c96df2c9187146" -SRC_URI[sha256sum] = "c22089aa1023233bf27808e8f7611b6b4c4fec2d151616179e1898876703cd51" - -DEPENDS += " ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -RDEPENDS_${PN} += " ${@base_contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" - -EXTRA_OECONF += " ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}" - -do_install_append () { - if [ "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then - install -D -m 664 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo - fi - - chmod 4111 ${D}${bindir}/sudo - chmod 0440 ${D}${sysconfdir}/sudoers -} diff --git a/meta/recipes-extended/sudo/sudo_1.8.9p5.bb b/meta/recipes-extended/sudo/sudo_1.8.9p5.bb new file mode 100644 index 0000000000..b4d18e88ff --- /dev/null +++ b/meta/recipes-extended/sudo/sudo_1.8.9p5.bb @@ -0,0 +1,23 @@ +require sudo.inc + +SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ + ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" + +PAM_SRC_URI = "file://sudo.pam" + +SRC_URI[md5sum] = "d3f1f1cfca6b2b06b048e1abb7d0227e" +SRC_URI[sha256sum] = "bc9d5c96de5f8b4d2b014f87a37870aef60d2891c869202454069150a21a5c21" + +DEPENDS += " ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" +RDEPENDS_${PN} += " ${@base_contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" + +EXTRA_OECONF += " ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}" + +do_install_append () { + if [ "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then + install -D -m 664 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo + fi + + chmod 4111 ${D}${bindir}/sudo + chmod 0440 ${D}${sysconfdir}/sudoers +} -- cgit v1.2.3