Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: webapp.eclass
Date: Fri, 22 Feb 2008 15:33:36
Message-Id: E1JSZu1-0004lX-Bf@stork.gentoo.org
1 hollow 08/02/22 15:33:33
2
3 Modified: webapp.eclass
4 Log:
5 add need_httpd_* functions wrt #208584
6
7 Revision Changes Path
8 1.58 eclass/webapp.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/webapp.eclass?rev=1.58&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/webapp.eclass?rev=1.58&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/webapp.eclass?r1=1.57&r2=1.58
13
14 Index: webapp.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v
17 retrieving revision 1.57
18 retrieving revision 1.58
19 diff -u -r1.57 -r1.58
20 --- webapp.eclass 22 Feb 2008 14:59:07 -0000 1.57
21 +++ webapp.eclass 22 Feb 2008 15:33:32 -0000 1.58
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2006 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.57 2008/02/22 14:59:07 hollow Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.58 2008/02/22 15:33:32 hollow Exp $
27 #
28 # @ECLASS: webapp.eclass
29 # @MAINTAINER:
30 @@ -115,6 +115,33 @@
31 # PUBLIC FUNCTIONS
32 # ==============================================================================
33
34 +# @FUNCTION: need_httpd
35 +# @DESCRIPTION:
36 +# Call this function AFTER your ebuild's DEPEND line if any of the available
37 +# webservers are able to run this application.
38 +need_httpd() {
39 + DEPEND="${DEPEND}
40 + || ( virtual/httpd-basic virtual/httpd-cgi virtual/httpd-fastcgi )"
41 +}
42 +
43 +# @FUNCTION: need_httpd_cgi
44 +# @DESCRIPTION:
45 +# Call this function AFTER your ebuild's DEPEND line if any of the available
46 +# CGI-capable webservers are able to run this application.
47 +need_httpd_cgi() {
48 + DEPEND="${DEPEND}
49 + || ( virtual/httpd-cgi virtual/httpd-fastcgi )"
50 +}
51 +
52 +# @FUNCTION: need_httpd_fastcgi
53 +# @DESCRIPTION:
54 +# Call this function AFTER your ebuild's DEPEND line if any of the available
55 +# FastCGI-capabale webservers are able to run this application.
56 +need_httpd_fastcgi() {
57 + DEPEND="${DEPEND}
58 + virtual/httpd-fastcgi"
59 +}
60 +
61 # @FUNCTION: webapp_configfile
62 # @USAGE: <file> [more files ...]
63 # @DESCRIPTION:
64
65
66
67 --
68 gentoo-commits@l.g.o mailing list