Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/apache: apache-2.4.1-r2.ebuild ChangeLog apache-2.4.1-r1.ebuild
Date: Sun, 01 Apr 2012 16:04:25
Message-Id: 20120401160410.E47592004B@flycatcher.gentoo.org
1 patrick 12/04/01 16:04:10
2
3 Modified: ChangeLog
4 Added: apache-2.4.1-r2.ebuild
5 Removed: apache-2.4.1-r1.ebuild
6 Log:
7 And making apxs actually executable helps ...
8
9 (Portage version: 2.2.0_alpha97/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.183 www-servers/apache/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/ChangeLog?rev=1.183&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/ChangeLog?rev=1.183&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/ChangeLog?r1=1.182&r2=1.183
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v
21 retrieving revision 1.182
22 retrieving revision 1.183
23 diff -u -r1.182 -r1.183
24 --- ChangeLog 1 Apr 2012 13:30:07 -0000 1.182
25 +++ ChangeLog 1 Apr 2012 16:04:10 -0000 1.183
26 @@ -1,6 +1,12 @@
27 # ChangeLog for www-servers/apache
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.182 2012/04/01 13:30:07 patrick Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.183 2012/04/01 16:04:10 patrick Exp $
31 +
32 +*apache-2.4.1-r2 (01 Apr 2012)
33 +
34 + 01 Apr 2012; Patrick Lauer <patrick@g.o> +apache-2.4.1-r2.ebuild,
35 + -apache-2.4.1-r1.ebuild:
36 + And making apxs actually executable helps ...
37
38 *apache-2.4.1-r1 (01 Apr 2012)
39
40
41
42
43 1.1 www-servers/apache/apache-2.4.1-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/apache-2.4.1-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/apache/apache-2.4.1-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: apache-2.4.1-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2012 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.4.1-r2.ebuild,v 1.1 2012/04/01 16:04:10 patrick Exp $
53
54 EAPI="2"
55
56 # latest gentoo apache files
57 GENTOO_PATCHSTAMP="20120401"
58 GENTOO_DEVELOPER="patrick"
59 GENTOO_PATCHNAME="gentoo-${P}"
60
61 # IUSE/USE_EXPAND magic
62 IUSE_MPMS_FORK="itk peruser prefork"
63 IUSE_MPMS_THREAD="event worker"
64
65 IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon
66 authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
67 authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta
68 charset_lite cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache dumpio
69 env expires ext_filter file_cache filter headers ident imagemap include info
70 log_config log_forensic logio mem_cache mime mime_magic negotiation proxy
71 proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi rewrite
72 reqtimeout setenvif speling status substitute unique_id userdir usertrack
73 version vhost_alias"
74 # The following are also in the source as of this version, but are not available
75 # for user selection:
76 # bucketeer case_filter case_filter_in echo http isapi optional_fn_export
77 # optional_fn_import optional_hook_export optional_hook_import
78
79 # inter-module dependencies
80 # TODO: this may still be incomplete
81 MODULE_DEPENDS="
82 dav_fs:dav
83 dav_lock:dav
84 deflate:filter
85 disk_cache:cache
86 ext_filter:filter
87 file_cache:cache
88 log_forensic:log_config
89 logio:log_config
90 mem_cache:cache
91 mime_magic:mime
92 proxy_ajp:proxy
93 proxy_balancer:proxy
94 proxy_connect:proxy
95 proxy_ftp:proxy
96 proxy_http:proxy
97 proxy_scgi:proxy
98 substitute:filter
99 "
100
101 # module<->define mappings
102 MODULE_DEFINES="
103 auth_digest:AUTH_DIGEST
104 authnz_ldap:AUTHNZ_LDAP
105 cache:CACHE
106 dav:DAV
107 dav_fs:DAV
108 dav_lock:DAV
109 disk_cache:CACHE
110 file_cache:CACHE
111 info:INFO
112 ldap:LDAP
113 mem_cache:CACHE
114 proxy:PROXY
115 proxy_ajp:PROXY
116 proxy_balancer:PROXY
117 proxy_connect:PROXY
118 proxy_ftp:PROXY
119 proxy_http:PROXY
120 ssl:SSL
121 status:STATUS
122 suexec:SUEXEC
123 userdir:USERDIR
124 "
125
126 # critical modules for the default config
127 MODULE_CRITICAL="
128 authz_host
129 dir
130 mime
131 "
132
133 inherit apache-2
134
135 DESCRIPTION="The Apache Web Server."
136 HOMEPAGE="http://httpd.apache.org/"
137
138 # some helper scripts are Apache-1.1, thus both are here
139 LICENSE="Apache-2.0 Apache-1.1"
140 SLOT="2"
141 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
142 IUSE=""
143
144 DEPEND="${DEPEND}
145 >=dev-libs/openssl-0.9.8m
146 apache2_modules_deflate? ( sys-libs/zlib )"
147
148 # dependency on >=dev-libs/apr-1.4.5 for bug #368651
149 RDEPEND="${RDEPEND}
150 >=dev-libs/apr-1.4.5
151 >=dev-libs/openssl-0.9.8m
152 apache2_modules_mime? ( app-misc/mime-types )"
153
154 # init script fixup - should be rolled into next tarball #389965
155 src_prepare() {
156 apache-2_src_prepare
157 sed -i -e 's/! test -f/test -f/' "${GENTOO_PATCHDIR}"/init/apache2.initd || die "Failed to fix init script"
158 }
159
160 src_install() {
161 apache-2_src_install
162 for i in /usr/bin/{htdigest,logresolve,htpasswd,htdbm,ab,httxt2dbm}; do
163 rm "${D}"/$i || die "Failed to prune apache-tools bits"
164 done
165 for i in /usr/share/man/man8/{rotatelogs.8,htcacheclean.8}; do
166 rm "${D}"/$i || die "Failed to prune apache-tools bits"
167 done
168 for i in /usr/share/man/man1/{logresolve.1,htdbm.1,htdigest.1,htpasswd.1,dbmmanage.1,ab.1}; do
169 rm "${D}"/$i || die "Failed to prune apache-tools bits"
170 done
171 for i in /usr/sbin/{checkgid,fcgistarter,htcacheclean,rotatelogs}; do
172 rm "${D}/"$i || die "Failed to prune apache-tools bits"
173 done
174
175 # well, actually installing things makes them more installed, I guess?
176 cp ${S}/support/apxs ${D}/usr/sbin/apxs || die "Failed to install apxs"
177 chmod 0755 ${D}/usr/sbin/apxs
178 }