pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc nagios-plugin-raidctl: only for OS with RAIDframe (Net...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eaed3db51be5
branches:  trunk
changeset: 455163:eaed3db51be5
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jun 29 00:08:50 2021 +0000

description:
nagios-plugin-raidctl: only for OS with RAIDframe (NetBSD and OpenBSD)

diffstat:

 meta-pkgs/nagios/Makefile          |  9 +++++++--
 net/nagios-plugin-raidctl/Makefile |  4 +++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 4ed87b2da293 -r eaed3db51be5 meta-pkgs/nagios/Makefile
--- a/meta-pkgs/nagios/Makefile Mon Jun 28 23:48:25 2021 +0000
+++ b/meta-pkgs/nagios/Makefile Tue Jun 29 00:08:50 2021 +0000
@@ -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@localhost
-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-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
diff -r 4ed87b2da293 -r eaed3db51be5 net/nagios-plugin-raidctl/Makefile
--- a/net/nagios-plugin-raidctl/Makefile        Mon Jun 28 23:48:25 2021 +0000
+++ b/net/nagios-plugin-raidctl/Makefile        Tue Jun 29 00:08:50 2021 +0000
@@ -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 @@
 COMMENT=       RAIDframe monitoring plugin for Nagios
 LICENSE=       modified-bsd
 
+ONLY_FOR_PLATFORM=     NetBSD-*-* OpenBSD-*-*
+
 INSTALLATION_DIRS+=    libexec/nagios
 
 BUILD_DEFS+=           NAGIOS_GROUP



Home | Main Index | Thread Index | Old Index