summaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2004-02-18 08:48:00 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2004-02-18 08:48:00 +0000
commit4d47d93949ade657b5d1fc225ffd2b0157b1d416 (patch)
tree5c034d18fac39ffc7e00515df6d1da128658d69e /mail/exim
parentUpdate to 1.1.3. (diff)
Enabled passwd lookups by default; while the world is moving away from
real users for mail, there are still plenty of mail servers that use real users, and the lookup costs 292 bytes in the executable. The feature can be disabled with WITHOUT_PASSWD. Bump PORTREVISION accordingly.
Notes
Notes: svn path=/head/; revision=101306
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 9c6be812a30d..ca15309d57a9 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -7,6 +7,7 @@
PORTNAME= exim
PORTVERSION= 4.30
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_EXIM}
MASTER_SITE_SUBDIR= exim4
@@ -145,14 +146,15 @@ WITH_DEFAULT_CHARSET?= ISO-8859-1
#WITHOUT_MAILSTORE= yes
#WITHOUT_MBX= yes
#
-# Define WITHOUT_CDB, WITHOUT_DNSDB, WITHOUT_DSEARCH, WILD_LSEARCH and
-# WITHOUT_NIS to disable support for CDB-style, DNS-style, directory-list,
-# wildcarded-file and NIS lookups respectively.
+# Define WITHOUT_CDB, WITHOUT_DNSDB, WITHOUT_DSEARCH, WILD_LSEARCH,
+# WITHOUT_NIS and WITHOUT_PASSWD to disable support for CDB-style, DNS-style,
+# directory-list, wildcarded-file, NIS and /etc/passwd lookups respectively.
#WITHOUT_CDB= yes
#WITHOUT_DNSDB= yes
#WITHOUT_DSEARCH= yes
#WITHOUT_WILDLSEARCH= yes
#WITHOUT_NIS= yes
+#WITHOUT_PASSWD= yes
#
# Disable support for the LMTP (RFC 2033 "SMTP over command pipe")
# transport.
@@ -345,6 +347,10 @@ SEDLIST+= -e 's,^\# LOOKUP_WILDLSEARCH=,LOOKUP_WILDLSEARCH=,'
SEDLIST+= -e 's,^\# LOOKUP_NIS=,LOOKUP_NIS=,'
.endif
+.if !defined(WITHOUT_PASSWD)
+SEDLIST+= -e 's,^\# LOOKUP_PASSWD=,LOOKUP_PASSWD=,'
+.endif
+
.if !defined(WITHOUT_LMTP)
SEDLIST+= -e 's,^\# TRANSPORT_LMTP=,TRANSPORT_LMTP=,'
.endif