| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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.20 2005/09/04 10:54:53 stuart Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.22 2005/09/18 05:01:46 vericgar Exp $ |
|
|
4 | |
|
|
5 | inherit multilib |
| 4 | |
6 | |
| 5 | ###### |
7 | ###### |
| 6 | ## Apache Common Variables |
8 | ## Apache Common Variables |
| 7 | ## |
9 | ## |
| 8 | ## These are internal variables used by this, and other apache-related eclasses, |
10 | ## These are internal variables used by this, and other apache-related eclasses, |
| … | |
… | |
| 40 | #### |
42 | #### |
| 41 | ## APACHE1_BASEDIR, APACHE2_BASEDIR |
43 | ## APACHE1_BASEDIR, APACHE2_BASEDIR |
| 42 | ## |
44 | ## |
| 43 | ## Paths to the server root directories |
45 | ## Paths to the server root directories |
| 44 | #### |
46 | #### |
| 45 | APACHE1_BASEDIR="/usr/lib/apache" |
47 | APACHE1_BASEDIR="/usr/$(get_libdir)/apache" |
| 46 | APACHE2_BASEDIR="/usr/lib/apache2" |
48 | APACHE2_BASEDIR="/usr/$(get_libdir)/apache2" |
| 47 | |
49 | |
| 48 | #### |
50 | #### |
| 49 | ## APACHE1_CONFDIR, APACHE2_CONFDIR |
51 | ## APACHE1_CONFDIR, APACHE2_CONFDIR |
| 50 | ## |
52 | ## |
| 51 | ## Paths to the configuration file directories (usually under |
53 | ## Paths to the configuration file directories (usually under |
| … | |
… | |
| 61 | #### |
63 | #### |
| 62 | APACHE1_MODULES_CONFDIR="${APACHE1_CONFDIR}/modules.d" |
64 | APACHE1_MODULES_CONFDIR="${APACHE1_CONFDIR}/modules.d" |
| 63 | APACHE2_MODULES_CONFDIR="${APACHE2_CONFDIR}/modules.d" |
65 | APACHE2_MODULES_CONFDIR="${APACHE2_CONFDIR}/modules.d" |
| 64 | |
66 | |
| 65 | #### |
67 | #### |
| 66 | ## APACHE1_MODULES_VHOSTDIR, APACHE2_MODULES_VHOSTDIR |
68 | ## APACHE1_VHOSTDIR, APACHE2_VHOSTDIR |
| 67 | ## |
69 | ## |
| 68 | ## Paths where virtual host configuration files are kept |
70 | ## Paths where virtual host configuration files are kept |
| 69 | #### |
71 | #### |
| 70 | APACHE1_VHOSTDIR="${APACHE1_CONFDIR}/vhosts.d" |
72 | APACHE1_VHOSTDIR="${APACHE1_CONFDIR}/vhosts.d" |
| 71 | APACHE2_VHOSTDIR="${APACHE2_CONFDIR}/vhosts.d" |
73 | APACHE2_VHOSTDIR="${APACHE2_CONFDIR}/vhosts.d" |
| … | |
… | |
| 80 | |
82 | |
| 81 | #### |
83 | #### |
| 82 | ## APACHE1_DEPEND, APACHE2_DEPEND |
84 | ## APACHE1_DEPEND, APACHE2_DEPEND |
| 83 | ## |
85 | ## |
| 84 | ## Dependencies for apache 1.x and apache 2.x |
86 | ## Dependencies for apache 1.x and apache 2.x |
| 85 | ## - apache2 must be at least version 2.0.52-r3, this is lowest version |
87 | ## - apache2 must be at least version 2.0.54-r30, this is lowest version |
| 86 | ## containing our new overall changes -- trapni (Jan 21 2005) |
88 | ## containing our new overall changes -- trapni (Jan 21 2005) |
| 87 | ## - apache1 must be at least version 1.3.33-r1, but how to |
89 | ## - apache1 must be at least version 1.3.33-r10, but how to |
| 88 | ## define the DEPEND here? (FIXME) -- trapni (Jan 21 2005) |
90 | ## define the DEPEND here? (FIXME) -- trapni (Jan 21 2005) |
| 89 | ## - currently not possible - bug #4315 -- vericgar (Jan 21 2005) |
91 | ## - currently not possible - bug #4315 -- vericgar (Jan 21 2005) |
| 90 | #### |
92 | #### |
| 91 | APACHE1_DEPEND="=net-www/apache-1*" |
93 | APACHE1_DEPEND="=net-www/apache-1*" |
| 92 | APACHE2_DEPEND=">=net-www/apache-2.0.54-r10" |
94 | APACHE2_DEPEND=">=net-www/apache-2.0.54-r30" |
| 93 | |
95 | |
| 94 | #### |
96 | #### |
| 95 | ## APACHE_DEPEND |
97 | ## APACHE_DEPEND |
| 96 | ## |
98 | ## |
| 97 | ## Dependency magic based on useflags to use the right DEPEND |
99 | ## Dependency magic based on useflags to use the right DEPEND |