Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 90815 Details for
Bug 11007
virtual/httpd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
depend.httpd.eclass
depend.httpd.eclass (text/plain), 3.44 KB, created by
Renat Lumpau (RETIRED)
on 2006-07-03 16:07:35 UTC
(
hide
)
Description:
depend.httpd.eclass
Filename:
MIME Type:
Creator:
Renat Lumpau (RETIRED)
Created:
2006-07-03 16:07:35 UTC
Size:
3.44 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># This eclass handles virtual/httpd; see bug #11007 ># RDEPENDS are based on ># http://devwiki.gentoo.org/tiki-index.php?page=virtual%2Fhttpd > ># NOTE: If you use this, be sure you call use_httpd _after_ you have ># defined DEPEND, RDEPEND, and IUSE. Also note that you cannot rely on the ># automatic RDEPEND=DEPEND that portage does if you use this eclass. ># See bug #107127 for more information. > ># Method: ># Httpds in the tree are categorized into three groups: ># - basic_httpd: capable of displaying static html and not much else ># - cgi: capable of running cgi scripts ># - fastcgi: capable of running fastcgi scripts ># ># Note that---currently, anyway---fastcgi is a subset of cgi is a subset of ># basic_htttpd. This means that if a web app requires cgi only, you don't need ># to explicitly mention fastcgi-capable webservers: they are already included. ># ># Also note that since USE-based dependencies are currently unavailable, it is ># up to the user to ensure that the webserver was emerged with the proper USE ># flags. ># ># This eclass will need to be updated whenever an httpd is added to / removed ># from Portage. ># ># Apache: ># Currently, Apache is a special case. If present on the system, it will ># satisfy any of the requirements. If no httpd is installed, Apache will get ># pulled in. If you don't want Apache, simply emerge some other webserver ># (lighttpd is probably your best bet). Of course, Apache might still get ># emerged if an ebuild specifically requires Apache via depend.apache.eclass. ># ># If your ebuild needs Apache, don't use this eclass; instead, inherit ># depend.apache ># ># Support for specific languages: ># The eclass does not perform any language-specific checks. In other words, it ># is up to the ebuild to check that dev-lang/php was emerged with the proper ># USE flags if USE=fastcgi is set, for example. ># ># Java ># Java is currently not handled at all. Tomcat is included as a cgi-capable ># httpd; other JSP/J2EE stacks are excluded. > >use_httpd() { > local x > > for x in $@; do > "want_${x}" > done >} > >want_fastcgi() { > IUSE="${IUSE} fastcgi" > > if use fastcgi; then > RDEPEND="${RDEPEND} > || ( net-www/apache www-servers/bozohttpd www-servers/lighttpd www-servers/nginx www-servers/resin www-servers/resin-ee www-servers/skunkweb )" > fi >} > >want_cgi() { > IUSE="${IUSE} cgi" > > if use cgi; then > RDEPEND="${RDEPEND} > || ( net-www/apache www-servers/aolserver www-servers/boa www-servers/bozohttpd www-servers/cherokee www-servers/fnord www-servers/jetty www-servers/lighttpd www-servers/mini_httpd www-servers/monkeyd www-servers/ncsa-httpd www-servers/nginx www-servers/orion www-servers/resin www-servers/resin-ee www-servers/shttpd www-servers/skunkweb www-servers/thttpd www-servers/tomcat www-servers/tux www-servers/yaws )" > fi >} > >want_basic_httpd() { > IUSE="${IUSE} basic_httpd" > > if use basic_httpd; then > RDEPEND="${RDEPEND} > || ( net-www/apache www-servers/aolserver www-servers/boa www-servers/bozohttpd www-servers/cherokee www-servers/fnord www-servers/gorg www-servers/jetty www-servers/lighttpd www-servers/mini_httpd www-servers/monkeyd www-servers/ncsa-httpd www-servers/nginx www-servers/orion www-servers/publicfile www-servers/resin www-servers/resin-ee www-servers/shttpd www-servers/skunkweb www-servers/thttpd www-servers/tomcat www-servers/tux www-servers/webfs www-servers/yaws )" > 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 11007
:
90815
|
90816
|
105342