]> granicus.if.org Git - sudo/commitdiff
Add explicit sendmail path for Linux since we may not have sendmail
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 3 May 2013 14:51:04 +0000 (10:51 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 3 May 2013 14:51:04 +0000 (10:51 -0400)
installed in the build chroot.

mkpkg

diff --git a/mkpkg b/mkpkg
index e38d8829d27598056eb457291030cd1b9d07d695..e197df7c6ab06027e2d32076052c6ce41c1ee426 100755 (executable)
--- a/mkpkg
+++ b/mkpkg
@@ -143,6 +143,7 @@ case "$osversion" in
                --with-tty-tickets
                --with-ldap
                --with-passprompt=[sudo] password for %p: 
+               --with-sendmail=/usr/sbin/sendmail
                $configure_opts"
        ;;
     sles*)
@@ -174,6 +175,7 @@ case "$osversion" in
                --with-ldap
                --with-env-editor
                --with-passprompt=%p\'s password: 
+               --with-sendmail=/usr/sbin/sendmail
                $configure_opts"
 
        make_opts='docdir=$(datarootdir)/doc/packages/$(PACKAGE_TARNAME)'
@@ -254,6 +256,7 @@ case "$osversion" in
                --with-env-editor
                --enable-zlib=builtin
                --disable-nls
+               --with-sendmail=/usr/sbin/sendmail
                $configure_opts"
        PPVARS="${PPVARS}${PPVARS+$space}aix_freeware=true"
        ;;