]> andersk Git - mod-vhost-ldap.git/commitdiff
initial import of mod-vhost-ldap
authorOndřej Surý <ondrej@sury.org>
Tue, 9 Aug 2005 12:14:30 +0000 (12:14 +0000)
committerOndřej Surý <ondrej@sury.org>
Tue, 9 Aug 2005 12:14:30 +0000 (12:14 +0000)
git-svn-id: svn://svn.debian.org/svn/modvhostldap@1 4dd36cbf-e3fd-0310-983d-db0e06859cf4

debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/vhost_ldap.conf [new file with mode: 0644]
debian/vhost_ldap.load [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..dc883ea
--- /dev/null
@@ -0,0 +1,9 @@
+mod-vhost-ldap (0.2.1-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Ondřej Surý <ondrej@sury.org>  Tue,  2 Aug 2005 15:38:49 +0200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..4f48e77
--- /dev/null
@@ -0,0 +1,17 @@
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..7be1537
--- /dev/null
@@ -0,0 +1,22 @@
+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.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..6ef34e3
--- /dev/null
@@ -0,0 +1,4 @@
+mod_vhost_ldap.schema
+INSTALL
+TODO
+README
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..d6bf254
--- /dev/null
@@ -0,0 +1,84 @@
+#!/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=3
+
+# 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_fixperms -X var/lib/apache2/fastcgi -X var/lib/apache/fastcgi
+       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
diff --git a/debian/vhost_ldap.conf b/debian/vhost_ldap.conf
new file mode 100644 (file)
index 0000000..4f1dc04
--- /dev/null
@@ -0,0 +1,6 @@
+<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/debian/vhost_ldap.load b/debian/vhost_ldap.load
new file mode 100644 (file)
index 0000000..aa6dfaf
--- /dev/null
@@ -0,0 +1,2 @@
+LoadModule vhost_ldap_module    /usr/lib/apache2/modules/mod_vhost_ldap.so
+
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..1a91b0a
--- /dev/null
@@ -0,0 +1,5 @@
+version=2
+
+http://www.sury.org/dist/ \
+       mod-vhost-ldap-([\d.]+)\.tar\.gz \
+       debian uupdate
This page took 0.112432 seconds and 5 git commands to generate.