From owner-freebsd-ports@FreeBSD.ORG Tue Sep 20 01:01:37 2005 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9079716A41F for ; Tue, 20 Sep 2005 01:01:37 +0000 (GMT) (envelope-from clement@FreeBSD.org) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 4AC7843D46 for ; Tue, 20 Sep 2005 01:01:35 +0000 (GMT) (envelope-from clement@FreeBSD.org) Received: (qmail 82703 invoked by uid 1000); 20 Sep 2005 03:01:32 +0200 Date: Tue, 20 Sep 2005 03:01:32 +0200 From: Clement Laforet To: Doug Barton Message-ID: <20050920010132.GE40896@goofy.cultdeadsheep.org> References: <432F4458.9090205@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9l24NVCWtSuIVIod" Content-Disposition: inline In-Reply-To: <432F4458.9090205@FreeBSD.org> User-Agent: Mutt/1.5.10i Cc: freebsd-ports@FreeBSD.org Subject: Re: APACHE_COMPAT and USE_APACHE? 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: Tue, 20 Sep 2005 01:01:37 -0000 --9l24NVCWtSuIVIod Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 19, 2005 at 04:06:00PM -0700, Doug Barton wrote: Hi Doug, > First, while I fully appreciate the need to occasionally commit something= =20 > without first checking with the maintainer of the port, I would appreciat= e=20 > (as has been discussed on this list many times in the past) at least bein= g=20 > notified of the need, and ideally pointed to some explanation of it. I=20 > _think_ I understand your commit message, but it would be nice if you cou= ld=20 > provide some more information on this list. > > Also, since my port makes use of the APACHE_PORT variable, and I have=20 > noticed some commits go by that reference that in conjunction with what i= s=20 > apparently a new variable called USE_APACHE, I would appreciate it if=20 > someone knowledgeable about these topics could describe this new stuff. The selected patchset for next b.p.m release contains bsd.apache.mk,=20 which includes an enhanced USE_APACHE knob based on WANT_APACHE from=20 www/apache2/Makefile.modules.3rd. It supports multiple versionning=20 (e.g USE_APACHE=3D1.3+, USE_APACHE=3D2.0-, etc.), macros for apache=20 servers ((WITH|WITHOUT)_${CATEGORY}_MODULES, support for suexec,etc.),=20 some "port'n'play" macros to do quickly modules ports, and also=20 version detection based on ${APACHE_PORT}. See www/apache2* ports and some apache modules for more detail. It was supposed to be fully backward compatible. Kris reported me that=20 INDEX was broken. It was partially due to (ab)use of APACHE_PORT. I=20 had 2 solutions: 1. Fix all ports to be compliant with current USE_APACHE and surely=20 break maintainers logic 2. Introduce a new single variable, called APACHE_COMPAT, to restore only APACHE_PORT support. I enlarged my pointy hats collection with those changes, but I pretty=20 sure I made the good decision. regards, clem --9l24NVCWtSuIVIod Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFDL19ssRhfjwcjuh0RAmxSAJ4qK1mOgRWzCg/uA0Kn73TP7m5YdgCdEgV2 rZ6UoXDr4Hp62P4Gf1aUhCk= =2FCp -----END PGP SIGNATURE----- --9l24NVCWtSuIVIod--