pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   tnn
Date:           Tue Jun 29 00:08:50 UTC 2021

Modified Files:
        pkgsrc/meta-pkgs/nagios: Makefile
        pkgsrc/net/nagios-plugin-raidctl: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/meta-pkgs/nagios/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/nagios-plugin-raidctl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/meta-pkgs/nagios/Makefile
diff -u pkgsrc/meta-pkgs/nagios/Makefile:1.2 pkgsrc/meta-pkgs/nagios/Makefile:1.3
--- pkgsrc/meta-pkgs/nagios/Makefile:1.2        Sat Sep 16 19:27:00 2017
+++ pkgsrc/meta-pkgs/nagios/Makefile    Tue Jun 29 00:08:50 2021
@@ -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-milter>=0.1:../.
 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

Index: pkgsrc/net/nagios-plugin-raidctl/Makefile
diff -u pkgsrc/net/nagios-plugin-raidctl/Makefile:1.6 pkgsrc/net/nagios-plugin-raidctl/Makefile:1.7
--- pkgsrc/net/nagios-plugin-raidctl/Makefile:1.6       Sun Jan 26 17:31:52 2020
+++ pkgsrc/net/nagios-plugin-raidctl/Makefile   Tue Jun 29 00:08:50 2021
@@ -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/nagio
 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