2013-05-31 14:39:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2013/05/31 12:41:34 wiz Exp $
|
2007-04-13 22:06:21 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PKGNAME= nagios-plugin-radius-${PLUGINSVERSION}
|
2013-05-31 14:39:57 +02:00
|
|
|
PKGREVISION= 5
|
2007-04-13 22:06:21 +02:00
|
|
|
CATEGORIES= net sysutils
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
COMMENT= Nagios radius plugin
|
2011-04-09 00:48:40 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
2007-04-13 22:06:21 +02:00
|
|
|
DEPENDS+= nagios-plugins-${PLUGINSVERSION}{,nb[0-9]*}:../../net/nagios-plugins
|
|
|
|
DEPENDS+= p5-Net-SNMP-[0-9]*:../../net/p5-Net-SNMP
|
|
|
|
|
2011-06-07 13:47:04 +02:00
|
|
|
# linked with libradiusclient-ng.so.
|
|
|
|
BUILDLINK_DEPMETHOD.radiusclient-ng= full
|
|
|
|
|
2007-04-13 22:06:21 +02:00
|
|
|
BUILD_DEFS+= PKG_SYSCONFBASE
|
|
|
|
|
|
|
|
.include "../../net/nagios-plugins/Makefile.common"
|
|
|
|
|
|
|
|
BINARY_TARGET= check_radius
|
|
|
|
|
|
|
|
SUBST_CLASSES+= config
|
|
|
|
SUBST_STAGE.config= post-patch
|
|
|
|
SUBST_FILES.config= plugins/check_radius.c
|
|
|
|
SUBST_SED.config= -e "s|@SYSCONFDIR@|${PKG_SYSCONFBASE}|g"
|
|
|
|
SUBST_MESSAGE.config= Fixing configuration file path.
|
|
|
|
|
|
|
|
.include "../../net/nagios-plugins/Makefile.plugin"
|
|
|
|
.include "../../net/radiusclient-ng/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|