svn commit: r563805 - in head/mail/dma: . files

Renato Botelho garga at FreeBSD.org
Tue Feb 2 13:05:41 UTC 2021


Author: garga
Date: Tue Feb  2 13:05:41 2021
New Revision: 563805
URL: https://svnweb.freebsd.org/changeset/ports/563805

Log:
  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 at gushi.org>
  Sponsored by:	Rubicon Communications, LLC ("Netgate")

Modified:
  head/mail/dma/Makefile
  head/mail/dma/files/pkg-message.in

Modified: head/mail/dma/Makefile
==============================================================================
--- head/mail/dma/Makefile	Tue Feb  2 13:05:15 2021	(r563804)
+++ head/mail/dma/Makefile	Tue Feb  2 13:05:41 2021	(r563805)
@@ -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

Modified: head/mail/dma/files/pkg-message.in
==============================================================================
--- head/mail/dma/files/pkg-message.in	Tue Feb  2 13:05:15 2021	(r563804)
+++ head/mail/dma/files/pkg-message.in	Tue Feb  2 13:05:41 2021	(r563805)
@@ -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"


More information about the svn-ports-all mailing list