summaryrefslogtreecommitdiff
path: root/www/ap22-authn-sasl
diff options
context:
space:
mode:
authormartti <martti>2008-11-12 09:10:00 +0000
committermartti <martti>2008-11-12 09:10:00 +0000
commit9eca4b76a4338cc7c1ce56f8c22e79f6741e6175 (patch)
treec5a4a7dfe62435147f601f3ffbc42d6f20b74b22 /www/ap22-authn-sasl
parentdf1e880d15b923593202a2232db256198d817caa (diff)
downloadpkgsrc-9eca4b76a4338cc7c1ce56f8c22e79f6741e6175.tar.gz
This module provides the mod_auth_basic authentication front-end a way to
authenticate users by checking credentials via the Cyrus SASL library. This may be interesting for setups where other daemons (e.g. for SMTP, IMAP or LDAP) already running at a machine use SASL to authenticate users. The module is also useful to authenticate users against databases that use shadow passwords. You do not need to elevate Apache HTTPD's access rights to superuser privileges.
Diffstat (limited to 'www/ap22-authn-sasl')
-rw-r--r--www/ap22-authn-sasl/DESCR7
-rw-r--r--www/ap22-authn-sasl/MESSAGE9
-rw-r--r--www/ap22-authn-sasl/Makefile26
-rw-r--r--www/ap22-authn-sasl/PLIST2
-rw-r--r--www/ap22-authn-sasl/distinfo5
5 files changed, 49 insertions, 0 deletions
diff --git a/www/ap22-authn-sasl/DESCR b/www/ap22-authn-sasl/DESCR
new file mode 100644
index 00000000000..0dcf3631b5f
--- /dev/null
+++ b/www/ap22-authn-sasl/DESCR
@@ -0,0 +1,7 @@
+This module provides the mod_auth_basic authentication front-end a way to
+authenticate users by checking credentials via the Cyrus SASL library.
+This may be interesting for setups where other daemons (e.g. for SMTP, IMAP
+or LDAP) already running at a machine use SASL to authenticate users. The
+module is also useful to authenticate users against databases that use shadow
+passwords. You do not need to elevate Apache HTTPD's access rights to
+superuser privileges.
diff --git a/www/ap22-authn-sasl/MESSAGE b/www/ap22-authn-sasl/MESSAGE
new file mode 100644
index 00000000000..3f53072082e
--- /dev/null
+++ b/www/ap22-authn-sasl/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2008/11/12 09:10:00 martti Exp $
+
+In order to use this module in your Apache installation, you need to
+add the following to your httpd.conf file:
+
+ LoadModule ${MODULE_NAME} lib/httpd/mod_authn_sasl.so
+
+===========================================================================
diff --git a/www/ap22-authn-sasl/Makefile b/www/ap22-authn-sasl/Makefile
new file mode 100644
index 00000000000..f49f21671d0
--- /dev/null
+++ b/www/ap22-authn-sasl/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/12 09:10:00 martti Exp $
+
+DISTNAME= mod_authn_sasl-${DISTVERS}
+#PKGREVISION= 1
+PKGNAME= ${APACHE_PKG_PREFIX}-authn-sasl-${DISTVERS}
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-authn-sasl/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://mod-authn-sasl.sourceforge.net/
+COMMENT= Apache module for SASL authentication
+
+PKG_APACHE_ACCEPTED= apache22
+
+.include "../../mk/apache.mk"
+
+APACHE_MODULE_NAME= mod_authn_sasl.${MODULE_EXT}
+
+DISTVERS= 1.0.2
+MODULE_EXT= la
+MESSAGE_SUBST+= MODULE_NAME=authn_sasl_module
+
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.include "../../www/apache/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap22-authn-sasl/PLIST b/www/ap22-authn-sasl/PLIST
new file mode 100644
index 00000000000..a71d8bbd1c4
--- /dev/null
+++ b/www/ap22-authn-sasl/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/12 09:10:00 martti Exp $
+lib/httpd/mod_authn_sasl.so
diff --git a/www/ap22-authn-sasl/distinfo b/www/ap22-authn-sasl/distinfo
new file mode 100644
index 00000000000..403e7e35ad7
--- /dev/null
+++ b/www/ap22-authn-sasl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/11/12 09:10:00 martti Exp $
+
+SHA1 (mod_authn_sasl-1.0.2.tar.bz2) = 83beef4940cd4e7bb771245c66001a37abe05841
+RMD160 (mod_authn_sasl-1.0.2.tar.bz2) = 6e9ee7d9c1d710e9b395e8d9e99bff712cee61f2
+Size (mod_authn_sasl-1.0.2.tar.bz2) = 244838 bytes