From owner-freebsd-apache@FreeBSD.ORG Mon Aug 27 19:43:35 2012 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 146F0106564A for ; Mon, 27 Aug 2012 19:43:35 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 76D598FC25 for ; Mon, 27 Aug 2012 19:43:33 +0000 (UTC) Received: (qmail invoked by alias); 27 Aug 2012 19:43:32 -0000 Received: from p578be941.dip0.t-ipconnect.de (EHLO [192.168.0.100]) [87.139.233.65] by mail.gmx.net (mp072) with SMTP; 27 Aug 2012 21:43:32 +0200 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX1/UGKJIEyrU1Lz8IiX5BYJgmm9J8lK5G5lVTMIPLU D9HUwptQOzeQah Message-ID: <503BCDE3.1080706@gmx.de> Date: Mon, 27 Aug 2012 21:43:31 +0200 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: apache@FreeBSD.org References: <201208271740.q7RHe3Wn062368@freefall.freebsd.org> In-Reply-To: <201208271740.q7RHe3Wn062368@freefall.freebsd.org> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Jo Rhett Subject: Re: ports/159608: www/apache22: apache WITH_BDB_BASE settings described in UPDATING do not work X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2012 19:43:35 -0000 On 2012-08-27 19:40, Jo Rhett wrote: > The following reply was made to PR ports/159608; it has been noted by GNATS. > > From: Jo Rhett > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: ports/159608: www/apache22: apache WITH_BDB_BASE settings described in UPDATING do not work > Date: Mon, 27 Aug 2012 10:14:04 -0700 > > --Apple-Mail=_1390C092-11FC-4BF0-9B9A-25EA06E29CAA > Content-Transfer-Encoding: quoted-printable > Content-Type: text/plain; > charset=us-ascii > > When did this change? It absolutely wasn't broken since apache 1.3. I = > was happily using the WITH_BDB_BASE settings with apache 2.0 and then = > 2.2 right up until I tried to recompile for 2.2.21. So it was broken = > between 2.2.17 and 2.2.21. > > Finally, the dbmmanage which ships with apache only works with the built = > in db, so clearly it is intended to work. Something was broken in the = > port. Ok, lets take a look to the apache related configure parameters. $> httpd-2.2.2 # ./configure --help | grep -i -e db -e ber --enable-authn-dbm DBM-based authentication control --enable-authn-dbd SQL-based authentication control --enable-authz-dbm DBM-based authorization control --enable-dbd Apache DBD Framework --enable-static-htdbm Build a statically linked version of htdbm httpd-2.2.22 # ./configure --help | grep -i -e db -e ber --enable-authn-dbm DBM-based authentication control --enable-authn-dbd SQL-based authentication control --enable-authz-dbm DBM-based authorization control --enable-dbd Apache DBD Framework --enable-static-htdbm Build a statically linked version of htdbm --enable-static-httxt2dbm Build a statically linked version of httxt2dbm So we can confirm the WITH_DB... parameters in Makefile.modules was a leftover from the bundled apr. May 5 2010: - 2/5: Update to httpd 2.2.15, default to using devel/apr instead of bundled apr http://svnweb.freebsd.org/ports?view=revision&revision=253782 May 18 2010 (PORTVERSION=2.2.15): - Remove WITH_APR_FROM_PORTS option. Always use devel/apr1 port now. Bundled srclib/apr is never used now. http://svnweb.freebsd.org/ports?view=revision&revision=254535 Now if we go back to RELENG_6_0 and look into the apr port then we can find the following line - LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 http://svnweb.freebsd.org/ports/tags/RELEASE_6_0_0/devel/apr/Makefile?annotate=145534 which was changed Apr 6 2006 to - WITH_BDB= 42+ http://svnweb.freebsd.org/ports/head/devel/apr1/Makefile?r1=158941&r2=158942& Knowing this, we can say with the removal of the bundled apr/apr-util in May 18 2010 was the last version which supported WITH_BDB_BASE. Also we can say not an httpd but an apr-util limitation. Meanwhile apache also bundles APR-1.4.5 and APR-Util-1.4.1 and they have no BDB_BASE support. What we really don't want is to backport everything like RHEL, (they are using apr-1.3.x but together with db47) The reason to not use the bundled apr/apr-util is we can update both independent in the port devel/apr, and in case there are security issues or other fixes we can update this port. If you have a fix for apr-util which will be accepted upstream I'm happy to include the patch. PS: Please send plain text only mails to the list. -- Regards, olli