Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/apache: ChangeLog apache-2.2.6-r6.ebuild apache-2.2.6-r2.ebuild apache-2.2.6-r4.ebuild
Date: Sat, 15 Dec 2007 14:33:00
Message-Id: E1J3Y4T-000529-Ht@stork.gentoo.org
1 hollow 07/12/15 14:32:53
2
3 Modified: ChangeLog
4 Added: apache-2.2.6-r6.ebuild
5 Removed: apache-2.2.6-r2.ebuild apache-2.2.6-r4.ebuild
6 Log:
7 fix #201163, #201586, #201923, #202327, #202376; first unmasked USE_EXPAND version
8 (Portage version: 2.1.4_rc8)
9
10 Revision Changes Path
11 1.39 www-servers/apache/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/apache/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/apache/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/apache/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 14 Dec 2007 22:34:02 -0000 1.38
24 +++ ChangeLog 15 Dec 2007 14:32:52 -0000 1.39
25 @@ -1,6 +1,13 @@
26 # ChangeLog for www-servers/apache
27 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.38 2007/12/14 22:34:02 hollow Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.39 2007/12/15 14:32:52 hollow Exp $
30 +
31 +*apache-2.2.6-r6 (15 Dec 2007)
32 +
33 + 15 Dec 2007; Benedikt Böhm <hollow@g.o> -apache-2.2.6-r2.ebuild,
34 + -apache-2.2.6-r4.ebuild, +apache-2.2.6-r6.ebuild:
35 + fix #201163, #201586, #201923, #202327, #202376; first unmasked USE_EXPAND
36 + version
37
38 *apache-2.2.6-r5 (14 Dec 2007)
39
40
41
42
43 1.1 www-servers/apache/apache-2.2.6-r6.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/apache/apache-2.2.6-r6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/apache/apache-2.2.6-r6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: apache-2.2.6-r6.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $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 $
53
54 # latest gentoo apache files
55 GENTOO_PATCHSTAMP="20071215"
56 GENTOO_DEVELOPER="hollow"
57
58 # IUSE/USE_EXPAND magic
59 IUSE_MPMS_FORK="itk peruser prefork"
60 IUSE_MPMS_THREAD="event worker"
61
62 IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon
63 authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
64 authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta
65 charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires
66 ext_filter file_cache filter headers ident imagemap include info log_config
67 log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp
68 proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling
69 status unique_id userdir usertrack version vhost_alias"
70
71 # inter-module dependencies
72 # TODO: this may still be incomplete
73 MODULE_DEPENDS="
74 dav_fs:dav
75 dav_lock:dav
76 deflate:filter
77 disk_cache:cache
78 ext_filter:filter
79 file_cache:cache
80 log_forensic:log_config
81 logio:log_config
82 mem_cache:cache
83 mime_magic:mime
84 proxy_ajp:proxy
85 proxy_balancer:proxy
86 proxy_connect:proxy
87 proxy_ftp:proxy
88 proxy_http:proxy
89 usertrack:unique_id
90 "
91
92 # module<->define mappings
93 MODULE_DEFINES="
94 auth_digest:AUTH_DIGEST
95 authnz_ldap:AUTHNZ_LDAP
96 cache:CACHE
97 dav:DAV
98 dav_fs:DAV
99 dav_lock:DAV
100 disk_cache:CACHE
101 file_cache:CACHE
102 info:INFO
103 ldap:LDAP
104 mem_cache:CACHE
105 proxy:PROXY
106 proxy_ajp:PROXY
107 proxy_balancer:PROXY
108 proxy_connect:PROXY
109 proxy_http:PROXY
110 ssl:SSL
111 status:INFO
112 suexec:SUEXEC
113 userdir:USERDIR
114 "
115
116 MODULE_CRITICAL="
117 authz_host
118 dir
119 mime
120 "
121
122 inherit apache-2
123
124 DESCRIPTION="The Apache Web Server."
125 HOMEPAGE="http://httpd.apache.org/"
126
127 # some helper scripts are apache-1.1, thus both are here
128 LICENSE="Apache-2.0 Apache-1.1"
129 SLOT="2"
130 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
131 IUSE="sni"
132
133 DEPEND="${DEPEND}
134 apache2_modules_deflate? ( sys-libs/zlib )"
135
136 RDEPEND="${RDEPEND}
137 apache2_modules_mime? ( app-misc/mime-types )"
138
139 src_unpack() {
140 if ! use sni ; then
141 EPATCH_EXCLUDE="04_all_mod_ssl_tls_sni.patch"
142 fi
143
144 apache-2_src_unpack
145 }
146
147 pkg_postinst() {
148 apache-2_pkg_postinst
149
150 # previous installations of apache-2.2 installed the upstream configuration
151 # files, which shouldn't even have been installed!
152 if has_version '>=www-servers/apache-2.2.4' ; then
153 if [[ -f "${ROOT}"etc/apache2/apache2.conf ]] ; then
154 rm -f "${ROOT}"/etc/apache2/apache2.conf >/dev/null 2>&1
155 fi
156
157 for i in extra original ; do
158 if [[ -d "${ROOT}"/etc/apache2/${i} ]] ; then
159 rm -rf "${ROOT}"/etc/apache2/${i} >/dev/null 2>&1
160 fi
161 done
162 fi
163
164 # note regarding IfDefine changes
165 if has_version '<www-servers/apache-2.2.6-r1' ; then
166 elog
167 elog "When upgrading from versions 2.2.6 or earlier, please be aware"
168 elog "that the define for mod_authnz_ldap has changed from AUTH_LDAP"
169 elog "to AUTHNZ_LDAP. Additionally mod_auth_digest needs to be enabled"
170 elog "with AUTH_DIGEST now."
171 elog
172 fi
173
174 # note the changes regarding DEFAULT_VHOST and SSL_DEFAULT_VHOST
175 if has_version '<www-servers/apache-2.2.4-r7' ; then
176 elog
177 elog "Listen directives have been moved into the default virtual host"
178 elog "configuation. At least DEFAULT_VHOST has been enabled for you"
179 elog "(depending on your USE-flags.)"
180 elog
181 elog "If you disable DEFAULT_VHOST or SSL_DEFAULT_VHOST, there will"
182 elog "be no listening sockets available."
183 elog
184 fi
185
186 # note the user of the config changes
187 if has_version '<www-servers/apache-2.2.4-r5' ; then
188 elog
189 elog "Please make sure that you update your /etc directory."
190 elog "Between the versions, we had to changes some config files"
191 elog "and move some stuff out of the main httpd.conf file to a seperate"
192 elog "modules.d entry."
193 elog
194 elog "Thus please update your /etc directory either via etc-update,"
195 elog "dispatch-conf or conf-update !"
196 elog
197 fi
198
199 # check for dual/upgrade install
200 if has_version '<www-servers/apache-2.2.0' ; then
201 elog
202 elog "When upgrading from versions below 2.2.0 to this version, you"
203 elog "need to rebuild all your modules. Please do so for your modules"
204 elog "to continue working correctly."
205 elog
206 elog "Also note that some configuration directives have been"
207 elog "split into their own files under ${ROOT}etc/apache2/modules.d/"
208 elog "and that some modules, foremost the authentication related ones,"
209 elog "have been renamed."
210 elog
211 elog "Some examples:"
212 elog " - USERDIR is now configureable in ${ROOT}etc/apache2/modules.d/00_mod_userdir.conf."
213 elog
214 elog "For more information on what you may need to change, please"
215 elog "see the overview of changes at:"
216 elog "http://httpd.apache.org/docs/2.2/new_features_2_2.html"
217 elog "and the upgrading guide at:"
218 elog "http://httpd.apache.org/docs/2.2/upgrading.html"
219 elog
220 fi
221
222 # cleanup the vim backup files, placed in /etc/apache2 by the last
223 # patchtarball (gentoo-apache-2.2.4-r7-20070615)
224 rm -f "${ROOT}etc/apache2/modules.d/*.conf~"
225 }
226
227
228
229 --
230 gentoo-commits@g.o mailing list