ports/122974: [PATCH] dns/bind94: add DLZ config options

Michael Schout mschout at gkg.net
Mon Apr 21 21:30:06 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list