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: Mon, 26 Sep 2016 05:47:05
Message-Id: 1474868813.813a35229b071428787c49e162092bf90b5fb512.polynomial-c@gentoo
1 commit: 813a35229b071428787c49e162092bf90b5fb512
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 05:46:40 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 05:46:53 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813a3522
7
8 www-servers/apache: Removed old.
9
10 Package-Manager: portage-2.3.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 www-servers/apache/Manifest | 1 -
14 www-servers/apache/apache-2.4.20.ebuild | 237 --------------------------------
15 2 files changed, 238 deletions(-)
16
17 diff --git a/www-servers/apache/Manifest b/www-servers/apache/Manifest
18 index 5e98137..5482f14 100644
19 --- a/www-servers/apache/Manifest
20 +++ b/www-servers/apache/Manifest
21 @@ -1,5 +1,4 @@
22 DIST gentoo-apache-2.2.29-20140922.tar.bz2 64135 SHA256 8c69c36c2f40fb81ee905b4dd72ab74aab4563c75149d302f372a451498e2678 SHA512 1d9aa12aa3ab79b5f80ee3fda020b33ff6798e5b1abbcbc138acea06a1ab9968ad240d2bdf9c5dbb9640fa9fb6718eec7175df7cc0fb8574cc4d7d5cdfb5bcc4 WHIRLPOOL f655300f0dcd2f4503cbdb25983fed902e4b717ff57e06f66486bebd0ed7cb8df56387be74b4259bfffad949bb446c5ec28f89065b6d5239585324b610be7b88
23 DIST gentoo-apache-2.4.18-r1-20160303.tar.bz2 24505 SHA256 d81e32d876594b48a7ff6d9123bf776c5bea5453eddd2fe40f4a9b79c11537aa SHA512 68f0c4de38ae05c45839fe692cbb7de641e331ca133b8aaaf69f3659dec15833cda95e6e074edb3a5b6b6d59b3fc5a4ee3589fff810707fe27417a25cd8a4c4d WHIRLPOOL fb61224b2104e611237e1d09eb4dfb3d2b8f023348c9622f7f19434b6b77d63786c41af17a300d994c14d983676f3753ab6fa52f7a7fcd07b9cea3d7eeacc9b9
24 DIST httpd-2.2.31.tar.bz2 5610489 SHA256 f32f9d19f535dac63b06cb55dfc023b40dcd28196b785f79f9346779e22f26ac SHA512 5aa47d4b76f692bbd8b309135ff99152df98cf69b505b9daf3f13f7f2a31443eaf4995161adfbc47a133b4d0e091fda2d95fc6b87a956f0ada18d7466ee28e74 WHIRLPOOL a2e3e53c51719cb6f7e641b41788cd89ce7b4d2ea105b403bfa3b3d4479b69c5604228269062f66722594e105e91121d05b1c9f27ca7dc4ecfcf339da8b8375c
25 -DIST httpd-2.4.20.tar.bz2 6331344 SHA256 0e76a375ed3dbac636f50ac39de966ece443751fe4d62392f9a360a19d94d0da SHA512 8591e0ca8f1c4755d670f1a8780bb656c62b30635cff1f7d4434f7c5017b99f1b14bbb296da5cdb63cd3bcfa4908b8b5f99a0c036e9e0f0c9514acd2a3cb7e53 WHIRLPOOL cc61fa5a2344268cdba69ba1662d555d492b40468a81b1d67fce55f85e178f63ef218a303e51e494c91a26dcec259e3912ca640192dbbe42d2b02ee4fac19a1d
26 DIST httpd-2.4.23.tar.bz2 6351875 SHA256 0c1694b2aad7765896faf92843452ee2555b9591ae10d4f19b245f2adfe85e58 SHA512 c520de5be748c0a785ef0dc77102749eb4f47e224968b8d4bed2ae644faa0964623a0e960b64486a0888446790d050b52a6ae34fe61717fab95b37384b4825b1 WHIRLPOOL f3defbd06a878c66236adfcac2b59b6f47115ac815708bb45f2152bd1754b14a01458c9331eb7a65cba52e0bc53e2e66b32a384d44a029b07ffdd068c7c08a19
27
28 diff --git a/www-servers/apache/apache-2.4.20.ebuild b/www-servers/apache/apache-2.4.20.ebuild
29 deleted file mode 100644
30 index c4bd2cd..00000000
31 --- a/www-servers/apache/apache-2.4.20.ebuild
32 +++ /dev/null
33 @@ -1,237 +0,0 @@
34 -# Copyright 1999-2016 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI=5
39 -
40 -# latest gentoo apache files
41 -GENTOO_PATCHSTAMP="20160303"
42 -GENTOO_DEVELOPER="polynomial-c"
43 -GENTOO_PATCHNAME="gentoo-apache-2.4.18-r1"
44 -
45 -# IUSE/USE_EXPAND magic
46 -IUSE_MPMS_FORK="prefork"
47 -IUSE_MPMS_THREAD="event worker"
48 -
49 -# << obsolete modules:
50 -# authn_default authz_default mem_cache
51 -# mem_cache is replaced by cache_disk
52 -# ?? buggy modules
53 -# proxy_scgi: startup error: undefined symbol "ap_proxy_release_connection", no fix found
54 -# >> added modules for reason:
55 -# compat: compatibility with 2.2 access control
56 -# authz_host: new module for access control
57 -# authn_core: functionality provided by authn_alias in previous versions
58 -# authz_core: new module, provides core authorization capabilities
59 -# cache_disk: replacement for mem_cache
60 -# lbmethod_byrequests: Split off from mod_proxy_balancer in 2.3
61 -# lbmethod_bytraffic: Split off from mod_proxy_balancer in 2.3
62 -# lbmethod_bybusyness: Split off from mod_proxy_balancer in 2.3
63 -# lbmethod_heartbeat: Split off from mod_proxy_balancer in 2.3
64 -# slotmem_shm: Slot-based shared memory provider (for lbmethod_byrequests).
65 -# socache_shmcb: shared object cache provider. Default config with ssl needs it
66 -# unixd: fixes startup error: Invalid command 'User'
67 -IUSE_MODULES="access_compat actions alias asis auth_basic auth_digest
68 -authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core
69 -authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex
70 -cache cache_disk cern_meta charset_lite cgi cgid dav dav_fs dav_lock dbd deflate
71 -dir dumpio env expires ext_filter file_cache filter headers http2 ident imagemap
72 -include info lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness
73 -lbmethod_heartbeat log_config log_forensic logio macro mime mime_magic negotiation
74 -proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_html proxy_http proxy_scgi
75 -proxy_fcgi proxy_wstunnel rewrite ratelimit remoteip reqtimeout setenvif
76 -slotmem_shm speling socache_shmcb status substitute unique_id userdir usertrack
77 -unixd version vhost_alias"
78 -# The following are also in the source as of this version, but are not available
79 -# for user selection:
80 -# bucketeer case_filter case_filter_in echo http isapi optional_fn_export
81 -# optional_fn_import optional_hook_export optional_hook_import
82 -
83 -# inter-module dependencies
84 -# TODO: this may still be incomplete
85 -MODULE_DEPENDS="
86 - dav_fs:dav
87 - dav_lock:dav
88 - deflate:filter
89 - cache_disk:cache
90 - ext_filter:filter
91 - file_cache:cache
92 - lbmethod_byrequests:proxy_balancer
93 - lbmethod_byrequests:slotmem_shm
94 - lbmethod_bytraffic:proxy_balancer
95 - lbmethod_bybusyness:proxy_balancer
96 - lbmethod_heartbeat:proxy_balancer
97 - log_forensic:log_config
98 - logio:log_config
99 - cache_disk:cache
100 - mime_magic:mime
101 - proxy_ajp:proxy
102 - proxy_balancer:proxy
103 - proxy_balancer:slotmem_shm
104 - proxy_connect:proxy
105 - proxy_ftp:proxy
106 - proxy_html:proxy
107 - proxy_http:proxy
108 - proxy_scgi:proxy
109 - proxy_fcgi:proxy
110 - proxy_wstunnel:proxy
111 - substitute:filter
112 -"
113 -
114 -# module<->define mappings
115 -MODULE_DEFINES="
116 - auth_digest:AUTH_DIGEST
117 - authnz_ldap:AUTHNZ_LDAP
118 - cache:CACHE
119 - cache_disk:CACHE
120 - dav:DAV
121 - dav_fs:DAV
122 - dav_lock:DAV
123 - file_cache:CACHE
124 - http2:HTTP2
125 - info:INFO
126 - ldap:LDAP
127 - proxy:PROXY
128 - proxy_ajp:PROXY
129 - proxy_balancer:PROXY
130 - proxy_connect:PROXY
131 - proxy_ftp:PROXY
132 - proxy_html:PROXY
133 - proxy_http:PROXY
134 - proxy_fcgi:PROXY
135 - proxy_scgi:PROXY
136 - proxy_wstunnel:PROXY
137 - socache_shmcb:SSL
138 - ssl:SSL
139 - status:STATUS
140 - suexec:SUEXEC
141 - userdir:USERDIR
142 -"
143 -
144 -# critical modules for the default config
145 -MODULE_CRITICAL="
146 - authn_core
147 - authz_core
148 - authz_host
149 - dir
150 - mime
151 - unixd
152 -"
153 -inherit eutils apache-2 systemd toolchain-funcs
154 -
155 -DESCRIPTION="The Apache Web Server"
156 -HOMEPAGE="https://httpd.apache.org/"
157 -
158 -# some helper scripts are Apache-1.1, thus both are here
159 -LICENSE="Apache-2.0 Apache-1.1"
160 -SLOT="2"
161 -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"
162 -
163 -DEPEND+="apache2_modules_http2? ( >=net-libs/nghttp2-1.2.1 )"
164 -
165 -REQUIRED_USE="apache2_modules_http2? ( ssl )"
166 -
167 -pkg_setup() {
168 - # dependend critical modules which are not allowed in global scope due
169 - # to USE flag conditionals (bug #499260)
170 - use ssl && MODULE_CRITICAL+=" socache_shmcb"
171 - use doc && MODULE_CRITICAL+=" alias negotiation setenvif"
172 - apache-2_pkg_setup
173 -}
174 -
175 -src_configure() {
176 - # Brain dead check.
177 - tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
178 -
179 - apache-2_src_configure
180 -}
181 -
182 -src_compile() {
183 - if tc-is-cross-compiler; then
184 - # This header is the same across targets, so use the build compiler.
185 - pushd server >/dev/null
186 - emake gen_test_char
187 - tc-export_build_env BUILD_CC
188 - ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \
189 - gen_test_char.c -o gen_test_char $(apr-1-config --includes) || die
190 - popd >/dev/null
191 - fi
192 -
193 - default
194 -}
195 -
196 -src_install() {
197 - apache-2_src_install
198 - for i in /usr/bin/{htdigest,logresolve,htpasswd,htdbm,ab,httxt2dbm}; do
199 - rm "${ED}"/$i || die "Failed to prune apache-tools bits"
200 - done
201 - for i in /usr/share/man/man8/{rotatelogs.8,htcacheclean.8}; do
202 - rm "${ED}"/$i || die "Failed to prune apache-tools bits"
203 - done
204 - for i in /usr/share/man/man1/{logresolve.1,htdbm.1,htdigest.1,htpasswd.1,dbmmanage.1,ab.1}; do
205 - rm "${ED}"/$i || die "Failed to prune apache-tools bits"
206 - done
207 - for i in /usr/sbin/{checkgid,fcgistarter,htcacheclean,rotatelogs}; do
208 - rm "${ED}/"$i || die "Failed to prune apache-tools bits"
209 - done
210 -
211 - # install apxs in /usr/bin (bug #502384) and put a symlink into the
212 - # old location until all ebuilds and eclasses have been modified to
213 - # use the new location.
214 - local apxs="/usr/bin/apxs"
215 - cp "${S}"/support/apxs "${ED}"${apxs} || die "Failed to install apxs"
216 - ln -s ../bin/apxs "${ED}"/usr/sbin/apxs || die
217 - chmod 0755 "${ED}"${apxs} || die
218 -
219 - # Note: wait for mod_systemd to be included in the next release,
220 - # then apache2.4.service can be used and systemd support controlled
221 - # through --enable-systemd
222 - systemd_newunit "${FILESDIR}/apache2.2.service" "apache2.service"
223 - systemd_dotmpfilesd "${FILESDIR}/apache.conf"
224 - #insinto /etc/apache2/modules.d
225 - #doins "${FILESDIR}/00_systemd.conf"
226 -
227 - # Install http2 module config
228 - insinto /etc/apache2/modules.d
229 - doins "${FILESDIR}"/41_mod_http2.conf
230 -}
231 -
232 -pkg_postinst()
233 -{
234 - apache-2_pkg_postinst || die "apache-2_pkg_postinst failed"
235 - # warnings that default config might not work out of the box
236 - for mod in $MODULE_CRITICAL; do
237 - if ! use "apache2_modules_${mod}"; then
238 - echo
239 - ewarn "Warning: Critical module not installed!"
240 - ewarn "Modules 'authn_core', 'authz_core' and 'unixd'"
241 - ewarn "are highly recomended but might not be in the base profile yet."
242 - ewarn "Default config for ssl needs module 'socache_shmcb'."
243 - ewarn "Enabling the following flags is highly recommended:"
244 - for cmod in $MODULE_CRITICAL; do
245 - use "apache2_modules_${cmod}" || \
246 - ewarn "+ apache2_modules_${cmod}"
247 - done
248 - echo
249 - break
250 - fi
251 - done
252 - # warning for proxy_balancer and missing load balancing scheduler
253 - if use apache2_modules_proxy_balancer; then
254 - local lbset=
255 - for mod in lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat; do
256 - if use "apache2_modules_${mod}"; then
257 - lbset=1 && break
258 - fi
259 - done
260 - if [ ! $lbset ]; then
261 - echo
262 - ewarn "Info: Missing load balancing scheduler algorithm module"
263 - ewarn "(They were split off from proxy_balancer in 2.3)"
264 - ewarn "In order to get the ability of load balancing, at least"
265 - ewarn "one of these modules has to be present:"
266 - ewarn "lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat"
267 - echo
268 - fi
269 - fi
270 -}