aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2005-11-01 19:29:24 +0800
committerarved <arved@FreeBSD.org>2005-11-01 19:29:24 +0800
commit13fe13bd5d7b249bbd6aa2f6828abc3836fb17d6 (patch)
tree200f5a5fe2a976c1fe9f81f446ad227241aa365b /net-mgmt
parent530bf35a827069437a3fa5d0951a9718745faa09 (diff)
downloadfreebsd-ports-gnome-13fe13bd5d7b249bbd6aa2f6828abc3836fb17d6.tar.gz
freebsd-ports-gnome-13fe13bd5d7b249bbd6aa2f6828abc3836fb17d6.tar.zst
freebsd-ports-gnome-13fe13bd5d7b249bbd6aa2f6828abc3836fb17d6.zip
Add nagios-spamd-plugin, which monitors Spamassassins spamd
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-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
4 files changed, 45 insertions, 0 deletions
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 <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