Gentoo Archives: gentoo-commits

From: "Fabio Erculiani (lxnay)" <lxnay@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/apache: apache-2.4.4-r3.ebuild apache-2.2.24-r1.ebuild ChangeLog
Date: Mon, 20 May 2013 08:58:08
Message-Id: 20130520085801.A50B52171E@flycatcher.gentoo.org
1 lxnay 13/05/20 08:58:01
2
3 Modified: apache-2.4.4-r3.ebuild ChangeLog
4 Added: apache-2.2.24-r1.ebuild
5 Log:
6 add systemd support to both 2.2 and 2.4 branches on behalf of the systemd team, fix bug #466096, overriding unresponsive maintainer
7
8 (Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key ADC916E5)
9
10 Revision Changes Path
11 1.3 www-servers/apache/apache-2.4.4-r3.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/apache-2.4.4-r3.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/apache-2.4.4-r3.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/apache-2.4.4-r3.ebuild?r1=1.2&r2=1.3
16
17 Index: apache-2.4.4-r3.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.4.4-r3.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- apache-2.4.4-r3.ebuild 11 Apr 2013 09:24:14 -0000 1.2
24 +++ apache-2.4.4-r3.ebuild 20 May 2013 08:58:01 -0000 1.3
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.4.4-r3.ebuild,v 1.2 2013/04/11 09:24:14 polynomial-c Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.4.4-r3.ebuild,v 1.3 2013/05/20 08:58:01 lxnay Exp $
30
31 EAPI="2"
32
33 @@ -113,7 +113,7 @@
34 use ssl && MODULE_CRITICAL+=" socache_shmcb"
35 use doc && MODULE_CRITICAL+=" alias negotiation setenvif"
36
37 -inherit eutils apache-2
38 +inherit eutils apache-2 systemd
39
40 DESCRIPTION="The Apache Web Server."
41 HOMEPAGE="http://httpd.apache.org/"
42 @@ -146,6 +146,10 @@
43 fi
44 apache-2_src_prepare
45 sed -i -e 's/! test -f/test -f/' "${GENTOO_PATCHDIR}"/init/apache2.initd || die "Failed to fix init script"
46 +
47 + # mod_systemd support, merged upstream already:
48 + # http://svn.apache.org/viewvc?view=revision&revision=1393976
49 + epatch "${FILESDIR}/httpd-2.4.3-mod_systemd.patch"
50 }
51
52 src_install() {
53 @@ -171,6 +175,11 @@
54 if use ssl; then
55 dodir /var/run/apache_ssl_mutex || die "Failed to mkdir ssl_mutex"
56 fi
57 +
58 + systemd_newunit "${FILESDIR}/apache2.4.service" "apache2.service"
59 + systemd_dotmpfilesd "${FILESDIR}/apache.conf"
60 + insinto /etc/apache2/modules.d
61 + doins "${FILESDIR}/00_systemd.conf"
62 }
63
64 pkg_postinst()
65
66
67
68 1.230 www-servers/apache/ChangeLog
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/ChangeLog?rev=1.230&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/ChangeLog?rev=1.230&content-type=text/plain
72 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/ChangeLog?r1=1.229&r2=1.230
73
74 Index: ChangeLog
75 ===================================================================
76 RCS file: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v
77 retrieving revision 1.229
78 retrieving revision 1.230
79 diff -u -r1.229 -r1.230
80 --- ChangeLog 3 May 2013 07:19:50 -0000 1.229
81 +++ ChangeLog 20 May 2013 08:58:01 -0000 1.230
82 @@ -1,6 +1,15 @@
83 # ChangeLog for www-servers/apache
84 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
85 -# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.229 2013/05/03 07:19:50 patrick Exp $
86 +# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.230 2013/05/20 08:58:01 lxnay Exp $
87 +
88 +*apache-2.2.24-r1 (20 May 2013)
89 +
90 + 20 May 2013; Fabio Erculiani <lxnay@g.o> +apache-2.2.24-r1.ebuild,
91 + apache-2.4.4-r3.ebuild, +files/00_systemd.conf,
92 + +files/httpd-2.4.3-mod_systemd.patch, +files/apache.conf,
93 + +files/apache2.2.service, +files/apache2.4.service:
94 + add systemd support to both 2.2 and 2.4 branches on behalf of the systemd
95 + team, fix bug #466096, overriding unresponsive maintainer
96
97 03 May 2013; Patrick Lauer <patrick@g.o> metadata.xml:
98 Remove ghelm from metadata
99
100
101
102 1.1 www-servers/apache/apache-2.2.24-r1.ebuild
103
104 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/apache-2.2.24-r1.ebuild?rev=1.1&view=markup
105 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/apache-2.2.24-r1.ebuild?rev=1.1&content-type=text/plain
106
107 Index: apache-2.2.24-r1.ebuild
108 ===================================================================
109 # Copyright 1999-2013 Gentoo Foundation
110 # Distributed under the terms of the GNU General Public License v2
111 # $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.2.24-r1.ebuild,v 1.1 2013/05/20 08:58:01 lxnay Exp $
112
113 EAPI="2"
114
115 WANT_AUTOMAKE="1.11"
116
117 # latest gentoo apache files
118 GENTOO_PATCHSTAMP="20121012"
119 GENTOO_DEVELOPER="patrick"
120 GENTOO_PATCHNAME="gentoo-apache-2.2.23"
121
122 # IUSE/USE_EXPAND magic
123 IUSE_MPMS_FORK="itk peruser prefork"
124 IUSE_MPMS_THREAD="event worker"
125
126 IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon
127 authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
128 authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta
129 charset_lite cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache dumpio
130 env expires ext_filter file_cache filter headers ident imagemap include info
131 log_config log_forensic logio mem_cache mime mime_magic negotiation proxy
132 proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi rewrite
133 reqtimeout setenvif speling status substitute unique_id userdir usertrack
134 version vhost_alias"
135 # The following are also in the source as of this version, but are not available
136 # for user selection:
137 # bucketeer case_filter case_filter_in echo http isapi optional_fn_export
138 # optional_fn_import optional_hook_export optional_hook_import
139
140 # inter-module dependencies
141 # TODO: this may still be incomplete
142 MODULE_DEPENDS="
143 dav_fs:dav
144 dav_lock:dav
145 deflate:filter
146 disk_cache:cache
147 ext_filter:filter
148 file_cache:cache
149 log_forensic:log_config
150 logio:log_config
151 mem_cache:cache
152 mime_magic:mime
153 proxy_ajp:proxy
154 proxy_balancer:proxy
155 proxy_connect:proxy
156 proxy_ftp:proxy
157 proxy_http:proxy
158 proxy_scgi:proxy
159 substitute:filter
160 "
161
162 # module<->define mappings
163 MODULE_DEFINES="
164 auth_digest:AUTH_DIGEST
165 authnz_ldap:AUTHNZ_LDAP
166 cache:CACHE
167 dav:DAV
168 dav_fs:DAV
169 dav_lock:DAV
170 disk_cache:CACHE
171 file_cache:CACHE
172 info:INFO
173 ldap:LDAP
174 mem_cache:CACHE
175 proxy:PROXY
176 proxy_ajp:PROXY
177 proxy_balancer:PROXY
178 proxy_connect:PROXY
179 proxy_ftp:PROXY
180 proxy_http:PROXY
181 ssl:SSL
182 status:STATUS
183 suexec:SUEXEC
184 userdir:USERDIR
185 "
186
187 # critical modules for the default config
188 MODULE_CRITICAL="
189 authz_host
190 dir
191 mime
192 "
193
194 inherit apache-2 systemd
195
196 DESCRIPTION="The Apache Web Server."
197 HOMEPAGE="http://httpd.apache.org/"
198
199 # some helper scripts are Apache-1.1, thus both are here
200 LICENSE="Apache-2.0 Apache-1.1"
201 SLOT="2"
202 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
203 IUSE=""
204
205 DEPEND="${DEPEND}
206 >=dev-libs/openssl-0.9.8m
207 apache2_modules_deflate? ( sys-libs/zlib )"
208
209 # dependency on >=dev-libs/apr-1.4.5 for bug #368651
210 RDEPEND="${RDEPEND}
211 >=dev-libs/apr-1.4.5
212 >=dev-libs/openssl-0.9.8m
213 apache2_modules_mime? ( app-misc/mime-types )"
214
215 # init script fixup - should be rolled into next tarball #389965
216 src_prepare() {
217 apache-2_src_prepare
218 sed -i -e 's/! test -f/test -f/' "${GENTOO_PATCHDIR}"/init/apache2.initd || die "Failed to fix init script"
219 cp "${FILESDIR}"/2.2.22-envvars-std.in "${S}"/support/envvars-std.in || die "Failed to apply LD_PRELOAD fix"
220 }
221
222 src_install() {
223 apache-2_src_install
224
225 systemd_newunit "${FILESDIR}/apache2.2.service" "apache2.service"
226 systemd_dotmpfilesd "${FILESDIR}/apache.conf"
227 }