summaryrefslogtreecommitdiffstats
path: root/mail/exim
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2004-02-18 08:48:00 +0000
committersheldonh <sheldonh@FreeBSD.org>2004-02-18 08:48:00 +0000
commit8acbec2e246ae00f69ee8d00903d88330156d189 (patch)
treebcc5c5fcd048ea44aa5f9fe428ed21acd31dcda0 /mail/exim
parente8ae15333048a05d8910863412b5751f86b85b1c (diff)
downloadFreeBSD-ports-8acbec2e246ae00f69ee8d00903d88330156d189.zip
FreeBSD-ports-8acbec2e246ae00f69ee8d00903d88330156d189.tar.gz
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.
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 9c6be81..ca15309 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
OpenPOWER on IntegriCloud