--- embedaddon/sudo/mkpkg 2013/10/14 07:56:33 1.1.1.5 +++ embedaddon/sudo/mkpkg 2014/06/15 16:12:53 1.1.1.6 @@ -131,6 +131,10 @@ case "$osversion" in configure_opts="${configure_opts}${configure_opts+$tab}--with-pam-login" PPVARS="${PPVARS}${PPVARS+$space}linux_audit=1.4.0" fi + if [ $osrelease -ge 60 ]; then + # RHEL 6 and above builds sudo with SSSD support + configure_opts="${configure_opts}${configure_opts+$tab}--with-sssd" + fi # Note, must indent with tabs, not spaces due to IFS trickery configure_opts="--prefix=/usr --with-logging=syslog @@ -208,9 +212,7 @@ case "$osversion" in --with-timeout=15 --with-password-timeout=0 --with-passprompt=[sudo] password for %p: - --with-timedir=/var/lib/sudo --disable-root-mailer - --disable-setresuid --with-sendmail=/usr/sbin/sendmail --mandir=/usr/share/man --libexecdir=/usr/lib