Move installation of sendmail helpfile into etc/sendmail/Makefile. It is
a user configurable file and it would benefit from mergemaster.
This commit is contained in:
parent
eb1f3e53bb
commit
f307b308ba
@ -5,7 +5,10 @@ M4= m4
|
||||
CHMOD= chmod
|
||||
ROMODE= 444
|
||||
RM= rm -f
|
||||
CFDIR= ${.CURDIR}/../../contrib/sendmail/cf
|
||||
|
||||
SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail
|
||||
SMDIR= ${SENDMAIL_DIR}/src
|
||||
CFDIR= ${SENDMAIL_DIR}/cf
|
||||
|
||||
# this is overkill, but....
|
||||
M4FILES!= find ${CFDIR} -type f -name '*.m4' -print
|
||||
@ -72,6 +75,8 @@ distribution: freebsd.cf freebsd.mc ${INSTALL_CF}
|
||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
|
||||
${DESTDIR}/etc/mail/sendmail.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 \
|
||||
${DESTDIR}/var/log/sendmail.st
|
||||
|
||||
|
@ -61,10 +61,6 @@ DPADD+=${SENDMAIL_DPADD}
|
||||
LDADD+=${SENDMAIL_LDADD}
|
||||
LDFLAGS+=${SENDMAIL_LDFLAGS}
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/helpfile \
|
||||
${DESTDIR}/etc/mail/helpfile
|
||||
|
||||
afterinstall:
|
||||
@if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/sendmail.cf -a \
|
||||
! -f ${DESTDIR}/etc/mail/sendmail.cf ]; then \
|
||||
|
Loading…
Reference in New Issue
Block a user