Loosen sendmail's permission checks for building the aliases.db file

even further. Particularly, allow ${DESTDIR} to be within a world writable
directory, such as /var/tmp.
This commit is contained in:
fredb 2000-06-12 06:23:21 +00:00
parent 69d1f5db9d
commit 21fcee54a9
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.152 2000/06/03 23:53:17 perry Exp $ # $NetBSD: Makefile,v 1.153 2000/06/12 06:23:21 fredb Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95 # from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values: # Environment variables without default values:
@ -240,7 +240,7 @@ distribution: distrib-dirs
(cd ../gnu/usr.sbin/postfix/; ${MAKE} distribution) (cd ../gnu/usr.sbin/postfix/; ${MAKE} distribution)
.ifndef NO_SENDMAIL .ifndef NO_SENDMAIL
(cd ../gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution) (cd ../gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution)
${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/mail/sendmail.cf -O AliasFile=${DESTDIR}/etc/mail/aliases -O DontBlameSendmail=groupwritabledirpathsafe -bi ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/mail/sendmail.cf -O AliasFile=${DESTDIR}/etc/mail/aliases -O DontBlameSendmail=MapInUnsafeDirPath -bi
.endif .endif
distrib-dirs: distrib-dirs: