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:
parent
f7b5d65d57
commit
49cdc0ffd4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497361
@ -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
|
||||
|
||||
|
10
mail/sendmail/files/mailer.conf
Normal file
10
mail/sendmail/files/mailer.conf
Normal 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
|
Loading…
Reference in New Issue
Block a user