diff options
author | Chuck Short <zul@gentoo.org> | 2004-05-27 00:49:17 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2004-05-27 00:49:17 +0000 |
commit | 1ff8d13bdb6881f49b43cd128c4306b15d04a01e (patch) | |
tree | 141af7eb12ce870b1870938e1704e7cf8d2fea73 /net-www/mod_ldap_userdir | |
parent | 3.3 alpha1 - hardmasked (Manifest recommit) (diff) | |
download | gentoo-2-1ff8d13bdb6881f49b43cd128c4306b15d04a01e.tar.gz gentoo-2-1ff8d13bdb6881f49b43cd128c4306b15d04a01e.tar.bz2 gentoo-2-1ff8d13bdb6881f49b43cd128c4306b15d04a01e.zip |
Initial ebuild.
Diffstat (limited to 'net-www/mod_ldap_userdir')
-rw-r--r-- | net-www/mod_ldap_userdir/ChangeLog | 11 | ||||
-rw-r--r-- | net-www/mod_ldap_userdir/Manifest | 2 | ||||
-rw-r--r-- | net-www/mod_ldap_userdir/files/47_mod_ldap_userdir.conf | 13 | ||||
-rw-r--r-- | net-www/mod_ldap_userdir/files/digest-mod_ldap_userdir-1.1.1 | 1 | ||||
-rw-r--r-- | net-www/mod_ldap_userdir/metadata.xml | 8 | ||||
-rw-r--r-- | net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.1.ebuild | 61 |
6 files changed, 96 insertions, 0 deletions
diff --git a/net-www/mod_ldap_userdir/ChangeLog b/net-www/mod_ldap_userdir/ChangeLog new file mode 100644 index 000000000000..a6012364d822 --- /dev/null +++ b/net-www/mod_ldap_userdir/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-www/mod_ldap_userdir +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_ldap_userdir/ChangeLog,v 1.1 2004/05/27 00:49:17 zul Exp $ + +*mod_ldap_userdir-1.1.1 (26 May 2004) + + 26 May 2004; <zul@gentoo.org> mod_ldap_userdir-1.1.1.ebuild, + files/47_mod_ldap_userdir.conf: + Initial ebuild. Originally written by Patrick Goldmann < scappe @ web.de>. + Cloes #32436. + diff --git a/net-www/mod_ldap_userdir/Manifest b/net-www/mod_ldap_userdir/Manifest new file mode 100644 index 000000000000..a7b6cb1da848 --- /dev/null +++ b/net-www/mod_ldap_userdir/Manifest @@ -0,0 +1,2 @@ +MD5 6bbadcd512981706ccb15a7f51de5717 mod_ldap_userdir-1.1.1.ebuild 1687 +MD5 7c29da41475b54ecba7e1ca97c9d9bea files/digest-mod_ldap_userdir-1.1.1 73 diff --git a/net-www/mod_ldap_userdir/files/47_mod_ldap_userdir.conf b/net-www/mod_ldap_userdir/files/47_mod_ldap_userdir.conf new file mode 100644 index 000000000000..b4c48d217073 --- /dev/null +++ b/net-www/mod_ldap_userdir/files/47_mod_ldap_userdir.conf @@ -0,0 +1,13 @@ +<IfDefine LDAPuserdir> + <IfModule !mod_ldap_userdir.c> + LoadModule ldap_userdir_module extramodules/mod_ldap_userdir.so + </IfModule> +</IfDefine> + +<IfModule mod_ldap_userdir.c> + + LDAPUserDir public_html + LDAPUserDirDNInfo cn=root,dc=yourcompany,dc=com yourpassword + LDAPUserDirBaseDN ou=People,dc=yourcompany,dc=com + +</IfModule> diff --git a/net-www/mod_ldap_userdir/files/digest-mod_ldap_userdir-1.1.1 b/net-www/mod_ldap_userdir/files/digest-mod_ldap_userdir-1.1.1 new file mode 100644 index 000000000000..b299d79d5129 --- /dev/null +++ b/net-www/mod_ldap_userdir/files/digest-mod_ldap_userdir-1.1.1 @@ -0,0 +1 @@ +MD5 5f9cff3da4538aabd71cd888349f9be5 mod_ldap_userdir-1.1.1.tar.gz 35628 diff --git a/net-www/mod_ldap_userdir/metadata.xml b/net-www/mod_ldap_userdir/metadata.xml new file mode 100644 index 000000000000..bcaabdbbd0d3 --- /dev/null +++ b/net-www/mod_ldap_userdir/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>apache</herd> +<longdescription> +The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards. +</longdescription> +</pkgmetadata> diff --git a/net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.1.ebuild b/net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.1.ebuild new file mode 100644 index 000000000000..00d2e1e3166b --- /dev/null +++ b/net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.1.ebuild,v 1.1 2004/05/27 00:49:17 zul Exp $ +IUSE="apache2" + +DESCRIPTION="Apache module that enables ~/public_html from an LDAP directory." +HOMEPAGE="http://horde.net/~jwm/software/mod_ldap_userdir/" +KEYWORDS="x86" + +S=${WORKDIR}/${P} +SRC_URI="http://horde.net/~jwm/software/mod_ldap_userdir/${P}.tar.gz" + +DEPEND="=net-www/apache-1* + apache2? ( =net-www/apache-2* ) + ssl? ( dev-libs/openssl ) + net-nds/openldap" + +LICENSE="GPL-1" +SLOT="0" + +src_compile() { + local myconf + if use apache2; then + myconf="${myconf} --with-apxs2=/usr/sbin/apxs2" + else + myconf="${myconf} --with-apxs=/usr/sbin/apxs" + fi + + use ssl && myconf="${myconf} -with-tls" + + myconf="${myconf} --with-activate" + ./configure ${myconf} || die "Configure failed" + make clean + make || die "Make failed" +} + +src_install() { + if use apache2; then + exeinto /usr/lib/apache2-extramodules + doexe mod_ldap_userdir.so + else + exeinto /usr/lib/apache-extramodules + doexe mod_ldap_userdir.so + fi + dodoc DIRECTIVES README user-ldif posixAccount-objectclass +} + +pkg_postinst() { + if use apache2; then + einfo "Adjust /etc/apache2/conf/modules.d/47_mod_ldap_userdir.conf to match your setup and" + einfo "add '-D LDAPuserdir' to your APACHE2_OPTS in /etc/conf.d/apache2" + einfo "To configure the package run \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" + fi +} + +pkg_config() { + /usr/sbin/apacheaddmod \ + ${ROOT}/etc/apache/conf/apache.conf \ + extramodules/mod_ldap_userdir.so mod_ldap_userdir.c ldap_userdir_module \ + define=LDAPuserdir addconf=conf/addon-modules/47_mod_ldap_userdir.conf +} |