From owner-freebsd-ports@FreeBSD.ORG Fri Jun 12 20:39:41 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C6881065670 for ; Fri, 12 Jun 2009 20:39:41 +0000 (UTC) (envelope-from pgollucci@freebsd.org) Received: from EXHUB015-3.exch015.msoutlookonline.net (exhub015-3.exch015.msoutlookonline.net [207.5.72.95]) by mx1.freebsd.org (Postfix) with ESMTP id 75BB68FC0C for ; Fri, 12 Jun 2009 20:39:41 +0000 (UTC) (envelope-from pgollucci@freebsd.org) Received: from philip.hq.rws (76.161.175.34) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.358.0; Fri, 12 Jun 2009 13:29:40 -0700 Message-ID: <4A32BAB3.4090500@freebsd.org> Date: Fri, 12 Jun 2009 16:29:39 -0400 From: "Philip M. Gollucci" Organization: FreeBSD Foundation User-Agent: Thunderbird 2.0.0.21 (X11/20090403) MIME-Version: 1.0 To: Mel Flynn References: <4A31F4AB.5040504@FreeBSD.org> <200906120705.49985.mel.flynn+fbsd.ports@mailing.thruhere.net> In-Reply-To: <200906120705.49985.mel.flynn+fbsd.ports@mailing.thruhere.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, apache@freebsd.org, freebsd-ports@freebsd.org, "portmgr@FreeBSD.org" Subject: Re: apr X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2009 20:39:41 -0000 Mel Flynn wrote: > I certainly welcome this change as 99% of my installs already have > WITH_APR_FROM_PORTS, however 2 things: > - Instead of "(beware!)" one would probably want "(preferred!)" for the > APR_FROM_PORTS knob real soon now, while these changes are in the queue. Thats an easy change I'll make it on or before monday. It might be better to make that the new default too. > - It would help to have some documentation somewhere that lists what of the > apr modules are required for what software, so that one can make the right > decision for the apr port. Well thats kind of involved..... suggestions welcome. > > For example, subversion wants threads and bdb, if you need DBD/postgresql > support in apache, you need apr with postgresql (? I think) etc. That part of the beauty. Now that devel/apr honors ports KNOBS (since january) the WITH_BDB etc will cary over when you build ports. None of this DEPENDS_ARGS crap so the default www/apache2x and www/apr would match by default. If you build your own custom packages it still works. So in /etc/make.conf WITH_POSTGRESQL=yes will DWIM. Without the change, www/apache20 has to support an large number of combinations of how to do stuff relating to apr et al. I forgot got mention it, so I'll mention it now I feel similarly for pcre and WITH_PCRE_FROM_PORTS Another benefit is security. We had to change devel/apr, www/apache2* for the recent apr-util CVE. Had we already converted, only devel/apr would have needed to change and since nearly everything using apr uses shared not static libs you wouldn't have even needed to rebuid www/apache2*