From root@cainites.net  Fri Apr 30 01:53:21 2004
Return-Path: <root@cainites.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7911116A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Apr 2004 01:53:21 -0700 (PDT)
Received: from mail.cainites.net (caine.xs4all.nl [80.126.212.243])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CFC8F43D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Apr 2004 01:53:20 -0700 (PDT)
	(envelope-from root@cainites.net)
Received: from localhost (localhost.cainites.net [127.0.0.1])
	by mail.cainites.net (Postfix) with ESMTP id 28A97310
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Apr 2004 10:53:19 +0200 (CEST)
Received: from mail.cainites.net ([127.0.0.1])
 by localhost (lan.cainites.net [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 92134-05 for <FreeBSD-gnats-submit@freebsd.org>;
 Fri, 30 Apr 2004 10:53:15 +0200 (CEST)
Received: by mail.cainites.net (Postfix, from userid 0)
	id B457710B; Fri, 30 Apr 2004 10:53:15 +0200 (CEST)
Message-Id: <20040430085315.B457710B@mail.cainites.net>
Date: Fri, 30 Apr 2004 10:53:15 +0200 (CEST)
From: Ralf van der Enden <tremere@cainites.net>
Reply-To: Ralf van der Enden <tremere@cainites.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Removed support for OpenLDAP 2.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         66105
>Category:       ports
>Synopsis:       Removed support for OpenLDAP 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 30 02:00:34 PDT 2004
>Closed-Date:    Fri Apr 30 02:16:23 PDT 2004
>Last-Modified:  Fri Apr 30 02:20:19 PDT 2004
>Originator:     Ralf van der Enden
>Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Fri Apr 16 09:13:32 CEST 2004 root@lan.cainites.net:/usr/obj/usr/src/sys/HELLKERNEL i386


	
>Description:
OpenLDAP 2.0 is no longer supported, so also removed from PowerDNS
-> Please upgrade to OpenLDAP 2.1 or 2.2
>How-To-Repeat:
	
>Fix:

	

--- pdns-2.9.16_3.diff begins here ---
diff -ruN powerdns.org/Makefile powerdns/Makefile
--- powerdns/Makefile	Fri Apr 30 10:39:56 2004
+++ powerdns/Makefile	Fri Apr 30 10:42:57 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	powerdns
 PORTVERSION=	2.9.16
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/
 DISTNAME=	pdns-${PORTVERSION}
@@ -63,7 +63,7 @@
 .if defined(WITH_LDAP)
 LIB_DEPENDS+=	ldap.2:${PORTSDIR}/${LDAP_PORT}
 LIB_DEPENDS+=	lber.2:${PORTSDIR}/${LDAP_PORT}
-LDAP_PORT?=	net/openldap20-client
+LDAP_PORT?=	net/openldap21-client
 USE_LIBTOOL_VER=	13
 INSTALLS_SHLIB=	YES
 USE_GCC=3.2
diff -ruN powerdns.org/files/configure.powerdns powerdns/files/configure.powerdns
--- powerdns.org/files/configure.powerdns	Fri Apr 30 10:39:56 2004
+++ powerdns/files/configure.powerdns	Fri Apr 30 10:43:38 2004
@@ -16,7 +16,6 @@
 MySQL323	"MySQL 3.23 driver" OFF \
 MySQL40		"MySQL 4.0 driver" OFF \
 MySQL41		"MySQL 4.1 driver" OFF \
-OpenLDAP20	"OpenLDAP 2.0 backend" OFF \
 OpenLDAP21	"OpenLDAP 2.1 backend" OFF \
 OpenLDAP22	"OpenLDAP 2.2 backend" OFF \
 SQLite		"SQLite backend" OFF \
@@ -59,10 +58,6 @@
 		\"MySQL41\")
 			echo WITH_MYSQL_DRIVER=YES
 			echo MYSQL_PORT?=databases/mysql41-client
-			;;
-		\"OpenLDAP20\")
-			echo WITH_LDAP=YES
-			echo LDAP_PORT?=net/openldap20-client
 			;;
 		\"OpenLDAP21\")
 			echo WITH_LDAP=YES
--- pdns-2.9.16_3.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: eik 
State-Changed-When: Fri Apr 30 11:16:05 CEST 2004 
State-Changed-Why:  
Committed, thanks 

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

From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
To: Ralf van der Enden <tremere@cainites.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/66105: Removed support for OpenLDAP 2.0
Date: Fri, 30 Apr 2004 11:15:55 +0200

 Ralf van der Enden wrote:
 
 > OpenLDAP 2.0 is no longer supported, so also removed from PowerDNS
 > -> Please upgrade to OpenLDAP 2.1 or 2.2
 > 
 >>Fix:
 > 
 > -LDAP_PORT?=	net/openldap20-client
 > +LDAP_PORT?=	net/openldap21-client
 
 be aware of the following:
 
 - LIB_DEPENDS+=	ldap.2:${PORTSDIR}/${LDAP_PORT}
   does not work for OpenLDAP 2.2, since it's soname is libldap.so.202
 
 - I plan to follow OpenLDAP soname conventions,
   renaming the library to libldap-2.2.so.7 in the next release
 
 - You should respect WANT_OPENLDAP_VER, since users might want to
   go from 2.0 directly to 2.2, and you are on the safe site when
   the default is changed in bsd.port.mk
 
 I recommend using USE_OPENLDAP, which does everything automatically
 for you.
 
 Regards
     Oliver
>Unformatted:
