diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-03-09 20:00:39 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-03-09 20:00:39 +0000 |
commit | df892eb30bb84bfe100797ba2fb0821043ce464d (patch) | |
tree | baff4377ca6bf26812445ea6f5b4f9f9110c09df /www-apache | |
parent | stable x86, bug 261901 (diff) | |
download | gentoo-2-df892eb30bb84bfe100797ba2fb0821043ce464d.tar.gz gentoo-2-df892eb30bb84bfe100797ba2fb0821043ce464d.tar.bz2 gentoo-2-df892eb30bb84bfe100797ba2fb0821043ce464d.zip |
Migrate to EAPI 2.
(Portage version: 2.2_rc20/cvs/Linux 2.6.29-rc6 i686)
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_vhost_ldap/ChangeLog | 8 | ||||
-rw-r--r-- | www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0-r1.ebuild | 22 |
2 files changed, 14 insertions, 16 deletions
diff --git a/www-apache/mod_vhost_ldap/ChangeLog b/www-apache/mod_vhost_ldap/ChangeLog index c06a0b073f70..a4df8cc3fb85 100644 --- a/www-apache/mod_vhost_ldap/ChangeLog +++ b/www-apache/mod_vhost_ldap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apache/mod_vhost_ldap -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/ChangeLog,v 1.6 2008/02/07 22:22:16 hollow Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/ChangeLog,v 1.7 2009/03/09 20:00:39 betelgeuse Exp $ + + 09 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> + mod_vhost_ldap-1.0.0-r1.ebuild: + Migrate to EAPI 2. 07 Feb 2008; Benedikt Böhm <hollow@gentoo.org> -mod_vhost_ldap-1.0.0.ebuild, mod_vhost_ldap-1.0.0-r1.ebuild: diff --git a/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0-r1.ebuild b/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0-r1.ebuild index 7cfa99311b0e..f0023890b353 100644 --- a/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0-r1.ebuild +++ b/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0-r1.ebuild,v 1.2 2008/02/07 22:22:16 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0-r1.ebuild,v 1.3 2009/03/09 20:00:39 betelgeuse Exp $ + +EAPI="2" inherit eutils apache-module @@ -19,22 +21,14 @@ APACHE2_MOD_DEFINE="VHOST_LDAP LDAP" DOCFILES="AUTHORS ChangeLog INSTALL README" +DEPEND="=www-servers/apache-2.2*[ldap]" +RDEPEND="${DEPEND}" + need_apache2_2 S="${WORKDIR}/mod-vhost-ldap-${PV}" -pkg_setup() { - if ! built_with_use www-servers/apache ldap ; then - eerror - eerror "Apache2 needs to be built with ldap support to get this module working!" - eerror - die "Apache2 lacks ldap support" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-apache22.patch } |