775a559b4d4b51b4f1756ec5d06432e436817e11
Hanno Böck apache 2.2.13

Hanno Böck authored 14 years ago

1) # Copyright 1999-2009 Gentoo Foundation
2) # Distributed under the terms of the GNU General Public License v2
Hanno Böck apache eclass changes

Hanno Böck authored 14 years ago

3) # $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.2.13.ebuild,v 1.2 2009/09/20 08:37:34 hollow Exp $
Hanno Böck apache 2.2.13

Hanno Böck authored 14 years ago

4) 
5) # latest gentoo apache files
6) GENTOO_PATCHSTAMP="20090826"
7) GENTOO_DEVELOPER="hollow"
8) 
9) # IUSE/USE_EXPAND magic
10) IUSE_MPMS_FORK="itk peruser prefork"
11) IUSE_MPMS_THREAD="event worker"
12) 
13) IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon
14) authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
15) authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta
16) charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires
17) ext_filter file_cache filter headers ident imagemap include info log_config
18) log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp
19) proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling
20) status substitute unique_id userdir usertrack version vhost_alias"
21) 
22) # inter-module dependencies
23) # TODO: this may still be incomplete
24) MODULE_DEPENDS="
25) 	dav_fs:dav
26) 	dav_lock:dav
27) 	deflate:filter
28) 	disk_cache:cache
29) 	ext_filter:filter
30) 	file_cache:cache
31) 	log_forensic:log_config
32) 	logio:log_config
33) 	mem_cache:cache
34) 	mime_magic:mime
35) 	proxy_ajp:proxy
36) 	proxy_balancer:proxy
37) 	proxy_connect:proxy
38) 	proxy_ftp:proxy
39) 	proxy_http:proxy
40) 	substitute:filter
41) "
42) 
43) # module<->define mappings
44) MODULE_DEFINES="
45) 	auth_digest:AUTH_DIGEST
46) 	authnz_ldap:AUTHNZ_LDAP
47) 	cache:CACHE
48) 	dav:DAV
49) 	dav_fs:DAV
50) 	dav_lock:DAV
51) 	disk_cache:CACHE
52) 	file_cache:CACHE
53) 	info:INFO
54) 	ldap:LDAP
55) 	mem_cache:CACHE
56) 	proxy:PROXY
57) 	proxy_ajp:PROXY
58) 	proxy_balancer:PROXY
59) 	proxy_connect:PROXY
60) 	proxy_ftp:PROXY
61) 	proxy_http:PROXY
62) 	ssl:SSL
63) 	status:STATUS
64) 	suexec:SUEXEC
65) 	userdir:USERDIR
66) "
67) 
68) # critical modules for the default config
69) MODULE_CRITICAL="
70) 	authz_host
71) 	dir
72) 	mime
73) "
74) 
75) inherit apache-2
76) 
77) DESCRIPTION="The Apache Web Server."
78) HOMEPAGE="http://httpd.apache.org/"
79) 
80) # some helper scripts are Apache-1.1, thus both are here
81) LICENSE="Apache-2.0 Apache-1.1"
82) SLOT="2"
83) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
84) IUSE="peruser_dc"
85) 
86) DEPEND="${DEPEND}
87) 	apache2_modules_deflate? ( sys-libs/zlib )"
88) 
89) RDEPEND="${RDEPEND}
90) 	apache2_modules_mime? ( app-misc/mime-types )"
91) 
Hanno Böck apache eclass changes

Hanno Böck authored 14 years ago

92) src_prepare() {
Hanno Böck apache 2.2.13

Hanno Böck authored 14 years ago

93) 	if use peruser_dc ; then
94) 		if ! use apache2_mpms_peruser ; then
95) 			die "USE=peruser_dc requires APACHE2_MPMS=peruser"
96) 		fi
97) 	else
98) 		EPATCH_EXCLUDE="${EPATCH_EXCLUDE} 22_all_peruser_0.3.0-dc3.patch"
99) 	fi
100) 
Hanno Böck apache eclass changes

Hanno Böck authored 14 years ago

101) 	apache-2_src_prepare
102) 
Hanno Böck apache 2.2.13

Hanno Böck authored 14 years ago

103) 	cd "${S}"
104) 	epatch "${FILESDIR}/apache-noip.diff"
Hanno Böck apache eclass changes

Hanno Böck authored 14 years ago

105)