--- /dev/null
+libapache2-mod-vhost-ldap and LDAP server support
+=================================================
+
+Your LDAP server needs to include mod_vhost_ldap.schema. If you do not use
+OpenLDAP you are on your own to build a schema.
+
+You should configure the LDAP server to maintain indices on apacheServerName,
+apacheServerAlias and anything you use in your additional search filter.
+
+ -- Ondřej Surý <ondrej@sury.org> Tue, 30 Aug 2005 15:25:32 +0200
+
+libapache2-mod-vhost-ldap, suexec and cgid
+==========================================
+
+libapache2-mod-vhost-ldap suexec support doesn't work with cgid (enabled
+as default in Debian). Cgid has special hacks for suexec module and any
+other module which set suexec uid and gid crashes mod_cgid. For more
+information see http://issues.apache.org/bugzilla/show_bug.cgi?id=36410
+
+You can use cgi module instead.
+
+ -- Ondřej Surý <ondrej@sury.org> Tue, 30 Aug 2005 09:24:21 +0200
+
--- /dev/null
+mod-vhost-ldap (1.0.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fix small memory leak when used in subrequest (e.g. fastcgi)
+
+ -- Ondřej Surý <ondrej@debian.org> Mon, 30 Jan 2006 22:12:05 +0100
+
+mod-vhost-ldap (0.2.9-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Ondřej Surý <ondrej@sury.org> Mon, 3 Oct 2005 16:10:24 +0200
+
+mod-vhost-ldap (0.2.8-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Ondřej Surý <ondrej@sury.org> Thu, 22 Sep 2005 09:26:56 +0200
+
+mod-vhost-ldap (0.2.7-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Ondřej Surý <ondrej@sury.org> Mon, 19 Sep 2005 10:27:13 +0200
+
+mod-vhost-ldap (0.2.6-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Ondřej Surý <ondrej@sury.org> Fri, 16 Sep 2005 10:13:25 +0200
+
+mod-vhost-ldap (0.2.5-1) unstable; urgency=low
+
+ * New upstream release.
+ + Fix crasher.
+
+ -- Ondřej Surý <ondrej@sury.org> Thu, 8 Sep 2005 20:35:31 +0200
+
+mod-vhost-ldap (0.2.4-1) unstable; urgency=low
+
+ * New upstream release.
+ + Fix VERSION file mishmash (Closes: #323777)
+ + MIN_UID/MIN_GID lowered to 100/100 (Closes: #323830)
+
+ -- Ondřej Surý <ondrej@debian.org> Mon, 29 Aug 2005 16:51:46 +0200
+
+mod-vhost-ldap (0.2.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fix off-by-one error in minimum UID/GID (Closes: #323433)
+ * Fix schema (yet again) (Closes: #323437)
+
+ -- Ondřej Surý <ondrej@debian.org> Wed, 17 Aug 2005 11:40:55 +0200
+
+mod-vhost-ldap (0.2.2-1) unstable; urgency=low
+
+ * New upstream version.
+ * Fix schema (Closes: #322958, #323002)
+ * Fix invalid behaviour when apacheScriptAlias missing (Closes: #323006)
+ * Set DOCUMENT_ROOT internal variable (Closes: #323007)
+
+ -- Ondřej Surý <ondrej@debian.org> Tue, 16 Aug 2005 09:37:12 +0200
+
+mod-vhost-ldap (0.2.1-1) unstable; urgency=low
+
+ * Initial release. (Closes: #321952)
+
+ -- Ondřej Surý <ondrej@debian.org> Tue, 9 Aug 2005 14:18:38 +0200
+
+Local variables:
+mode: debian-changelog
+End:
--- /dev/null
+Source: mod-vhost-ldap
+Section: web
+Priority: optional
+Maintainer: Ondřej Surý <ondrej@debian.org>
+Standards-Version: 3.6.2
+Build-Depends: debhelper (>> 3.0.0), apache2-threaded-dev (>= 2.0.50-10), libldap-dev
+
+Package: libapache2-mod-vhost-ldap
+Architecture: any
+Depends: ${shlibs:Depends}, apache2-common
+Description: Apache 2 module for Virtual Hosting from LDAP
+ mod-vhost-ldap is Apache 2.x module for storing and configuring
+ Virtual Hosts from LDAP. It supports DocumentRoot, ScriptAlias,
+ ServerName, ServerAlias, ServerAdmin and SuexecUserGroup directives.
+ .
+ It's build on top of mod_ldap, so it uses it's caching capabilities
+ and can be used with threaded apache.
--- /dev/null
+This package was debianized by Ondřej Surý <ondrej@debian.org> on
+Thu, 30 Jun 2005 16:29:22 +0200.
+
+It was downloaded from http://alioth.debian.org/projects/modvhostldap/
+
+Copyright:
+
+Copyright (c) 2005, Ondrej Sury
+All rights reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
--- /dev/null
+mod_vhost_ldap.schema
+TODO
+README
--- /dev/null
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=4
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+AP2_MAKE_DEFS=top_dir=/usr/share/apache2 \
+ APXS=apxs2 APACHECTL=apachectl2 \
+ LIBTOOL=libtool SH_LIBTOOL=libtool \
+ INCLUDES="-I/usr/include/apache2 -I /usr/include/apr-0"
+
+DEST=$(CURDIR)/debian/libapache2-mod-vhost-ldap
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+binary: binary-indep binary-arch
+
+binary-indep:
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installexamples
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ $(MAKE) $(AP2_MAKE_DEFS)
+ touch build-stamp-20
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp-* configure-stamp-*
+ $(MAKE) clean
+ rm -rf build-tree
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_installdocs
+ dh_installchangelogs ChangeLog
+ mkdir -p $(DEST)/usr/lib/apache2/modules
+ install -m 644 .libs/mod_vhost_ldap.so $(DEST)/usr/lib/apache2/modules
+ mkdir -p $(DEST)/etc/apache2/mods-available
+ install -m 644 debian/vhost_ldap.load $(DEST)/etc/apache2/mods-available
+ install -m 644 debian/vhost_ldap.conf $(DEST)/etc/apache2/mods-available
+
+.PHONY: binary binary-arch binary-indep clean build install
--- /dev/null
+### mod_vhost_ldap depends on mod_ldap ###
+### you have to enable mod_ldap as well ###
+
+<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>
--- /dev/null
+LoadModule vhost_ldap_module /usr/lib/apache2/modules/mod_vhost_ldap.so
+
--- /dev/null
+version=2
+
+http://www.sury.org/dist/ \
+ mod-vhost-ldap-([\d.]+)\.tar\.gz \
+ debian uupdate