ports/52952: mail/exim: add option to enable wildlsearch lookup
Tim Bishop
tim at bishnet.net
Wed Jun 4 21:20:09 UTC 2003
>Number: 52952
>Category: ports
>Synopsis: mail/exim: add option to enable wildlsearch lookup
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 04 14:20:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Tim Bishop
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD pendennis.ukc.ac.uk 4.8-STABLE FreeBSD 4.8-STABLE #2: Fri Apr 4 20:34:25 BST 2003 tdb at pendennis.ukc.ac.uk:/usr/obj/usr/src/sys/PENDENNIS i386
>Description:
Exim supports a new lookup type called wildlsearch which searches,
like lsearch, a file. The main difference is that it allows use of
wildcards. This isn't turned on by default, so this patch gives
the option to the person installing the port.
>How-To-Repeat:
>Fix:
This patch adds an option to enable the wildlsearch. It might be
more sensible to turn it on by default and have an option to turn
it off - but I opted for this approach so it doesn't, by default,
change anything without the extra define.
Over to the maintainer to decide whether to enable it by default
or not.
--- exim-wildlsearch.diff begins here ---
diff -ruN exim/Makefile exim.new/Makefile
--- exim/Makefile Mon Jun 2 14:17:43 2003
+++ exim.new/Makefile Wed Jun 4 21:59:17 2003
@@ -141,6 +141,9 @@
#WITHOUT_DSEARCH= yes
#WITHOUT_NIS= yes
#
+# Define to enable wildcard lsearches
+#WITH_WILDLSEARCH= yes
+#
# Disable support for the LMTP (RFC 2033 "SMTP over command pipe")
# transport.
#WITHOUT_LMTP
@@ -326,6 +329,10 @@
.if !defined(WITHOUT_NIS)
SEDLIST+= -e 's,^\# LOOKUP_NIS=,LOOKUP_NIS=,'
+.endif
+
+.if defined(WITH_WILDLSEARCH)
+SEDLIST+= -e 's,^\# LOOKUP_WILDLSEARCH=,LOOKUP_WILDLSEARCH=,'
.endif
.if !defined(WITHOUT_LMTP)
--- exim-wildlsearch.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list