From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 21 21:30:06 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FF401065671 for ; Mon, 21 Apr 2008 21:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 241558FC1B for ; Mon, 21 Apr 2008 21:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3LLU5qF049881 for ; Mon, 21 Apr 2008 21:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3LLU5oX049874; Mon, 21 Apr 2008 21:30:05 GMT (envelope-from gnats) Resent-Date: Mon, 21 Apr 2008 21:30:05 GMT Resent-Message-Id: <200804212130.m3LLU5oX049874@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, Michael Schout Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 854C91065670 for ; Mon, 21 Apr 2008 21:29:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7B9DF8FC20 for ; Mon, 21 Apr 2008 21:29:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3LLTDUM033733 for ; Mon, 21 Apr 2008 21:29:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3LLTDKD033732; Mon, 21 Apr 2008 21:29:13 GMT (envelope-from nobody) Message-Id: <200804212129.m3LLTDKD033732@www.freebsd.org> Date: Mon, 21 Apr 2008 21:29:13 GMT From: Michael Schout To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/122974: [PATCH] dns/bind94: add DLZ config options X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2008 21:30:06 -0000 >Number: 122974 >Category: ports >Synopsis: [PATCH] dns/bind94: add DLZ config options >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Apr 21 21:30:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Michael Schout >Release: 7.0-STABLE >Organization: GKG.NET, INC >Environment: FreeBSD nstest.gkg.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Mar 31 14:05:46 CDT 2008 mschout@amavisd5.gkg.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: This patch adds port configuration options to enable the DLZ drivers that are available in bind 9.4 >How-To-Repeat: n/a >Fix: apply the attached patch. Patch attached with submission follows: --- Makefile.orig 2008-04-19 15:23:36.624508946 -0500 +++ Makefile 2008-04-21 16:04:06.226479515 -0500 @@ -39,7 +39,13 @@ OPTIONS= REPLACE_BASE "Replace base BIND with this version" off \ LARGE_FILE "64-bit file support" off \ IPV6 "IPv6 Support (autodetected by default)" off \ - THREADS "Compile with thread support" on + THREADS "Compile with thread support" on \ + DLZ_BDB "Enable DLZ BDB driver" off \ + DLZ_MYSQL "Enable DLZ MySQL driver" off \ + DLZ_PG "Enable DLZ Postgres driver" off \ + DLZ_FILESYSTEM "Enable DLZ filesystem driver" off \ + DLZ_LDAP "Enable DLZ LDAP driver" off \ + DLZ_STUB "Enable DLZ stub driver" off .include @@ -73,6 +79,34 @@ BIND_DESTETC= ${PREFIX}/etc .endif +.if defined(WITH_DLZ_BDB) +CONFIGURE_ARGS+= --with-dlz-bdb=yes +USE_BDB= yes +.endif + +.if defined(WITH_DLZ_MYSQL) +CONFIGURE_ARGS+= --with-dlz-mysql=yes +USE_MYSQL= yes +.endif + +.if defined(WITH_DLZ_PG) +CONFIGURE_ARGS+= --with-dlz-postgres=yes +USE_PGSQL= yes +.endif + +.if defined(WITH_DLZ_FILESYSTEM) +CONFIGURE_ARGS+= --with-dlz-filesystem=yes +.endif + +.if defined(WITH_DLZ_LDAP) +CONFIGURE_ARGS+= --with-dlz-ldap=yes +USE_OPENLDAP= yes +.endif + +.if defined(WITH_DLZ_STUB) +CONFIGURE_ARGS+= --with-dlz-stub=yes +.endif + PLIST_SUB= BIND_DESTETC="${BIND_DESTETC}" MAN1= dig.1 host.1 nslookup.1 >Release-Note: >Audit-Trail: >Unformatted: