diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-02-09 21:22:18 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-02-09 21:22:18 +0000 |
commit | 210bfa05e4d8407618ddd2f94d364ea76f6d8829 (patch) | |
tree | 8b3a5883a67654f7f710985a29990c665ac07343 /www-apache | |
parent | fixed broken encoding in ChangeLog (diff) | |
download | historical-210bfa05e4d8407618ddd2f94d364ea76f6d8829.tar.gz historical-210bfa05e4d8407618ddd2f94d364ea76f6d8829.tar.bz2 historical-210bfa05e4d8407618ddd2f94d364ea76f6d8829.zip |
Initial commit
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_vhost_ldap/ChangeLog | 10 | ||||
-rw-r--r-- | www-apache/mod_vhost_ldap/Manifest | 15 | ||||
-rw-r--r-- | www-apache/mod_vhost_ldap/files/99_mod_vhost_ldap.conf | 12 | ||||
-rw-r--r-- | www-apache/mod_vhost_ldap/files/digest-mod_vhost_ldap-1.0 | 3 | ||||
-rw-r--r-- | www-apache/mod_vhost_ldap/metadata.xml | 8 | ||||
-rw-r--r-- | www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.ebuild | 65 |
6 files changed, 113 insertions, 0 deletions
diff --git a/www-apache/mod_vhost_ldap/ChangeLog b/www-apache/mod_vhost_ldap/ChangeLog new file mode 100644 index 000000000000..0dfc2f9bfbcc --- /dev/null +++ b/www-apache/mod_vhost_ldap/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-apache/mod_vhost_ldap +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/ChangeLog,v 1.1 2006/02/09 21:22:18 jokey Exp $ + +*mod_vhost_ldap-1.0 (09 Feb 2006) + + 09 Feb 2006; Markus Ullmann <jokey@gentoo.org> + +files/99_mod_vhost_ldap.conf, +metadata.xml, +mod_vhost_ldap-1.0.ebuild: + Initial commit + diff --git a/www-apache/mod_vhost_ldap/Manifest b/www-apache/mod_vhost_ldap/Manifest new file mode 100644 index 000000000000..9246259c58c8 --- /dev/null +++ b/www-apache/mod_vhost_ldap/Manifest @@ -0,0 +1,15 @@ +MD5 46738d586cb235b005c3881e942e9222 ChangeLog 400 +RMD160 da44df7cb54db6bd2421a85c7a4841a5013da7c6 ChangeLog 400 +SHA256 3ecb3e9ddf88d912c48bb24563d74cbde1cd06032aec3f20fdc7f0aaed8926c2 ChangeLog 400 +MD5 02f8594edec937fb5c5cf8ac06ad1952 files/99_mod_vhost_ldap.conf 354 +RMD160 8c0596ac410f00c2ea6305ad674c867a2d5e465e files/99_mod_vhost_ldap.conf 354 +SHA256 b52fe0dd41801e25b84aed5ba406402e9934bc19612f14d2d07001ea338f7126 files/99_mod_vhost_ldap.conf 354 +MD5 464d046959b67939a6a5515ac114279b files/digest-mod_vhost_ldap-1.0 253 +RMD160 fac9ea6c3c953499e2d19133bfe69f5a31fb068c files/digest-mod_vhost_ldap-1.0 253 +SHA256 1bdfbf98de986ed7b791d641962f2261e29592c27a58facedcb8fa941f3f4424 files/digest-mod_vhost_ldap-1.0 253 +MD5 ea981e26c2dee1b09642a812519463e1 metadata.xml 220 +RMD160 d33498dd033cf9490a23b08f4b5a923109adb0e5 metadata.xml 220 +SHA256 70f1d3277bf666ac82be0f85ccb9fe4202812c5a51544cdc80ceb411748469a1 metadata.xml 220 +MD5 289e345aadf8661567ff342a4387214b mod_vhost_ldap-1.0.ebuild 1786 +RMD160 77146cbb7d0064cb6e618c9dff3a6f0e30054a09 mod_vhost_ldap-1.0.ebuild 1786 +SHA256 d289d3bb5779e94cba7e0eb4d1ca94ffa39c69521c2fbf5b5a2e5f9efe5146b3 mod_vhost_ldap-1.0.ebuild 1786 diff --git a/www-apache/mod_vhost_ldap/files/99_mod_vhost_ldap.conf b/www-apache/mod_vhost_ldap/files/99_mod_vhost_ldap.conf new file mode 100644 index 000000000000..42d17c060502 --- /dev/null +++ b/www-apache/mod_vhost_ldap/files/99_mod_vhost_ldap.conf @@ -0,0 +1,12 @@ +<IfDefine VHOST_LDAP> + <IfModule !mod_vhost_ldap.c> + LoadModule vhost_ldap_module modules/mod_vhost_ldap.so + </IfModule> +</IfDefine> + +<IfModule mod_vhost_ldap.c> + VhostLDAPEnabled on + VhostLDAPUrl "ldap://127.0.0.1/ou=vhosts,ou=web,dc=localhost" + VhostLdapBindDN "cn=admin,dc=localhost" + VhostLDAPBindPassword "changeme" +</IfModule> diff --git a/www-apache/mod_vhost_ldap/files/digest-mod_vhost_ldap-1.0 b/www-apache/mod_vhost_ldap/files/digest-mod_vhost_ldap-1.0 new file mode 100644 index 000000000000..29631fc54705 --- /dev/null +++ b/www-apache/mod_vhost_ldap/files/digest-mod_vhost_ldap-1.0 @@ -0,0 +1,3 @@ +MD5 e58b1d6b0438a36ef9fb5aa64b9a7d7c mod_vhost_ldap-1.0.tar.bz2 7880 +RMD160 470b4f5121ce4cdba74a9b64654cc3461dd3aa77 mod_vhost_ldap-1.0.tar.bz2 7880 +SHA256 bb7529c4a5ff64affedf5b79f935e1a5cf9a61904fa2e5beed78a6cdf83cb8a9 mod_vhost_ldap-1.0.tar.bz2 7880 diff --git a/www-apache/mod_vhost_ldap/metadata.xml b/www-apache/mod_vhost_ldap/metadata.xml new file mode 100644 index 000000000000..a03ad51a5e30 --- /dev/null +++ b/www-apache/mod_vhost_ldap/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> +<maintainer> + <email>jokey@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.ebuild b/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.ebuild new file mode 100644 index 000000000000..5e5ca3055ec1 --- /dev/null +++ b/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.ebuild,v 1.1 2006/02/09 21:22:18 jokey Exp $ + +inherit eutils apache-module + +DESCRIPTION="An Apache2 DSO for storing and configuring virtual hosts from LDAP" +HOMEPAGE="http://alioth.debian.org/projects/modvhostldap/" +SRC_URI="http://alioth.debian.org/download.php/1192/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +S=${WORKDIR} + +SRCDIR="${S}/mod-vhost-ldap-${PV}" +APXS2_S="${SRCDIR}" +APACHE2_MOD_CONF="99_${PN}" +APACHE2_MOD_DEFINE="VHOST_LDAP" + +DOCFILES="${SRCDIR}/AUTHORS ${SRCDIR}/ChangeLog ${SRCDIR}/INSTALL ${SRCDIR}/README" + +need_apache2 + +pkg_setup () { + if ! built_with_use net-www/apache ldap ; then + eerror + eerror "Apache needs to be built with ldap support to get this module working" + eerror + die "Apache lacks ldap support" + fi +} + +src_unpack () { + unpack ${A} + #rename crappy dir versioning + mv ${S}/mod-vhost-ldap-0.2.9 ${SRCDIR} +} + +src_compile () { + cd ${APXS2_S} + sed -i s/MOD_VHOST_LDAP_VERSION/\"`cat VERSION`\"/g mod_vhost_ldap.c + apache-module_src_compile +} + +src_install () { + mkdir -p ${D}/etc/openldap/schema + cp ${SRCDIR}/mod_vhost_ldap.schema ${D}/etc/openldap/schema + apache-module_src_install +} + +pkg_postinst () { + einfo + einfo "To enable ${PN}, you need to edit your /etc/conf.d/apache2 file and" + einfo "add '-D ${APACHE2_MOD_DEFINE}' to APACHE2_OPTS." + einfo + einfo "Configuration file installed as" + einfo " ${APACHE2_MODULES_CONFDIR}/$(basename ${APACHE2_MOD_CONF}).conf" + einfo + einfo "Your LDAP server needs to include mod_vhost_ldap.schema and should" + einfo "also maintain indices on apacheServerName and apacheServerAlias" + einfo +} |