From 9ca121f5b3eabff7caa6b72fb645af0ba6cd492e Mon Sep 17 00:00:00 2001 From: gshapiro 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') diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile index 7ac0cc9..2ff7659 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 \ -- cgit v1.1