summaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2002-10-05 12:18:29 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2002-10-05 12:18:29 +0000
commit1ec07ac5602c1f1d59894553136a8f25606bdffd (patch)
tree70f677bb33778da6bbab33f0f0fcc57190a4a200 /mail/exim
parentUpdate to 10.4. (diff)
1) Enable directory-search lookups by default and provide
WITHOUT_DSEARCH to disable them. 2) Enable NIS lookups by default and provide WITHOUT_NIS to disable them. 3) Bump PORTREVISION accordingly. Submitted by: Matthew Byng-Maddick <mbm+freebsd@colondot.net> (1) Requested by: Nicolas Kowalski <Nicolas.Kowalski@imag.fr> (2)
Notes
Notes: svn path=/head/; revision=67313
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 0299f05eeb06..dd18837fc711 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -7,7 +7,7 @@
PORTNAME= exim
PORTVERSION= ${EXIM_VERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
http://www.exim.org/ftp/exim4/ \
@@ -97,8 +97,11 @@ DB_LIB_VERSION?=1
#WITHOUT_MAILSTORE= yes
#WITHOUT_MBX= yes
#
-# Disable support for CDB-style lookups.
+# Define WITHOUT_CDB, WITHOUT_DSEARCH and WITHOUT_NIS to disable support for
+# CDB-style, directory-list and NIS lookups respectively.
#WITHOUT_CDB= yes
+#WITHOUT_DSEARCH= yes
+#WITHOUT_NIS= yes
#
# Disable support for the LMTP (RFC 2033 "SMTP over command pipe")
# transport.
@@ -237,6 +240,14 @@ SEDLIST+= -e 's,^\# SUPPORT_MBX=,SUPPORT_MBX=,'
SEDLIST+= -e 's,^\# LOOKUP_CDB=,LOOKUP_CDB=,'
.endif
+.if !defined(WITHOUT_DSEARCH)
+SEDLIST+= -e 's,^\# LOOKUP_DSEARCH=,LOOKUP_DSEARCH=,'
+.endif
+
+.if !defined(WITHOUT_NIS)
+SEDLIST+= -e 's,^\# LOOKUP_NIS=,LOOKUP_NIS=,'
+.endif
+
.if !defined(WITHOUT_LMTP)
SEDLIST+= -e 's,^\# TRANSPORT_LMTP=,TRANSPORT_LMTP=,'
.endif