summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2021-06-29 00:08:50 +0000
committertnn <tnn@pkgsrc.org>2021-06-29 00:08:50 +0000
commit791389cb050e0c8f7008f77da9864849d3f55159 (patch)
treee93ad731085240ca93a2d2c406e26f4ea7dacc0e /meta-pkgs
parentde8c61866dfcb349238fce5eaf3ff5147baf1d93 (diff)
downloadpkgsrc-791389cb050e0c8f7008f77da9864849d3f55159.tar.gz
nagios-plugin-raidctl: only for OS with RAIDframe (NetBSD and OpenBSD)
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/nagios/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta-pkgs/nagios/Makefile b/meta-pkgs/nagios/Makefile
index 638fc8540ef..3426a004c5b 100644
--- a/meta-pkgs/nagios/Makefile
+++ b/meta-pkgs/nagios/Makefile
@@ -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