MFH: r563805
mail/dma: Fix build and improve pkg-message - Replace deprecated NO_WERROR by MK_WERROR=no - Tweak pkg-message to mention that dma is also in base [1] PR: 252045 [1] Submitted by: Dan Mahoney <freebsd@gushi.org> Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
eea9183ee1
commit
756d6737ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=563806
|
@ -4,6 +4,7 @@
|
|||
PORTNAME= dma
|
||||
PORTVERSION= 0.13
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= mail
|
||||
|
||||
|
@ -25,7 +26,7 @@ CFLAGS+= -I${OPENSSLINC} \
|
|||
-DDMA_GROUP='\"mail\"'
|
||||
LDFLAGS+= -L${OPENSSLLIB}
|
||||
|
||||
MAKE_ENV= __MAKE_CONF=/dev/null SRCCONF=/dev/null NO_WERROR=defined \
|
||||
MAKE_ENV= __MAKE_CONF=/dev/null SRCCONF=/dev/null MK_WERROR=no \
|
||||
MANDIR=${PREFIX}/share/man/man
|
||||
|
||||
USE_RC_SUBR= dma_flushq
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
|
||||
Please note that dma is now also available in FreeBSD's base, currently under
|
||||
/usr/libexec/dma, and with config files in /etc/mail/dma.
|
||||
|
||||
These may not track the same version of dma. Users are encouraged to check
|
||||
releases notes to see which best suits their needs.
|
||||
|
||||
===
|
||||
|
||||
To enable dma please edit /etc/mail/mailer.conf to replace all lines
|
||||
referring to another MTA with the following:
|
||||
|
||||
|
@ -8,7 +17,11 @@ sendmail %%PREFIX%%/libexec/dma
|
|||
send-mail %%PREFIX%%/libexec/dma
|
||||
mailq %%PREFIX%%/libexec/dma
|
||||
|
||||
If you not need sendmail anymore, please add in your rc.conf:
|
||||
If you do not need sendmail anymore, please add in your rc.conf:
|
||||
|
||||
sendmail_enable="NONE"
|
||||
|
||||
or, for more granular control:
|
||||
|
||||
sendmail_enable="NO"
|
||||
sendmail_submit_enable="NO"
|
||||
|
|
Loading…
Reference in New Issue