summaryrefslogtreecommitdiff
path: root/www/ap-auth-ldap
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2000-05-30 13:58:49 +0000
committerkleink <kleink@pkgsrc.org>2000-05-30 13:58:49 +0000
commitfe82808c308571ffb042c23a829d7d675c6ff4fe (patch)
treee080fce57289199f6c7bfd26ce0fb5194e08737b /www/ap-auth-ldap
parenta74dd0e9327dd7a48212ff950e77fe37f0981d9f (diff)
downloadpkgsrc-fe82808c308571ffb042c23a829d7d675c6ff4fe.tar.gz
Initial import of auth_ldap-1.4.2.
Diffstat (limited to 'www/ap-auth-ldap')
-rw-r--r--www/ap-auth-ldap/Makefile32
-rw-r--r--www/ap-auth-ldap/files/md53
-rw-r--r--www/ap-auth-ldap/pkg/COMMENT1
-rw-r--r--www/ap-auth-ldap/pkg/DESCR2
-rw-r--r--www/ap-auth-ldap/pkg/MESSAGE10
-rw-r--r--www/ap-auth-ldap/pkg/PLIST5
6 files changed, 53 insertions, 0 deletions
diff --git a/www/ap-auth-ldap/Makefile b/www/ap-auth-ldap/Makefile
new file mode 100644
index 00000000000..f96b2008e4d
--- /dev/null
+++ b/www/ap-auth-ldap/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/30 13:58:49 kleink Exp $
+
+DISTNAME= auth_ldap-1.4.2
+PKGNAME= ap-auth-ldap-1.4.2
+CATEGORIES= www databases
+MASTER_SITES= http://www.rudedog.org/auth_ldap/
+
+MAINTAINER= kleink@netbsd.org
+HOMEPAGE= http://www.rudedog.org/auth_ldap/
+
+DEPENDS+= apache-1.3.*:../../www/apache
+DEPENDS+= openldap-1.2.7p1:../../databases/openldap
+
+# For "apxs":
+BUILD_DEPENDS= ${LOCALBASE}/bin/perl:../../lang/perl5
+
+do-build:
+ @cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c \
+ -D WITH_OPENLDAP \
+ -I ${LOCALBASE}/include \
+ -L ${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lldap -llber \
+ auth_ldap.c auth_ldap_cache.c auth_ldap_config.c
+
+do-install:
+ @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i auth_ldap.so
+ -${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_ldap
+ ${INSTALL_DATA} ${WRKSRC}/auth_ldap.html \
+ ${PREFIX}/share/doc/mod_auth_ldap
+ ${INSTALL_DATA} ${WRKSRC}/future-directions.html \
+ ${PREFIX}/share/doc/mod_auth_ldap
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap-auth-ldap/files/md5 b/www/ap-auth-ldap/files/md5
new file mode 100644
index 00000000000..13a697f079c
--- /dev/null
+++ b/www/ap-auth-ldap/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/30 13:58:49 kleink Exp $
+
+MD5 (auth_ldap-1.4.2.tar.gz) = 0b36299b1e0fac044d1785c03544fb07
diff --git a/www/ap-auth-ldap/pkg/COMMENT b/www/ap-auth-ldap/pkg/COMMENT
new file mode 100644
index 00000000000..dcb28ba31d8
--- /dev/null
+++ b/www/ap-auth-ldap/pkg/COMMENT
@@ -0,0 +1 @@
+Module to allow apache authentication against an LDAP directory
diff --git a/www/ap-auth-ldap/pkg/DESCR b/www/ap-auth-ldap/pkg/DESCR
new file mode 100644
index 00000000000..6565c30c8db
--- /dev/null
+++ b/www/ap-auth-ldap/pkg/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/ap-auth-ldap/pkg/MESSAGE b/www/ap-auth-ldap/pkg/MESSAGE
new file mode 100644
index 00000000000..e8378350aa6
--- /dev/null
+++ b/www/ap-auth-ldap/pkg/MESSAGE
@@ -0,0 +1,10 @@
+=============================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2000/05/30 13:58:49 kleink Exp $
+
+You will need to edit ${PREFIX}/etc/httpd/httpd.conf and add the following
+lines to the Dynamic Shared Object section in order to use this module
+(substitute ${PREFIX} with /usr/pkg or your prefix as appropriate):
+
+LoadModule ${PREFIX}/lib/httpd/auth_ldap.so
+
+=============================================================================
diff --git a/www/ap-auth-ldap/pkg/PLIST b/www/ap-auth-ldap/pkg/PLIST
new file mode 100644
index 00000000000..107f16e80e2
--- /dev/null
+++ b/www/ap-auth-ldap/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/30 13:58:50 kleink Exp $
+lib/httpd/auth_ldap.so
+share/doc/mod_auth_ldap/auth_ldap.html
+share/doc/mod_auth_ldap/future-directions.html
+@dirrm share/doc/mod_auth_ldap