From d9f2d34d9fc3f7b8461a4a4adf59d32801e80bd6 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Tue, 1 Nov 2005 11:29:24 +0000 Subject: Add nagios-spamd-plugin, which monitors Spamassassins spamd --- net-mgmt/Makefile | 1 + net-mgmt/nagios-spamd-plugin/Makefile | 35 ++++++++++++++++++++++++++++++++++ net-mgmt/nagios-spamd-plugin/distinfo | 2 ++ net-mgmt/nagios-spamd-plugin/pkg-descr | 7 +++++++ 4 files changed, 45 insertions(+) create mode 100644 net-mgmt/nagios-spamd-plugin/Makefile create mode 100644 net-mgmt/nagios-spamd-plugin/distinfo create mode 100644 net-mgmt/nagios-spamd-plugin/pkg-descr (limited to 'net-mgmt') diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 04c585c876d1..9b394928decb 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -77,6 +77,7 @@ SUBDIR += nagios-plugins SUBDIR += nagios-silfreed-plugins SUBDIR += nagios-snmp-plugins + SUBDIR += nagios-spamd-plugin SUBDIR += nagios12 SUBDIR += nagiostat SUBDIR += nat diff --git a/net-mgmt/nagios-spamd-plugin/Makefile b/net-mgmt/nagios-spamd-plugin/Makefile new file mode 100644 index 000000000000..1a0788adb16a --- /dev/null +++ b/net-mgmt/nagios-spamd-plugin/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: nagios-spamd-plugin +# Date created: 2005-10-29 +# Whom: arved +# +# $FreeBSD$ + +PORTNAME= nagios-spamd-plugin +PORTVERSION= 1.1 +CATEGORIES= net-mgmt +MASTER_SITES= ftp://jhweiss.de/pub/users/weiss/nagios/plugins/ +DISTNAME= check_spamd.pl +EXTRACT_SUFX= + +MAINTAINER= arved@FreeBSD.org +COMMENT= Nagios plugin for checking SpamAssassins spamd + +RUN_DEPENDS+= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long + +USE_PERL5= yes +NO_WRKSUBDIR= yes +NO_BUILD= yes +PLIST_FILES= ${NAGIOS_PLUGIN_DIR}/check_spamd.pl +PLIST_DIRS= ${NAGIOS_PLUGIN_DIR} + +NAGIOS_PLUGIN_DIR= libexec/nagios + +do-extract: + ${MKDIR} ${WRKSRC} + ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} + +do-install: + ${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR} + ${INSTALL_SCRIPT} ${WRKSRC}/check_spamd.pl ${PREFIX}/${NAGIOS_PLUGIN_DIR} + +.include diff --git a/net-mgmt/nagios-spamd-plugin/distinfo b/net-mgmt/nagios-spamd-plugin/distinfo new file mode 100644 index 000000000000..2a31ada0c702 --- /dev/null +++ b/net-mgmt/nagios-spamd-plugin/distinfo @@ -0,0 +1,2 @@ +MD5 (check_spamd.pl) = bbed1ea3678dcbe9ee6faade3e91ecb4 +SIZE (check_spamd.pl) = 5202 diff --git a/net-mgmt/nagios-spamd-plugin/pkg-descr b/net-mgmt/nagios-spamd-plugin/pkg-descr new file mode 100644 index 000000000000..ae0ce743ad6d --- /dev/null +++ b/net-mgmt/nagios-spamd-plugin/pkg-descr @@ -0,0 +1,7 @@ +check_spamd is a Nagios plugin for checking SpamAssassins SPAMD. It's written +in Perl, should work with the embedded Perl interpreter (not tested though), +does not require spamc to be installed on the Nagios host and has no other +prerequisites. + +Author: Holger Weiss +WWW: http://www.jhweiss.de/code.html -- cgit v1.2.3