apache update
Hanno Böck

Hanno Böck commited on 2008-06-17 09:03:03
Zeige 6 geänderte Dateien mit 116 Einfügungen und 618 Löschungen.

... ...
@@ -1,12 +1,7 @@
1 1
 AUX apache-noip.diff 417 RMD160 8e16f7ff130cea52449a25aafbbdeb78919d9eae SHA1 7c19a0236e4eff23bee6e69ee6708a24529a974c SHA256 c9ed84fec20e69f711600261a395a3d4b3ae2685318f6354c4d2ebd01c0ec4cc
2
-AUX apache-ssl-fix.diff 2993 RMD160 6a7627b2c957254e1a1bfc27e8101ff5da04fab5 SHA1 eb45f1d0ccffb8852315df621376e56a7880c1ba SHA256 150fdbd8ab5f45943c76b5244c9e3ef0ed30c6f70a5fd46981edb983de7ec02f
3
-DIST gentoo-apache-2.2.6-r6-20071215.tar.bz2 60964 RMD160 b2ea87d18117566a644fe012d23affd38d1f7ef6 SHA1 7a03af24bddf7e9b300eaad891a467ba25ab53ad SHA256 e2ec95dbfd3d406d16a5694746ade43863712037c12ac70f3433b16c75bf5638
4
-DIST gentoo-apache-2.2.6-r7-20080107.tar.bz2 61536 RMD160 b08af8e9d840b49685bf7a67243b80dc4e346efa SHA1 27278395f5ad01aef0f9c9fcf1c25565866422a0 SHA256 b2116b2b09ba3a5d4e1130bf7e202cc95312ac5b4f78f8653f15e2842bbbf92f
5
-DIST gentoo-apache-2.2.8-20080119.tar.bz2 60363 RMD160 c54970fdbd8e5906db5a86d383e15d5f542f2ab2 SHA1 48e98685c38e6940f2ea120419ce8d3c216a054e SHA256 6086dcf40451c348305e100551ebb1516050b50803e837cfcf53fa53ffd4d292
6 2
 DIST gentoo-apache-2.2.8-r3-20080601.tar.bz2 60383 RMD160 f7d662ac9bce6bcc0e0506503be166fdb7a95eba SHA1 1d87d6ed727a8b7074446a472eb46d2b1a9eb532 SHA256 bc1bdc87aab4cfc377e2016e69f715495097bf37c47112ac6d52929adf0fbc40
7
-DIST httpd-2.2.6.tar.bz2 4717066 RMD160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f SHA1 e6ef926ecd1f9a412af8c266239f0a6f58c63854 SHA256 f27cd9df50a2acd9df8f37520f62f6ce51758689d425ead5883e75ff5ed6548c
3
+DIST gentoo-apache-2.2.9-20080615.tar.bz2 60183 RMD160 924b6268324aa679b5ff624ece159dad323028aa SHA1 6c8e053a33a561df2417e718803b65f7ac55b640 SHA256 c3bb95e339d7bdfdcd3bd71927287843df0d34ad2740ddc7913cbb0200fc8072
8 4
 DIST httpd-2.2.8.tar.bz2 4799055 RMD160 0736ea9617bafaa1c8cd34ce4fc1c7a659afea57 SHA1 5074904435d3d942ce2dc96c44b07294b8eaca77 SHA256 2ad8d0db1e478838ba88a0ddaf538c7150027d937b017739fdcb3fabb96ebd39
