diff options
Diffstat (limited to 'net-www/mod_auth_ldap/mod_auth_ldap-2.4.1-r1.ebuild')
-rw-r--r-- | net-www/mod_auth_ldap/mod_auth_ldap-2.4.1-r1.ebuild | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/net-www/mod_auth_ldap/mod_auth_ldap-2.4.1-r1.ebuild b/net-www/mod_auth_ldap/mod_auth_ldap-2.4.1-r1.ebuild deleted file mode 100644 index 52481f209661..000000000000 --- a/net-www/mod_auth_ldap/mod_auth_ldap-2.4.1-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_ldap/mod_auth_ldap-2.4.1-r1.ebuild,v 1.6 2004/09/03 23:24:08 pvdabeel Exp $ - -inherit eutils - -DESCRIPTION="Apache module for LDAP authorization" -HOMEPAGE="http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html" -KEYWORDS="x86 ppc ~sparc" - -#watch out for this thing; no version number ... -SRC_URI="http://www.muquit.com/muquit/software/mod_auth_ldap/${PN}.tar.gz" -DEPEND="=net-www/apache-1* - >=net-nds/openldap-2.0.25 - ssl? ( dev-libs/openssl )" -RDEPEND="" -LICENSE="as-is" -SLOT="0" - -IUSE="" - -S=${WORKDIR}/modauthldap - -src_unpack() { - unpack ${A} || die - cd ${S} || die - epatch ${FILESDIR}/${P}-register.patch -} - -src_compile() { - if use ssl; - then - apxs -lresolv -lldap -llber -lssl -c mod_auth_ldap.c || die - else - apxs -lresolv -lldap -llber -c mod_auth_ldap.c || die - fi -} - -src_install() { - exeinto /usr/lib/apache-extramodules - doexe mod_auth_ldap.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_auth_ldap.conf - - dodoc README - dohtml mod_auth_ldap.html -} - -pkg_postinst() { - einfo - einfo "Execute the command:" - einfo " \"ebuild /var/db/pkg/net-www/${PF}/${PF}.ebuild config\"" - einfo " to auto-update apache.conf with supporting statements." - einfo " Then edit /etc/conf.d/apache accordingly." - einfo " You can find config examples here: ${HOMEPAGE}." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/mod_auth_ldap.so mod_auth_ldap.c ldap_auth_module \ - define=AUTH_LDAP addconf=conf/addon-modules/mod_auth_ldap.conf - :; -} |