From 40786d825ee228daa26753d4b9b920854b2552a3 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 23 Nov 2006 23:08:30 +0000 Subject: [PATCH] A library for connecting to and sending commands to a local ClamAV clamd service - an anti-virus daemon process. You can find more information about clam anti-virus at WWW: http://www.clamav.net/ File::Scan::ClamAV was originally based on the Clamd module Submitted by: Jan-Peter Koopmann --- security/Makefile | 1 + security/p5-File-Scan-ClamAV/Makefile | 31 ++++++++++++++++++++++++++ security/p5-File-Scan-ClamAV/distinfo | 3 +++ security/p5-File-Scan-ClamAV/pkg-descr | 7 ++++++ security/p5-File-Scan-ClamAV/pkg-plist | 7 ++++++ 5 files changed, 49 insertions(+) create mode 100644 security/p5-File-Scan-ClamAV/Makefile create mode 100644 security/p5-File-Scan-ClamAV/distinfo create mode 100644 security/p5-File-Scan-ClamAV/pkg-descr create mode 100644 security/p5-File-Scan-ClamAV/pkg-plist diff --git a/security/Makefile b/security/Makefile index e4864388ad74..c0695eb01b85 100644 --- a/security/Makefile +++ b/security/Makefile @@ -438,6 +438,7 @@ SUBDIR += p5-Digest-Whirlpool SUBDIR += p5-Email-Obfuscate SUBDIR += p5-File-Scan + SUBDIR += p5-File-Scan-ClamAV SUBDIR += p5-Filter-CBC SUBDIR += p5-Filter-Crypto SUBDIR += p5-GD-SecurityImage diff --git a/security/p5-File-Scan-ClamAV/Makefile b/security/p5-File-Scan-ClamAV/Makefile new file mode 100644 index 000000000000..38bc8c45e180 --- /dev/null +++ b/security/p5-File-Scan-ClamAV/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: File-Scan-ClamAV +# Date created: 2006-11-24 +# Whom: Jan-Peter Koopmann +# +# $FreeBSD$ +# + +PORTNAME= File-Scan-ClamAV +PORTVERSION= 1.8 +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= File +PKGNAMEPREFIX= p5- + +MAINTAINER= j.koopmann@seceidos.de +COMMENT= Perl extension for the clamav virus scanner + +BUILD_DEPENDS= clamscan:${PORTSDIR}/security/clamav +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= File::Scan::ClamAV.3 + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.x or later. Install lang/perl5 and try again +.endif + +.include diff --git a/security/p5-File-Scan-ClamAV/distinfo b/security/p5-File-Scan-ClamAV/distinfo new file mode 100644 index 000000000000..6b5fbb11964f --- /dev/null +++ b/security/p5-File-Scan-ClamAV/distinfo @@ -0,0 +1,3 @@ +MD5 (File-Scan-ClamAV-1.8.tar.gz) = f447f42ca91d8aa66d33dddfcb69b3d9 +SHA256 (File-Scan-ClamAV-1.8.tar.gz) = 5aec0cb6e7bc7b76192f336cbf47aaf8f23011c1d60979624d3468363112e80c +SIZE (File-Scan-ClamAV-1.8.tar.gz) = 6799 diff --git a/security/p5-File-Scan-ClamAV/pkg-descr b/security/p5-File-Scan-ClamAV/pkg-descr new file mode 100644 index 000000000000..9e2f9cababbc --- /dev/null +++ b/security/p5-File-Scan-ClamAV/pkg-descr @@ -0,0 +1,7 @@ +A library for connecting to and sending commands to a local +ClamAV clamd service - an anti-virus daemon process. + +You can find more information about clam anti-virus at +WWW: http://www.clamav.net/ + +File::Scan::ClamAV was originally based on the Clamd module diff --git a/security/p5-File-Scan-ClamAV/pkg-plist b/security/p5-File-Scan-ClamAV/pkg-plist new file mode 100644 index 000000000000..c4c731a55a65 --- /dev/null +++ b/security/p5-File-Scan-ClamAV/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Scan/ClamAV/.packlist +%%SITE_PERL%%/File/Scan/ClamAV.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Scan/ClamAV +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Scan 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/File/Scan 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true