summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apache/mod_vhost_ldap/ChangeLog8
-rw-r--r--www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0-r1.ebuild22
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
}