summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-SpamAssassin
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-02-26 14:56:44 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-02-26 14:56:44 +0000
commit10fcee4c62f50bf39a551b8507823922ecde9f4a (patch)
tree56852c6e149084c958479013cb758bc389dd24ef /mail/p5-Mail-SpamAssassin
parentUpdate vpopmail to version 5.2. (diff)
Better fix for ALL_CAPS problem
Notes
Notes: svn path=/head/; revision=55267
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile2
-rw-r--r--mail/p5-Mail-SpamAssassin/files/patch-rules-20_head_tests.cf2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile
index 1131e69df59a..6933b1a36ad4 100644
--- a/mail/p5-Mail-SpamAssassin/Makefile
+++ b/mail/p5-Mail-SpamAssassin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 2.01
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
diff --git a/mail/p5-Mail-SpamAssassin/files/patch-rules-20_head_tests.cf b/mail/p5-Mail-SpamAssassin/files/patch-rules-20_head_tests.cf
index 211360ea7abe..df8e517230e2 100644
--- a/mail/p5-Mail-SpamAssassin/files/patch-rules-20_head_tests.cf
+++ b/mail/p5-Mail-SpamAssassin/files/patch-rules-20_head_tests.cf
@@ -5,7 +5,7 @@
describe TO_INVESTORS To: non-existent 'Investors' address
-header SUBJ_ALL_CAPS Subject =~ /^[A-Z0-9\W]{6,}[^a-z]+$/
-+header SUBJ_ALL_CAPS Subject =~ /^[A-Z0-9]{6,}[^a-z]+$/
++header SUBJ_ALL_CAPS Subject =~ /^[^[:lower:]]*([[:upper:]][^[:lower:]]*){6,}[^[:lower:]]*$/
describe SUBJ_ALL_CAPS Subject is all capitals
# (allow this test to pass if there's no Message-Id header)