summaryrefslogtreecommitdiff
path: root/www/ap2-auth-ldap
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-02-21 21:55:25 +0000
committeradrianp <adrianp@pkgsrc.org>2005-02-21 21:55:25 +0000
commit98ea0e122b9e59291cd11a9f159f1b59fb58d7ae (patch)
treedd49388ba267fd631ab335a0757d0c66586d57a7 /www/ap2-auth-ldap
parentd690fc821d03d67df6b235cffb56b31dd4860731 (diff)
downloadpkgsrc-98ea0e122b9e59291cd11a9f159f1b59fb58d7ae.tar.gz
This is an authentication module for Apache that allows you to
authenticate HTTP clients using user entries in an LDAP directory.
Diffstat (limited to 'www/ap2-auth-ldap')
-rw-r--r--www/ap2-auth-ldap/DESCR2
-rw-r--r--www/ap2-auth-ldap/MESSAGE9
-rw-r--r--www/ap2-auth-ldap/Makefile36
-rw-r--r--www/ap2-auth-ldap/PLIST4
-rw-r--r--www/ap2-auth-ldap/distinfo5
-rw-r--r--www/ap2-auth-ldap/patches/patch-aa13
6 files changed, 69 insertions, 0 deletions
diff --git a/www/ap2-auth-ldap/DESCR b/www/ap2-auth-ldap/DESCR
new file mode 100644
index 00000000000..6565c30c8db
--- /dev/null
+++ b/www/ap2-auth-ldap/DESCR
@@ -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 --git a/www/ap2-auth-ldap/MESSAGE b/www/ap2-auth-ldap/MESSAGE
new file mode 100644
index 00000000000..7b5b9fb497b
--- /dev/null
+++ b/www/ap2-auth-ldap/MESSAGE
@@ -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 --git a/www/ap2-auth-ldap/Makefile b/www/ap2-auth-ldap/Makefile
new file mode 100644
index 00000000000..fc6409a30ca
--- /dev/null
+++ b/www/ap2-auth-ldap/Makefile
@@ -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
+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 --git a/www/ap2-auth-ldap/PLIST b/www/ap2-auth-ldap/PLIST
new file mode 100644
index 00000000000..219aac674cb
--- /dev/null
+++ b/www/ap2-auth-ldap/PLIST
@@ -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 --git a/www/ap2-auth-ldap/distinfo b/www/ap2-auth-ldap/distinfo
new file mode 100644
index 00000000000..0b1e4c7262a
--- /dev/null
+++ b/www/ap2-auth-ldap/distinfo
@@ -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 --git a/www/ap2-auth-ldap/patches/patch-aa b/www/ap2-auth-ldap/patches/patch-aa
new file mode 100644
index 00000000000..4a58fb7cf40
--- /dev/null
+++ b/www/ap2-auth-ldap/patches/patch-aa
@@ -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 ""