diff options
author | ache <ache@FreeBSD.org> | 2002-02-26 22:56:44 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-02-26 22:56:44 +0800 |
commit | ee8ed75074963f577f71ac1d3bd94767f95da1ca (patch) | |
tree | f8b31e1810d839533e4cde8a64c66a2f3c723dfe | |
parent | c19336d24655bcc9b0c012b3db3fae747ff4d706 (diff) | |
download | freebsd-ports-gnome-ee8ed75074963f577f71ac1d3bd94767f95da1ca.tar.gz freebsd-ports-gnome-ee8ed75074963f577f71ac1d3bd94767f95da1ca.tar.zst freebsd-ports-gnome-ee8ed75074963f577f71ac1d3bd94767f95da1ca.zip |
Better fix for ALL_CAPS problem
-rw-r--r-- | mail/p5-Mail-SpamAssassin/Makefile | 2 | ||||
-rw-r--r-- | mail/p5-Mail-SpamAssassin/files/patch-rules-20_head_tests.cf | 2 |
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) |