From T.D.Bishop@kent.ac.uk  Wed Jun  4 14:16:19 2003
Return-Path: <T.D.Bishop@kent.ac.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id C51E037B401; Wed,  4 Jun 2003 14:16:19 -0700 (PDT)
Received: from mercury.ukc.ac.uk (mercury.ukc.ac.uk [129.12.21.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 0E88143F75; Wed,  4 Jun 2003 14:16:19 -0700 (PDT)
	(envelope-from T.D.Bishop@kent.ac.uk)
Received: from pendennis.ukc.ac.uk ([129.12.3.232])
	by mercury.ukc.ac.uk with esmtp (Exim 3.22 #4)
	id 19NfbF-0006fD-00; Wed, 04 Jun 2003 22:15:13 +0100
Received: from tdb by pendennis.ukc.ac.uk with local (Exim 4.20)
	id 19NfbE-0008mU-U9; Wed, 04 Jun 2003 22:15:12 +0100
Message-Id: <E19NfbE-0008mU-U9@pendennis.ukc.ac.uk>
Date: Wed, 04 Jun 2003 22:15:12 +0100
From: Tim Bishop <tim@bishnet.net>
Sender: "T.D.Bishop" <T.D.Bishop@kent.ac.uk>
Reply-To: Tim Bishop <tim@bishnet.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: tim@bishnet.net, sheldonh@FreeBSD.org
Subject: mail/exim: add option to enable wildlsearch lookup
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52952
>Category:       ports
>Synopsis:       mail/exim: add option to enable wildlsearch lookup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 04 14:20:07 PDT 2003
>Closed-Date:    Tue Jun 17 20:22:58 PDT 2003
>Last-Modified:  Tue Jun 17 20:22:58 PDT 2003
>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@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:
State-Changed-From-To: open->analyzed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Jun 6 03:12:18 PDT 2003 
State-Changed-Why:  
I'm gonna wait a week for any other changes, so they can ride the same 
PORTREVISION bump. 


Responsible-Changed-From-To: freebsd-ports-bugs->sheldonh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Fri Jun 6 03:12:18 PDT 2003 
Responsible-Changed-Why:  
I'm the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52952 

From: Sheldon Hearn <sheldonh@starjuice.net>
To: Tim Bishop <tim@bishnet.net>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/52952: mail/exim: add option to enable wildlsearch lookup
Date: Fri, 6 Jun 2003 12:10:19 +0200

 On (2003/06/04 22:15), Tim Bishop wrote:
 
 > >Submitter-Id:	current-users
 > >Originator:	Tim Bishop
 > >Confidential:	no
 > >Synopsis:	mail/exim: add option to enable wildlsearch lookup
 
 Thanks, Tim.
 
 I plan to invert your patch, so that wildlsearch is enabled by default
 and can be disabled with WITHOUT_WILDLSEARCH.
 
 I'm gonna hold off for a week, in case any other changes come in, to
 maximize the value of the required PORTREVISION bump.
 
 If I forget and haven't gotten it done by 2003-06-16, please nudge me.
 :-)
 
 Thanks,
 Sheldon.
State-Changed-From-To: analyzed->closed 
State-Changed-By: sheldonh 
State-Changed-When: Tue Jun 17 20:22:38 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52952 
>Unformatted:
