Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a

set-user-ID root binary instead of the new method (set-group-ID smmsp).
Therefore, we shouldn't install /etc/mail/submit.cf if it is set.
This commit is contained in:
Gregory Neil Shapiro 2002-02-17 22:09:15 +00:00
parent 742253f5fd
commit 910976f7b0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90802

View File

@ -86,6 +86,12 @@ distribution: freebsd.cf freebsd.mc ${INSTALL_CF}
.else
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
${DEST_CF}
.endif
.ifndef SENDMAIL_SET_USER_ID
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${CFDIR}/cf/submit.mc \
${DESTDIR}/etc/mail/submit.mc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${CFDIR}/cf/submit.cf \
${DESTDIR}/etc/mail/submit.cf
.endif
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/helpfile \
${DESTDIR}/etc/mail/helpfile