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)
This commit is contained in:
Sheldon Hearn 2002-10-05 12:18:29 +00:00
parent 0393468c59
commit 1ec07ac560
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67313

View File

@ -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