]> granicus.if.org Git - sudo/commitdiff
RHEL 6 and above builds sudo with SSSD support
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 3 Dec 2013 22:18:42 +0000 (15:18 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 3 Dec 2013 22:18:42 +0000 (15:18 -0700)
mkpkg

diff --git a/mkpkg b/mkpkg
index 9621372ea30bf2a791a3c8190c20d71b63e85481..f85a86f3bca7e73b48d71c920b72a69225d8edba 100755 (executable)
--- a/mkpkg
+++ b/mkpkg
@@ -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