diff options
Diffstat (limited to 'net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.4-r1.ebuild')
-rw-r--r-- | net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.4-r1.ebuild | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.4-r1.ebuild b/net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.4-r1.ebuild deleted file mode 100644 index d513a88513e7..000000000000 --- a/net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.4-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.4-r1.ebuild,v 1.7 2005/07/14 22:48:04 agriffis Exp $ - -inherit apache-module - -IUSE="apache2 ssl" -DESCRIPTION="Apache module that enables ~/public_html from an LDAP directory." -HOMEPAGE="http://horde.net/~jwm/software/mod_ldap_userdir/" -KEYWORDS="~x86 ~ppc" - -SRC_URI="http://horde.net/~jwm/software/mod_ldap_userdir/${P}.tar.gz" - -DEPEND="ssl? ( dev-libs/openssl ) - net-nds/openldap" -LICENSE="GPL-1" -SLOT="0" - -DOCFILES="DIRECTIVES README user-ldif posixAccount-objectclass" - -APACHE1_MOD_CONF="${PVR}/47_mod_ldap_userdir" -APACHE1_MOD_DEFINE="LDAP_USERDIR" - -APACHE2_MOD_CONF="${PVR}/47_mod_ldap_userdir" -APACHE2_MOD_DEFINE="LDAP_USERDIR" - -need_apache - -src_compile() { - local myargs="-lldap -llber -c ${PN}.c" - useq ssl && myargs="${myargs} -D TLS=1" - - if useq apache2; then - APXS2_ARGS="${myargs}" - else - APXS1_ARGS="${myargs}" - fi - - apache-module_src_compile -} - -src_install() { - apache-module_src_install - useq apache2 && fperms 600 ${APACHE2_MODULES_CONFDIR}/$(basename ${APACHE2_MOD_CONF}) - useq apache2 || fperms 600 ${APACHE1_MODULES_CONFDIR}/$(basename ${APACHE1_MOD_CONF}) -} |