/[gentoo-x86]/eclass/depend.apache.eclass
Gentoo

Diff of /eclass/depend.apache.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.45 Revision 1.46
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2012 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/depend.apache.eclass,v 1.45 2009/05/26 16:41:56 arfrever Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.46 2012/04/20 07:19:49 patrick Exp $
4 4
5# @ECLASS: depend.apache.eclass 5# @ECLASS: depend.apache.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# apache-devs@gentoo.org 7# apache-devs@gentoo.org
8# @BLURB: Functions to allow ebuilds to depend on apache 8# @BLURB: Functions to allow ebuilds to depend on apache
103 103
104# @ECLASS-VARIABLE: APACHE2_2_DEPEND 104# @ECLASS-VARIABLE: APACHE2_2_DEPEND
105# @DESCRIPTION: 105# @DESCRIPTION:
106# Dependencies for Apache 2.2.x 106# Dependencies for Apache 2.2.x
107APACHE2_2_DEPEND="=www-servers/apache-2.2*" 107APACHE2_2_DEPEND="=www-servers/apache-2.2*"
108
109# @ECLASS-VARIABLE: APACHE2_4_DEPEND
110# @DESCRIPTION:
111# Dependencies for Apache 2.4.x
112APACHE2_2_DEPEND="=www-servers/apache-2.4*"
113
108 114
109# ============================================================================== 115# ==============================================================================
110# INTERNAL FUNCTIONS 116# INTERNAL FUNCTIONS
111# ============================================================================== 117# ==============================================================================
112 118
232 DEPEND="${DEPEND} ${APACHE2_2_DEPEND}" 238 DEPEND="${DEPEND} ${APACHE2_2_DEPEND}"
233 RDEPEND="${RDEPEND} ${APACHE2_2_DEPEND}" 239 RDEPEND="${RDEPEND} ${APACHE2_2_DEPEND}"
234 _init_apache2 240 _init_apache2
235} 241}
236 242
243# @FUNCTION: need_apache2_4
244# @DESCRIPTION:
245# An ebuild calls this to get the dependency information for apache-2.4.x.
246need_apache2_4() {
247 debug-print-function $FUNCNAME $*
248
249 DEPEND="${DEPEND} ${APACHE2_4_DEPEND}"
250 RDEPEND="${RDEPEND} ${APACHE2_4_DEPEND}"
251 _init_apache2
252}
253
237# @FUNCTION: has_apache 254# @FUNCTION: has_apache
238# @DESCRIPTION: 255# @DESCRIPTION:
239# An ebuild calls this to get runtime variables for an indirect apache 256# An ebuild calls this to get runtime variables for an indirect apache
240# dependency without USE-flag, in which case want_apache does not work. 257# dependency without USE-flag, in which case want_apache does not work.
241# DO NOT call this function in global scope. 258# DO NOT call this function in global scope.

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.20