aboutsummaryrefslogtreecommitdiff
path: root/mail/exim/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/exim/Makefile')
-rw-r--r--mail/exim/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index bee87b46e68c..dcb1708b14fc 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -7,6 +7,7 @@
PORTNAME= exim
PORTVERSION?= ${EXIM_VERSION}
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_EXIM:S/$/:exim/}
MASTER_SITE_SUBDIR= exim4/:exim
@@ -231,6 +232,9 @@ WITH_DEFAULT_CHARSET?= ISO-8859-1
# Enable DomainKeys support
#WITH_DOMAINKEYS= yes
#
+# Enable DKIM (DomainKeys Identified Mail) support
+#WITH_DKIM= yes
+#
# Enable Sender Rewriting Scheme (SRS)
#WITH_SRS= yes
#
@@ -489,7 +493,7 @@ SEDLIST+= -e 's,^(ALT_CONFIG_PREFIX=),\# \1,'
.endif
.if defined(WITH_SPF)
-LIB_DEPENDS+= spf2.2:${PORTSDIR}/mail/libspf2
+LIB_DEPENDS+= spf2.3:${PORTSDIR}/mail/libspf2
SEDLIST+= -e 's,XX_SPF_FLAGS_XX,-DSPF,' \
-e 's,XX_SPF_LIBS_XX,-lspf2 ${PTHREAD_LIBS},' \
-e 's,^\# (EXPERIMENTAL_SPF=),\1,'
@@ -506,6 +510,15 @@ SEDLIST+= -e 's,XX_DOMAINKEYS_LIBS_XX,-ldomainkeys,' \
SEDLIST+= -e 's,XX_DOMAINKEYS_LIBS_XX,,'
.endif
+.if defined(WITH_DKIM)
+USE_OPENSSL= yes
+LIB_DEPENDS+= dkim.1:${PORTSDIR}/mail/libdkim
+SEDLIST+= -e 's,XX_DKIM_LIBS_XX,-ldkim -lstdc++ -lssl,' \
+ -e 's,^\# (EXPERIMENTAL_DKIM=),\1,'
+.else
+SEDLIST+= -e 's,XX_DKIM_LIBS_XX,,'
+.endif
+
.if defined(WITH_SRS)
LIB_DEPENDS+= srs2.0:${PORTSDIR}/mail/libsrs2
SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DSRS,' \