diff options
author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2002-02-17 22:09:15 +0000 |
---|---|---|
committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2002-02-17 22:09:15 +0000 |
commit | 910976f7b0864ce063039e913afb42d2dac62c1b (patch) | |
tree | d9dac75d17ac884ef006f8f817c38cd23fd8d0d3 /etc/sendmail/Makefile | |
parent | 742253f5fdaed1fe7a5f3175fc73f2f24a1b1dee (diff) | |
download | src-910976f7b0864ce063039e913afb42d2dac62c1b.tar.gz src-910976f7b0864ce063039e913afb42d2dac62c1b.zip |
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.
Notes
Notes:
svn path=/head/; revision=90802
Diffstat (limited to 'etc/sendmail/Makefile')
-rw-r--r-- | etc/sendmail/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile index 7ac0cc9c2bbd..2ff765945fa0 100644 --- a/etc/sendmail/Makefile +++ b/etc/sendmail/Makefile @@ -87,6 +87,12 @@ distribution: freebsd.cf freebsd.mc ${INSTALL_CF} ${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 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ |