summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo/sudo_1.9.7p1.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-extended/sudo/sudo_1.9.7p1.bb
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo_1.9.7p1.bb')
-rw-r--r--meta/recipes-extended/sudo/sudo_1.9.7p1.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.9.7p1.bb b/meta/recipes-extended/sudo/sudo_1.9.7p1.bb
index aba6f4a595..8d47c01706 100644
--- a/meta/recipes-extended/sudo/sudo_1.9.7p1.bb
+++ b/meta/recipes-extended/sudo/sudo_1.9.7p1.bb
@@ -10,7 +10,7 @@ PAM_SRC_URI = "file://sudo.pam"
10SRC_URI[sha256sum] = "391431f454e55121b60c6ded0fcf30ddb80d623d7d16a6d1907cfa6a0b91d8cf" 10SRC_URI[sha256sum] = "391431f454e55121b60c6ded0fcf30ddb80d623d7d16a6d1907cfa6a0b91d8cf"
11 11
12DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" 12DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
13RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" 13RDEPENDS:${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}"
14 14
15CACHED_CONFIGUREVARS = " \ 15CACHED_CONFIGUREVARS = " \
16 ac_cv_type_rsize_t=no \ 16 ac_cv_type_rsize_t=no \
@@ -28,7 +28,7 @@ EXTRA_OECONF += " \
28 --libexecdir=${libdir} \ 28 --libexecdir=${libdir} \
29 " 29 "
30 30
31do_install_append () { 31do_install:append () {
32 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then 32 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then
33 install -D -m 644 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo 33 install -D -m 644 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo
34 if ${@bb.utils.contains('PACKAGECONFIG', 'pam-wheel', 'true', 'false', d)} ; then 34 if ${@bb.utils.contains('PACKAGECONFIG', 'pam-wheel', 'true', 'false', d)} ; then
@@ -44,7 +44,7 @@ do_install_append () {
44 rmdir -p --ignore-fail-on-non-empty ${D}/run/sudo 44 rmdir -p --ignore-fail-on-non-empty ${D}/run/sudo
45} 45}
46 46
47FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/*.la \ 47FILES:${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/*.la \
48 ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la" 48 ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la"
49 49
50SUDO_PACKAGES = "${PN}-sudo\ 50SUDO_PACKAGES = "${PN}-sudo\
@@ -52,8 +52,8 @@ SUDO_PACKAGES = "${PN}-sudo\
52 52
53PACKAGE_BEFORE_PN = "${SUDO_PACKAGES}" 53PACKAGE_BEFORE_PN = "${SUDO_PACKAGES}"
54 54
55RDEPENDS_${PN}-sudo = "${PN}-lib" 55RDEPENDS:${PN}-sudo = "${PN}-lib"
56RDEPENDS_${PN} += "${SUDO_PACKAGES}" 56RDEPENDS:${PN} += "${SUDO_PACKAGES}"
57 57
58FILES_${PN}-sudo = "${bindir}/sudo ${bindir}/sudoedit" 58FILES:${PN}-sudo = "${bindir}/sudo ${bindir}/sudoedit"
59FILES_${PN}-lib = "${localstatedir} ${libexecdir} ${sysconfdir} ${libdir} ${nonarch_libdir}" 59FILES:${PN}-lib = "${localstatedir} ${libexecdir} ${sysconfdir} ${libdir} ${nonarch_libdir}"