summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2013-01-19 10:22:11 +0000
committermanu <manu@pkgsrc.org>2013-01-19 10:22:11 +0000
commit5d21e42b483a808cc752f263dc8fc342eb85ea30 (patch)
treec1ffff5f97b4fdf960ad542a8184c99d15cdc073
parent02f5dc6ca9633ba6b93f9d35350e32258bf05ecb (diff)
downloadpkgsrc-5d21e42b483a808cc752f263dc8fc342eb85ea30.tar.gz
Add NetBSD RAIDframe monitoring plugin for nagios
-rw-r--r--doc/CHANGES-20133
-rw-r--r--net/Makefile3
-rw-r--r--net/nagios-plugin-raidctl/DESCR3
-rw-r--r--net/nagios-plugin-raidctl/Makefile27
-rw-r--r--net/nagios-plugin-raidctl/PLIST2
-rw-r--r--net/nagios-plugin-raidctl/distinfo5
6 files changed, 41 insertions, 2 deletions
diff --git a/doc/CHANGES-2013 b/doc/CHANGES-2013
index 37355b5ce1f..64eb57e16ad 100644
--- a/doc/CHANGES-2013
+++ b/doc/CHANGES-2013
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2013,v 1.207 2013/01/19 10:20:39 manu Exp $
+$NetBSD: CHANGES-2013,v 1.208 2013/01/19 10:22:11 manu Exp $
Changes to the packages collection and infrastructure in 2013:
@@ -282,3 +282,4 @@ Changes to the packages collection and infrastructure in 2013:
Updated multimedia/ffmpegthumbnailer to 2.0.8 [wiz 2013-01-19]
Updated mail/dovecot to 2.1.13 [manu 2013-01-19]
Updated textproc/py-xlrd to 0.8.0 [obache 2013-01-19]
+ Added net/nagios-plugin-raidctl 0.1 [manu 2013-01-19]
diff --git a/net/Makefile b/net/Makefile
index b59e9f54976..54be3fac96d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.951 2013/01/14 14:48:19 bouyer Exp $
+# $NetBSD: Makefile,v 1.952 2013/01/19 10:22:11 manu Exp $
#
COMMENT= Networking tools
@@ -308,6 +308,7 @@ SUBDIR+= nagios-plugin-ldap
SUBDIR+= nagios-plugin-mysql
SUBDIR+= nagios-plugin-pgsql
SUBDIR+= nagios-plugin-radius
+SUBDIR+= nagios-plugin-raidctl
SUBDIR+= nagios-plugin-snmp
SUBDIR+= nagios-plugin-spamd
SUBDIR+= nagios-plugins
diff --git a/net/nagios-plugin-raidctl/DESCR b/net/nagios-plugin-raidctl/DESCR
new file mode 100644
index 00000000000..c4181d0dabf
--- /dev/null
+++ b/net/nagios-plugin-raidctl/DESCR
@@ -0,0 +1,3 @@
+$NetBSD: DESCR,v 1.1 2013/01/19 10:22:11 manu Exp $
+
+This Nagios plugin monitors RAIDframe status
diff --git a/net/nagios-plugin-raidctl/Makefile b/net/nagios-plugin-raidctl/Makefile
new file mode 100644
index 00000000000..0d7af49d57b
--- /dev/null
+++ b/net/nagios-plugin-raidctl/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2013/01/19 10:22:11 manu Exp $
+#
+
+PKGNAME= nagios-plugin-raidctl-${DISTNAME:C/.*-//}
+DISTNAME= check_raidctl-0.1
+CATEGORIES= net
+MASTER_SITES= http://ftp.espci.fr/pub/nagios-local/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= manu@NetBSD.org
+HOMEPAGE= http://ftp.espci.fr/pub/nagios-local/
+COMMENT= RAIDframe monitoring plugin for Nagios
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS+= libexec/nagios
+
+SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_raidctl \
+ ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4551
+BUILD_DEFS+= ${NAGIOS_GROUP}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/check_raidctl \
+ ${DESTDIR}${PREFIX}/libexec/nagios/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/nagios-plugin-raidctl/PLIST b/net/nagios-plugin-raidctl/PLIST
new file mode 100644
index 00000000000..e55443bf1de
--- /dev/null
+++ b/net/nagios-plugin-raidctl/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2013/01/19 10:22:11 manu Exp $
+libexec/nagios/check_raidctl
diff --git a/net/nagios-plugin-raidctl/distinfo b/net/nagios-plugin-raidctl/distinfo
new file mode 100644
index 00000000000..369a611a02e
--- /dev/null
+++ b/net/nagios-plugin-raidctl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/01/19 10:22:11 manu Exp $
+
+SHA1 (check_raidctl-0.1.tgz) = 24e744b58ab50903b58bd57ee4bd30b6dfa89f48
+RMD160 (check_raidctl-0.1.tgz) = 54d3f9e894e63046a028c923c7e62a23fdc9c2ae
+Size (check_raidctl-0.1.tgz) = 2068 bytes