summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-10-20 06:29:50 +0000
committergrant <grant@pkgsrc.org>2004-10-20 06:29:50 +0000
commitc3ba14a991be68e38400d3b8fbf5a6c2d490bc60 (patch)
tree0ac747b12ad52c697ffe13a30315d374abc15937
parent827682d60fd2433edbeb1aa710e6481a38979b18 (diff)
downloadpkgsrc-c3ba14a991be68e38400d3b8fbf5a6c2d490bc60.tar.gz
update p5-Mail-ClamAV to 0.12.
changes since 0.11: 0.12 Mon Oct 18 05:22:54 PM 2004 - 0.80 came out today. Updated code to work with the new version, this however breaks backwards compatibility. - Updated tests for all the changes. 0.12 Thu Aug 12 02:12:55 PM 2004 - Fixed an issue in Makefile.PL which was causing problems with Solaris make implementation thanks to Mike Brudenell <pmb1 [] york * ac * uk>. - Added taint checking to scan(). It now croaks if a file path passed in is tainted. This only happens under -T. Reported by Mark Martinec <Mark * Martinec [] ijs * si> - Added "+" overload for the status object. Also reported by Mark Martinec <Mark * Martinec [] ijs * si> - Added tests for the above changes.
-rw-r--r--mail/p5-Mail-ClamAV/Makefile7
-rw-r--r--mail/p5-Mail-ClamAV/distinfo7
-rw-r--r--mail/p5-Mail-ClamAV/patches/patch-aa22
3 files changed, 8 insertions, 28 deletions
diff --git a/mail/p5-Mail-ClamAV/Makefile b/mail/p5-Mail-ClamAV/Makefile
index 812403890c3..2c31661788b 100644
--- a/mail/p5-Mail-ClamAV/Makefile
+++ b/mail/p5-Mail-ClamAV/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2004/10/19 01:06:03 grant Exp $
+# $NetBSD: Makefile,v 1.5 2004/10/20 06:29:50 grant Exp $
-DISTNAME= Mail-ClamAV-0.11
+DISTNAME= Mail-ClamAV-0.12
PKGNAME= p5-${DISTNAME}
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
@@ -10,6 +10,9 @@ COMMENT= Perl5 module for mail/clamav virus scanner
DEPENDS+= p5-Inline>=0.40:../../devel/p5-Inline
+# this version needs clamav>=0.80
+BUILDLINK_DEPENDS.clamav+= clamav>=0.80
+
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/ClamAV/.packlist
diff --git a/mail/p5-Mail-ClamAV/distinfo b/mail/p5-Mail-ClamAV/distinfo
index ebac14d468d..b3f724eccaf 100644
--- a/mail/p5-Mail-ClamAV/distinfo
+++ b/mail/p5-Mail-ClamAV/distinfo
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.2 2004/10/19 01:06:03 grant Exp $
+$NetBSD: distinfo,v 1.3 2004/10/20 06:29:50 grant Exp $
-SHA1 (Mail-ClamAV-0.11.tar.gz) = 2e4fa2af6619b86ba4db2856022363879e050e43
-Size (Mail-ClamAV-0.11.tar.gz) = 11035 bytes
-SHA1 (patch-aa) = a1920445e68c1acdaa985297fc17b47c0ad0a3a4
+SHA1 (Mail-ClamAV-0.12.tar.gz) = 096c02ed5ec37434c1abf25cc981672ef3dcf947
+Size (Mail-ClamAV-0.12.tar.gz) = 11986 bytes
diff --git a/mail/p5-Mail-ClamAV/patches/patch-aa b/mail/p5-Mail-ClamAV/patches/patch-aa
deleted file mode 100644
index 2c843960f1a..00000000000
--- a/mail/p5-Mail-ClamAV/patches/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/10/19 01:06:03 grant Exp $
-
---- ClamAV.pm.orig 2004-06-29 06:09:50.000000000 +1000
-+++ ClamAV.pm
-@@ -61,8 +61,6 @@ our %EXPORT_TAGS = ( 'all' => [ qw(
- CL_ENCRYPTED
- CL_RAW
- CL_DISABLERAR
-- CL_MIN_LENGTH
-- CL_NUM_CHILDS
-
- CL_VIRUS
- CL_CLEAN
-@@ -436,8 +434,6 @@ int clamav_perl_constant(char *name)
- if (strEQ("CL_OLE2", name)) return CL_OLE2;
- if (strEQ("CL_ENCRYPTED", name)) return CL_ENCRYPTED;
- if (strEQ("CL_DISABLERAR", name)) return CL_DISABLERAR;
-- if (strEQ("CL_NUM_CHILDS", name)) return CL_NUM_CHILDS;
-- if (strEQ("CL_MIN_LENGTH", name)) return CL_MIN_LENGTH;
-
- if (strEQ("CL_VIRUS", name)) return CL_VIRUS;
- if (strEQ("CL_CLEAN", name)) return CL_CLEAN;