aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2014-07-18 14:37:02 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2014-07-18 14:37:02 +0000
commit9b339576b8e122c14b34e10d643f51df0f49ff2d (patch)
treeff8dffe2b0465fd43b4f2d01ca12f27df0bb1c18 /mail
parent00dbc9d3946edabc7ab436204e6c0e7e5e771109 (diff)
downloadports-9b339576b8e122c14b34e10d643f51df0f49ff2d.tar.gz
ports-9b339576b8e122c14b34e10d643f51df0f49ff2d.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/exim/Makefile6
-rw-r--r--mail/exim/options2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 2be832cf4285..9aa8e8387547 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -3,7 +3,7 @@
PORTNAME= exim
PORTVERSION?= ${EXIM_VERSION}
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_EXIM:S/$/:exim/}
MASTER_SITE_SUBDIR= exim4/:exim
@@ -427,6 +427,10 @@ SEDLIST+= -e 's,XX_SPF_FLAGS_XX,,' \
LIB_DEPENDS+= libsrs2.so:${PORTSDIR}/mail/libsrs2
SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DSRS,' \
-e 's,XX_SRS_LIBS_XX,-L${LOCALBASE}/lib -lsrs2,'
+.elif ${PORT_OPTIONS:MSRS_ALT}
+LIB_DEPENDS+= libsrs_alt.so:${PORTSDIR}/mail/libsrs_alt
+SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DEXPERIMENTAL_SRS,' \
+ -e 's,XX_SRS_LIBS_XX,-L${LOCALBASE}/lib -lsrs_alt,'
.else
SEDLIST+= -e 's,XX_SRS_FLAGS_XX,,' \
-e 's,XX_SRS_LIBS_XX,,'
diff --git a/mail/exim/options b/mail/exim/options
index 2e318f336a86..029f3f1984de 100644
--- a/mail/exim/options
+++ b/mail/exim/options
@@ -18,6 +18,7 @@ OPTIONS_DEFINE+= ALT_CONFIG_PREFIX \
READLINE \
SPF \
SRS \
+ SRS_ALT \
SUID \
TCP_WRAPPERS \
WISHLIST \
@@ -104,6 +105,7 @@ SO_1024_DESC= Build with Spamooborona-1024 local scan
SPF_DESC= Enable Sender Policy Framework checking
SQLITE_DESC= Enable SQLite lookups
SRS_DESC= Enable Sender Rewriting Scheme
+SRS_ALT_DESC= Enable alternative Sender Rewriting Scheme
SUID_DESC= Install the exim binary suid root
TCP_WRAPPERS_DESC= Enable /etc/hosts.allow access control
GNUTLS_DESC= Use GnuTLS instead of OpenSSL for TLS