1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- use independent copy of mailer.conf

PR:		236553
This commit is contained in:
Dirk Meyer 2019-03-30 21:14:19 +00:00
parent f7b5d65d57
commit 49cdc0ffd4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497361
2 changed files with 12 additions and 2 deletions

View File

@ -240,7 +240,7 @@ pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
@${SED} \
-e "s=\([ ]\)/.*$$=\\1${SENDMAIL}=" \
${DESTDIR}/etc/mail/mailer.conf \
${FILESDIR}/mailer.conf \
> ${STAGEDIR}${PREFIX}/etc/mail/mailer.conf.sendmail
# We want mail.local and rmail for our system.
@ -303,7 +303,7 @@ mailer.conf:
@${MKDIR} ${DESTDIR}${PREFIX}/etc/mail
@${SED} \
-e "s=\([ ]\)/.*$$=\\1${SENDMAIL}=" \
${DESTDIR}/etc/mail/mailer.conf \
${FILESDIR}/mailer.conf \
> ${DESTDIR}${PREFIX}/etc/mail/mailer.conf
.endif

View File

@ -0,0 +1,10 @@
# $FreeBSD$
#
# Execute the "real" sendmail program, named /usr/local/sbin/sendmail
#
sendmail /usr/local/sbin/sendmail
send-mail /usr/local/sbin/sendmail
mailq /usr/local/sbin/sendmail
newaliases /usr/local/sbin/sendmail
hoststat /usr/local/sbin/sendmail
purgestat /usr/local/sbin/sendmail