aboutsummaryrefslogtreecommitdiffstats
path: root/mail/meta1
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-05-01 12:38:54 +0800
committerdinoex <dinoex@FreeBSD.org>2013-05-01 12:38:54 +0800
commitfb7f742cf29c81bb2a869a43b4bd8d678f0223a7 (patch)
tree73a5b62aaf94e9a129ad802d1b3b787c1f3c0e01 /mail/meta1
parent0131e9851d82b58690cc648dac5383d1e695e37f (diff)
downloadfreebsd-ports-gnome-fb7f742cf29c81bb2a869a43b4bd8d678f0223a7.tar.gz
freebsd-ports-gnome-fb7f742cf29c81bb2a869a43b4bd8d678f0223a7.tar.zst
freebsd-ports-gnome-fb7f742cf29c81bb2a869a43b4bd8d678f0223a7.zip
- add OPTION DKIM
Submitted by: alastair - add OPTION MSP
Diffstat (limited to 'mail/meta1')
-rw-r--r--mail/meta1/Makefile22
-rw-r--r--mail/meta1/pkg-plist1
2 files changed, 21 insertions, 2 deletions
diff --git a/mail/meta1/Makefile b/mail/meta1/Makefile
index edfc56bdce07..eca57e9ebb83 100644
--- a/mail/meta1/Makefile
+++ b/mail/meta1/Makefile
@@ -45,11 +45,13 @@ EXTRA_SBIN= libcheck/noroot libconf/tree libmta/statit \
META1CONFDIR?= ${PREFIX}/etc/meta1
NOLOGIN_CMD?= /usr/sbin/nologin
-OPTIONS_DEFINE= BDB PMILTER SASL2 SASL2AUTHD TLS
-OPTIONS_DEFAULT= BDB PMILTER SASL2 TLS
+OPTIONS_DEFINE= BDB PMILTER DKIM MSP SASL2 SASL2AUTHD TLS
+OPTIONS_DEFAULT= BDB PMILTER DKIM SASL2 TLS
BDB_DESC= External Berkeley DB support
PMILTER_DESC= Adds policy milter support
+DKIM_DESC= Enable DKIM signing support
+MSP_DESC= Enable mail submision program
SASL2_DESC= Adds SASL2 support
SASL2AUTHD_DESC= Enable plaintext authentication via SASL2
@@ -76,6 +78,22 @@ PMILTER_SUFFIX?= -nopmilter
CONFIGURE_ARGS+= --disable-pmilter
.endif
+.if ${PORT_OPTIONS:MDKIM}
+CONFIGURE_ARGS+= --enable-DKIM
+.else
+CONFIGURE_ARGS+= --disable-DKIM
+.endif
+
+.if ${PORT_OPTIONS:MMSP}
+CONFIGURE_ARGS+= --enable-msp
+MAN8+= sendmail.8
+PLIST_SUB+= WITH_MSP=""
+CONFLICTS+= courier-0.* postfix-1.* postfix-2.* smail-3.* zmailer-2.* opensmtpd-* sendmail-*
+.else
+CONFIGURE_ARGS+= --disable-msp
+PLIST_SUB+= WITH_MSP="@comment "
+.endif
+
.if ${PORT_OPTIONS:MSASL2}
LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2
CONFIGURE_ARGS+= --enable-SASL
diff --git a/mail/meta1/pkg-plist b/mail/meta1/pkg-plist
index cde414d3bfd2..d022a00c4dab 100644
--- a/mail/meta1/pkg-plist
+++ b/mail/meta1/pkg-plist
@@ -67,6 +67,7 @@ sbin/greyprint
sbin/greyrm
sbin/mcp
sbin/noroot
+%%WITH_MSP%%sbin/sendmail
sbin/sm.check.sh
sbin/sm.setup.sh
sbin/statit