From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 2 18:30:25 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95E5016A41F for ; Wed, 2 Nov 2005 18:30:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5B2C43D4C for ; Wed, 2 Nov 2005 18:30:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA2IUNVK041454 for ; Wed, 2 Nov 2005 18:30:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA2IUNcW041453; Wed, 2 Nov 2005 18:30:23 GMT (envelope-from gnats) Resent-Date: Wed, 2 Nov 2005 18:30:23 GMT Resent-Message-Id: <200511021830.jA2IUNcW041453@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Coleman Kane Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABEFC16A41F for ; Wed, 2 Nov 2005 18:26:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7577E43D45 for ; Wed, 2 Nov 2005 18:26:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jA2IQHnQ014487 for ; Wed, 2 Nov 2005 18:26:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id jA2IQH6R014486; Wed, 2 Nov 2005 18:26:17 GMT (envelope-from nobody) Message-Id: <200511021826.jA2IQH6R014486@www.freebsd.org> Date: Wed, 2 Nov 2005 18:26:17 GMT From: Coleman Kane To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/88403: port: net/openldap23-server/Makefile: BDB version warning out of date X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2005 18:30:25 -0000 >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: