pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap22-vhost-ldap mod-vhost-ldap is an Apache 2.2 mo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b080e9b31391
branches:  trunk
changeset: 554856:b080e9b31391
user:      imil <imil%pkgsrc.org@localhost>
date:      Sat Feb 21 15:59:20 2009 +0000

description:
mod-vhost-ldap is an Apache 2.2 module for storing and configuring
Virtual Hosts from LDAP.  It supports DocumentRoot, ScriptAlias,
ServerName, ServerAlias, ServerAdmin and SuexecUserGroup directives.
It's built on top of mod_ldap, so it uses it's caching capabilities
and can be used with threaded apache.

diffstat:

 www/ap22-vhost-ldap/DESCR    |   5 ++++
 www/ap22-vhost-ldap/MESSAGE  |   9 ++++++++
 www/ap22-vhost-ldap/Makefile |  49 ++++++++++++++++++++++++++++++++++++++++++++
 www/ap22-vhost-ldap/PLIST    |   5 ++++
 www/ap22-vhost-ldap/distinfo |   5 ++++
 5 files changed, 73 insertions(+), 0 deletions(-)

diffs (93 lines):

diff -r d40e93814e85 -r b080e9b31391 www/ap22-vhost-ldap/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap22-vhost-ldap/DESCR Sat Feb 21 15:59:20 2009 +0000
@@ -0,0 +1,5 @@
+mod-vhost-ldap is an Apache 2.2 module for storing and configuring
+Virtual Hosts from LDAP.  It supports DocumentRoot, ScriptAlias,
+ServerName, ServerAlias, ServerAdmin and SuexecUserGroup directives.
+It's built on top of mod_ldap, so it uses it's caching capabilities
+and can be used with threaded apache.
diff -r d40e93814e85 -r b080e9b31391 www/ap22-vhost-ldap/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap22-vhost-ldap/MESSAGE       Sat Feb 21 15:59:20 2009 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/02/21 15:59:20 imil Exp $
+
+In order to use this module in your Apache installation, you need to
+add the following to your httpd.conf file:
+
+       LoadModule vhost_ldap_module lib/httpd/mod_vhost_ldap.so
+
+===========================================================================
diff -r d40e93814e85 -r b080e9b31391 www/ap22-vhost-ldap/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap22-vhost-ldap/Makefile      Sat Feb 21 15:59:20 2009 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/21 15:59:20 imil Exp $
+
+MVL_VERSION=           1.2.0
+DISTNAME=              mod-vhost-ldap_${MVL_VERSION}.orig
+PKGNAME=               ${APACHE_PKG_PREFIX}-vhost-ldap-${MVL_VERSION}
+CATEGORIES=            www databases
+MASTER_SITES=          ${MASTER_SITE_DEBIAN:=pool/main/m/mod-vhost-ldap/}
+
+MAINTAINER=            imil%gcu.info@localhost
+HOMEPAGE=              http://packages.qa.debian.org/m/mod-vhost-ldap.html
+COMMENT=               Apache 2.2 module LDAP Virtual Hosts support
+
+WRKSRC=                        ${WRKDIR}/${DISTNAME:S/_/-/:S/.orig//}
+NO_CONFIGURE=          yes
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+APACHE_MODULE_NAME=    mod_vhost_ldap
+
+PKG_APACHE_ACCEPTED=   apache22
+
+AUTO_MKDIRS=           yes
+
+do-build:
+       cd ${WRKSRC} &&                                                         \
+       ${APXS} -c -n ${APACHE_MODULE_NAME}                                     \
+               -I${BUILDLINK_PREFIX.openldap-client}/include                   \
+               -L${BUILDLINK_PREFIX.openldap-client}/lib                       \
+               ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openldap-client}/lib   \
+               -DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/${MVL_VERSION}\\\"  \
+               -lldap_r mod_vhost_ldap.c
+
+do-install:
+       cd ${WRKSRC} &&                                                         \
+       ${APXS} -i -n ${APACHE_MODULE_NAME} ${APACHE_MODULE_NAME}.la
+       ${INSTALL_DATA} ${WRKSRC}/vhost_ldap.conf                               \
+               ${DESTDIR}${PREFIX}/share/examples/mod_vhost_ldap
+       ${INSTALL_DATA} ${WRKSRC}/mod_vhost_ldap.schema                         \
+               ${DESTDIR}${PREFIX}/share/examples/mod_vhost_ldap
+
+.include "../../devel/apr-util/buildlink3.mk"
+.if empty(PKG_BUILD_OPTIONS.apr-util:Mldap)
+PKG_FAIL_REASON+=       "PKG_OPTIONS.apr-util must contain the ldap parameter"
+.endif
+
+.include "../../mk/apache.mk"
+.include "../../databases/openldap-client/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r d40e93814e85 -r b080e9b31391 www/ap22-vhost-ldap/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap22-vhost-ldap/PLIST Sat Feb 21 15:59:20 2009 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/21 15:59:20 imil Exp $
+lib/httpd/mod_vhost_ldap.so
+share/examples/mod_vhost_ldap/vhost_ldap.conf
+share/examples/mod_vhost_ldap/mod_vhost_ldap.schema
+@dirrm share/examples/mod_vhost_ldap
diff -r d40e93814e85 -r b080e9b31391 www/ap22-vhost-ldap/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap22-vhost-ldap/distinfo      Sat Feb 21 15:59:20 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/21 15:59:20 imil Exp $
+
+SHA1 (mod-vhost-ldap_1.2.0.orig.tar.gz) = 5152a928bdee6f6e9e3a2e02dc20ef3de24528d4
+RMD160 (mod-vhost-ldap_1.2.0.orig.tar.gz) = b4bcd45d4fab70acc69e1a65a3f3f94447591889
+Size (mod-vhost-ldap_1.2.0.orig.tar.gz) = 8593 bytes



Home | Main Index | Thread Index | Old Index