diff options
author | adrianp <adrianp> | 2006-08-09 17:45:56 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2006-08-09 17:45:56 +0000 |
commit | c7fec0162ec30562bb15824687e7ff0c9378762b (patch) | |
tree | 35addc3e65faa9daad94fa1a8fca474a511deda6 /www | |
parent | 626898fbe01138b8f30f8389dd1f770f52fbea53 (diff) | |
download | pkgsrc-c7fec0162ec30562bb15824687e7ff0c9378762b.tar.gz |
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 (limited to 'www')
-rw-r--r-- | www/ap2-auth-radius/DESCR | 4 | ||||
-rw-r--r-- | www/ap2-auth-radius/MESSAGE | 18 | ||||
-rw-r--r-- | www/ap2-auth-radius/Makefile | 44 | ||||
-rw-r--r-- | www/ap2-auth-radius/PLIST | 8 | ||||
-rw-r--r-- | www/ap2-auth-radius/distinfo | 5 |
5 files changed, 79 insertions, 0 deletions
diff --git a/www/ap2-auth-radius/DESCR b/www/ap2-auth-radius/DESCR new file mode 100644 index 00000000000..c7cddaaf036 --- /dev/null +++ b/www/ap2-auth-radius/DESCR @@ -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 --git a/www/ap2-auth-radius/MESSAGE b/www/ap2-auth-radius/MESSAGE new file mode 100644 index 00000000000..f91bb0a6dc1 --- /dev/null +++ b/www/ap2-auth-radius/MESSAGE @@ -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 --git a/www/ap2-auth-radius/Makefile b/www/ap2-auth-radius/Makefile new file mode 100644 index 00000000000..0b9f909e619 --- /dev/null +++ b/www/ap2-auth-radius/Makefile @@ -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 +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 --git a/www/ap2-auth-radius/PLIST b/www/ap2-auth-radius/PLIST new file mode 100644 index 00000000000..8e0ac43fd9e --- /dev/null +++ b/www/ap2-auth-radius/PLIST @@ -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 --git a/www/ap2-auth-radius/distinfo b/www/ap2-auth-radius/distinfo new file mode 100644 index 00000000000..09afb4d11b2 --- /dev/null +++ b/www/ap2-auth-radius/distinfo @@ -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 |