From floyd@pflog.net  Sat Jun 11 04:22:46 2011
Return-Path: <floyd@pflog.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 64E13106566C;
	Sat, 11 Jun 2011 04:22:46 +0000 (UTC)
	(envelope-from floyd@pflog.net)
Received: from pflog.net (unknown [IPv6:2001:470:1f04:1db2::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 2AE288FC08;
	Sat, 11 Jun 2011 04:22:46 +0000 (UTC)
Received: from pflog.net (pf@localhost [127.0.0.1])
	by pflog.net (8.14.4/8.14.4) with ESMTP id p5B4MiCB080281;
	Fri, 10 Jun 2011 21:22:44 -0700 (PDT)
	(envelope-from floyd@pflog.net)
Received: (from floyd@localhost)
	by pflog.net (8.14.4/8.14.4/Submit) id p5B4MiWB084422;
	Fri, 10 Jun 2011 21:22:44 -0700 (PDT)
	(envelope-from floyd)
Message-Id: <201106110422.p5B4MiWB084422@pflog.net>
Date: Fri, 10 Jun 2011 21:22:44 -0700 (PDT)
From: Josh Carroll <josh.carroll@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: dougb@freebsd.org, wxs@freebsd.org, Hugo@meiland.nl
Subject: [NEW PORT] dns/bind97-sdb: The BIND DNS suite with updated DNSSEC and threads
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         157752
>Category:       ports
>Synopsis:       [NEW PORT] dns/bind97-sdb: The BIND DNS suite with updated DNSSEC and threads
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 11 04:30:11 UTC 2011
>Closed-Date:    Fri Sep 09 20:57:04 UTC 2011
>Last-Modified:  Fri Sep  9 21:00:19 UTC 2011
>Originator:     Josh Carroll
>Release:        FreeBSD 8.2-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD pflog.net 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #0: Thu Jun  9 13:39:17 PDT
>Description:
BIND version 9.7 port with support for sdb database drivers, including ldap and postgresql.

This is a re-written merge of the bind9-sdb-* ports and a BIND version bump to 9.7.

WWW: http://www.isc.org/index.pl?/sw/bind/index.php

- Josh <josh.carroll@gmail.com>


Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- bind97-sdb-9.7.3.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	bind97-sdb
#	bind97-sdb/Makefile
#	bind97-sdb/files
#	bind97-sdb/files/patch-pgsql-bin__named__pgsqldb.c
#	bind97-sdb/files/patch-pgsql-bin__named__main.c
#	bind97-sdb/files/patch-pgsql-bin__named__Makefile.in
#	bind97-sdb/files/patch-ldap-bin__named__Makefile.in
#	bind97-sdb/files/patch-ldap-bin__named__main.c
#	bind97-sdb/pkg-descr
#
echo c - bind97-sdb
mkdir -p bind97-sdb > /dev/null 2>&1
echo x - bind97-sdb/Makefile
sed 's/^X//' >bind97-sdb/Makefile << '569ca19a071bc321a12df34374c02cae'
X# New ports collection makefile for:	bind97-sdb-postgresql
X# Date created:		2011-06-10
X# Whom:			Josh Carroll <josh.carroll@gmail.com>
X#
X# $FreeBSD: ports/dns/bind97-sdb-postgresql/Makefile,v 1.1 2011/06/10 11:43:03 jkcarrol Exp $
X#
X
XPORTNAME=	bind97-sdb
X
XMAINTAINER=		josh.carroll@gmail.com
X
XMASTERDIR=		${.CURDIR}/../bind97
X
XCONFLICTS=	bind9? host-*
X
X# the user may pick one and only one SDB driver. Depending on which
X#	option the user picks, the appropriate patches will be applied
X#	so bind is built with the proper driver
XOPTIONS=	PGSQL "Build with PostgreSQL SDB support" on \
X			LDAP "Build with LDAP SDB support" off \
X			DIRDB "Build with dirdb SDB support" off \
X			BDB "Build with bdb SDB support" off \
X			SQLITE "Build with sqlite SDB support" off \
X			TCL "Build with tcldb SDB support" off \
X			TIMEDB "Build with timedb SDB support" off
X
X.include <bsd.port.options.mk>
X
XOUR_PATCHDIR:=${.CURDIR}/files
X
X# check that one and ONLY one of the SDB options is set
X# the value of SDB_DRIVER should match the name of the
X#	contrib/sdb dir
Xnum_sdb_types:=SDB
X.if defined(WITH_PGSQL)
Xnum_sdb_types+=1
XUSE_PGSQL=		yes
XEXTRA_PATCHES+=${OUR_PATCHDIR}/patch-pgsql-bin__named__Makefile.in \
X				${OUR_PATCHDIR}/patch-pgsql-bin__named__main.c \
X				${OUR_PATCHDIR}/patch-pgsql-bin__named__pgsqldb.c
XSDB_DRIVER=pgsql
XSDB_DRIVER_FILES=pgsqldb.c pgsqldb.h
X.endif
X
X.if defined(WITH_LDAP)
Xnum_sdb_types+=1
XUSE_OPENLDAP=	yes
XEXTRA_PATCHES+=${OUR_PATCHDIR}/patch-ldap-bin__named__Makefile.in \
X				${OUR_PATCHDIR}/patch-ldap-bin__named__main.c
XSDB_DRIVER=ldap
XSDB_DRIVER_FILES=ldapdb.c
X.endif
X
X.if defined(WITH_DIRDB)
Xnum_sdb_types+=1
XSDB_DRIVER=dir
XSDB_DRIVER_FILES=
XIGNORE=This port does not yet support SDB DIRDB
X.endif
X
X.if defined(WITH_BDB)
Xnum_sdb_types+=1
XSDB_DRIVER=bdb
XSDB_DRIVER_FILES=
XIGNORE=This port does not yet support SDB BDB
X.endif
X
X.if defined(WITH_SQLITE)
Xnum_sdb_types+=1
XSDB_DRIVER=sqlite
XSDB_DRIVER_FILES=
XIGNORE=This port does not yet support SDB SQLITE
X.endif
X
X.if defined(WITH_TCL)
Xnum_sdb_types+=1
XSDB_DRIVER=tcldb
XSDB_DRIVER_FILES=
XIGNORE=This port does not yet support SDB TCLDB
X.endif
X
X.if defined(WITH_TIMEDB)
Xnum_sdb_types+=1
XSDB_DRIVER=timedb
XSDB_DRIVER_FILES=
XIGNORE=This port does not yet support SDB TIMEDB
X.endif
X
X# if one and only 1 of the SDB options is set
X#	then the value of ${num_sdb_types} will be "SDB 1"
X.if ${num_sdb_types} == "SDB"
XIGNORE=You must select one SDB database type : DEBUG 1: ->${num_sdb_types}<-
X.else
X.	if ${num_sdb_types} != "SDB 1"
XIGNORE=You have selected more than one SDB database type : DEBUG 2: ->${num_sdb_types}<-
X.   endif
X.endif
X
Xpre-patch:
X.for FILE in ${SDB_DRIVER_FILES}
X	@${CP} ${WRKSRC}/contrib/sdb/${SDB_DRIVER}/${FILE} ${WRKSRC}/bin/named
X.endfor
X
X.include "${MASTERDIR}/Makefile"
569ca19a071bc321a12df34374c02cae
echo c - bind97-sdb/files
mkdir -p bind97-sdb/files > /dev/null 2>&1
echo x - bind97-sdb/files/patch-pgsql-bin__named__pgsqldb.c
sed 's/^X//' >bind97-sdb/files/patch-pgsql-bin__named__pgsqldb.c << 'ff5a61cff2be760236b47c8fddabe709'
X--- bin/named/pgsqldb.c.orig	2011-06-10 12:54:44.000000000 -0700
X+++ bin/named/pgsqldb.c	2011-06-10 12:56:42.000000000 -0700
X@@ -23,7 +23,7 @@
X #include <string.h>
X #include <stdlib.h>
X 
X-#include <pgsql/libpq-fe.h>
X+#include <libpq-fe.h>
X 
X #include <isc/mem.h>
X #include <isc/print.h>
ff5a61cff2be760236b47c8fddabe709
echo x - bind97-sdb/files/patch-pgsql-bin__named__main.c
sed 's/^X//' >bind97-sdb/files/patch-pgsql-bin__named__main.c << '528b5c2f7e101d1da4e53e4946adc303'
X--- bin/named/main.c.orig	2011-06-10 10:18:35.000000000 -0700
X+++ bin/named/main.c	2011-06-10 10:03:45.000000000 -0700
X@@ -74,6 +74,7 @@
X  * Include header files for database drivers here.
X  */
X /* #include "xxdb.h" */
X+#include <pgsqldb.h>
X 
X /*
X  * Include DLZ drivers if appropriate.
X@@ -841,6 +842,7 @@
X 	 * Add calls to register sdb drivers here.
X 	 */
X 	/* xxdb_init(); */
X+	pgsqldb_init();
X 
X #ifdef DLZ
X 	/*
X@@ -867,6 +869,7 @@
X 	 * Add calls to unregister sdb drivers here.
X 	 */
X 	/* xxdb_clear(); */
X+	pgsqldb_clear();
X 
X #ifdef DLZ
X 	/*
528b5c2f7e101d1da4e53e4946adc303
echo x - bind97-sdb/files/patch-pgsql-bin__named__Makefile.in
sed 's/^X//' >bind97-sdb/files/patch-pgsql-bin__named__Makefile.in << '581179fc370dd99553c87512a74e7e9a'
X--- bin/named/Makefile.in.orig	2011-06-10 10:18:29.000000000 -0700
X+++ bin/named/Makefile.in	2011-06-10 10:01:43.000000000 -0700
X@@ -28,10 +28,10 @@
X #
X # Add database drivers here.
X #
X-DBDRIVER_OBJS =
X-DBDRIVER_SRCS =
X-DBDRIVER_INCLUDES =
X-DBDRIVER_LIBS =
X+DBDRIVER_OBJS = pgsqldb.@O@
X+DBDRIVER_SRCS = pgsqldb.c
X+DBDRIVER_INCLUDES = -I../../contrib/sdb/pgsql -I${LOCALBASE}/include
X+DBDRIVER_LIBS = -L${LOCALBASE}/lib -lpq
X 
X DLZ_DRIVER_DIR =	${top_srcdir}/contrib/dlz/drivers
X 
581179fc370dd99553c87512a74e7e9a
echo x - bind97-sdb/files/patch-ldap-bin__named__Makefile.in
sed 's/^X//' >bind97-sdb/files/patch-ldap-bin__named__Makefile.in << '5faa0c4f8eb9391fb3e38ff03b723db1'
X--- bin/named/Makefile.in.orig	2011-06-10 18:17:33.000000000 -0700
X+++ bin/named/Makefile.in	2011-06-10 18:19:54.000000000 -0700
X@@ -28,10 +28,10 @@
X #
X # Add database drivers here.
X #
X-DBDRIVER_OBJS =
X-DBDRIVER_SRCS =
X-DBDRIVER_INCLUDES =
X-DBDRIVER_LIBS =
X+DBDRIVER_OBJS = ldapdb.@O@
X+DBDRIVER_SRCS = ldapdb.c
X+DBDRIVER_INCLUDES = -I../../contrib/sdb/ldap -I${LOCALBASE}include
X+DBDRIVER_LIBS = -L${LOCALBASE}/lib -lldap -llber
X 
X DLZ_DRIVER_DIR =	${top_srcdir}/contrib/dlz/drivers
X 
5faa0c4f8eb9391fb3e38ff03b723db1
echo x - bind97-sdb/files/patch-ldap-bin__named__main.c
sed 's/^X//' >bind97-sdb/files/patch-ldap-bin__named__main.c << 'da92751361fa98c9608d11d8c0bb2f29'
X--- bin/named/main.c.orig	2008-10-23 18:28:08.000000000 -0700
X+++ bin/named/main.c	2011-06-10 16:47:50.000000000 -0700
X@@ -73,6 +73,7 @@
X  * Include header files for database drivers here.
X  */
X /* #include "xxdb.h" */
X+#include <ldapdb.h> 
X 
X /*
X  * Include DLZ drivers if appropriate.
X@@ -716,6 +717,7 @@
X 	 * Add calls to register sdb drivers here.
X 	 */
X 	/* xxdb_init(); */
X+	ldapdb_init();
X 
X #ifdef DLZ
X 	/*
X@@ -742,6 +744,7 @@
X 	 * Add calls to unregister sdb drivers here.
X 	 */
X 	/* xxdb_clear(); */
X+	ldapdb_clear();
X 
X #ifdef DLZ
X 	/*
da92751361fa98c9608d11d8c0bb2f29
echo x - bind97-sdb/pkg-descr
sed 's/^X//' >bind97-sdb/pkg-descr << 'ab28763df9866b893c4494dbd7ac90e5'
XBIND version 9.7 port with support for sdb database drivers, including ldap and postgresql.
X
XThis is a re-written merge of the bind9-sdb-* ports and a BIND version bump to 9.7.
X
XWWW: http://www.isc.org/index.pl?/sw/bind/index.php
X
X- Josh <josh.carroll@gmail.com>
X
ab28763df9866b893c4494dbd7ac90e5
exit
--- bind97-sdb-9.7.3.1.shar ends here ---

>Release-Note:
>Audit-Trail:
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Sat Jun 11 04:30:38 UTC 2011 
Class-Changed-Why:  
Fix category (new ports should be change-requests) (via the GNATS Auto 
Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157752 
Responsible-Changed-From-To: freebsd-ports-bugs->dougb 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Mon Jun 13 22:56:12 UTC 2011 
Responsible-Changed-Why:  
Assign to dougb@ as it has been discussed between Josh, Doug and myself privately. If Doug is too busy to get to this I am willing to review and commit, but since it touches one of Doug's ports he should probably handle it. Please keep me in the CC if at all possible as I may have to pick it up. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157752 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Fri Sep 9 20:56:14 UTC 2011 
State-Changed-Why:  

Committed, finally! Thanks for both this contribution 
and your patience. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/157752: commit references a PR
Date: Fri,  9 Sep 2011 20:55:42 +0000 (UTC)

 dougb       2011-09-09 20:55:32 UTC
 
   FreeBSD ports repository
 
   Modified files:
     dns                  Makefile 
     dns/bind97           Makefile 
   Added files:
     dns/bind97-sdb       Makefile pkg-descr 
     dns/bind97-sdb/files patch-ldap-bin__named__Makefile.in 
                          patch-ldap-bin__named__main.c 
                          patch-pgsql-bin__named__Makefile.in 
                          patch-pgsql-bin__named__main.c 
                          patch-pgsql-bin__named__pgsqldb.c 
   Log:
   BIND version 9.7 with support for sdb database drivers, including ldap and
   postgresql.
   
   WWW: https://www.isc.org/software/bind/
   
   PR:             ports/157752
   Submitted by:   Josh Carroll <josh.carroll@gmail.com>
   
   Revision  Changes    Path
   1.138     +1 -0      ports/dns/Makefile
   1.1       +105 -0    ports/dns/bind97-sdb/Makefile (new)
   1.1       +17 -0     ports/dns/bind97-sdb/files/patch-ldap-bin__named__Makefile.in (new)
   1.1       +26 -0     ports/dns/bind97-sdb/files/patch-ldap-bin__named__main.c (new)
   1.1       +17 -0     ports/dns/bind97-sdb/files/patch-pgsql-bin__named__Makefile.in (new)
   1.1       +26 -0     ports/dns/bind97-sdb/files/patch-pgsql-bin__named__main.c (new)
   1.1       +11 -0     ports/dns/bind97-sdb/files/patch-pgsql-bin__named__pgsqldb.c (new)
   1.1       +6 -0      ports/dns/bind97-sdb/pkg-descr (new)
   1.21      +1 -1      ports/dns/bind97/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
