1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit apache-module depend.apache
9 DESCRIPTION="Look up Apache ~user directories in an LDAP directory"
10 HOMEPAGE="http://horde.net/~jwm/software/${PN}/"
11 SRC_URI="http://horde.net/~jwm/software/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~ppc ~x86"
18 DEPEND="net-nds/openldap
19 ssl? ( dev-libs/openssl )"
21 # The module will compile fine without apache[ldap], but Apache will
22 # crash if you try to load ${PN} without mod_ldap loaded. The funny-
23 # looking atom was taken from depend.apache.eclass (need_apache2).
25 =www-servers/apache-2*[ldap]"
27 APACHE2_MOD_CONF="47_${PN}"
28 APACHE2_MOD_DEFINE="LDAP LDAP_USERDIR"
30 DOCFILES="DIRECTIVES README user-ldif"
32 # Don't try to get away without this, even though it causes some deps to