summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2015-01-07 05:02:37 +0000
committermanu <manu@pkgsrc.org>2015-01-07 05:02:37 +0000
commitae0632077fc727d0406211c08623d4313db9bf5a (patch)
tree1cbbfc64fbfa96c18be947e089822ffa8884c352 /net
parentc290b470ec68aa8aff239c0d6f3cef3b15bdeb3e (diff)
downloadpkgsrc-ae0632077fc727d0406211c08623d4313db9bf5a.tar.gz
Add net/nagios-plugin-dnsrbl, a simple nagios plugin written in C to check
if a host is caught in a DNSRBL
Diffstat (limited to 'net')
-rw-r--r--net/Makefile3
-rw-r--r--net/nagios-plugin-dnsrbl/DESCR3
-rw-r--r--net/nagios-plugin-dnsrbl/Makefile24
-rw-r--r--net/nagios-plugin-dnsrbl/PLIST2
-rw-r--r--net/nagios-plugin-dnsrbl/distinfo5
5 files changed, 36 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index 83e02f73ed7..0981a649fda 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1050 2015/01/06 12:57:36 wiz Exp $
+# $NetBSD: Makefile,v 1.1051 2015/01/07 05:02:37 manu Exp $
#
COMMENT= Networking tools
@@ -328,6 +328,7 @@ SUBDIR+= mydns-pgsql
SUBDIR+= nagios-base
SUBDIR+= nagios-nrpe
SUBDIR+= nagios-nsca
+SUBDIR+= nagios-plugin-dnsrbl
SUBDIR+= nagios-plugin-dotpid
SUBDIR+= nagios-plugin-dumpdates
SUBDIR+= nagios-plugin-fstab
diff --git a/net/nagios-plugin-dnsrbl/DESCR b/net/nagios-plugin-dnsrbl/DESCR
new file mode 100644
index 00000000000..c039a4a9447
--- /dev/null
+++ b/net/nagios-plugin-dnsrbl/DESCR
@@ -0,0 +1,3 @@
+$NetBSD: DESCR,v 1.1 2015/01/07 05:02:37 manu Exp $
+
+This Nagios plugin checks for host presence in various DNSRBL
diff --git a/net/nagios-plugin-dnsrbl/Makefile b/net/nagios-plugin-dnsrbl/Makefile
new file mode 100644
index 00000000000..ac25902dc98
--- /dev/null
+++ b/net/nagios-plugin-dnsrbl/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2015/01/07 05:02:37 manu Exp $
+#
+
+PKGNAME= nagios-plugin-dnsrbl-${DISTNAME:C/.*-//}
+DISTNAME= check_dnsrbl-0.2
+#PKGREVISION= 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= DNSRBL monitoring plugin for Nagios
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS+= libexec/nagios
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/check_dnsrbl \
+ ${DESTDIR}${PREFIX}/libexec/nagios/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/nagios-plugin-dnsrbl/PLIST b/net/nagios-plugin-dnsrbl/PLIST
new file mode 100644
index 00000000000..8da78557b9b
--- /dev/null
+++ b/net/nagios-plugin-dnsrbl/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2015/01/07 05:02:37 manu Exp $
+libexec/nagios/check_dnsrbl
diff --git a/net/nagios-plugin-dnsrbl/distinfo b/net/nagios-plugin-dnsrbl/distinfo
new file mode 100644
index 00000000000..ec8804cc835
--- /dev/null
+++ b/net/nagios-plugin-dnsrbl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/01/07 05:02:37 manu Exp $
+
+SHA1 (check_dnsrbl-0.2.tgz) = f11df81eb699673cfc9e46313d584d0ef14bab14
+RMD160 (check_dnsrbl-0.2.tgz) = 16c1166831d75bd90797c19a0f08a9ec1a1de7b5
+Size (check_dnsrbl-0.2.tgz) = 4301 bytes