summaryrefslogtreecommitdiff
path: root/www/ap-auth-pam
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-03-06 19:33:38 +0000
committerjlam <jlam@pkgsrc.org>2002-03-06 19:33:38 +0000
commit48323a144ac00ec5d6e9448063af06cb8c0aa88d (patch)
tree55a3263b424a986e42a9ede4f4fed45e658312b9 /www/ap-auth-pam
parent65fecffe314f8f42ab100d39888c7670132299d8 (diff)
downloadpkgsrc-48323a144ac00ec5d6e9448063af06cb8c0aa88d.tar.gz
Initial import of ap-auth-pam-1.0a as www/ap-auth-pam.
This is an authentication module for Apache that allows you to authenticate HTTP clients using Pluggable Authentication Modules (PAM).
Diffstat (limited to 'www/ap-auth-pam')
-rw-r--r--www/ap-auth-pam/DESCR2
-rw-r--r--www/ap-auth-pam/MESSAGE16
-rw-r--r--www/ap-auth-pam/Makefile32
-rw-r--r--www/ap-auth-pam/PLIST7
-rw-r--r--www/ap-auth-pam/distinfo4
5 files changed, 61 insertions, 0 deletions
diff --git a/www/ap-auth-pam/DESCR b/www/ap-auth-pam/DESCR
new file mode 100644
index 00000000000..b66bc2ea4a1
--- /dev/null
+++ b/www/ap-auth-pam/DESCR
@@ -0,0 +1,2 @@
+This is an authentication module for Apache that allows you to authenticate
+HTTP clients using Pluggable Authentication Modules (PAM).
diff --git a/www/ap-auth-pam/MESSAGE b/www/ap-auth-pam/MESSAGE
new file mode 100644
index 00000000000..89962c7fa6f
--- /dev/null
+++ b/www/ap-auth-pam/MESSAGE
@@ -0,0 +1,16 @@
+=============================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/03/06 19:33:38 jlam Exp $
+
+In order to use mod_auth_pam in your Apache installation, you need to add
+the following to your httpd.conf file:
+
+ LoadModule pam_auth_module lib/httpd/mod_auth_pam.so
+ AddModule mod_auth_pam.c
+
+Please read the information in
+
+ ${PREFIX}/share/doc/html/mod_auth_pam/configure.html
+
+to learn how to properly enable PAM authentication support in your Apache
+configuration.
+=============================================================================
diff --git a/www/ap-auth-pam/Makefile b/www/ap-auth-pam/Makefile
new file mode 100644
index 00000000000..8f330ae57be
--- /dev/null
+++ b/www/ap-auth-pam/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/03/06 19:33:38 jlam Exp $
+
+DISTNAME= mod_auth_pam-1.0a
+PKGNAME= ap-auth-pam-1.0a
+CATEGORIES= www
+MASTER_SITES= http://pam.sourceforge.net/mod_auth_pam/dist/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://pam.sourceforge.net/mod_auth_pam/
+COMMENT= module to allow Apache authentication using PAM
+
+DEPENDS+= ${BUILDLINK_DEPENDS.apache}:../../www/apache
+
+USE_BUILDLINK_ONLY= YES
+
+LIBS+= -lpam
+EGDIR= ${PREFIX}/share/examples/mod_auth_pam
+HTMLDIR= ${PREFIX}/share/doc/html/mod_auth_pam
+
+do-build:
+ cd ${WRKSRC}; ${APXS} -c $(CPPFLAGS) $(LDFLAGS) $(LIBS) mod_auth_pam.c
+
+do-install:
+ @cd ${WRKSRC}; ${APXS} -i mod_auth_pam.so
+ ${INSTALL_DATA_DIR} ${EGDIR} ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/httpd ${EGDIR}/httpd.pam
+ ${INSTALL_DATA} ${WRKSRC}/doc/configure.html ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${HTMLDIR}
+
+.include "../../security/PAM/buildlink.mk"
+.include "../../www/apache/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap-auth-pam/PLIST b/www/ap-auth-pam/PLIST
new file mode 100644
index 00000000000..40c65f35c57
--- /dev/null
+++ b/www/ap-auth-pam/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/06 19:33:38 jlam Exp $
+lib/httpd/mod_auth_pam.so
+share/doc/html/mod_auth_pam/configure.html
+share/doc/html/mod_auth_pam/faq.html
+share/examples/mod_auth_pam/httpd.pam
+@dirrm share/examples/mod_auth_pam
+@dirrm share/doc/html/mod_auth_pam
diff --git a/www/ap-auth-pam/distinfo b/www/ap-auth-pam/distinfo
new file mode 100644
index 00000000000..d2b927c9131
--- /dev/null
+++ b/www/ap-auth-pam/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/03/06 19:33:38 jlam Exp $
+
+SHA1 (mod_auth_pam-1.0a.tar.gz) = a3c29d10690101cf1bd9ce1c262fdbe8c12cc0b3
+Size (mod_auth_pam-1.0a.tar.gz) = 8765 bytes