Install mailer.conf as ${BINOWN}, ${BINGRP}, rather than root:wheel. This
lets unprivileged installworld: almost work first try and always work second. BINOWN isn't quite right for this, but it's not really worth creating a MAILOWN for this.
This commit is contained in:
parent
33fab22e1c
commit
0e61e4dd08
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61230
@ -11,9 +11,9 @@ SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
|||||||
${BINDIR}/mailwrapper /usr/bin/mailq
|
${BINDIR}/mailwrapper /usr/bin/mailq
|
||||||
|
|
||||||
afterinstall:
|
afterinstall:
|
||||||
@if [ ! -f ${DESTDIR}/etc/mail/mailer.conf ]; then \
|
.if !exists(${DESTDIR}/etc/mail/mailer.conf)
|
||||||
${INSTALL} -c -o root -g wheel -m 644 \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||||
${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail; \
|
${.CURDIR}/../../etc/mail/mailer.conf ${DESTDIR}/etc/mail
|
||||||
fi
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user