diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2010-07-11 08:22:40 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2010-07-11 08:22:40 +0000 |
commit | ca9d00da6cf117a43874d3666b8e2f820d58da0c (patch) | |
tree | efc0db04d5ca89bb77445583693048c89db58e98 /eclass | |
parent | make mod_cgi and mod_cgid modular and handled via USE flags (diff) | |
download | gentoo-2-ca9d00da6cf117a43874d3666b8e2f820d58da0c.tar.gz gentoo-2-ca9d00da6cf117a43874d3666b8e2f820d58da0c.tar.bz2 gentoo-2-ca9d00da6cf117a43874d3666b8e2f820d58da0c.zip |
make mod_cgi and mod_cgid modular and handled via USE flags
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/apache-2.eclass | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass index 3e383c1a1f46..0f533ef4d95d 100644 --- a/eclass/apache-2.eclass +++ b/eclass/apache-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.20 2010/03/05 09:01:07 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.21 2010/07/11 08:22:40 lxnay Exp $ EAPI="2" @@ -245,14 +245,6 @@ setup_modules() { MY_CONF="${MY_CONF} --without-ssl --disable-ssl" fi - if use threads || has ${MY_MPM} ${IUSE_MPMS_THREAD} ; then - MY_CONF="${MY_CONF} --enable-cgid=${mod_type}" - MY_MODS="${MY_MODS} cgid" - else - MY_CONF="${MY_CONF} --enable-cgi=${mod_type}" - MY_MODS="${MY_MODS} cgi" - fi - if use suexec ; then elog "You can manipulate several configure options of suexec" elog "through the following environment variables:" @@ -576,6 +568,14 @@ apache-2_pkg_postinst() { mkdir -p "${ROOT}/var/www/localhost/htdocs" echo "<html><body><h1>It works!</h1></body></html>" > "${ROOT}/var/www/localhost/htdocs/index.html" fi + + echo + elog "Attention: cgi and cgid modules are now handled via APACHE2_MODULES flags" + elog "make sure to enable those in order to compile them. In general, you should" + elog "use 'cgi' with non-multithreaded MPMs (such as prefork) and 'cgid' with" + elog "multithreaded ones (such as worker)" + echo + } EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_install pkg_postinst |