--libexecdir=$prefix/$libexec/sudo
--with-logging=syslog
--with-logfac=auth
- --with-insults=disabled
--with-all-insults
--with-ignore-dot
--with-tty-tickets
--libexecdir=$prefix/$libexec/sudo
--with-logging=syslog
--with-logfac=auth
- --with-insults=disabled
--with-all-insults
--with-ignore-dot
--with-tty-tickets
--with-selinux
--with-logging=syslog
--with-logfac=auth
- --with-insults=disabled
--with-all-insults
--with-ignore-dot
--with-tty-tickets
make_opts='docdir=$(datarootdir)/doc/packages/$(PACKAGE_TARNAME)'
export CFLAGS="$F_PIE" LDFLAGS="-pie"
;;
+ deb4*)
+ # XXX - create sudo group like debian does
+ # XXX - newer deb moved timestamps to /var/lib/sudo
+ # Note, must indent with tabs, not spaces due to IFS trickery
+ configure_opts="
+ --prefix=/usr
+ --with-ldap
+ --with-all-insults
+ --with-exempt=sudo
+ --with-pam
+ --with-fqdn
+ --with-logging=syslog
+ --with-logfac=authpriv
+ --with-env-editor
+ --with-editor=/usr/bin/editor
+ --with-timeout=15
+ --with-password-timeout=0
+ --disable-root-mailer
+ --disable-setresuid
+ --with-sendmail=/usr/sbin/sendmail
+ --mandir=/usr/share/man
+ --libexecdir=/usr/lib/sudo
+ --with-secure-path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
+ ;;
*)
# Note, must indent with tabs, not spaces due to IFS trickery
configure_opts="
;;
*)
# Remove trailing revision number and any dots
- release=`echo $release | cut -dr -f1 | tr -d .`
+ #release=`echo $release | cut -dr -f1 | tr -d .`
+ release=`echo $release | cut -dr -f1`
;;
esac
;;
esac
+%set [deb]
+ # Choose the correct PAM file by distro
+ # XXX - missing deb5 and others
+ case "$pp_deb_distro" in
+ deb4.*)
+ mkdir -p ${pp_destdir}/etc/pam.d
+ cat > ${pp_destdir}/etc/pam.d/sudo <<-EOF
+ #%PAM-1.0
+ @include common-auth
+ @include common-account
+ EOF
+ ;;
+ esac
+
%set [aix]
pp_aix_version=`echo $version | sed -e 's,\([0-9][0-9]*\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\)p\([0-9][0-9]*\)q\([0-9][0-9]*\),\1.\2.\3.\4,'`
summary="Configurable super-user privileges"