Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2005 18:26:17 GMT
From:      Coleman Kane <cokane@cokane.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/88403: port: net/openldap23-server/Makefile: BDB version warning out of date
Message-ID:  <200511021826.jA2IQH6R014486@www.freebsd.org>
Resent-Message-ID: <200511021830.jA2IUNcW041453@freefall.freebsd.org>

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

>Number:         88403
>Category:       ports
>Synopsis:       port: net/openldap23-server/Makefile: BDB version warning out of date
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 02 18:30:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Coleman Kane
>Release:        6.0-STABLE
>Organization:
>Environment:
FreeBSD dacheat.int.fairviewnet.net 6.0-STABLE FreeBSD 6.0-STABLE #2: Wed Nov  2 11:49:40 EST 2005     root@dacheat.int.fairviewnet.net:/usr/obj/usr/src/sys/DACHEAT  amd64
>Description:
The ports/net/openldap23-server/Makefile erroneously states that WITH_BDB_VER can only be 3, 4, 41, or 42. BDB43 is now supported, so 43 should be in that list too.              

OpenLDAP 2.3.11 server port has an out-of-date IGNORE line if you get the BDB version number wrong. When BDB43 was brought in, apparently the warning in the Makefile was not updated to match the .if statement. The error can lead to confusion for anyone that has something bogus set in the
>How-To-Repeat:
Make the openldap23-server port with an invalid value in the WITH_BDB_VER variable. Look at the line in the Makefile.
>Fix:
Here's a quick patch:

--- Makefile.old        Wed Nov  2 13:19:51 2005
+++ Makefile    Wed Nov  2 13:20:24 2005
@@ -258,7 +258,7 @@
                        BACK_HDB="@comment "
 BDBLIB=                        db3.3
 .else
-IGNORE=                        : WITH_BDB_VER must be 3, 4, 41 or 42
+IGNORE=                        : WITH_BDB_VER must be 3, 4, 41, 42, or 43
 .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?200511021826.jA2IQH6R014486>