2013-09-21 00:24:43 +02:00
|
|
|
# Created by: Alexey V. Degtyarev
|
2009-06-14 00:31:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= check_clamav
|
|
|
|
PORTVERSION= 1.2
|
2014-05-14 17:29:46 +02:00
|
|
|
PORTREVISION= 2
|
2009-06-14 00:31:47 +02:00
|
|
|
CATEGORIES= net-mgmt
|
|
|
|
MASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
|
|
|
|
PKGNAMEPREFIX= nagios-
|
|
|
|
|
2018-07-19 00:20:23 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2009-06-14 00:31:47 +02:00
|
|
|
COMMENT= Nagios plugin that verifies ClamAV local signature database revision
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2014-05-14 17:29:46 +02:00
|
|
|
USES= perl5 shebangfix
|
2013-09-03 18:18:49 +02:00
|
|
|
USE_PERL5= run
|
2014-05-14 17:29:46 +02:00
|
|
|
SHEBANG_FILES= check_clamav
|
2009-06-14 00:31:47 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/libexec/nagios/utils.pm:net-mgmt/nagios-plugins \
|
|
|
|
clamav>=0:security/clamav \
|
|
|
|
p5-Net-DNS>=0:dns/p5-Net-DNS
|
2009-06-14 00:31:47 +02:00
|
|
|
|
|
|
|
PLIST_FILES= libexec/nagios/check_clamav
|
|
|
|
|
|
|
|
do-install:
|
2014-05-14 17:29:46 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
2009-06-14 00:31:47 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/check_clamav \
|
2014-05-14 17:29:46 +02:00
|
|
|
${STAGEDIR}${PREFIX}/libexec/nagios/check_clamav
|
2009-06-14 00:31:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|