aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exim
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2014-07-18 22:37:02 +0800
committervsevolod <vsevolod@FreeBSD.org>2014-07-18 22:37:02 +0800
commitf3dba12abb76d49c231e7995d877a57b91afef1b (patch)
treeff8dffe2b0465fd43b4f2d01ca12f27df0bb1c18 /mail/exim
parent2a0a103ab42a119499617cb39f1648aad233ed0b (diff)
downloadfreebsd-ports-gnome-f3dba12abb76d49c231e7995d877a57b91afef1b.tar.gz
freebsd-ports-gnome-f3dba12abb76d49c231e7995d877a57b91afef1b.tar.zst
freebsd-ports-gnome-f3dba12abb76d49c231e7995d877a57b91afef1b.zip
Restore srs_alt support.
PR: 191950 Submitted by: pi
Diffstat (limited to 'mail/exim')
-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