summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-08-13 17:34:16 +0000
committeradrianp <adrianp>2006-08-13 17:34:16 +0000
commit3a70bac6c8089b1d9ca97c9aa8d1c22d1c1ba49d (patch)
treee700a486b957990308a7eec5c196eb8c48daa5d4
parent0b781304182171334b276fb9be11ab19b2f7a069 (diff)
downloadpkgsrc-3a70bac6c8089b1d9ca97c9aa8d1c22d1c1ba49d.tar.gz
mod_auth_xradius provides high performance authentication against
RFC 2865 RADIUS Servers. Features: * Supports popular RADIUS Servers including OpenRADIUS, FreeRADIUS and commercial servers. * Distributed Authentication Cache using apr_memcache. * Local Authentication Cache using DBM. * Uses standard HTTP Basic Authentication, unlike mod_auth_radius which uses cookies for sessions.
-rw-r--r--www/ap2-auth-xradius/DESCR10
-rw-r--r--www/ap2-auth-xradius/MESSAGE13
-rw-r--r--www/ap2-auth-xradius/Makefile21
-rw-r--r--www/ap2-auth-xradius/PLIST2
-rw-r--r--www/ap2-auth-xradius/distinfo6
-rw-r--r--www/ap2-auth-xradius/patches/patch-aa13
6 files changed, 65 insertions, 0 deletions
diff --git a/www/ap2-auth-xradius/DESCR b/www/ap2-auth-xradius/DESCR
new file mode 100644
index 00000000000..d47e9aa69f0
--- /dev/null
+++ b/www/ap2-auth-xradius/DESCR
@@ -0,0 +1,10 @@
+mod_auth_xradius provides high performance authentication against
+RFC 2865 RADIUS Servers.
+
+Features:
+* Supports popular RADIUS Servers including OpenRADIUS, FreeRADIUS and
+ commercial servers.
+* Distributed Authentication Cache using apr_memcache.
+* Local Authentication Cache using DBM.
+* Uses standard HTTP Basic Authentication, unlike mod_auth_radius which uses
+ cookies for sessions.
diff --git a/www/ap2-auth-xradius/MESSAGE b/www/ap2-auth-xradius/MESSAGE
new file mode 100644
index 00000000000..a9124fdf1ab
--- /dev/null
+++ b/www/ap2-auth-xradius/MESSAGE
@@ -0,0 +1,13 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/08/13 17:34:16 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_xradius_module lib/httpd/mod_auth_xradius.so
+
+All documentation is available from:
+
+ http://www.outoforder.cc/projects/apache/mod_auth_xradius/docs/
+
+===========================================================================
diff --git a/www/ap2-auth-xradius/Makefile b/www/ap2-auth-xradius/Makefile
new file mode 100644
index 00000000000..a71dfb27bdb
--- /dev/null
+++ b/www/ap2-auth-xradius/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/13 17:34:16 adrianp Exp $
+
+DISTNAME= mod_auth_xradius-0.4.6
+PKGNAME= ap2-auth-xradius-0.4.6
+CATEGORIES= www databases
+MASTER_SITES= http://www.outoforder.cc/downloads/mod_auth_xradius/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://www.outoforder.cc/projects/apache/mod_auth_xradius/
+COMMENT= Module to allow apache2 authentication against a RADIUS server
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+
+CONFIGURE_ARGS+= --with-apxs=${PREFIX}/sbin/apxs
+
+BUILDLINK_API_DEPENDS.apache+= apache>=2.0.42
+
+.include "../../www/apache2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap2-auth-xradius/PLIST b/www/ap2-auth-xradius/PLIST
new file mode 100644
index 00000000000..d0c2299578d
--- /dev/null
+++ b/www/ap2-auth-xradius/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/13 17:34:16 adrianp Exp $
+lib/httpd/mod_auth_xradius.so
diff --git a/www/ap2-auth-xradius/distinfo b/www/ap2-auth-xradius/distinfo
new file mode 100644
index 00000000000..cba7a3ca45c
--- /dev/null
+++ b/www/ap2-auth-xradius/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/13 17:34:16 adrianp Exp $
+
+SHA1 (mod_auth_xradius-0.4.6.tar.bz2) = f05f5d9bb9ad6fb76c026679cd5fb00a9c9e48dd
+RMD160 (mod_auth_xradius-0.4.6.tar.bz2) = 82c34c82f692c6f5a321ad20103eb22b01da8d4a
+Size (mod_auth_xradius-0.4.6.tar.bz2) = 180591 bytes
+SHA1 (patch-aa) = 6cf2d151392eee1fce38d96b345e8fcd720f5ad9
diff --git a/www/ap2-auth-xradius/patches/patch-aa b/www/ap2-auth-xradius/patches/patch-aa
new file mode 100644
index 00000000000..821ed6577e9
--- /dev/null
+++ b/www/ap2-auth-xradius/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/13 17:34:16 adrianp Exp $
+
+--- src/xradius_cache.c.orig 2006-08-11 14:42:03.000000000 +0100
++++ src/xradius_cache.c 2006-08-11 14:42:30.000000000 +0100
+@@ -204,7 +204,7 @@
+ status = dbmval.dptr+sizeof(apr_time_t);
+ epass = dbmval.dptr+sizeof(apr_time_t)+sizeof(char);
+
+- ap_log_error(APLOG_MARK, APLOG_NOTICE, rv,
++ ap_log_error(APLOG_MARK, APLOG_DEBUG, rv,
+ r->server,
+ "xradius: fetched '%s':'%s'",
+ password, epass);