From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JSZu4-0007u6-AA for garchives@archives.gentoo.org; Fri, 22 Feb 2008 15:33:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DBBBE04E3; Fri, 22 Feb 2008 15:33:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4408DE04E3 for ; Fri, 22 Feb 2008 15:33:35 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id B82C565E8C for ; Fri, 22 Feb 2008 15:33:34 +0000 (UTC) Received: from hollow by stork.gentoo.org with local (Exim 4.68) (envelope-from ) id 1JSZu1-0004lX-Bf for gentoo-commits@lists.gentoo.org; Fri, 22 Feb 2008 15:33:33 +0000 From: "Benedikt Boehm (hollow)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, hollow@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: webapp.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: webapp.eclass X-VCS-Directories: eclass X-VCS-Committer: hollow X-VCS-Committer-Name: Benedikt Boehm Content-Type: text/plain; charset=utf8 Message-Id: Sender: Benedikt Boehm Date: Fri, 22 Feb 2008 15:33:33 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4257923b-0e67-4eb5-9feb-46156f410540 X-Archives-Hash: 480ee7f4d875061027cba9efc7c0cdd4 hollow 08/02/22 15:33:33 Modified: webapp.eclass Log: add need_httpd_* functions wrt #208584 Revision Changes Path 1.58 eclass/webapp.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/webapp.ecla= ss?rev=3D1.58&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/webapp.ecla= ss?rev=3D1.58&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/webapp.ecla= ss?r1=3D1.57&r2=3D1.58 Index: webapp.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- webapp.eclass 22 Feb 2008 14:59:07 -0000 1.57 +++ webapp.eclass 22 Feb 2008 15:33:32 -0000 1.58 @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.57 2008/02/2= 2 14:59:07 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.58 2008/02/2= 2 15:33:32 hollow Exp $ # # @ECLASS: webapp.eclass # @MAINTAINER: @@ -115,6 +115,33 @@ # PUBLIC FUNCTIONS # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =20 +# @FUNCTION: need_httpd +# @DESCRIPTION: +# Call this function AFTER your ebuild's DEPEND line if any of the avail= able +# webservers are able to run this application. +need_httpd() { + DEPEND=3D"${DEPEND} + || ( virtual/httpd-basic virtual/httpd-cgi virtual/httpd-fastcgi )" +} + +# @FUNCTION: need_httpd_cgi +# @DESCRIPTION: +# Call this function AFTER your ebuild's DEPEND line if any of the avail= able +# CGI-capable webservers are able to run this application. +need_httpd_cgi() { + DEPEND=3D"${DEPEND} + || ( virtual/httpd-cgi virtual/httpd-fastcgi )" +} + +# @FUNCTION: need_httpd_fastcgi +# @DESCRIPTION: +# Call this function AFTER your ebuild's DEPEND line if any of the avail= able +# FastCGI-capabale webservers are able to run this application. +need_httpd_fastcgi() { + DEPEND=3D"${DEPEND} + virtual/httpd-fastcgi" +} + # @FUNCTION: webapp_configfile # @USAGE: [more files ...] # @DESCRIPTION: --=20 gentoo-commits@lists.gentoo.org mailing list