summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-SpamAssassin
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-03-03 10:19:28 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-03-03 10:19:28 +0000
commitd03e331624c723fe2bf1a97757d3df494024c0a0 (patch)
treea0b83787992062b19e2946abf411907adb2e57bd /mail/p5-Mail-SpamAssassin
parentStar Trek Voyager: Elite Force for Linux dedicated server. (diff)
Fix situation when legal hotmail headers treated as fake ones
Notes
Notes: svn path=/head/; revision=55472
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile2
-rw-r--r--mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm13
2 files changed, 12 insertions, 3 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index 9f5bb966ce90..4b347b74f99f 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 2.01
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
diff --git a/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm b/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm
index c1307e54631d..c6758efc6be7 100644
--- a/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm
+++ b/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm
@@ -1,5 +1,14 @@
---- lib/Mail/SpamAssassin/EvalTests.pm.bak Fri Jan 25 07:36:02 2002
-+++ lib/Mail/SpamAssassin/EvalTests.pm Tue Feb 26 19:17:43 2002
+--- lib/Mail/SpamAssassin/EvalTests.pm.orig Fri Jan 25 07:36:02 2002
++++ lib/Mail/SpamAssassin/EvalTests.pm Sun Mar 3 13:02:37 2002
+@@ -115,7 +115,7 @@
+ my $rcvd = $self->get ('Received');
+ $rcvd =~ s/\s+/ /gs; # just spaces, simplify the regexp
+
+- my $ip = $self->get ('X-Originating-Ip');
++ my $ip = $self->get ('X-Originating-IP');
+ if ($ip =~ /\d+\.\d+\.\d+\.\d+/) { $ip = 1; } else { $ip = 0; }
+
+ # Hotmail formats its received headers like this:
@@ -688,10 +688,17 @@
sub check_for_faraway_charset_in_headers {