mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Add nagios-spamd-plugin, which monitors Spamassassins spamd
This commit is contained in:
parent
59b1e55d43
commit
d9f2d34d9f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146896
@ -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
|
||||
|
35
net-mgmt/nagios-spamd-plugin/Makefile
Normal file
35
net-mgmt/nagios-spamd-plugin/Makefile
Normal file
@ -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>
|
2
net-mgmt/nagios-spamd-plugin/distinfo
Normal file
2
net-mgmt/nagios-spamd-plugin/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (check_spamd.pl) = bbed1ea3678dcbe9ee6faade3e91ecb4
|
||||
SIZE (check_spamd.pl) = 5202
|
7
net-mgmt/nagios-spamd-plugin/pkg-descr
Normal file
7
net-mgmt/nagios-spamd-plugin/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user