Date: Fri, 17 Dec 2004 16:09:29 +0100 From: Clement Laforet <clement@FreeBSD.org> To: Hye-Shik Chang <perky@i18n.org> Cc: perky@FreeBSD.org Subject: Re: [proposal] modular envvars Message-ID: <20041217160929.095563b0.clement@FreeBSD.org> In-Reply-To: <20041217145603.GA5890@i18n.org> References: <20041217111953.7a685375.clement@FreeBSD.org> <20041217145603.GA5890@i18n.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <perky@i18n.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041217160929.095563b0.clement>