From 910976f7b0864ce063039e913afb42d2dac62c1b Mon Sep 17 00:00:00 2001 From: Gregory Neil Shapiro Date: Sun, 17 Feb 2002 22:09:15 +0000 Subject: 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. --- etc/sendmail/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc/sendmail/Makefile') diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile index 7ac0cc9c2bbd..2ff765945fa0 100644 --- a/etc/sendmail/Makefile +++ b/etc/sendmail/Makefile @@ -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 -- cgit v1.2.3