diff options
author | wes <wes@FreeBSD.org> | 2007-07-14 11:07:32 +0800 |
---|---|---|
committer | wes <wes@FreeBSD.org> | 2007-07-14 11:07:32 +0800 |
commit | 780518c8f04d8d8dbbc818324391261210df3490 (patch) | |
tree | fd7dacfe35d5575b42b35a6e087e12cce76ad19e /mail/mimedefang | |
parent | 63a5c440c67b1aa82fbe49fd23e5cc12646cbde0 (diff) | |
download | freebsd-ports-gnome-780518c8f04d8d8dbbc818324391261210df3490.tar.gz freebsd-ports-gnome-780518c8f04d8d8dbbc818324391261210df3490.tar.zst freebsd-ports-gnome-780518c8f04d8d8dbbc818324391261210df3490.zip |
Upgrade to Mimedefang 2.62
PR: ports/114187
Submitted by: Robin Gruyters <r.gruyters@yirdis.nl> (partially)
Diffstat (limited to 'mail/mimedefang')
-rw-r--r-- | mail/mimedefang/Makefile | 3 | ||||
-rw-r--r-- | mail/mimedefang/distinfo | 6 | ||||
-rw-r--r-- | mail/mimedefang/files/patch-mimedefang.pl.in | 50 |
3 files changed, 7 insertions, 52 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile index 992ba1a05d55..bb66ce429467 100644 --- a/mail/mimedefang/Makefile +++ b/mail/mimedefang/Makefile @@ -6,8 +6,7 @@ # PORTNAME= mimedefang -PORTVERSION= 2.61 -PORTREVISION= 1 +PORTVERSION= 2.62 CATEGORIES= mail MASTER_SITES= http://www.mimedefang.org/static/ diff --git a/mail/mimedefang/distinfo b/mail/mimedefang/distinfo index 488a9d78e7ac..b74d06c8d463 100644 --- a/mail/mimedefang/distinfo +++ b/mail/mimedefang/distinfo @@ -1,3 +1,3 @@ -MD5 (mimedefang-2.61.tar.gz) = 3da2d687a40bd8ed2ef4b1db3a5ea863 -SHA256 (mimedefang-2.61.tar.gz) = 9a3ca09b2d8bf40401aabf03ca0cb2b78bbf0583664238e0568e67f4526c1fb3 -SIZE (mimedefang-2.61.tar.gz) = 326722 +MD5 (mimedefang-2.62.tar.gz) = 2b040a77e93ab913a83aaa45a94a54a9 +SHA256 (mimedefang-2.62.tar.gz) = 95fcc2b43f6b6de3e0349e97ddb4994024dd52157b285c31380f1a99e2348611 +SIZE (mimedefang-2.62.tar.gz) = 329774 diff --git a/mail/mimedefang/files/patch-mimedefang.pl.in b/mail/mimedefang/files/patch-mimedefang.pl.in index 19be7a949f9c..f4acb4da3326 100644 --- a/mail/mimedefang/files/patch-mimedefang.pl.in +++ b/mail/mimedefang/files/patch-mimedefang.pl.in @@ -1,6 +1,6 @@ ---- mimedefang.pl.in.orig Sun Jun 12 18:36:52 2005 -+++ mimedefang.pl.in Sun Jun 12 18:37:35 2005 -@@ -191,7 +191,7 @@ +--- mimedefang.pl.in.orig Fri Jul 13 08:03:23 2007 ++++ mimedefang.pl.in Fri Jul 13 08:04:19 2007 +@@ -186,7 +186,7 @@ $FprotdHost = "127.0.0.1:10200"; $SophieSock = "@SPOOLDIR@/sophie"; @@ -9,47 +9,3 @@ $TrophieSock = "@SPOOLDIR@/trophie"; package MIME::Parser::ParanoidFiler; -@@ -3669,7 +3669,7 @@ - - # Run clamscan - my($code, $category, $action) = -- run_virus_scanner($Features{'Virus:CLAMAV'} . " --mbox --stdout --disable-summary --infected $path 2>&1"); -+ run_virus_scanner($Features{'Virus:CLAMAV'} . " --stdout --disable-summary --infected $path 2>&1"); - if ($action ne 'proceed') { - return (wantarray ? ($code, $category, $action) : $code); - } -@@ -3693,7 +3693,7 @@ - - # Run clamscan - my($code, $category, $action) = -- run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --mbox --stdout --disable-summary --infected ./Work 2>&1"); -+ run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --stdout --disable-summary --infected ./Work 2>&1"); - if ($action ne 'proceed') { - return (wantarray ? ($code, $category, $action) : $code); - } -@@ -4506,10 +4506,10 @@ - md_syslog('err', "$MsgID: Clamd returned error: $err_detail"); - # If it's a zip module failure, try falling back on clamscan. - # This is despicable, but it might work -- if ($err_detail =~ /zip module failure/i && -+ if ($err_detail =~ /(?:zip module failure|Not supported data format)/i && - $Features{'Virus:CLAMAV'}) { - my ($code, $category, $action) = -- run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --unzip --mbox --stdout --disable-summary --infected $CWD/Work 2>&1"); -+ run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --unzip --stdout --disable-summary --infected $CWD/Work 2>&1"); - if ($action ne 'proceed') { - return (wantarray ? ($code, $category, $action) : $code); - } -@@ -4603,10 +4603,10 @@ - md_syslog('err', "$MsgID: Clamd returned error: $err_detail"); - # If it's a zip module failure, try falling back on clamscan. - # This is despicable, but it might work -- if ($err_detail =~ /zip module failure/i && -+ if ($err_detail =~ /(?:zip module failure|Not supported data format)/i && - $Features{'Virus:CLAMAV'}) { - my ($code, $category, $action) = -- run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --unzip --mbox --stdout --disable-summary --infected $CWD/Work 2>&1"); -+ run_virus_scanner($Features{'Virus:CLAMAV'} . " -r --unzip --stdout --disable-summary --infected $CWD/Work 2>&1"); - if ($action ne 'proceed') { - return (wantarray ? ($code, $category, $action) : $code); - } |