/[gentoo-x86]/eclass/webapp.eclass
Gentoo

Diff of /eclass/webapp.eclass

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

Revision 1.1 Revision 1.2
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
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/webapp.eclass,v 1.1 2003/10/07 21:54:46 stuart Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.2 2003/12/22 23:15:46 stuart Exp $
4# 4#
5# eclass/webapp.eclass 5# eclass/webapp.eclass
6# Eclass for installing applications to run under a web server 6# Eclass for installing applications to run under a web server
7# 7#
8# Part of the implementation of GLEP #11 8# Part of the implementation of GLEP #11
25INHERITED="$INHERITED $ECLASS" 25INHERITED="$INHERITED $ECLASS"
26#DEPEND="${DEPEND} net-www/apache" 26#DEPEND="${DEPEND} net-www/apache"
27SLOT="${PVR}" 27SLOT="${PVR}"
28IUSE="$IUSE vhosts" 28IUSE="$IUSE vhosts"
29 29
30if [ -f /usr/share/webapp-config/settings.sh ] ; then 30if [ -f /etc/conf.d/webapp-config ] ; then
31 . /usr/share/webapp-config/settings.sh 31 . /etc/conf.d/webapp-config
32fi 32fi
33 33
34EXPORT_FUNCTIONS pkg_setup src_install 34EXPORT_FUNCTIONS pkg_setup src_install
35 35
36# ------------------------------------------------------------------------ 36# ------------------------------------------------------------------------
130# ------------------------------------------------------------------------ 130# ------------------------------------------------------------------------
131 131
132function webapp_pkg_setup () 132function webapp_pkg_setup ()
133{ 133{
134 use vhosts || webapp-config -u root -d /var/www/localhost/htdocs/${PN}/ ${PN} 134 use vhosts || webapp-config -u root -d /var/www/localhost/htdocs/${PN}/ ${PN}
135}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20