aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-ClamAV
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2007-12-20 07:08:38 +0800
committergarga <garga@FreeBSD.org>2007-12-20 07:08:38 +0800
commit050756bc128278e28168c6d58d622cbc96829210 (patch)
treeefc996737ae28114fe14434afcbc8688c1ed6097 /mail/p5-Mail-ClamAV
parent466f9a0fac001ae3a13cd61d2943937e4ee7e24e (diff)
downloadfreebsd-ports-gnome-050756bc128278e28168c6d58d622cbc96829210.tar.gz
freebsd-ports-gnome-050756bc128278e28168c6d58d622cbc96829210.tar.zst
freebsd-ports-gnome-050756bc128278e28168c6d58d622cbc96829210.zip
- Update security/clamav to 0.92
- Add a new OPTION (RAR) because unrar code is optional to fix a license issue - Some cosmetic changes - Chase library version bump and bump PORTREVISION of all dependant ports Approved by: portmgr (pav) Security: CVE-2007-6335, CVE-2007-6336, CVE-2007-6337
Diffstat (limited to 'mail/p5-Mail-ClamAV')
-rw-r--r--mail/p5-Mail-ClamAV/Makefile1
-rw-r--r--mail/p5-Mail-ClamAV/files/patch-ClamAV.pm31
2 files changed, 29 insertions, 3 deletions
diff --git a/mail/p5-Mail-ClamAV/Makefile b/mail/p5-Mail-ClamAV/Makefile
index 39b556167b9b..b2c3cfb468ab 100644
--- a/mail/p5-Mail-ClamAV/Makefile
+++ b/mail/p5-Mail-ClamAV/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Mail-ClamAV
PORTVERSION= 0.20
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
diff --git a/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm b/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm
index 44df1f38bede..13ed5d038a43 100644
--- a/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm
+++ b/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm
@@ -1,6 +1,17 @@
---- ../Mail-ClamAV-0.05.orig/ClamAV.pm Mon Feb 23 16:04:36 2004
-+++ ClamAV.pm Mon Feb 23 16:05:17 2004
-@@ -138,12 +138,9 @@
+--- ClamAV.pm.orig 2007-02-20 11:42:16.000000000 -0200
++++ ClamAV.pm 2007-12-18 14:31:54.000000000 -0200
+@@ -73,10 +73,6 @@
+ CL_ESUPPORT
+ CL_ELOCKDB
+
+- CL_ENCINIT
+- CL_ENCLOAD
+- CL_ENCIO
+-
+ CL_SCAN_RAW
+ CL_SCAN_ARCHIVE
+ CL_SCAN_MAIL
+@@ -169,12 +165,9 @@
VERSION => $VERSION,
PREFIX => 'clamav_perl_',
NAME => "Mail::ClamAV",
@@ -16,3 +27,17 @@
use Inline C => <<'END_OF_C';
#include <stdio.h>
#include <string.h>
+@@ -496,13 +489,7 @@
+ if (strEQ("CL_ESUPPORT", name)) return CL_ESUPPORT;
+ if (strEQ("CL_ELOCKDB", name)) return CL_ELOCKDB;
+
+- /* NodalCore */
+- if (strEQ("CL_ENCINIT", name)) return CL_ENCINIT;
+- if (strEQ("CL_ENCLOAD", name)) return CL_ENCLOAD;
+- if (strEQ("CL_ENCIO", name)) return CL_ENCIO;
+-
+ /* db options */
+- if (strEQ("CL_DB_NCORE", name)) return CL_DB_NCORE;
+ if (strEQ("CL_DB_PHISHING", name)) return CL_DB_PHISHING;
+ if (strEQ("CL_DB_ACONLY", name)) return CL_DB_ACONLY;
+ if (strEQ("CL_DB_PHISHING_URLS", name)) return CL_DB_PHISHING_URLS;