summaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2003-08-24 10:26:41 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2003-08-24 10:26:41 +0000
commite36bd598e7183626e4a8cb8872a807bdc9ff3bc0 (patch)
tree396d0c111a37d4d59b88e5205aa8b59a3219fe13 /mail/exim
parentUpgrade to version 0.13.4. (diff)
Add support for Cyrus SASL authentication daemon, enabled if WITH_SASLAUTHD
is defined. Add a note indicating that Cyrus pwcheck authentication daemon support (enabled with WITH_PWCHECK) is deprecated. Submitted by: Jez Hancock <jez.hancock@munk.nu>
Notes
Notes: svn path=/head/; revision=87598
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index b4b66e7bc533..17c84c6bd8c4 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -57,11 +57,18 @@ POSTGRESQL_PORT?= databases/postgresql7
# Define WITH_TCP_WRAPPERS, WITH_MYSQL, and WITH_PGSQL to link against
# libwrap, liblibmysqlclient and libpq respectively. Define
-# WITH_PWCHECK to link against libsasl for SMTP AUTH authentication
-# via the Cyrus SASL pwcheck daemon.
+# WITH_SASLAUTHD to enable use of the Cyrus SASL authentication daemon.
#WITH_TCP_WRAPPERS= yes
#WITH_MYSQL= yes
#WITH_PGSQL= yes
+#WITH_SASLAUTHD= yes
+
+# As an alternative to WITH_SASLAUTHD, you can define WITH_PWCHECK to
+# link against libsasl for SMTP AUTH authentication via the Cyrus SASL
+# pwcheck daemon.
+################################
+# THIS MECHANISM IS DEPRECATED #
+################################
#WITH_PWCHECK= yes
# Define WITHOUT_IPV6 to exclude IPv6 support from the compiled exim
@@ -234,6 +241,11 @@ SEDLIST+= -e 's,XX_MYSQL_LIBS_XX,-L${LOCALBASE}/lib/mysql -lmysqlclient,' \
SEDLIST+= -e 's,XX_MYSQL_[^ ]*_XX,,'
.endif
+.if defined(WITH_SASLAUTHD)
+RUN_DEPENDS+= ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd
+SEDLIST+= -e 's,^\# CYRUS_SASLAUTHD_SOCKET=,CYRUS_SASLAUTHD_SOCKET=,'
+.endif
+
.if defined(WITH_PWCHECK)
RUN_DEPENDS+= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl
SEDLIST+= -e 's,^\# SUPPORT_CYRUS_PWCHECK=,SUPPORT_CYRUS_PWCHECK=,' \