nagios-plugin-raidctl: only for OS with RAIDframe (NetBSD and OpenBSD)
This commit is contained in:
parent
4eea28efad
commit
e3d3f8ebb5
2 changed files with 10 additions and 3 deletions
|
@ -1,14 +1,17 @@
|
|||
# $NetBSD: Makefile,v 1.2 2017/09/16 19:27:00 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2021/06/29 00:08:50 tnn Exp $
|
||||
#
|
||||
|
||||
DISTNAME= nagios-4.0.8
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= meta-pkgs net
|
||||
MASTER_SITES= # empty
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
COMMENT= Nagios meta package
|
||||
COMMENT= Meta package for Nagios
|
||||
LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND modified-bsd
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
DEPENDS+= nagios-base>=4.0.8:../../net/nagios-base
|
||||
DEPENDS+= nagios-plugins>=2.0.3:../../net/nagios-plugins
|
||||
DEPENDS+= nagios-plugin-dnsrbl>=0.2:../../net/nagios-plugin-dnsrbl
|
||||
|
@ -20,7 +23,9 @@ DEPENDS+= nagios-plugin-milter>=0.1:../../net/nagios-plugin-milter
|
|||
DEPENDS+= nagios-plugin-mysql>=2.0.3:../../net/nagios-plugin-mysql
|
||||
DEPENDS+= nagios-plugin-pgsql>=2.0.3:../../net/nagios-plugin-pgsql
|
||||
DEPENDS+= nagios-plugin-radius>=2.0.3:../../net/nagios-plugin-radius
|
||||
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
|
||||
DEPENDS+= nagios-plugin-raidctl>=0.1:../../net/nagios-plugin-raidctl
|
||||
.endif
|
||||
DEPENDS+= nagios-plugin-spamd>=1.6.0:../../net/nagios-plugin-spamd
|
||||
DEPENDS+= nagios-plugin-snmp>=2.0.3:../../net/nagios-plugin-snmp
|
||||
DEPENDS+= nagios-plugin-syncrepl>=0.1:../../net/nagios-plugin-syncrepl
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2020/01/26 17:31:52 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2021/06/29 00:08:50 tnn Exp $
|
||||
#
|
||||
|
||||
PKGNAME= nagios-plugin-raidctl-${DISTNAME:C/.*-//}
|
||||
|
@ -13,6 +13,8 @@ HOMEPAGE= https://ftp.espci.fr/pub/nagios-local/
|
|||
COMMENT= RAIDframe monitoring plugin for Nagios
|
||||
LICENSE= modified-bsd
|
||||
|
||||
ONLY_FOR_PLATFORM= NetBSD-*-* OpenBSD-*-*
|
||||
|
||||
INSTALLATION_DIRS+= libexec/nagios
|
||||
|
||||
BUILD_DEFS+= NAGIOS_GROUP
|
||||
|
|
Loading…
Reference in a new issue