/[gentoo-x86]/www-servers/apache/apache-2.2.27-r4.ebuild
Gentoo

Contents of /www-servers/apache/apache-2.2.27-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jul 31 14:58:27 2014 UTC (6 years, 4 months ago) by klausman
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable on alpha, bug #517298

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key CE5D54E8)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.2.27-r4.ebuild,v 1.1 2014/07/31 11:37:07 polynomial-c Exp $
4
5 EAPI=5
6
7 # latest gentoo apache files
8 GENTOO_PATCHSTAMP="20140731"
9 GENTOO_DEVELOPER="polynomial-c"
10 GENTOO_PATCHNAME="gentoo-apache-2.2.27-r4"
11
12 # IUSE/USE_EXPAND magic
13 IUSE_MPMS_FORK="itk peruser prefork"
14 IUSE_MPMS_THREAD="event worker"
15
16 IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon
17 authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
18 authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta
19 charset_lite cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache dumpio
20 env expires ext_filter file_cache filter headers ident imagemap include info
21 log_config log_forensic logio mem_cache mime mime_magic negotiation proxy
22 proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi rewrite
23 reqtimeout setenvif speling status substitute unique_id userdir usertrack
24 version vhost_alias"
25 # The following are also in the source as of this version, but are not available
26 # for user selection:
27 # bucketeer case_filter case_filter_in echo http isapi optional_fn_export
28 # optional_fn_import optional_hook_export optional_hook_import
29
30 # inter-module dependencies
31 # TODO: this may still be incomplete
32 MODULE_DEPENDS="
33 dav_fs:dav
34 dav_lock:dav
35 deflate:filter
36 disk_cache:cache
37 ext_filter:filter
38 file_cache:cache
39 log_forensic:log_config
40 logio:log_config
41 mem_cache:cache
42 mime_magic:mime
43 proxy_ajp:proxy
44 proxy_balancer:proxy
45 proxy_connect:proxy
46 proxy_ftp:proxy
47 proxy_http:proxy
48 proxy_scgi:proxy
49 substitute:filter
50 "
51
52 # module<->define mappings
53 MODULE_DEFINES="
54 auth_digest:AUTH_DIGEST
55 authnz_ldap:AUTHNZ_LDAP
56 cache:CACHE
57 dav:DAV
58 dav_fs:DAV
59 dav_lock:DAV
60 disk_cache:CACHE
61 file_cache:CACHE
62 info:INFO
63 ldap:LDAP
64 mem_cache:CACHE
65 proxy:PROXY
66 proxy_ajp:PROXY
67 proxy_balancer:PROXY
68 proxy_connect:PROXY
69 proxy_ftp:PROXY
70 proxy_http:PROXY
71 ssl:SSL
72 status:STATUS
73 suexec:SUEXEC
74 userdir:USERDIR
75 "
76
77 # critical modules for the default config
78 MODULE_CRITICAL="
79 authz_host
80 dir
81 mime
82 "
83
84 inherit apache-2 systemd toolchain-funcs
85
86 DESCRIPTION="The Apache Web Server."
87 HOMEPAGE="http://httpd.apache.org/"
88
89 # some helper scripts are Apache-1.1, thus both are here
90 LICENSE="Apache-2.0 Apache-1.1"
91 SLOT="2"
92 KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
93 IUSE=""
94
95 src_configure() {
96 # Brain dead check.
97 tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
98
99 apache-2_src_configure
100 }
101
102 src_install() {
103 apache-2_src_install
104
105 # install apxs in /usr/bin (bug #502384) and put a symlink into the
106 # old location until all ebuilds and eclasses have been modified to
107 # use the new location.
108 local apxs_dir="/usr/bin"
109 dodir ${apxs_dir}
110 mv "${D}"/usr/sbin/apxs "${D}"${apxs_dir} || die
111 ln -s ../bin/apxs "${D}"/usr/sbin/apxs || die
112
113 systemd_newunit "${FILESDIR}/apache2.2.service" "apache2.service"
114 systemd_dotmpfilesd "${FILESDIR}/apache.conf"
115 }

  ViewVC Help
Powered by ViewVC 1.1.20