9
-EBUILD apache-2.2.6-r6.ebuild 5217 RMD160 6411c458a443de97e94a3fa328b05b100245844f SHA1 3848dc1b562fc29322c3452e9fd5820284ed08d3 SHA256 2f51672862d7b3d12c15c8c0ea05006da7b279b226c98aafd7d090c61e0520a4
10
-EBUILD apache-2.2.6-r7.ebuild 5232 RMD160 0a8bff32137361ea80ac2e3e3a03b92ce651ea62 SHA1 ecf0af05b58a7a21fb9d684402b1257b0d9a6701 SHA256 1c055ad9e7a8ebeeb43bf749a0d09b44e1b076a1c743365f15e3086289e06cc8
5
+DIST httpd-2.2.9.tar.bz2 4943462 RMD160 8fd62ae78271aa0ded6ba2f5bfeea8c63b79060a SHA1 71715d81e7a5ace4499803df7369c78b85251083 SHA256 d76599fbcf8b3bcff2779f880fb10e4a2bc4af60f64232083c06863e40850b61
11 6
 EBUILD apache-2.2.8-r3.ebuild 5288 RMD160 096b8185d25c485fd2bd13c09de9de8b5e11dcc8 SHA1 5aff0c23059bb10346c1b2988f496becc28f3a19 SHA256 2cb835468f5968a42b86924909b50cdbd9e0c4e24f0fe30e8c547d82fe49e97a
