Skip site navigation (1)Skip section navigation (2)
Date:      12 Jun 2009 19:25:59 +0400
From:      "Alexey V.Degtyarev" <alexey@renatasystems.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/135512: New port: net-mgmt/nagios-check_clamav - plugin to check ClamAV local database freshness
Message-ID:  <20090612152559.63610.qmail@hs-9.renatasystems.org>
Resent-Message-ID: <200906121530.n5CFU2lg024656@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135512
>Category:       ports
>Synopsis:       New port: net-mgmt/nagios-check_clamav - plugin to check ClamAV local database freshness
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 12 15:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexey V. Degtyarev
>Release:        FreeBSD 7.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD renatasystems.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
This check plugin is a Perl script which compares your local signature database
(daily.cvd) version to the version advertised from the ClamAV site. It verifies
the latest ClamAV revision using a DNS TXT query against
current.cvd.clamav.net.

WWW: http://bsd.phoenix.az.us/projects/check_clamav

>How-To-Repeat:
	
>Fix:

	

--- nagios-check_clamav.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	nagios-check_clamav
#	nagios-check_clamav/Makefile
#	nagios-check_clamav/distinfo
#	nagios-check_clamav/pkg-descr
#
echo c - nagios-check_clamav
mkdir -p nagios-check_clamav > /dev/null 2>&1
echo x - nagios-check_clamav/Makefile
sed 's/^X//' >nagios-check_clamav/Makefile << '53cbfa16536a6ebcdbe545397b3058a4'
X# New ports collection makefile for:	nagios-check_clamav
X# Date created:				Fri 12 Jun 2009
X# Whom:					Alexey V. Degtyarev
X#
X# $FreeBSD: ports/net-mgmt/nagios-check_puppet/Makefile,v 1.1 2009/05/29 19:47:21 miwi Exp $
X#
X
XPORTNAME=	check_clamav
XPORTVERSION=	1.2
XCATEGORIES=	net-mgmt
XMASTER_SITES=	ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
XPKGNAMEPREFIX=	nagios-
X
XMAINTAINER=	alexey@renatasystems.org
XCOMMENT=	Nagios plugin that verifies ClamAV local signature database revision
X
XNO_BUILD=	yes
XUSE_PERL5_RUN=	yes
X
XRUN_DEPENDS+=	${LOCALBASE}/libexec/nagios/utils.pm:${PORTSDIR}/net-mgmt/nagios-plugins \
X		clamav>=0:${PORTSDIR}/security/clamav \
X		p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
X
XPLIST_FILES=	libexec/nagios/check_clamav
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/check_clamav \
X		${PREFIX}/libexec/nagios/check_clamav
X
X.include <bsd.port.mk>
53cbfa16536a6ebcdbe545397b3058a4
echo x - nagios-check_clamav/distinfo
sed 's/^X//' >nagios-check_clamav/distinfo << 'b3c4be1c82f05f2eefc0a23f65f396bf'
XMD5 (check_clamav-1.2.tar.gz) = 817d489f3a4981b6ba5984b801d35b11
XSHA256 (check_clamav-1.2.tar.gz) = 08c95ca0925370419e011ef5964fd2697303dee87d006a48cac4526779018491
XSIZE (check_clamav-1.2.tar.gz) = 2795
b3c4be1c82f05f2eefc0a23f65f396bf
echo x - nagios-check_clamav/pkg-descr
sed 's/^X//' >nagios-check_clamav/pkg-descr << 'eba77257b988467d32f0869370f396d5'
XThis check plugin is a Perl script which compares your local signature database
X(daily.cvd) version to the version advertised from the ClamAV site. It verifies
Xthe latest ClamAV revision using a DNS TXT query against
Xcurrent.cvd.clamav.net.
X
XWWW: http://bsd.phoenix.az.us/projects/check_clamav
eba77257b988467d32f0869370f396d5
exit
--- nagios-check_clamav.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090612152559.63610.qmail>