pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ap2-auth-ldap This is an authentication module for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cc4d871e2c4
branches:  trunk
changeset: 489462:1cc4d871e2c4
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Mon Feb 21 21:55:25 2005 +0000

description:
This is an authentication module for Apache that allows you to
authenticate HTTP clients using user entries in an LDAP directory.

diffstat:

 www/ap2-auth-ldap/DESCR            |   2 ++
 www/ap2-auth-ldap/MESSAGE          |   9 +++++++++
 www/ap2-auth-ldap/Makefile         |  36 ++++++++++++++++++++++++++++++++++++
 www/ap2-auth-ldap/PLIST            |   4 ++++
 www/ap2-auth-ldap/distinfo         |   5 +++++
 www/ap2-auth-ldap/patches/patch-aa |  13 +++++++++++++
 6 files changed, 69 insertions(+), 0 deletions(-)

diffs (93 lines):

diff -r ef447dcb74ee -r 1cc4d871e2c4 www/ap2-auth-ldap/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-ldap/DESCR   Mon Feb 21 21:55:25 2005 +0000
@@ -0,0 +1,2 @@
+This is an authentication module for Apache that allows you to
+authenticate HTTP clients using user entries in an LDAP directory.
diff -r ef447dcb74ee -r 1cc4d871e2c4 www/ap2-auth-ldap/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-ldap/MESSAGE Mon Feb 21 21:55:25 2005 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/02/21 21:55:25 adrianp Exp $
+
+In order to use this module in your Apache installation, you need to
+add the following to your httpd.conf file:
+
+  LoadModule auth_ldap_module lib/httpd/mod_auth_ldap.so
+
+===========================================================================
diff -r ef447dcb74ee -r 1cc4d871e2c4 www/ap2-auth-ldap/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-ldap/Makefile        Mon Feb 21 21:55:25 2005 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/21 21:55:25 adrianp Exp $
+
+DISTNAME=      mod_auth_ldap2.16
+PKGNAME=       ap2-auth-ldap-2.16
+CATEGORIES=    www databases
+MASTER_SITES=  http://www.muquit.com/muquit/software/mod_auth_ldap/
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apache2.html
+COMMENT=       Module to allow apache2 authentication against an LDAP directory
+
+GNU_CONFIGURE=         YES
+USE_BUILDLINK3=                YES
+APACHE_MODULE=         YES
+APACHE_MODULE_NAME=    mod_auth_ldap
+USE_LIBTOOL=           YES
+CPPFLAGS+=             -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib -lldap -llber
+
+BUILDLINK_DEPENDS.apache?=      apache>=2.0.47
+
+CONFIGURE_ARGS+=       --with-apxs=${APXS}
+CONFIGURE_ARGS+=       --with-ldap-dir=${BUILDLINK_PREFIX.openldap}
+CONFIGURE_ARGS+=       --with-apache-dir=${PREFIX}
+
+do-install:
+       cd ${WRKSRC} && ${APXS} -i \
+               -n ${APACHE_MODULE_NAME} ${APACHE_MODULE_NAME}.la
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${APACHE_MODULE_NAME}
+       ${INSTALL_DATA} ${WRKSRC}/${APACHE_MODULE_NAME}_apache2.html \
+               ${PREFIX}/share/doc/${APACHE_MODULE_NAME}
+
+.include "../../databases/openldap/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../www/apache2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ef447dcb74ee -r 1cc4d871e2c4 www/ap2-auth-ldap/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-ldap/PLIST   Mon Feb 21 21:55:25 2005 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/21 21:55:25 adrianp Exp $
+lib/httpd/mod_auth_ldap.so
+share/doc/mod_auth_ldap/mod_auth_ldap_apache2.html
+@dirrm share/doc/mod_auth_ldap
diff -r ef447dcb74ee -r 1cc4d871e2c4 www/ap2-auth-ldap/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-ldap/distinfo        Mon Feb 21 21:55:25 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/21 21:55:25 adrianp Exp $
+
+SHA1 (mod_auth_ldap2.16.tar.gz) = dbb9c5a20dbe9a252f40c2dad708360b126554b3
+Size (mod_auth_ldap2.16.tar.gz) = 548912 bytes
+SHA1 (patch-aa) = 1a1d75be98b8c91a8ddf31145373aaabb3a685a7
diff -r ef447dcb74ee -r 1cc4d871e2c4 www/ap2-auth-ldap/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-ldap/patches/patch-aa        Mon Feb 21 21:55:25 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/21 21:55:25 adrianp Exp $
+
+--- Makefile.in.orig   2005-02-18 21:27:01.000000000 +0000
++++ Makefile.in        2005-02-18 21:27:47.000000000 +0000
+@@ -45,7 +45,7 @@
+ 
+ $(MODULE): $(OBJS)
+       @echo "*******"
+-      $(APXS) -c $(OBJS) $(LDFLAGS) $(LIBS)
++      #$(APXS) -c $(OBJS) $(LDFLAGS) $(LIBS)
+ 
+ install:
+       @echo ""



Home | Main Index | Thread Index | Old Index