Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 29245 Details for
Bug 34213
new ebuild net-www/mod_fastcgi
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New ebuild with gentoo copyright
mod_fastcgi-2.4.2-r2.ebuild (text/plain), 2.85 KB, created by
Oliver Graf
on 2004-04-13 22:19:27 UTC
(
hide
)
Description:
New ebuild with gentoo copyright
Filename:
MIME Type:
Creator:
Oliver Graf
Created:
2004-04-13 22:19:27 UTC
Size:
2.85 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header$ > >IUSE="${IUSE} apache2" > >DESCRIPTION="FastCGI is a language independent, scalable, open extension to CGI that provides high performance without the limitations of server specific APIs." >KEYWORDS="x86 ~sparc ~ppc ~alpha ~hppa ~arm ~amd64" > >detectapache() { > local domsg= > [ -n "$1" ] && domsg=1 > HAVE_APACHE1= > HAVE_APACHE2= > has_version '=net-www/apache-1*' && HAVE_APACHE1=1 > has_version '=net-www/apache-2*' && HAVE_APACHE2=1 > > [ -n "${HAVE_APACHE1}" ] && APACHEVER=1 > [ -n "${HAVE_APACHE2}" ] && APACHEVER=2 > [ -n "${HAVE_APACHE1}" ] && [ -n "${HAVE_APACHE2}" ] && APACHEVER='both' > > case "${APACHEVER}" in > 1) [ -n "${domsg}" ] && einfo 'Apache1 only detected' ;; > 2) [ -n "${domsg}" ] && einfo 'Apache2 only detected';; > both) > if [ "`use apache2`" ]; then > [ -n "${domsg}" ] && einfo "Multiple Apache versions detected, using Apache2 (USE=apache2)" > APACHEVER=2 > else > [ -n "${domsg}" ] && einfo 'Multiple Apache versions detected, using Apache1 (USE=-apache2)' > APACHEVER=1 > fi ;; > *) if [ -n "${domsg}" ]; then > MSG="Unknown Apache version!"; eerror $MSG ; die $MSG > else > APACHEVER=0 > fi; ;; > esac >} > >detectapache > >SLOT="${APACHEVER}" >[ "${APACHEVER}" -eq '2' ] && USE_APACHE2='2' || USE_APACHE2='' > >HOMEPAGE="http://fastcgi.com/" >SRC_URI="http://fastcgi.com/dist/${P}.tar.gz" >LICENSE="Apache" >DEPEND="${DEPEND} > net-www/apache > >=net-www/apache-2" > >src_unpack() { > cd ${WORKDIR} > unpack ${P}.tar.gz > cd ${S} > if [ "${APACHEVER}" -eq '2' ]; then > cp ${FILESDIR}/Makefile-2.4.0 Makefile > fi >} > >src_compile() { > if [ "${APACHEVER}" -eq '2' ]; then > make || die "apache2 mod_scgi make failed" > else > /usr/sbin/apxs -o mod_fastcgi.so -c *.c || die "apache mod_scgi make failed" > fi >} > >src_install() { > dodoc CHANGES README docs/LICENSE.TERMS docs/mod_fastcgi.html > if [ "${APACHEVER}" -eq '2' ]; then > exeinto /usr/lib/apache2-extramodules > doexe .libs/${PN}.so > insinto /etc/apache2/conf/modules.d > doins ${FILESDIR}/20_mod_fastcgi.conf > else > exeinto /usr/lib/apache-extramodules > doexe .libs/${PN}.so > insinto /etc/apache/conf/addon-modules > doins ${FILESDIR}/mod_fastcgi.conf > fi >} > >pkg_postinst() { > if [ -n "${USE_APACHE2}" ] ; then > einfo "Add '-D FASTCGI' to your APACHE2_OPTS in /etc/conf.d/apache2" > else > einfo "1. Execute the command:" > einfo " \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" > einfo "2. Edit /etc/conf.d/apache and add \"-D FASTCGI\" to APACHE_OPTS" > fi >} > >pkg_config() { > if [ -n "${USE_APACHE2}" ] ; then > einfo "Add '-D FASTCGI' to your APACHE2_OPTS in /etc/conf.d/apache2" > else > ${ROOT}/usr/sbin/apacheaddmod \ > ${ROOT}/etc/apache/conf/apache.conf \ > extramodules/mod_fastcgi.so mod_fastcgi.c fastcgi_module \ > before=perl define=FASTCGI addconf=conf/addon-modules/mod_fastcgi.conf > :; > fi >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 34213
:
21176
|
21177
|
21178
|
21199
|
21201
|
21202
| 29245