diff options
author | adrianp <adrianp@pkgsrc.org> | 2006-08-09 17:45:56 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2006-08-09 17:45:56 +0000 |
commit | 12f58b56006e7fa87145f2746f2be086cb5c5409 (patch) | |
tree | 35addc3e65faa9daad94fa1a8fca474a511deda6 /www/ap2-auth-radius/Makefile | |
parent | cba51d388ed1bb806fd229e86e4eb47af9928e78 (diff) | |
download | pkgsrc-12f58b56006e7fa87145f2746f2be086cb5c5409.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/ap2-auth-radius/Makefile')
-rw-r--r-- | www/ap2-auth-radius/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
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" |