Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2008 21:29:13 GMT
From:      Michael Schout <mschout@gkg.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122974: [PATCH] dns/bind94: add DLZ config options
Message-ID:  <200804212129.m3LLTDKD033732@www.freebsd.org>
Resent-Message-ID: <200804212130.m3LLU5oX049874@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.pre.mk>
 
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804212129.m3LLTDKD033732>