[32453] trunk/dports/perl/p5-mail-clamav
ricci at macports.org
ricci at macports.org
Wed Jan 2 12:18:16 PST 2008
Revision: 32453
http://trac.macosforge.org/projects/macports/changeset/32453
Author: ricci at macports.org
Date: 2008-01-02 12:18:14 -0800 (Wed, 02 Jan 2008)
Log Message:
-----------
add patch to remove NodalCore support as its not (automatically) built in to ClamAV anymore (0.92).
Modified Paths:
--------------
trunk/dports/perl/p5-mail-clamav/Portfile
Added Paths:
-----------
trunk/dports/perl/p5-mail-clamav/files/
trunk/dports/perl/p5-mail-clamav/files/patch-ClamAV.pm.diff
Modified: trunk/dports/perl/p5-mail-clamav/Portfile
===================================================================
--- trunk/dports/perl/p5-mail-clamav/Portfile 2008-01-02 18:43:53 UTC (rev 32452)
+++ trunk/dports/perl/p5-mail-clamav/Portfile 2008-01-02 20:18:14 UTC (rev 32453)
@@ -1,10 +1,12 @@
# $Id$
PortSystem 1.0
+
PortGroup perl5 1.0
+
perl5.setup Mail-ClamAV 0.20
revision 0
-maintainers ricci at macports.org
+maintainers ricci
description Perl interface to the clamav virus scanner
long_description Clam AntiVirus is an anti-virus toolkit for UNIX. \
This module provide a simple interface to its C API.
@@ -16,4 +18,5 @@
depends_lib-append port:clamav \
port:p5-inline
-## vi:set noai ts=4:
+patchfiles patch-ClamAV.pm.diff
+
Added: trunk/dports/perl/p5-mail-clamav/files/patch-ClamAV.pm.diff
===================================================================
--- trunk/dports/perl/p5-mail-clamav/files/patch-ClamAV.pm.diff (rev 0)
+++ trunk/dports/perl/p5-mail-clamav/files/patch-ClamAV.pm.diff 2008-01-02 20:18:14 UTC (rev 32453)
@@ -0,0 +1,46 @@
+--- ClamAV.pm.orig 2008-01-02 12:02:25.000000000 -0800
++++ ClamAV.pm 2008-01-02 12:03:13.000000000 -0800
+@@ -73,10 +73,6 @@
+ CL_ESUPPORT
+ CL_ELOCKDB
+
+- CL_ENCINIT
+- CL_ENCLOAD
+- CL_ENCIO
+-
+ CL_SCAN_RAW
+ CL_SCAN_ARCHIVE
+ CL_SCAN_MAIL
+@@ -496,13 +492,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;
+@@ -849,18 +839,6 @@
+
+ can't lock DB directory
+
+-=item CL_ENCINIT
+-
+-NodalCore initialization failed
+-
+-=item CL_ENCLOAD
+-
+-error loading NodalCore database
+-
+-=item CL_ENCIO
+-
+-general NodalCore I/O error
+-
+ =back
+
+ =head2 Exportable functions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080102/683b29cb/attachment.html
More information about the macports-changes
mailing list