| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.22 2010/08/21 19:39:52 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.23 2010/08/28 14:50:55 hollow Exp $ |
| 4 | |
4 | |
| 5 | EAPI="2" |
5 | EAPI="2" |
| 6 | |
6 | |
| 7 | # @ECLASS: apache-2.eclass |
7 | # @ECLASS: apache-2.eclass |
| 8 | # @MAINTAINER: |
8 | # @MAINTAINER: |
| … | |
… | |
| 569 | echo "<html><body><h1>It works!</h1></body></html>" > "${ROOT}/var/www/localhost/htdocs/index.html" |
569 | echo "<html><body><h1>It works!</h1></body></html>" > "${ROOT}/var/www/localhost/htdocs/index.html" |
| 570 | fi |
570 | fi |
| 571 | |
571 | |
| 572 | echo |
572 | echo |
| 573 | elog "Attention: cgi and cgid modules are now handled via APACHE2_MODULES flags" |
573 | elog "Attention: cgi and cgid modules are now handled via APACHE2_MODULES flags" |
| 574 | elog "make sure to enable those in order to compile them. In general, you should" |
574 | elog "in /etc/make.conf. Make sure to enable those in order to compile them." |
| 575 | elog "use 'cgi' with non-multithreaded MPMs (such as prefork) and 'cgid' with" |
575 | elog "In general, you should use 'cgid' with hreaded MPMs and 'cgi' otherwise." |
| 576 | elog "multithreaded ones (such as worker)" |
|
|
| 577 | echo |
576 | echo |
| 578 | |
577 | |
| 579 | } |
578 | } |
| 580 | |
579 | |
| 581 | EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_install pkg_postinst |
580 | EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_install pkg_postinst |