Add net/nagios-plugin-dnsrbl, a simple nagios plugin written in C to check

if a host is caught in a DNSRBL
This commit is contained in:
manu 2015-01-07 05:02:37 +00:00
parent b7186cc53c
commit f88c482539
6 changed files with 38 additions and 2 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES-2015,v 1.127 2015/01/07 00:35:13 mef Exp $ $NetBSD: CHANGES-2015,v 1.128 2015/01/07 05:02:37 manu Exp $
Changes to the packages collection and infrastructure in 2015: Changes to the packages collection and infrastructure in 2015:
@ -142,3 +142,4 @@ Changes to the packages collection and infrastructure in 2015:
Updated audio/py-mutagen to 1.27 [drochner 2015-01-06] Updated audio/py-mutagen to 1.27 [drochner 2015-01-06]
Updated audio/picard to 1.3.1 [drochner 2015-01-06] Updated audio/picard to 1.3.1 [drochner 2015-01-06]
Updated www/p5-App-Nopaste to 1.003 [mef 2015-01-07] Updated www/p5-App-Nopaste to 1.003 [mef 2015-01-07]
Added net/nagios-plugin-dnsrbl version 0.2 [manu 2015-01-07]

View file

@ -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 COMMENT= Networking tools
@ -328,6 +328,7 @@ SUBDIR+= mydns-pgsql
SUBDIR+= nagios-base SUBDIR+= nagios-base
SUBDIR+= nagios-nrpe SUBDIR+= nagios-nrpe
SUBDIR+= nagios-nsca SUBDIR+= nagios-nsca
SUBDIR+= nagios-plugin-dnsrbl
SUBDIR+= nagios-plugin-dotpid SUBDIR+= nagios-plugin-dotpid
SUBDIR+= nagios-plugin-dumpdates SUBDIR+= nagios-plugin-dumpdates
SUBDIR+= nagios-plugin-fstab SUBDIR+= nagios-plugin-fstab

View file

@ -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

View file

@ -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"

View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2015/01/07 05:02:37 manu Exp $
libexec/nagios/check_dnsrbl

View file

@ -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