From a0ac2d1ebeb510df42d59aa25de0ef0a3a2a7ccc Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Fri, 22 Jul 2011 15:49:50 +0200 Subject: [PATCH] update docs and configure options --- debian/OPTIONS | 40 ++++++++++++++++++++-------------------- debian/changelog | 1 + debian/rules | 3 +-- debian/sudo-ldap.docs | 10 +++++----- debian/sudo.docs | 6 +++--- 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/debian/OPTIONS b/debian/OPTIONS index 35710ba..49938d7 100644 --- a/debian/OPTIONS +++ b/debian/OPTIONS @@ -1,5 +1,10 @@ The following options were used to configure sudo for Debian GNU/Linux. + --with-all-insults + + Include all the insults in the binary, won't be enabled unless turned + on in the sudoers file. + --with-devel Force flex and bison runs on each build. @@ -8,18 +13,10 @@ The following options were used to configure sudo for Debian GNU/Linux. Support for pluggable authentication modules. - --with-ldap - - Support for LDAP authentication, in the sudo-ldap package version only. - --with-fqdn Allow use of fully qualified domain names in the sudoers file. - --disable-root-mailer - - Send mail as the invoking user, not as root. - --with-logging=syslog --with-logfac=authpriv @@ -33,27 +30,30 @@ The following options were used to configure sudo for Debian GNU/Linux. --with-timeout=15 --with-password-timeout=0 + --with-passprompt="[sudo] password for %p: " Allow 15 minutes before a user has to re-type their passord, versus the sudo usual default of 5. Never time out while waiting for a - password to be typed, this is a seriously big deal for Debian package - developers using 'dpkg-buildpackage -rsudo'. + password to be typed, this is important to Debian package developers + using 'dpkg-buildpackage -rsudo'. Make it clear which password is + requested. - --with-secure-path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:\ - /sbin:/bin:/usr/X11R6/bin" - - Give a reasonable default path for commands run as root via sudo. - - --with-all-insults + --disable-root-mailer - Include all the insults in the binary, won't be enabled unless turned - on in the sudoers file. + Send mail as the invoking user, not as root. --with-sendmail=/usr/sbin/sendmail Use Debian policy to know the location of sendmail instead of trying to detect it at build time. - --disable-setresuid + --with-timedir=/var/lib/sudo + --mandir=/usr/share/man + --libexecdir=/usr/lib/sudo + + Comply with Debian policy on suitable paths. + + --with-ldap + + Support for LDAP authentication, in the sudo-ldap package version only. - Linux 2.2 kernels don't support setresgid. diff --git a/debian/changelog b/debian/changelog index feb8054..4081178 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ sudo (1.8.1p2-1) UNRELEASED; urgency=low * include common-session in pam config, closes: #519700, #607199 * move secure_path from configure to default sudoers, closes: #85123, 85917 * improve sudoers self-documentation, closes: #613639 + * drop --disable-setresuid since modern systems should not run 2.2 kernels -- Bdale Garbee Fri, 22 Jul 2011 15:22:40 +0200 diff --git a/debian/rules b/debian/rules index 2dc5e81..9a0ad28 100755 --- a/debian/rules +++ b/debian/rules @@ -31,10 +31,9 @@ configure-stamp: --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 \ + --with-timedir=/var/lib/sudo \ --mandir=/usr/share/man \ --libexecdir=/usr/lib/sudo diff --git a/debian/sudo-ldap.docs b/debian/sudo-ldap.docs index 76cded0..565ca2d 100644 --- a/debian/sudo-ldap.docs +++ b/debian/sudo-ldap.docs @@ -1,8 +1,8 @@ debian/OPTIONS -UPGRADE -HISTORY +doc/UPGRADE +doc/HISTORY +doc/TROUBLESHOOTING +doc/schema.* +plugins/sudoers/sudoers2ldif README README.LDAP -TROUBLESHOOTING -sudoers2ldif -schema.* diff --git a/debian/sudo.docs b/debian/sudo.docs index e3c9b7b..b590209 100644 --- a/debian/sudo.docs +++ b/debian/sudo.docs @@ -1,5 +1,5 @@ debian/OPTIONS -UPGRADE -HISTORY +doc/UPGRADE +doc/HISTORY +doc/TROUBLESHOOTING README -TROUBLESHOOTING -- 2.47.2