From root@foster.cc  Mon Sep 22 10:13:41 2003
Return-Path: <root@foster.cc>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 070F416A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 22 Sep 2003 10:13:41 -0700 (PDT)
Received: from mail.foster.cc (12-228-186-207.client.attbi.com [12.228.186.207])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 39FC743FE1
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 22 Sep 2003 10:13:38 -0700 (PDT)
	(envelope-from root@foster.cc)
Received: from root by mail.foster.cc with local (Exim 4.22)
	id 1A1UFl-0002kJ-7i
	for FreeBSD-gnats-submit@freebsd.org; Mon, 22 Sep 2003 10:13:37 -0700
Message-Id: <E1A1UFl-0002kJ-7i@mail.foster.cc>
Date: Mon, 22 Sep 2003 10:13:37 -0700
From: Mark Foster <mark@foster.cc>
Reply-To: Mark Foster <mark@foster.cc>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] update of port mail/exim to allow WITH_DNSDB make flag
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57099
>Category:       ports
>Synopsis:       [PATCH] update of port mail/exim to allow WITH_DNSDB make flag
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 22 10:20:10 PDT 2003
>Closed-Date:    Mon Sep 29 04:57:07 PDT 2003
>Last-Modified:  Mon Sep 29 04:57:07 PDT 2003
>Originator:     Mark Foster
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD riddler.foster.cc 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #11: Tue Aug 12 10:10:30 PDT 2003 mdf@riddler.foster.cc:/usr/obj/usr/src/sys/MDFIPF i386

>Description:
 This is a Makefile patch to optionally allow building of exim with the LOOKUP_DNSDB options (found in the EDITME)

>How-To-Repeat:
 make WITH_DNSDN=yes

>Fix:
--- patch begins here ---
diff -Nur mail/exim/Makefile.orig mail/exim/Makefile
--- mail/exim/Makefile.orig     Mon Sep 22 10:07:29 2003
+++ mail/exim/Makefile  Fri Sep 19 10:14:57 2003
@@ -66,6 +66,9 @@
 #WITH_PGSQL=           yes
 #WITH_SASLAUTHD=       yes
 
+# Define WITH_DNSDB if you want to do dnsdb style lookups
+# LOOKUP_DNSDB=yes
+
 # As an alternative to WITH_SASLAUTHD, you can define WITH_PWCHECK to
 # link against libsasl for SMTP AUTH authentication via the Cyrus SASL
 # pwcheck daemon.
@@ -264,6 +267,13 @@
 RUN_DEPENDS+=  ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd
 SEDLIST+=      -e 's,^\# CYRUS_SASLAUTHD_SOCKET=,CYRUS_SASLAUTHD_SOCKET=,'
 .endif
+
+.if defined(WITH_DNSDB)
+SEDLIST+= -e 's,^\# LOOKUP_DNSDB=,LOOKUP_DNSDB=,'
+.else
+SEDLIST+=      -e 's,XX_DNSDB_[^ ]*_XX,,'
+.endif
+
 
 .if defined(WITH_PWCHECK)
 RUN_DEPENDS+=  ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl

--- patch ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sheldonh  
Responsible-Changed-By: krion 
Responsible-Changed-When: Mon Sep 22 10:45:30 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer 

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

From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
To: mark@foster.cc
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/57099: [PATCH] update of port mail/exim to allow WITH_DNSDB
 make flag
Date: Tue, 23 Sep 2003 02:54:15 +0200

 # LOOKUP_DNSDB does *not* refer to general mail routing using the DNS. It is
 # for the specialist case of using the DNS as a general database facility (not
 # common).
 
 (found in EDITME)
 
 just for the record, what are you doing with dnsdb queries?
 
 

From: Mark Foster <mark@foster.cc>
To: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/57099: [PATCH] update of port mail/exim to allow
	WITH_DNSDB make flag
Date: 17 Sep 2003 18:27:15 -0700

 On Mon, 2003-09-22 at 17:54, Oliver Eikemeier wrote:
 > # LOOKUP_DNSDB does *not* refer to general mail routing using the DNS. It is
 > # for the specialist case of using the DNS as a general database facility (not
 > # common).
 > 
 > (found in EDITME)
 > 
 > just for the record, what are you doing with dnsdb queries?
 > 
 It was needed it for SPF support. (Yes I know it's early still).
 http://spf.pobox.com/
 
 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Mon Sep 29 04:56:10 PDT 2003 
State-Changed-Why:  
I've committed the version I already had, which used consistent naming 
of the knob, and which enables LOOKUP_DNSDB by default. 

Thanks. 

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