diff options
Diffstat (limited to 'meta/recipes-extended/sudo')
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 2 | ||||
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.27.bb | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc index 15075bcefd..4edfabe510 100644 --- a/meta/recipes-extended/sudo/sudo.inc +++ b/meta/recipes-extended/sudo/sudo.inc | |||
@@ -26,7 +26,7 @@ PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel" | |||
26 | 26 | ||
27 | CONFFILES_${PN} = "${sysconfdir}/sudoers" | 27 | CONFFILES_${PN} = "${sysconfdir}/sudoers" |
28 | 28 | ||
29 | EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor" | 29 | EXTRA_OECONF = "--with-editor=${base_bindir}/vi --with-env-editor" |
30 | 30 | ||
31 | EXTRA_OECONF_append_libc-musl = " --disable-hardening " | 31 | EXTRA_OECONF_append_libc-musl = " --disable-hardening " |
32 | 32 | ||
diff --git a/meta/recipes-extended/sudo/sudo_1.8.27.bb b/meta/recipes-extended/sudo/sudo_1.8.27.bb index ee3be95644..6d470d0373 100644 --- a/meta/recipes-extended/sudo/sudo_1.8.27.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.27.bb | |||
@@ -15,8 +15,15 @@ SRC_URI[sha256sum] = "7beb68b94471ef56d8a1036dbcdc09a7b58a949a68ffce48b83f837dd3 | |||
15 | DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 15 | DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
16 | RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" | 16 | RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" |
17 | 17 | ||
18 | CACHED_CONFIGUREVARS = " \ | ||
19 | ac_cv_type_rsize_t=no \ | ||
20 | ac_cv_path_MVPROG=${base_bindir}/mv \ | ||
21 | ac_cv_path_BSHELLPROG=${base_bindir}/sh \ | ||
22 | ac_cv_path_SENDMAILPROG=${sbindir}/sendmail \ | ||
23 | ac_cv_path_VIPROG=${base_bindir}/vi \ | ||
24 | " | ||
25 | |||
18 | EXTRA_OECONF += " \ | 26 | EXTRA_OECONF += " \ |
19 | ac_cv_type_rsize_t=no \ | ||
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ |
21 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${nonarch_libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \ | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${nonarch_libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \ |
22 | --with-vardir=/var/lib/sudo \ | 29 | --with-vardir=/var/lib/sudo \ |