/[gentoo-x86]/eclass/apache-2.eclass
Gentoo

Diff of /eclass/apache-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.41 Revision 1.42
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.41 2015/06/07 19:22:36 pacho Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.42 2015/07/16 06:06:59 polynomial-c Exp $
4 4
5# @ECLASS: apache-2.eclass 5# @ECLASS: apache-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# polynomial-c@gentoo.org 7# polynomial-c@gentoo.org
8# @BLURB: Provides a common set of functions for apache-2.x ebuilds 8# @BLURB: Provides a common set of functions for apache-2.x ebuilds
14 14
15[[ ${CATEGORY}/${PN} != www-servers/apache ]] \ 15[[ ${CATEGORY}/${PN} != www-servers/apache ]] \
16 && die "Do not use this eclass with anything else than www-servers/apache ebuilds!" 16 && die "Do not use this eclass with anything else than www-servers/apache ebuilds!"
17 17
18case ${EAPI:-0} in 18case ${EAPI:-0} in
19 0|1|2|3) 19 0|1|2|3|4)
20 die "This eclass requires >=EAPI-4" 20 die "This eclass requires >=EAPI-5"
21 ;; 21 ;;
22esac 22esac
23 23
24# settings which are version specific go in here: 24# settings which are version specific go in here:
25case $(get_version_component_range 1-2) in 25case $(get_version_component_range 1-2) in
104 =dev-libs/apr-util-1*[ldap?] 104 =dev-libs/apr-util-1*[ldap?]
105 dev-libs/libpcre 105 dev-libs/libpcre
106 apache2_modules_deflate? ( sys-libs/zlib ) 106 apache2_modules_deflate? ( sys-libs/zlib )
107 apache2_modules_mime? ( app-misc/mime-types ) 107 apache2_modules_mime? ( app-misc/mime-types )
108 ldap? ( =net-nds/openldap-2* ) 108 ldap? ( =net-nds/openldap-2* )
109 ssl? ( >=dev-libs/openssl-0.9.8m ) 109 ssl? ( >=dev-libs/openssl-0.9.8m:0= )
110 !=www-servers/apache-1*" 110 !=www-servers/apache-1*"
111RDEPEND+=" ${DEPEND} 111RDEPEND+=" ${DEPEND}
112 selinux? ( sec-policy/selinux-apache )" 112 selinux? ( sec-policy/selinux-apache )"
113PDEPEND="~app-admin/apache-tools-${PV}" 113PDEPEND="~app-admin/apache-tools-${PV}"
114 114

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20