aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-spamd-plugin
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2005-11-01 11:29:24 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2005-11-01 11:29:24 +0000
commitd9f2d34d9fc3f7b8461a4a4adf59d32801e80bd6 (patch)
tree96722078881f1603d56754ff6948cb176c3e25ff /net-mgmt/nagios-spamd-plugin
parent59b1e55d438f0b2a34bf0fc5f83955a2ca651c4d (diff)
downloadports-d9f2d34d9fc3f7b8461a4a4adf59d32801e80bd6.tar.gz
ports-d9f2d34d9fc3f7b8461a4a4adf59d32801e80bd6.zip
Add nagios-spamd-plugin, which monitors Spamassassins spamd
Notes
Notes: svn path=/head/; revision=146896
Diffstat (limited to 'net-mgmt/nagios-spamd-plugin')
-rw-r--r--net-mgmt/nagios-spamd-plugin/Makefile35
-rw-r--r--net-mgmt/nagios-spamd-plugin/distinfo2
-rw-r--r--net-mgmt/nagios-spamd-plugin/pkg-descr7
3 files changed, 44 insertions, 0 deletions
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 <bsd.port.mk>
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 <holger@CIS.FU-Berlin.DE>
+WWW: http://www.jhweiss.de/code.html