aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2023-06-24 13:45:26 +0000
committerDima Panov <fluffy@FreeBSD.org>2023-06-24 13:45:26 +0000
commit45201bc747ddd1876e01b5d768f3f90f785f9d4a (patch)
treede32e243debb768fc8bc546e3989b72e66a8d74c
parente04767da99ed7b4b790639880ce16245d76f02f2 (diff)
downloadports-45201bc747ddd1876e01b5d768f3f90f785f9d4a.tar.gz
ports-45201bc747ddd1876e01b5d768f3f90f785f9d4a.zip
mail/exim: add OPTION to enable TLS authenfication (+)
PR: 271881
-rw-r--r--mail/exim/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 93a6336c072d..98565c95aa5a 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -1,6 +1,6 @@
PORTNAME= exim
PORTVERSION?= ${EXIM_VERSION}
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= mail
MASTER_SITES= EXIM:exim
MASTER_SITE_SUBDIR= /exim4/:exim \
@@ -408,6 +408,10 @@ SEDLIST+= -e 's,^\# (AUTH_CYRUS_SASL=),\1,' \
-e 's,^\# (AUTH_LIBS=.*-lsasl2),\1,'
.endif
+.if ${PORT_OPTIONS:MAUTH_TLS}
+SEDLIST+= -e 's,^\# (AUTH_TLS=),\1,'
+.endif
+
.if ${PORT_OPTIONS:MAUTH_RADIUS}
WITH_RADIUS_TYPE?= RADLIB
.if ${WITH_RADIUS_TYPE:tl} == radlib