aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Mail-ClamAV
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2007-12-19 23:08:38 +0000
committerRenato Botelho <garga@FreeBSD.org>2007-12-19 23:08:38 +0000
commite74905e54bdaced2d06fbc274a14a42b211d3126 (patch)
tree2aa5e741bcd48e2b1212e1da5c91c272aa68a881 /mail/p5-Mail-ClamAV
parent19a8a2ec339772a805b5fb6ff0cfb1a6d41c3aee (diff)
downloadports-e74905e54bdaced2d06fbc274a14a42b211d3126.tar.gz
ports-e74905e54bdaced2d06fbc274a14a42b211d3126.zip
Notes
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;