2007-06-30 11:32:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2007/06/30 15:32:30 simon Exp $
|
2001-09-01 11:26:13 -04:00
|
|
|
|
2004-06-18 12:24:19 -04:00
|
|
|
DISTNAME= mod_auth_radius-1.5.7
|
2007-06-30 11:32:30 -04:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2001-09-01 11:26:13 -04:00
|
|
|
CATEGORIES= www
|
2007-06-26 15:19:45 -04:00
|
|
|
MODULES+= apache-module
|
2001-09-01 11:26:13 -04:00
|
|
|
|
2003-10-18 15:44:41 -04:00
|
|
|
# Apache
|
2001-09-01 11:26:13 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2007-06-26 15:19:45 -04:00
|
|
|
MODAPACHE_NAME= radius_auth
|
|
|
|
MODAPACHE_ENABLE= mod_auth_radius-enable
|
|
|
|
MODAPACHE_MODULE= mod_auth_radius.so
|
|
|
|
|
2003-05-04 20:51:48 -04:00
|
|
|
COMMENT= "Apache RADIUS authentication module"
|
|
|
|
HOMEPAGE= http://www.freeradius.org/mod_auth_radius/
|
|
|
|
MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/
|
|
|
|
EXTRACT_SUFX= .tar
|
2001-09-01 11:26:13 -04:00
|
|
|
|
2002-01-16 09:34:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2005-01-14 12:33:17 -05:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}
|
2001-09-01 11:26:13 -04:00
|
|
|
|
2003-05-04 20:51:48 -04:00
|
|
|
do-build:
|
|
|
|
@cd ${WRKSRC}; /usr/sbin/apxs -c mod_auth_radius.c
|
2007-06-26 15:19:45 -04:00
|
|
|
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
|
2001-09-01 11:26:13 -04:00
|
|
|
|
|
|
|
do-install:
|
2003-05-04 20:51:48 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_auth_radius
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/httpd.conf \
|
|
|
|
${PREFIX}/share/examples/mod_auth_radius/httpd.conf-example
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/htaccess \
|
|
|
|
${PREFIX}/share/examples/mod_auth_radius/htaccess-example
|
2007-06-26 15:19:45 -04:00
|
|
|
${MODAPACHE_INSTALL}
|
2001-09-01 11:26:13 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|