Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  4 May 2006 14:53:35 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96752: Support Berkeley DB 4.4 in OpenLDAP 2.3
Message-ID:  <20060504065335.BDFC61701D@sunpoet.net>
Resent-Message-ID: <200605040700.k4470UT0035938@freefall.freebsd.org>

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

>Number:         96752
>Category:       ports
>Synopsis:       Support Berkeley DB 4.4 in OpenLDAP 2.3
>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:   Thu May 04 07:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 6.1-RC i386
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD IRIS.sunpoet.net 6.1-RC FreeBSD 6.1-RC #3: Tue Apr 11 22:24:01 CST 2006 sunpoet@IRIS.sunpoet.net:/usr/obj/usr/src/sys/sunpoet i386

	
>Description:
Support Berkeley DB 4.4 in OpenLDAP 2.3.

	
>How-To-Repeat:
	
>Fix:

% diff -u /usr/ports/net/openldap23-server/Makefile.orig /usr/ports/net/openldap23-server/Makefile
--- /usr/ports/net/openldap23-server/Makefile.orig	Mon Apr 24 22:59:21 2006
+++ /usr/ports/net/openldap23-server/Makefile	Tue Apr 25 10:14:33 2006
@@ -270,9 +270,15 @@
 			BACK_HDB="@comment "
 .else
 
-WITH_BDB_VER?=		43
+WITH_BDB_VER?=		44
 
-.if ${WITH_BDB_VER} == 43
+.if ${WITH_BDB_VER} == 44
+CONFIGURE_ARGS+=	--enable-bdb=${BACKEND_ENABLE} \
+			--enable-hdb=${BACKEND_ENABLE}
+PLIST_SUB+=		BACK_BDB=${BACKEND_PLIST} \
+			BACK_HDB=${BACKEND_PLIST}
+BDBLIB=			db-4.4.0
+.elif ${WITH_BDB_VER} == 43
 CONFIGURE_ARGS+=	--enable-bdb=${BACKEND_ENABLE} \
 			--enable-hdb=${BACKEND_ENABLE}
 PLIST_SUB+=		BACK_BDB=${BACKEND_PLIST} \
@@ -303,7 +309,7 @@
 			BACK_HDB="@comment "
 BDBLIB=			db3.3
 .else
-IGNORE=			: WITH_BDB_VER must be 3, 4, 41, 42 or 43
+IGNORE=			: WITH_BDB_VER must be 3, 4, 41, 42, 43 or 44
 .endif
 
 LIB_DEPENDS+=		${BDBLIB}:${PORTSDIR}/databases/db${WITH_BDB_VER}
	
>Release-Note:
>Audit-Trail:
>Unformatted:



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