blob: 7f94c0ca25ea8313b43aff292041b228847f1595 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_ldap_userdir/mod_ldap_userdir-1.1.16.ebuild,v 1.3 2012/02/16 19:23:50 phajdan.jr Exp $
inherit apache-module
DESCRIPTION="Apache module that enables ~/public_html from an LDAP directory."
HOMEPAGE="http://horde.net/~jwm/software/mod_ldap_userdir/"
SRC_URI="http://horde.net/~jwm/software/mod_ldap_userdir/${P}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="ssl"
DEPEND="ssl? ( dev-libs/openssl )
net-nds/openldap"
RDEPEND="${DEPEND}"
need_apache2_2
APACHE2_MOD_CONF="47_${PN}"
APACHE2_MOD_DEFINE="LDAP_USERDIR"
DOCFILES="DIRECTIVES README user-ldif"
src_compile() {
econf --with-apxs="${APXS}" \
$(use_enable ssl tls) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
apache-module_src_install
fperms 600 "${APACHE_MODULES_CONFDIR}"/47_${PN}.conf
}
|