From owner-freebsd-apache@FreeBSD.ORG Fri Dec 17 15:09:50 2004 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3717016A4CE for ; Fri, 17 Dec 2004 15:09:50 +0000 (GMT) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 8426443D3F for ; Fri, 17 Dec 2004 15:09:48 +0000 (GMT) (envelope-from clement@FreeBSD.org) Received: (qmail 84238 invoked by uid 89); 17 Dec 2004 16:09:46 +0100 Received: from clement@FreeBSD.org by goofy.cultdeadsheep.org by uid 89 with qmail-scanner-1.22 (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:1(192.168.0.8):. Processed in 0.635336 secs); 17 Dec 2004 15:09:46 -0000 X-Qmail-Scanner-Mail-From: clement@FreeBSD.org via goofy.cultdeadsheep.org X-Qmail-Scanner: 1.22 (Clear:RC:1(192.168.0.8):. Processed in 0.635336 secs) Received: from unknown (HELO persephone.cultdeadsheep.org) (192.168.0.8) by goofy.cultdeadsheep.org with SMTP; 17 Dec 2004 16:09:44 +0100 Received: (qmail 48458 invoked from network); 17 Dec 2004 16:09:01 +0100 Received: from unknown (HELO localhost) (217.128.192.173) by persephone.cultdeadsheep.org with SMTP; 17 Dec 2004 16:09:01 +0100 Date: Fri, 17 Dec 2004 16:09:29 +0100 From: Clement Laforet To: Hye-Shik Chang Message-Id: <20041217160929.095563b0.clement@FreeBSD.org> In-Reply-To: <20041217145603.GA5890@i18n.org> References: <20041217111953.7a685375.clement@FreeBSD.org> <20041217145603.GA5890@i18n.org> Organization: FreeBSD Project X-Mailer: Sylpheed version 1.0.0beta1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Fri__17_Dec_2004_16_09_29_+0100__fBIE.FEBZaCadlw" cc: apache@FreeBSD.org cc: perky@FreeBSD.org Subject: Re: [proposal] modular envvars X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 15:09:50 -0000 --Signature=_Fri__17_Dec_2004_16_09_29_+0100__fBIE.FEBZaCadlw Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Fri, 17 Dec 2004 23:56:04 +0900 Hye-Shik Chang wrote: > > I'll be happy if we adopt debian-like config installation system > here. It will be like this: > > apache2 port creates a directory on its installation: > > /usr/local/sbin/apache2-envvars.d/ In my patch, it's located at ${PREFIX}/etc/apache2/envvars.d > And apache module ports which wants some modification on envvars > (namely, www/mod_python{,3}) install its own configuration under > there: > > /usr/local/sbin/apache2-envvars.d/mod_python.sh > /usr/local/sbin/apache2-envvars.d/mod_python3.sh > /usr/local/sbin/apache2-envvars.d/mod_yet_another.sh > And, envvars contains a script which traverses the directory. > like: > > for f in /usr/local/sbin/apache2/envvars.d/*; do > source $f; > done I'd prefer having something like /usr/local/sbin/apache2/envvars.d/*.env (or wathever you wished to have as extension) > I found this idea from debian's apache package and it looks very > useful for not only envvars but also httpd.conf. (we have several > ports that needs modification on httpd.conf in the ports already) > > It was just an idea. :-) We had the same ;-) apache2/apache21 ports include ${PREFIX}/etc/apache2/Includes/*.conf per default. If nobody objects, I'll commit it tonight (just the time to find why envvars is executed @ install/deinstall time) clem --Signature=_Fri__17_Dec_2004_16_09_29_+0100__fBIE.FEBZaCadlw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBwvapsRhfjwcjuh0RAiPYAJsGV8J+kf40H9V6n6ElBmXr6h+UvQCg6fc/ 64P8Osi1/qJlkD2rlk11T54= =zBsK -----END PGP SIGNATURE----- --Signature=_Fri__17_Dec_2004_16_09_29_+0100__fBIE.FEBZaCadlw--