ports/88403: port: net/openldap23-server/Makefile: BDB version warning out of date

Coleman Kane cokane at cokane.org
Wed Nov 2 18:30:25 UTC 2005


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



More information about the freebsd-ports-bugs mailing list