2a1ed26e43c8056213d8049246fa9d2fed4766e0
Hanno Böck apache 2.4.6-r2 with dh patch

Hanno Böck authored 10 years ago

1) # Copyright 1999-2013 Gentoo Foundation
2) # Distributed under the terms of the GNU General Public License v2
3) # $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.4.6-r2.ebuild,v 1.1 2013/08/01 07:16:18 kensington Exp $
4) 
5) EAPI="2"
6) 
7) # latest gentoo apache files
8) GENTOO_PATCHSTAMP="20130801"
9) GENTOO_DEVELOPER="kensington"
10) GENTOO_PATCHNAME="gentoo-apache-2.4.4"
11) 
12) # IUSE/USE_EXPAND magic
13) IUSE_MPMS_FORK="itk peruser prefork"
14) IUSE_MPMS_THREAD="event worker"
15) 
16) # << obsolete modules:
17) # authn_default authz_default mem_cache
18) # mem_cache is replaced by cache_disk
19) # ?? buggy modules
20) # proxy_scgi: startup error: undefined symbol "ap_proxy_release_connection", no fix found
21) # >> added modules for reason:
22) # compat: compatibility with 2.2 access control
23) # authz_host: new module for access control
24) # authn_core: functionality provided by authn_alias in previous versions
25) # authz_core: new module, provides core authorization capabilities
26) # cache_disk: replacement for mem_cache
27) # lbmethod_byrequests: Split off from mod_proxy_balancer in 2.3
28) # lbmethod_bytraffic: Split off from mod_proxy_balancer in 2.3
29) # lbmethod_bybusyness: Split off from mod_proxy_balancer in 2.3
30) # lbmethod_heartbeat: Split off from mod_proxy_balancer in 2.3
31) # slotmem_shm: Slot-based shared memory provider (for lbmethod_byrequests).
32) # socache_shmcb: shared object cache provider. Default config with ssl needs it
33) # unixd: fixes startup error: Invalid command 'User'
34) IUSE_MODULES="access_compat actions alias asis auth_basic auth_digest authn_alias authn_anon
35) authn_core authn_dbd authn_dbm authn_file authz_core authz_dbm
36) authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cern_meta
37) charset_lite cgi cgid dav dav_fs dav_lock dbd deflate dir dumpio
38) env expires ext_filter file_cache filter headers ident imagemap include info
39) lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat
40) log_config log_forensic logio mime mime_magic negotiation proxy
41) proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi proxy_fcgi
42) rewrite ratelimit remoteip reqtimeout setenvif slotmem_shm speling socache_shmcb status substitute
43) unique_id userdir usertrack unixd version vhost_alias"
44) # The following are also in the source as of this version, but are not available
45) # for user selection:
46) # bucketeer case_filter case_filter_in echo http isapi optional_fn_export
47) # optional_fn_import optional_hook_export optional_hook_import
48) 
49) # inter-module dependencies
50) # TODO: this may still be incomplete
51) MODULE_DEPENDS="
52) 	dav_fs:dav
53) 	dav_lock:dav
54) 	deflate:filter
55) 	cache_disk:cache
56) 	ext_filter:filter
57) 	file_cache:cache
58) 	lbmethod_byrequests:proxy_balancer
59) 	lbmethod_byrequests:slotmem_shm
60) 	lbmethod_bytraffic:proxy_balancer
61) 	lbmethod_bybusyness:proxy_balancer
62) 	lbmethod_heartbeat:proxy_balancer
63) 	log_forensic:log_config
64) 	logio:log_config
65) 	cache_disk:cache
66) 	mime_magic:mime
67) 	proxy_ajp:proxy
68) 	proxy_balancer:proxy
69) 	proxy_connect:proxy
70) 	proxy_ftp:proxy
71) 	proxy_http:proxy
72) 	proxy_scgi:proxy
73) 	proxy_fcgi:proxy
74) 	substitute:filter
75) "
76) 
77) # module<->define mappings
78) MODULE_DEFINES="
79) 	auth_digest:AUTH_DIGEST
80) 	authnz_ldap:AUTHNZ_LDAP
81) 	cache:CACHE
82) 	cache_disk:CACHE
83) 	dav:DAV
84) 	dav_fs:DAV
85) 	dav_lock:DAV
86) 	file_cache:CACHE
87) 	info:INFO
88) 	ldap:LDAP
89) 	proxy:PROXY
90) 	proxy_ajp:PROXY
91) 	proxy_balancer:PROXY
92) 	proxy_connect:PROXY
93) 	proxy_ftp:PROXY
94) 	proxy_http:PROXY
95) 	proxy_fcgi:PROXY
96) 	socache_shmcb:SSL
97) 	ssl:SSL
98) 	status:STATUS
99) 	suexec:SUEXEC
100) 	userdir:USERDIR
101) "
102) 
103) # critical modules for the default config
104) MODULE_CRITICAL="
105) 	authn_core
106) 	authz_core
107) 	authz_host
108) 	dir
109) 	mime
110) 	unixd
111) "
112) # dependend criticals
113) use ssl && MODULE_CRITICAL+=" socache_shmcb"
114) use doc && MODULE_CRITICAL+=" alias negotiation setenvif"
115) 
116) inherit eutils apache-2 systemd
117) 
118) DESCRIPTION="The Apache Web Server."
119) HOMEPAGE="http://httpd.apache.org/"
120) 
121) # some helper scripts are Apache-1.1, thus both are here
122) LICENSE="Apache-2.0 Apache-1.1"
123) SLOT="2"
124) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
125) IUSE=""
126) 
127) DEPEND="${DEPEND}
128) 	>=dev-libs/openssl-0.9.8m
129) 	apache2_modules_deflate? ( sys-libs/zlib )"
130) 
131) # dependency on >=dev-libs/apr-1.4.5 for bug #368651
132) RDEPEND="${RDEPEND}
133) 	>=dev-libs/apr-1.4.5
134) 	>=dev-libs/openssl-0.9.8m
135) 	apache2_modules_mime? ( app-misc/mime-types )"
136) 
137) # init script fixup - should be rolled into next tarball #389965
138) src_prepare() {
Hanno Böck use new upstream dh patch

Hanno Böck authored 10 years ago

139) 	epatch "${FILESDIR}/apache-2.4.6-modssl-dhparams.diff"