Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/apache/
Date: Wed, 04 Oct 2017 07:55:52
Message-Id: 1507103740.f1b4411ce83930af375b17d5d083717bc121eb90.polynomial-c@gentoo
1 commit: f1b4411ce83930af375b17d5d083717bc121eb90
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 4 07:54:43 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 4 07:55:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b4411c
7
8 www-servers/apache: Removed old.
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 www-servers/apache/Manifest | 2 -
13 www-servers/apache/apache-2.2.32.ebuild | 114 ---------------
14 www-servers/apache/apache-2.4.25.ebuild | 238 --------------------------------
15 3 files changed, 354 deletions(-)
16
17 diff --git a/www-servers/apache/Manifest b/www-servers/apache/Manifest
18 index 16cdb3b5c47..dbc87977a20 100644
19 --- a/www-servers/apache/Manifest
20 +++ b/www-servers/apache/Manifest
21 @@ -3,8 +3,6 @@ DIST gentoo-apache-2.2.34-20170918.tar.bz2 64390 SHA256 27a1755e3cee4bf4976fd3ed
22 DIST gentoo-apache-2.4.18-r1-20160303.tar.bz2 24505 SHA256 d81e32d876594b48a7ff6d9123bf776c5bea5453eddd2fe40f4a9b79c11537aa SHA512 68f0c4de38ae05c45839fe692cbb7de641e331ca133b8aaaf69f3659dec15833cda95e6e074edb3a5b6b6d59b3fc5a4ee3589fff810707fe27417a25cd8a4c4d WHIRLPOOL fb61224b2104e611237e1d09eb4dfb3d2b8f023348c9622f7f19434b6b77d63786c41af17a300d994c14d983676f3753ab6fa52f7a7fcd07b9cea3d7eeacc9b9
23 DIST gentoo-apache-2.4.27-20170918.tar.bz2 24850 SHA256 10c7404707508ce91ce59974f55fe4368ee153b299f697441f703dab1aefd17a SHA512 c58a9a0b171188ff163f6b45c47f243797d4050cf461ba1a642115350285879005be6496cee2031bffaccc0d8beda4c27de87afa2ded17cbe559f792eb7c00e8 WHIRLPOOL 143092df671320d353bb8221fe62351f5f70262fa5e83cad6904633bcbbd177810717f297081d59e3e3a37e2cb42a004c0575fb55d52e0d1ae7197768b96aef8
24 DIST httpd-2.2.31.tar.bz2 5610489 SHA256 f32f9d19f535dac63b06cb55dfc023b40dcd28196b785f79f9346779e22f26ac SHA512 5aa47d4b76f692bbd8b309135ff99152df98cf69b505b9daf3f13f7f2a31443eaf4995161adfbc47a133b4d0e091fda2d95fc6b87a956f0ada18d7466ee28e74 WHIRLPOOL a2e3e53c51719cb6f7e641b41788cd89ce7b4d2ea105b403bfa3b3d4479b69c5604228269062f66722594e105e91121d05b1c9f27ca7dc4ecfcf339da8b8375c
25 -DIST httpd-2.2.32.tar.bz2 5777509 SHA256 527bc9d8092d784daf08910dd6c9d2681d6a2325055b2cc69806a0a7df7ed650 SHA512 b1802579f4fc950705ddcf0a24f502ffadbd91d5693fdd3b290ac7ca40122f8fa48132ad1055afae9b841dd55e8bb343239be07ca431b0f60ea081f5c2fad2c3 WHIRLPOOL ee2f1cb74b77f4b3eae7d58bb9bf2728d95a6e215a460d85abf60e220b816cb0e22080169167e3610872e3165951f1cc9ac753f02e46dc75e047a98a1b7384a5
26 DIST httpd-2.2.34.tar.bz2 5779739 SHA256 e53183d5dfac5740d768b4c9bea193b1099f4b06b57e5f28d7caaf9ea7498160 SHA512 e6dac5865a48533c025fe17523ee74d68c3a23f9512c9441b78a140e33cfb6835573eb049b0ad424eb5c5ca78a1915778c54e8a409da95fbdd3890cb99e08240 WHIRLPOOL 0bd86b3644fae79c74928c0cd8bc3e4b7d821544a760dbe6459df43210f690d3c4dc74168e029b0b5bbaba6fcd0433aeb4312794455d91b00b7c36c537dfdefd
27 -DIST httpd-2.4.25.tar.bz2 6398218 SHA256 f87ec2df1c9fee3e6bfde3c8b855a3ddb7ca1ab20ca877bd0e2b6bf3f05c80b2 SHA512 6ba4ce1dcef71416cf1c0de2468c002767b5637a75744daf5beb0edd045749a751b3826c4132f594c48e4b33ca8e1b25ebfb63ac4c8b759ca066a89d3261fb22 WHIRLPOOL ccb783875632241e8acf7b43c59163c25b13357b307416abaa3adb0ac868fc547b3cff9585b347e98a8663ec26bea3edad4d42604e6ae86b0db5f769fc11d072
28 DIST httpd-2.4.27.tar.bz2 6527394 SHA256 71fcc128238a690515bd8174d5330a5309161ef314a326ae45c7c15ed139c13a SHA512 7e7e8070715b74cb6890096a74e194f4c6a49c14bda685b1ad832e84312f1ac4316ea03a430e679502bfd8e1853aefa544ee002a20d0f7e994b9a590c74bc42c WHIRLPOOL 35aeaa01b2bf5772ad21d1011e619befd75fdaade5aa0ca7c61367e7b7a66af28dccf8729a53418f2598199721b68aac7d8c575797ed218150d00af4e8dd4dba
29 DIST httpd-2.4.28.tar.bz2 6553163 SHA256 c1197a3a62a4ab5c584ab89b249af38cf28b4adee9c0106b62999fd29f920666 SHA512 8de8e32b87e6de220e492e74db9df0882fae11c3b9732f3d3316da048c04767ac4429c0433c36f87d8705263e3376f97a7e1f66a9d7a518632a67b6fe617590a WHIRLPOOL a4c8be522d5e900e01cefc0fc6d196e3e49e45e2daffa9ec22b2dc44deace506da5a4cf68afd04b0062b87ffcd27b6e59d0b8ae71cc2304d5080d066174e95ed
30
31 diff --git a/www-servers/apache/apache-2.2.32.ebuild b/www-servers/apache/apache-2.2.32.ebuild
32 deleted file mode 100644
33 index a9b52349ad6..00000000000
34 --- a/www-servers/apache/apache-2.2.32.ebuild
35 +++ /dev/null
36 @@ -1,114 +0,0 @@
37 -# Copyright 1999-2017 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=5
41 -
42 -# latest gentoo apache files
43 -GENTOO_PATCHSTAMP="20140922"
44 -GENTOO_DEVELOPER="polynomial-c"
45 -GENTOO_PATCHNAME="gentoo-apache-2.2.29"
46 -
47 -# IUSE/USE_EXPAND magic
48 -IUSE_MPMS_FORK="itk peruser prefork"
49 -IUSE_MPMS_THREAD="event worker"
50 -
51 -IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon
52 -authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
53 -authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta
54 -charset_lite cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache dumpio
55 -env expires ext_filter file_cache filter headers ident imagemap include info
56 -log_config log_forensic logio mem_cache mime mime_magic negotiation proxy
57 -proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi rewrite
58 -reqtimeout setenvif speling status substitute unique_id userdir usertrack
59 -version vhost_alias"
60 -# The following are also in the source as of this version, but are not available
61 -# for user selection:
62 -# bucketeer case_filter case_filter_in echo http isapi optional_fn_export
63 -# optional_fn_import optional_hook_export optional_hook_import
64 -
65 -# inter-module dependencies
66 -# TODO: this may still be incomplete
67 -MODULE_DEPENDS="
68 - dav_fs:dav
69 - dav_lock:dav
70 - deflate:filter
71 - disk_cache:cache
72 - ext_filter:filter
73 - file_cache:cache
74 - log_forensic:log_config
75 - logio:log_config
76 - mem_cache:cache
77 - mime_magic:mime
78 - proxy_ajp:proxy
79 - proxy_balancer:proxy
80 - proxy_connect:proxy
81 - proxy_ftp:proxy
82 - proxy_http:proxy
83 - proxy_scgi:proxy
84 - substitute:filter
85 -"
86 -
87 -# module<->define mappings
88 -MODULE_DEFINES="
89 - auth_digest:AUTH_DIGEST
90 - authnz_ldap:AUTHNZ_LDAP
91 - cache:CACHE
92 - dav:DAV
93 - dav_fs:DAV
94 - dav_lock:DAV
95 - disk_cache:CACHE
96 - file_cache:CACHE
97 - info:INFO
98 - ldap:LDAP
99 - mem_cache:CACHE
100 - proxy:PROXY
101 - proxy_ajp:PROXY
102 - proxy_balancer:PROXY
103 - proxy_connect:PROXY
104 - proxy_ftp:PROXY
105 - proxy_http:PROXY
106 - ssl:SSL
107 - status:STATUS
108 - suexec:SUEXEC
109 - userdir:USERDIR
110 -"
111 -
112 -# critical modules for the default config
113 -MODULE_CRITICAL="
114 - authz_host
115 - dir
116 - mime
117 -"
118 -
119 -inherit apache-2 systemd toolchain-funcs
120 -
121 -DESCRIPTION="The Apache Web Server"
122 -HOMEPAGE="https://httpd.apache.org/"
123 -
124 -# some helper scripts are Apache-1.1, thus both are here
125 -LICENSE="Apache-2.0 Apache-1.1"
126 -SLOT="2"
127 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
128 -IUSE=""
129 -
130 -src_configure() {
131 - # Brain dead check.
132 - tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
133 -
134 - apache-2_src_configure
135 -}
136 -
137 -src_install() {
138 - apache-2_src_install
139 -
140 - # install apxs in /usr/bin (bug #502384) and put a symlink into the
141 - # old location until all ebuilds and eclasses have been modified to
142 - # use the new location.
143 - local apxs_dir="/usr/bin"
144 - dodir ${apxs_dir}
145 - mv "${D}"/usr/sbin/apxs "${D}"${apxs_dir} || die
146 - ln -s ../bin/apxs "${D}"/usr/sbin/apxs || die
147 -
148 - systemd_newunit "${FILESDIR}/apache2.2.service" "apache2.service"
149 - systemd_dotmpfilesd "${FILESDIR}/apache.conf"
150 -}
151
152 diff --git a/www-servers/apache/apache-2.4.25.ebuild b/www-servers/apache/apache-2.4.25.ebuild
153 deleted file mode 100644
154 index db5acbd264b..00000000000
155 --- a/www-servers/apache/apache-2.4.25.ebuild
156 +++ /dev/null
157 @@ -1,238 +0,0 @@
158 -# Copyright 1999-2017 Gentoo Foundation
159 -# Distributed under the terms of the GNU General Public License v2
160 -
161 -EAPI=5
162 -
163 -# latest gentoo apache files
164 -GENTOO_PATCHSTAMP="20160303"
165 -GENTOO_DEVELOPER="polynomial-c"
166 -GENTOO_PATCHNAME="gentoo-apache-2.4.18-r1"
167 -
168 -# IUSE/USE_EXPAND magic
169 -IUSE_MPMS_FORK="prefork"
170 -IUSE_MPMS_THREAD="event worker"
171 -
172 -# << obsolete modules:
173 -# authn_default authz_default mem_cache
174 -# mem_cache is replaced by cache_disk
175 -# ?? buggy modules
176 -# proxy_scgi: startup error: undefined symbol "ap_proxy_release_connection", no fix found
177 -# >> added modules for reason:
178 -# compat: compatibility with 2.2 access control
179 -# authz_host: new module for access control
180 -# authn_core: functionality provided by authn_alias in previous versions
181 -# authz_core: new module, provides core authorization capabilities
182 -# cache_disk: replacement for mem_cache
183 -# lbmethod_byrequests: Split off from mod_proxy_balancer in 2.3
184 -# lbmethod_bytraffic: Split off from mod_proxy_balancer in 2.3
185 -# lbmethod_bybusyness: Split off from mod_proxy_balancer in 2.3
186 -# lbmethod_heartbeat: Split off from mod_proxy_balancer in 2.3
187 -# slotmem_shm: Slot-based shared memory provider (for lbmethod_byrequests).
188 -# socache_shmcb: shared object cache provider. Default config with ssl needs it
189 -# unixd: fixes startup error: Invalid command 'User'
190 -IUSE_MODULES="access_compat actions alias asis auth_basic auth_digest
191 -authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core
192 -authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex
193 -cache cache_disk cache_socache cern_meta charset_lite cgi cgid dav dav_fs dav_lock
194 -dbd deflate dir dumpio env expires ext_filter file_cache filter headers http2
195 -ident imagemap include info lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness
196 -lbmethod_heartbeat log_config log_forensic logio macro mime mime_magic negotiation
197 -proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_html proxy_http proxy_scgi
198 -proxy_fcgi proxy_wstunnel rewrite ratelimit remoteip reqtimeout setenvif
199 -slotmem_shm speling socache_shmcb status substitute unique_id userdir usertrack
200 -unixd version vhost_alias"
201 -# The following are also in the source as of this version, but are not available
202 -# for user selection:
203 -# bucketeer case_filter case_filter_in echo http isapi optional_fn_export
204 -# optional_fn_import optional_hook_export optional_hook_import
205 -
206 -# inter-module dependencies
207 -# TODO: this may still be incomplete
208 -MODULE_DEPENDS="
209 - dav_fs:dav
210 - dav_lock:dav
211 - deflate:filter
212 - cache_disk:cache
213 - ext_filter:filter
214 - file_cache:cache
215 - lbmethod_byrequests:proxy_balancer
216 - lbmethod_byrequests:slotmem_shm
217 - lbmethod_bytraffic:proxy_balancer
218 - lbmethod_bybusyness:proxy_balancer
219 - lbmethod_heartbeat:proxy_balancer
220 - log_forensic:log_config
221 - logio:log_config
222 - cache_disk:cache
223 - cache_socache:cache
224 - mime_magic:mime
225 - proxy_ajp:proxy
226 - proxy_balancer:proxy
227 - proxy_balancer:slotmem_shm
228 - proxy_connect:proxy
229 - proxy_ftp:proxy
230 - proxy_html:proxy
231 - proxy_http:proxy
232 - proxy_scgi:proxy
233 - proxy_fcgi:proxy
234 - proxy_wstunnel:proxy
235 - substitute:filter
236 -"
237 -
238 -# module<->define mappings
239 -MODULE_DEFINES="
240 - auth_digest:AUTH_DIGEST
241 - authnz_ldap:AUTHNZ_LDAP
242 - cache:CACHE
243 - cache_disk:CACHE
244 - cache_socache:CACHE
245 - dav:DAV
246 - dav_fs:DAV
247 - dav_lock:DAV
248 - file_cache:CACHE
249 - http2:HTTP2
250 - info:INFO
251 - ldap:LDAP
252 - proxy:PROXY
253 - proxy_ajp:PROXY
254 - proxy_balancer:PROXY
255 - proxy_connect:PROXY
256 - proxy_ftp:PROXY
257 - proxy_html:PROXY
258 - proxy_http:PROXY
259 - proxy_fcgi:PROXY
260 - proxy_scgi:PROXY
261 - proxy_wstunnel:PROXY
262 - socache_shmcb:SSL
263 - ssl:SSL
264 - status:STATUS
265 - suexec:SUEXEC
266 - userdir:USERDIR
267 -"
268 -
269 -# critical modules for the default config
270 -MODULE_CRITICAL="
271 - authn_core
272 - authz_core
273 - authz_host
274 - dir
275 - mime
276 - unixd
277 -"
278 -inherit eutils apache-2 systemd toolchain-funcs
279 -
280 -DESCRIPTION="The Apache Web Server"
281 -HOMEPAGE="https://httpd.apache.org/"
282 -
283 -# some helper scripts are Apache-1.1, thus both are here
284 -LICENSE="Apache-2.0 Apache-1.1"
285 -SLOT="2"
286 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos ~m68k-mint ~sparc64-solaris ~x64-solaris"
287 -
288 -DEPEND+="apache2_modules_http2? ( >=net-libs/nghttp2-1.2.1 )"
289 -
290 -REQUIRED_USE="apache2_modules_http2? ( ssl )"
291 -
292 -pkg_setup() {
293 - # dependend critical modules which are not allowed in global scope due
294 - # to USE flag conditionals (bug #499260)
295 - use ssl && MODULE_CRITICAL+=" socache_shmcb"
296 - use doc && MODULE_CRITICAL+=" alias negotiation setenvif"
297 - apache-2_pkg_setup
298 -}
299 -
300 -src_configure() {
301 - # Brain dead check.
302 - tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
303 -
304 - apache-2_src_configure
305 -}
306 -
307 -src_compile() {
308 - if tc-is-cross-compiler; then
309 - # This header is the same across targets, so use the build compiler.
310 - pushd server >/dev/null
311 - emake gen_test_char
312 - tc-export_build_env BUILD_CC
313 - ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \
314 - gen_test_char.c -o gen_test_char $(apr-1-config --includes) || die
315 - popd >/dev/null
316 - fi
317 -
318 - default
319 -}
320 -
321 -src_install() {
322 - apache-2_src_install
323 - for i in /usr/bin/{htdigest,logresolve,htpasswd,htdbm,ab,httxt2dbm}; do
324 - rm "${ED}"/$i || die "Failed to prune apache-tools bits"
325 - done
326 - for i in /usr/share/man/man8/{rotatelogs.8,htcacheclean.8}; do
327 - rm "${ED}"/$i || die "Failed to prune apache-tools bits"
328 - done
329 - for i in /usr/share/man/man1/{logresolve.1,htdbm.1,htdigest.1,htpasswd.1,dbmmanage.1,ab.1}; do
330 - rm "${ED}"/$i || die "Failed to prune apache-tools bits"
331 - done
332 - for i in /usr/sbin/{checkgid,fcgistarter,htcacheclean,rotatelogs}; do
333 - rm "${ED}/"$i || die "Failed to prune apache-tools bits"
334 - done
335 -
336 - # install apxs in /usr/bin (bug #502384) and put a symlink into the
337 - # old location until all ebuilds and eclasses have been modified to
338 - # use the new location.
339 - local apxs="/usr/bin/apxs"
340 - cp "${S}"/support/apxs "${ED}"${apxs} || die "Failed to install apxs"
341 - ln -s ../bin/apxs "${ED}"/usr/sbin/apxs || die
342 - chmod 0755 "${ED}"${apxs} || die
343 -
344 - # Note: wait for mod_systemd to be included in the next release,
345 - # then apache2.4.service can be used and systemd support controlled
346 - # through --enable-systemd
347 - systemd_newunit "${FILESDIR}/apache2.2-hardened.service" "apache2.service"
348 - systemd_dotmpfilesd "${FILESDIR}/apache.conf"
349 - #insinto /etc/apache2/modules.d
350 - #doins "${FILESDIR}/00_systemd.conf"
351 -
352 - # Install http2 module config
353 - insinto /etc/apache2/modules.d
354 - doins "${FILESDIR}"/41_mod_http2.conf
355 -}
356 -
357 -pkg_postinst()
358 -{
359 - apache-2_pkg_postinst || die "apache-2_pkg_postinst failed"
360 - # warnings that default config might not work out of the box
361 - for mod in $MODULE_CRITICAL; do
362 - if ! use "apache2_modules_${mod}"; then
363 - echo
364 - ewarn "Warning: Critical module not installed!"
365 - ewarn "Modules 'authn_core', 'authz_core' and 'unixd'"
366 - ewarn "are highly recomended but might not be in the base profile yet."
367 - ewarn "Default config for ssl needs module 'socache_shmcb'."
368 - ewarn "Enabling the following flags is highly recommended:"
369 - for cmod in $MODULE_CRITICAL; do
370 - use "apache2_modules_${cmod}" || \
371 - ewarn "+ apache2_modules_${cmod}"
372 - done
373 - echo
374 - break
375 - fi
376 - done
377 - # warning for proxy_balancer and missing load balancing scheduler
378 - if use apache2_modules_proxy_balancer; then
379 - local lbset=
380 - for mod in lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat; do
381 - if use "apache2_modules_${mod}"; then
382 - lbset=1 && break
383 - fi
384 - done
385 - if [ ! $lbset ]; then
386 - echo
387 - ewarn "Info: Missing load balancing scheduler algorithm module"
388 - ewarn "(They were split off from proxy_balancer in 2.3)"
389 - ewarn "In order to get the ability of load balancing, at least"
390 - ewarn "one of these modules has to be present:"
391 - ewarn "lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat"
392 - echo
393 - fi
394 - fi
395 -}