12
-EBUILD apache-2.2.8.ebuild 5232 RMD160 7f823a8c01d09cb40e307db2da939a43f190b46e SHA1 be9a8841b41f21d4cce7c788b8cfd91f50219a35 SHA256 88c6b8321e7b24fa0cc677cff9b4735ff29e28d494d85fe5e3311ba070e48a2e
7
+EBUILD apache-2.2.9.ebuild 2812 RMD160 91b5a44a2db30a6d85e3302bfe9dc16bfcbaf045 SHA1 764bb36273e23745f2ba2cb6a36184096c650f12 SHA256 1302cc772b0404fd65eb9ea7a970558ecc8b0861049a07e122dc95387d45b6e4
... ...
@@ -1,179 +0,0 @@
1
-# Copyright 1999-2007 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.2.6-r6.ebuild,v 1.1 2007/12/15 14:32:52 hollow Exp $
4
-
5
-# latest gentoo apache files
6
-GENTOO_PATCHSTAMP="20071215"
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 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
-	usertrack:unique_id
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_http:PROXY
61
-	ssl:SSL
62
-	status:INFO
63
-	suexec:SUEXEC
64
-	userdir:USERDIR
65
-"
66
-
67
-MODULE_CRITICAL="
68
-authz_host
69
-dir
70
-mime
71
-"
72
-
73
-inherit apache-2
74
-
75
-DESCRIPTION="The Apache Web Server."
76
-HOMEPAGE="http://httpd.apache.org/"
77
-
78
-# some helper scripts are apache-1.1, thus both are here
79
-LICENSE="Apache-2.0 Apache-1.1"
80
-SLOT="2"
81
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
82
-IUSE="sni"
83
-
84
-DEPEND="${DEPEND}
85
-	apache2_modules_deflate? ( sys-libs/zlib )"
86
-
87
-RDEPEND="${RDEPEND}
88
-	apache2_modules_mime? ( app-misc/mime-types )"
89
-
90
-src_unpack() {
91
-	if ! use sni ; then
92
-		EPATCH_EXCLUDE="04_all_mod_ssl_tls_sni.patch"
93
-	fi
94
-
95
-	apache-2_src_unpack
96
-
97
-	cd "${S}"
98
-	epatch "${FILESDIR}/apache-noip.diff"
99
-}
100
-
101
-pkg_postinst() {
102
-	apache-2_pkg_postinst
103
-
104
-	# previous installations of apache-2.2 installed the upstream configuration
105
-	# files, which shouldn't even have been installed!
106
-	if has_version '>=www-servers/apache-2.2.4' ; then
107
-		if [[ -f "${ROOT}"etc/apache2/apache2.conf ]] ; then
108
-			rm -f "${ROOT}"/etc/apache2/apache2.conf >/dev/null 2>&1
109
-		fi
110
-
111
-		for i in extra original ; do
112
-			if [[ -d "${ROOT}"/etc/apache2/${i} ]] ; then
113
-				rm -rf "${ROOT}"/etc/apache2/${i} >/dev/null 2>&1
114
-			fi
115
-		done
116
-	fi
117
-
118
-	# note regarding IfDefine changes
119
-	if has_version '<www-servers/apache-2.2.6-r1' ; then
120
-		elog
121
-		elog "When upgrading from versions 2.2.6 or earlier, please be aware"
122
-		elog "that the define for mod_authnz_ldap has changed from AUTH_LDAP"
123
-		elog "to AUTHNZ_LDAP. Additionally mod_auth_digest needs to be enabled"
124
-		elog "with AUTH_DIGEST now."
125
-		elog
126
-	fi
127
-
128
-	# note the changes regarding DEFAULT_VHOST and SSL_DEFAULT_VHOST
129
-	if has_version '<www-servers/apache-2.2.4-r7' ; then
130
-		elog
131
-		elog "Listen directives have been moved into the default virtual host"
132
-		elog "configuation. At least DEFAULT_VHOST has been enabled for you"
133
-		elog "(depending on your USE-flags.)"
134
-		elog
135
-		elog "If you disable DEFAULT_VHOST or SSL_DEFAULT_VHOST, there will"
136
-		elog "be no listening sockets available."
137
-		elog
138
-	fi
139
-
140
-	# note the user of the config changes
141
-	if has_version '<www-servers/apache-2.2.4-r5' ; then
142
-		elog
143
-		elog "Please make sure that you update your /etc directory."
144
-		elog "Between the versions, we had to changes some config files"
145
-		elog "and move some stuff out of the main httpd.conf file to a seperate"
146
-		elog "modules.d entry."
147
-		elog
148
-		elog "Thus please update your /etc directory either via etc-update,"
149
-		elog "dispatch-conf or conf-update !"
150
-		elog
151
-	fi
152
-
153
-	# check for dual/upgrade install
154
-	if has_version '<www-servers/apache-2.2.0' ; then
155
-		elog
156
-		elog "When upgrading from versions below 2.2.0 to this version, you"
157
-		elog "need to rebuild all your modules. Please do so for your modules"
158
-		elog "to continue working correctly."
159
-		elog
160
-		elog "Also note that some configuration directives have been"
161
-		elog "split into their own files under ${ROOT}etc/apache2/modules.d/"
162
-		elog "and that some modules, foremost the authentication related ones,"
163
-		elog "have been renamed."
164
-		elog
165
-		elog "Some examples:"
166
-		elog "  - USERDIR is now configureable in ${ROOT}etc/apache2/modules.d/00_mod_userdir.conf."
167
-		elog
168
-		elog "For more information on what you may need to change, please"
169
-		elog "see the overview of changes at:"
170
-		elog "http://httpd.apache.org/docs/2.2/new_features_2_2.html"
171
-		elog "and the upgrading guide at:"
172
-		elog "http://httpd.apache.org/docs/2.2/upgrading.html"
173
-		elog
174
-	fi
175
-
176
-	# cleanup the vim backup files, placed in /etc/apache2 by the last
177
-	# patchtarball (gentoo-apache-2.2.4-r7-20070615)
178
-	rm -f "${ROOT}etc/apache2/modules.d/*.conf~"
179
-}
... ...
@@ -1,180 +0,0 @@
1
-# Copyright 1999-2008 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.2.6-r7.ebuild,v 1.6 2008/01/08 22:19:14 jer Exp $
4
-
5
-# latest gentoo apache files
6
-GENTOO_PATCHSTAMP="20080107"
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 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
-	usertrack:unique_id
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
-MODULE_CRITICAL="
69
-authz_host
70
-dir
71
-mime
72
-"
73
-
74
-inherit apache-2
75
-
76
-DESCRIPTION="The Apache Web Server."
77
-HOMEPAGE="http://httpd.apache.org/"
78
-
79
-# some helper scripts are apache-1.1, thus both are here
80
-LICENSE="Apache-2.0 Apache-1.1"
81
-SLOT="2"
82
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
83
-IUSE="sni"
84
-
85
-DEPEND="${DEPEND}
86
-	apache2_modules_deflate? ( sys-libs/zlib )"
87
-
88
-RDEPEND="${RDEPEND}
89
-	apache2_modules_mime? ( app-misc/mime-types )"
90
-
91
-src_unpack() {
92
-	if ! use sni ; then
93
-		EPATCH_EXCLUDE="04_all_mod_ssl_tls_sni.patch"
94
-	fi
95
-
96
-	apache-2_src_unpack
97
-
98
-	cd "${S}"
99
-	epatch "${FILESDIR}/apache-noip.diff" || die
100
-}
101
-
102
-pkg_postinst() {
103
-	apache-2_pkg_postinst
104
-
105
-	# previous installations of apache-2.2 installed the upstream configuration
106
-	# files, which shouldn't even have been installed!
107
-	if has_version '>=www-servers/apache-2.2.4' ; then
108
-		if [[ -f "${ROOT}"etc/apache2/apache2.conf ]] ; then
109
-			rm -f "${ROOT}"/etc/apache2/apache2.conf >/dev/null 2>&1
110
-		fi
111
-
112
-		for i in extra original ; do
113
-			if [[ -d "${ROOT}"/etc/apache2/${i} ]] ; then
114
-				rm -rf "${ROOT}"/etc/apache2/${i} >/dev/null 2>&1
115
-			fi
116
-		done
117
-	fi
118
-
119
-	# note regarding IfDefine changes
120
-	if has_version '<www-servers/apache-2.2.6-r1' ; then
121
-		elog
122
-		elog "When upgrading from versions 2.2.6 or earlier, please be aware"
123
-		elog "that the define for mod_authnz_ldap has changed from AUTH_LDAP"
124
-		elog "to AUTHNZ_LDAP. Additionally mod_auth_digest needs to be enabled"
125
-		elog "with AUTH_DIGEST now."
126
-		elog
127
-	fi
128
-
129
-	# note the changes regarding DEFAULT_VHOST and SSL_DEFAULT_VHOST
130
-	if has_version '<www-servers/apache-2.2.4-r7' ; then
131
-		elog
132
-		elog "Listen directives have been moved into the default virtual host"
133
-		elog "configuation. At least DEFAULT_VHOST has been enabled for you"
134
-		elog "(depending on your USE-flags.)"
135
-		elog
136
-		elog "If you disable DEFAULT_VHOST or SSL_DEFAULT_VHOST, there will"
137
-		elog "be no listening sockets available."
138
-		elog
139
-	fi
140
-
141
-	# note the user of the config changes
142
-	if has_version '<www-servers/apache-2.2.4-r5' ; then
143
-		elog
144
-		elog "Please make sure that you update your /etc directory."
145
-		elog "Between the versions, we had to changes some config files"
146
-		elog "and move some stuff out of the main httpd.conf file to a seperate"
147
-		elog "modules.d entry."
148
-		elog
149
-		elog "Thus please update your /etc directory either via etc-update,"
150
-		elog "dispatch-conf or conf-update !"
151
-		elog
152
-	fi
153
-
154
-	# check for dual/upgrade install
155
-	if has_version '<www-servers/apache-2.2.0' ; then
156
-		elog
157
-		elog "When upgrading from versions below 2.2.0 to this version, you"
158
-		elog "need to rebuild all your modules. Please do so for your modules"
159
-		elog "to continue working correctly."
160
-		elog
161
-		elog "Also note that some configuration directives have been"
162
-		elog "split into their own files under ${ROOT}etc/apache2/modules.d/"
163
-		elog "and that some modules, foremost the authentication related ones,"
164
-		elog "have been renamed."
165
-		elog
166
-		elog "Some examples:"
167
-		elog "  - USERDIR is now configureable in ${ROOT}etc/apache2/modules.d/00_mod_userdir.conf."
168
-		elog
169
-		elog "For more information on what you may need to change, please"
170
-		elog "see the overview of changes at:"
171
-		elog "http://httpd.apache.org/docs/2.2/new_features_2_2.html"
172
-		elog "and the upgrading guide at:"
173
-		elog "http://httpd.apache.org/docs/2.2/upgrading.html"
174
-		elog
175
-	fi
176
-
177
-	# cleanup the vim backup files, placed in /etc/apache2 by the last
178
-	# patchtarball (gentoo-apache-2.2.4-r7-20070615)
179
-	rm -f "${ROOT}etc/apache2/modules.d/*.conf~"
180
-}
... ...
@@ -1,180 +0,0 @@
1
-# Copyright 1999-2008 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.2.8.ebuild,v 1.1 2008/01/19 10:56:36 hollow Exp $
4
-
5
-# latest gentoo apache files
6
-GENTOO_PATCHSTAMP="20080119"
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 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
-	usertrack:unique_id
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
-MODULE_CRITICAL="
69
-authz_host
70
-dir
71
-mime
72
-"
73
-
74
-inherit apache-2
75
-
76
-DESCRIPTION="The Apache Web Server."
77
-HOMEPAGE="http://httpd.apache.org/"
78
-
79
-# some helper scripts are apache-1.1, thus both are here
80
-LICENSE="Apache-2.0 Apache-1.1"
81
-SLOT="2"
82
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
83
-IUSE="sni"
84
-
85
-DEPEND="${DEPEND}
86
-	apache2_modules_deflate? ( sys-libs/zlib )"
87
-
88
-RDEPEND="${RDEPEND}
89
-	apache2_modules_mime? ( app-misc/mime-types )"
90
-
91
-src_unpack() {
92
-	if ! use sni ; then
93
-		EPATCH_EXCLUDE="04_all_mod_ssl_tls_sni.patch"
94
-	fi
95
-
96
-	apache-2_src_unpack
97
-
98
-	cd "${S}"
99
-	epatch "${FILESDIR}/apache-noip.diff" || die
100
-}
101
-
102
-pkg_postinst() {
103
-	apache-2_pkg_postinst
104
-
105
-	# previous installations of apache-2.2 installed the upstream configuration
106
-	# files, which shouldn't even have been installed!
107
-	if has_version '>=www-servers/apache-2.2.4' ; then
108
-		if [[ -f "${ROOT}"etc/apache2/apache2.conf ]] ; then
109
-			rm -f "${ROOT}"/etc/apache2/apache2.conf >/dev/null 2>&1
110
-		fi
111
-
112
-		for i in extra original ; do
113
-			if [[ -d "${ROOT}"/etc/apache2/${i} ]] ; then
114
-				rm -rf "${ROOT}"/etc/apache2/${i} >/dev/null 2>&1
115
-			fi
116
-		done
117
-	fi
118
-
119
-	# note regarding IfDefine changes
120
-	if has_version '<www-servers/apache-2.2.6-r1' ; then
121
-		elog
122
-		elog "When upgrading from versions 2.2.6 or earlier, please be aware"
123
-		elog "that the define for mod_authnz_ldap has changed from AUTH_LDAP"
124
-		elog "to AUTHNZ_LDAP. Additionally mod_auth_digest needs to be enabled"
125
-		elog "with AUTH_DIGEST now."
126
-		elog
127
-	fi
128
-
129
-	# note the changes regarding DEFAULT_VHOST and SSL_DEFAULT_VHOST
130
-	if has_version '<www-servers/apache-2.2.4-r7' ; then
131
-		elog
132
-		elog "Listen directives have been moved into the default virtual host"
133
-		elog "configuation. At least DEFAULT_VHOST has been enabled for you"
134
-		elog "(depending on your USE-flags.)"
135
-		elog
136
-		elog "If you disable DEFAULT_VHOST or SSL_DEFAULT_VHOST, there will"
137
-		elog "be no listening sockets available."
138
-		elog
139
-	fi
140
-
141
-	# note the user of the config changes
142
-	if has_version '<www-servers/apache-2.2.4-r5' ; then
143
-		elog
144
-		elog "Please make sure that you update your /etc directory."
145
-		elog "Between the versions, we had to changes some config files"
146
-		elog "and move some stuff out of the main httpd.conf file to a seperate"
147
-		elog "modules.d entry."
148
-		elog
149
-		elog "Thus please update your /etc directory either via etc-update,"
150
-		elog "dispatch-conf or conf-update !"
151
-		elog
152
-	fi
153
-
154
-	# check for dual/upgrade install
155
-	if has_version '<www-servers/apache-2.2.0' ; then
156
-		elog
157
-		elog "When upgrading from versions below 2.2.0 to this version, you"
158
-		elog "need to rebuild all your modules. Please do so for your modules"
159
-		elog "to continue working correctly."
160
-		elog
161
-		elog "Also note that some configuration directives have been"
162
-		elog "split into their own files under ${ROOT}etc/apache2/modules.d/"
163
-		elog "and that some modules, foremost the authentication related ones,"
164
-		elog "have been renamed."
165
-		elog
166
-		elog "Some examples:"
167
-		elog "  - USERDIR is now configureable in ${ROOT}etc/apache2/modules.d/00_mod_userdir.conf."
168
-		elog
169
-		elog "For more information on what you may need to change, please"
170
-		elog "see the overview of changes at:"
171
-		elog "http://httpd.apache.org/docs/2.2/new_features_2_2.html"
172
-		elog "and the upgrading guide at:"
173
-		elog "http://httpd.apache.org/docs/2.2/upgrading.html"
174
-		elog
175
-	fi
176
-
177
-	# cleanup the vim backup files, placed in /etc/apache2 by the last
178
-	# patchtarball (gentoo-apache-2.2.4-r7-20070615)
179
-	rm -f "${ROOT}etc/apache2/modules.d/*.conf~"
180
-}
... ...
@@ -0,0 +1,113 @@
1
+# Copyright 1999-2008 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.2.9.ebuild,v 1.8 2008/06/16 16:12:41 ranger Exp $
4
+
5
+# latest gentoo apache files
6
+GENTOO_PATCHSTAMP="20080615"
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 ~sparc-fbsd x86 ~x86-fbsd"
84
+IUSE="sni"
85
+
86
+DEPEND="${DEPEND}
87
+	apache2_modules_deflate? ( sys-libs/zlib )"
88
+
89
+RDEPEND="${RDEPEND}
90
+	apache2_modules_mime? ( app-misc/mime-types )"
91
+
92
+src_unpack() {
93
+	if ! use sni ; then
94
+		EPATCH_EXCLUDE="04_all_mod_ssl_tls_sni.patch"
95
+	fi
96
+
97
+	apache-2_src_unpack
98
+
99
+	cd "${S}"
100
+	epatch "${FILESDIR}/apache-noip.diff" || die
101
+}
102
+
103
+pkg_preinst() {
104
+	# note regarding IfDefine changes
105
+	if has_version "<${CATEGORY}/${PN}-2.2.6-r1"; then
106
+		elog
107
+		elog "When upgrading from versions 2.2.6 or earlier, please be aware"
108
+		elog "that the define for mod_authnz_ldap has changed from AUTH_LDAP"
109
+		elog "to AUTHNZ_LDAP. Additionally mod_auth_digest needs to be enabled"
110
+		elog "with AUTH_DIGEST now."
111
+		elog
112
+	fi
113
+}
... ...
@@ -1,71 +0,0 @@
1
---- httpd/httpd/trunk/modules/ssl/ssl_engine_io.c	2007/06/12 20:55:57	546632
2
-+++ httpd/httpd/trunk/modules/ssl/ssl_engine_io.c	2007/11/02 16:45:46	591393
3
-@@ -1539,14 +1539,25 @@
4
- 
5
-     apr_brigade_destroy(tempb);
6
- 
7
--    /* Insert the filter which will supply the buffered data. */
8
-+    /* After consuming all protocol-level input, remove all protocol-level
9
-+     * filters.  It should strictly only be necessary to remove filters
10
-+     * at exactly ftype == AP_FTYPE_PROTOCOL, since this filter will 
11
-+     * precede all > AP_FTYPE_PROTOCOL anyway. */
12
-+    while (r->proto_input_filters->frec->ftype < AP_FTYPE_CONNECTION) {
13
-+        ap_remove_input_filter(r->proto_input_filters);
14
-+    }
15
-+
16
-+    /* Insert the filter which will supply the buffered content. */
17
-     ap_add_input_filter(ssl_io_buffer, ctx, r, c);
18
- 
19
-     return 0;
20
- }
21
- 
22
- /* This input filter supplies the buffered request body to the caller
23
-- * from the brigade stored in f->ctx. */
24
-+ * from the brigade stored in f->ctx.  Note that the placement of this
25
-+ * filter in the filter stack is important; it must be the first
26
-+ * r->proto_input_filter; lower-typed filters will not be preserved
27
-+ * across internal redirects (see PR 43738).  */
28
- static apr_status_t ssl_io_filter_buffer(ap_filter_t *f,
29
-                                          apr_bucket_brigade *bb,
30
-                                          ap_input_mode_t mode,
31
-@@ -1565,6 +1576,19 @@
32
-         return APR_ENOTIMPL;
33
-     }
34
- 
35
-+    if (APR_BRIGADE_EMPTY(ctx->bb)) {
36
-+        /* Suprisingly (and perhaps, wrongly), the request body can be
37
-+         * pulled from the input filter stack more than once; a
38
-+         * handler may read it, and ap_discard_request_body() will
39
-+         * attempt to do so again after *every* request.  So input
40
-+         * filters must be prepared to give up an EOS if invoked after
41
-+         * initially reading the request. The HTTP_IN filter does this
42
-+         * with its ->eos_sent flag. */
43
-+
44
-+        APR_BRIGADE_INSERT_TAIL(bb, apr_bucket_eos_create(f->c->bucket_alloc));
45
-+        return APR_SUCCESS;
46
-+    }
47
-+
48
-     if (mode == AP_MODE_READBYTES) {
49
-         apr_bucket *e;
50
- 
51
-@@ -1619,8 +1643,9 @@
52
-         }
53
- 
54
-         ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, f->c,
55
--                      "buffered SSL brigade now exhausted; removing filter");
56
--        ap_remove_input_filter(f);
57
-+                      "buffered SSL brigade exhausted");
58
-+        /* Note that the filter must *not* be removed here; it may be
59
-+         * invoked again, see comment above. */
60
-     }
61
- 
62
-     return APR_SUCCESS;
63
-@@ -1695,7 +1720,7 @@
64
-     ap_register_input_filter  (ssl_io_filter, ssl_io_filter_input,  NULL, AP_FTYPE_CONNECTION + 5);
65
-     ap_register_output_filter (ssl_io_filter, ssl_io_filter_output, NULL, AP_FTYPE_CONNECTION + 5);
66
- 
67
--    ap_register_input_filter  (ssl_io_buffer, ssl_io_filter_buffer, NULL, AP_FTYPE_PROTOCOL - 1);
68
-+    ap_register_input_filter  (ssl_io_buffer, ssl_io_filter_buffer, NULL, AP_FTYPE_PROTOCOL);
69
- 
70
-     return;
71
- }
72 0