use sudo as the init.d script name for both sudo and sudo-ldap packages
[debian/sudo] / debian / rules
index 7bd9cb8c52b8513a51b48f1828ca6d673b798a2b..fd9c2b348c3f60862a1355f8d0c37a9815f50209 100755 (executable)
@@ -19,9 +19,9 @@ config-stamp:
                --with-all-insults \
                --with-devel --with-pam --with-fqdn \
                --with-logging=syslog --with-logfac=authpriv \
-               --with-env-editor --with-editor=/usr/bin/vi \
+               --with-env-editor --with-editor=/usr/bin/editor \
                --with-timeout=15 --with-password-timeout=0 \
-               --with-passprompt="[sudo] password for %u:" \
+               --with-passprompt="[sudo] password for %p: " \
                --disable-root-mailer --disable-setresuid \
                --with-sendmail=/usr/sbin/sendmail \
                --mandir=/usr/share/man --libexecdir=/usr/lib/sudo \
@@ -37,7 +37,7 @@ config-stamp:
                --with-logging=syslog --with-logfac=authpriv \
                --with-env-editor --with-editor=/usr/bin/vi \
                --with-timeout=15 --with-password-timeout=0 \
-               --with-passprompt="[sudo] password for %u:" \
+               --with-passprompt="[sudo] password for %p: " \
                --disable-root-mailer --disable-setresuid \
                --with-sendmail=/usr/sbin/sendmail \
                --with-ldap-conf-file=/etc/ldap/ldap.conf \
@@ -103,6 +103,7 @@ binary-arch: build install
        dh_testroot
        dh_installdocs
        dh_installexamples -A sudoers
+       dh_installinit -psudo -psudo-ldap --name=sudo
        dh_installmanpages fnmatch.3
        dh_installinfo -A
        dh_installchangelogs CHANGES