pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap2-auth-radius This is the Apache 2.x RADIUS auth...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd6b8192a66e
branches:  trunk
changeset: 517360:fd6b8192a66e
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Wed Aug 09 17:45:56 2006 +0000

description:
This is the Apache 2.x RADIUS authentication module. It allows any Apache 2.x
web-server to become a RADIUS client for authentication and accounting
requests. You will, however, need to supply your own RADIUS server to
perform the actual authentication.

diffstat:

 www/ap2-auth-radius/DESCR    |   4 ++++
 www/ap2-auth-radius/MESSAGE  |  18 ++++++++++++++++++
 www/ap2-auth-radius/Makefile |  44 ++++++++++++++++++++++++++++++++++++++++++++
 www/ap2-auth-radius/PLIST    |   8 ++++++++
 www/ap2-auth-radius/distinfo |   5 +++++
 5 files changed, 79 insertions(+), 0 deletions(-)

diffs (99 lines):

diff -r 4f3ef1cb1c7d -r fd6b8192a66e www/ap2-auth-radius/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-radius/DESCR Wed Aug 09 17:45:56 2006 +0000
@@ -0,0 +1,4 @@
+This is the Apache RADIUS authentication module. It allows any Apache
+web-server to become a RADIUS client for authentication and accounting
+requests. You will, however, need to supply your own RADIUS server to
+perform the actual authentication.
diff -r 4f3ef1cb1c7d -r fd6b8192a66e www/ap2-auth-radius/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-radius/MESSAGE       Wed Aug 09 17:45:56 2006 +0000
@@ -0,0 +1,18 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/08/09 17:45:56 adrianp Exp $
+
+In order to use this module in your Apache installation, you need to
+add the following to your httpd.conf file:
+
+  LoadModule radius_auth_module lib/httpd/mod_auth_radius.so
+
+NOTE mod_auth_radius by default will try and communicate with a radius
+server using port 1645.  If you are authenticating against a freeradius
+server you will need to manually specify a different port. e.g.
+
+  AddRadiusAuth localhost:1812 testing123
+
+Would get mod_auth_radius taking to a default freeradius server on
+localhost.
+
+===========================================================================
diff -r 4f3ef1cb1c7d -r fd6b8192a66e www/ap2-auth-radius/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-radius/Makefile      Wed Aug 09 17:45:56 2006 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/09 17:45:56 adrianp Exp $
+
+DISTNAME=      mod_auth_radius
+PKGNAME=       ap2-auth-radius-1.5.7
+CATEGORIES=    www databases
+MASTER_SITES=  ftp://ftp.freeradius.org/pub/radius/
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://www.freeradius.org/mod_auth_radius/
+COMMENT=       Module to allow apache2 authentication against a RADIUS server
+
+WRKSRC=                        ${WRKDIR}/${DISTNAME}-1.5.7
+EXTRACT_SUFX=          .tar
+NO_CONFIGURE=          YES
+APACHE_MODULE=         YES
+APACHE_MODULE_NAME=    mod_auth_radius
+USE_LIBTOOL=           YES
+
+BUILDLINK_API_DEPENDS.apache+= apache>=2.0.47
+
+post-extract:
+       ${MV} ${WRKSRC}/mod_auth_radius.c ${WRKSRC}/mod_auth_radius-1.0.c
+       ${MV} ${WRKSRC}/mod_auth_radius-2.0.c ${WRKSRC}/mod_auth_radius.c
+
+do-build:
+       cd ${WRKSRC} && \
+               ${APXS} -c -n ${APACHE_MODULE_NAME} ${APACHE_MODULE_NAME}.c
+
+do-install:
+       cd ${WRKSRC} && ${APXS} -i -n ${APACHE_MODULE_NAME} \
+               ${APACHE_MODULE_NAME}.la
+
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_radius
+       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_auth_radius
+       ${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/doc/mod_auth_radius
+
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_auth_radius
+       ${INSTALL_DATA} ${WRKSRC}/htaccess \
+               ${PREFIX}/share/examples/mod_auth_radius
+       ${INSTALL_DATA} ${WRKSRC}/httpd.conf \
+               ${PREFIX}/share/examples/mod_auth_radius
+
+.include "../../www/apache2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4f3ef1cb1c7d -r fd6b8192a66e www/ap2-auth-radius/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-radius/PLIST Wed Aug 09 17:45:56 2006 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/09 17:45:56 adrianp Exp $
+lib/httpd/mod_auth_radius.so
+share/doc/mod_auth_radius/README
+share/doc/mod_auth_radius/index.html
+share/examples/mod_auth_radius/htaccess
+share/examples/mod_auth_radius/httpd.conf
+@dirrm share/doc/mod_auth_radius
+@dirrm share/examples/mod_auth_radius
diff -r 4f3ef1cb1c7d -r fd6b8192a66e www/ap2-auth-radius/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-radius/distinfo      Wed Aug 09 17:45:56 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/09 17:45:56 adrianp Exp $
+
+SHA1 (mod_auth_radius.tar) = 4f9fdcd675ec0d0247d964883ad16a2593367e06
+RMD160 (mod_auth_radius.tar) = 5b9408d063c9d27a9d2918c8c4feb173b81ff1be
+Size (mod_auth_radius.tar) = 112640 bytes



Home | Main Index | Thread Index | Old Index