summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2004-05-27 00:49:17 +0000
committerChuck Short <zul@gentoo.org>2004-05-27 00:49:17 +0000
commit61674369eaa2de09d60ecfbe1600fa9739e1eae0 (patch)
tree75fe8143fffc5ce758fb2a76498c6314c709a976 /net-www/mod_ldap_userdir
parent3.3 alpha1 - hardmasked (diff)
downloadhistorical-61674369eaa2de09d60ecfbe1600fa9739e1eae0.tar.gz
historical-61674369eaa2de09d60ecfbe1600fa9739e1eae0.tar.bz2
historical-61674369eaa2de09d60ecfbe1600fa9739e1eae0.zip
Initial ebuild.
Diffstat (limited to 'net-www/mod_ldap_userdir')
-rw-r--r--net-www/mod_ldap_userdir/ChangeLog11
-rw-r--r--net-www/mod_ldap_userdir/Manifest5
-rw-r--r--net-www/mod_ldap_userdir/files/47_mod_ldap_userdir.conf13
-rw-r--r--net-www/mod_ldap_userdir/files/digest-mod_ldap_userdir-1.1.11
-rw-r--r--net-www/mod_ldap_userdir/metadata.xml8
-rw-r--r--net-www/mod_ldap_userdir/mod_ldap_userdir-1.1.1.ebuild61
6 files changed, 99 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..7a580305272a
--- /dev/null
+++ b/net-www/mod_ldap_userdir/Manifest
@@ -0,0 +1,5 @@
+MD5 bc72202f5d99b5bca554cd382168d505 mod_ldap_userdir-1.1.1.ebuild 1770
+MD5 816dbb8c8214f29079c1c6aec0b8d20b ChangeLog 457
+MD5 5b6dd438f81019e56fa641841c0c13fe metadata.xml 501
+MD5 650877f5bf9738cca23bbbeeb5bf87d9 files/47_mod_ldap_userdir.conf 375
+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
+}