c55dec9048
if the module is installed but not activated. From Mikolaj Kucharski with help from halex@, looks good to halex.
38 lines
973 B
Makefile
38 lines
973 B
Makefile
# $OpenBSD: Makefile,v 1.22 2011/09/17 10:29:44 sthen Exp $
|
|
|
|
REVISION= 8
|
|
DISTNAME= mod_auth_radius-1.5.7
|
|
CATEGORIES= www
|
|
MODULES+= apache-module
|
|
|
|
# Apache
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODAPACHE_NAME= radius_auth
|
|
MODAPACHE_ENABLE= mod_auth_radius-enable
|
|
MODAPACHE_MODULE= mod_auth_radius.so
|
|
|
|
COMMENT= Apache RADIUS authentication module
|
|
HOMEPAGE= http://www.freeradius.org/mod_auth_radius/
|
|
MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/
|
|
EXTRACT_SUFX= .tar
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-build:
|
|
@cd ${WRKSRC}; /usr/sbin/apxs -c mod_auth_radius.c
|
|
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
|
|
|
|
do-install:
|
|
${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
|
|
${MODAPACHE_INSTALL}
|
|
|
|
.include <bsd.port.mk>
|