From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 22 10:20:23 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB54316A4C2 for ; Mon, 22 Sep 2003 10:20:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01A8E43FF7 for ; Mon, 22 Sep 2003 10:20:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8MHKAFY097519 for ; Mon, 22 Sep 2003 10:20:10 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8MHKAmb097518; Mon, 22 Sep 2003 10:20:10 -0700 (PDT) (envelope-from gnats) Resent-Date: Mon, 22 Sep 2003 10:20:10 -0700 (PDT) Resent-Message-Id: <200309221720.h8MHKAmb097518@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark Foster Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 070F416A4B3 for ; 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 ; 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: Date: Mon, 22 Sep 2003 10:13:37 -0700 From: Mark Foster To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/57099: [PATCH] update of port mail/exim to allow WITH_DNSDB make flag X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mark Foster List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2003 17:20:24 -0000 >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: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 22 10:20:10 PDT 2003 >Closed-Date: >Last-Modified: >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: >Unformatted: