diff options
author | Wes Peters <wes@FreeBSD.org> | 2007-07-14 03:07:32 +0000 |
---|---|---|
committer | Wes Peters <wes@FreeBSD.org> | 2007-07-14 03:07:32 +0000 |
commit | ea6df57fe93e142ee5eabb6fd23de5c94e21f6ee (patch) | |
tree | 581e7b9bbe5774f3d676b1d6c5827e0926e083cf /mail/mimedefang | |
parent | 3034d94e677c00cc00546fe59b90130e23d419e7 (diff) | |
download | ports-ea6df57fe93e142ee5eabb6fd23de5c94e21f6ee.tar.gz ports-ea6df57fe93e142ee5eabb6fd23de5c94e21f6ee.zip |
Upgrade to Mimedefang 2.62
PR: ports/114187
Submitted by: Robin Gruyters <r.gruyters@yirdis.nl> (partially)
Notes
Notes:
svn path=/head/; revision=195552
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); - } |