FreeBSD Bugzilla – Attachment 184279 Details for
Bug 220474
mail/spamassassin unescaped left brace in regex, lib/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm line 921
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch from spamassassin bugzilla.
ports.ports.spamassassin.perlfix.diff (text/plain), 2.42 KB, created by
Niclas Zeising
on 2017-07-11 18:28:00 UTC
(
hide
)
Description:
patch from spamassassin bugzilla.
Filename:
MIME Type:
Creator:
Niclas Zeising
Created:
2017-07-11 18:28:00 UTC
Size:
2.42 KB
patch
obsolete
>Index: mail/spamassassin/Makefile >=================================================================== >--- mail/spamassassin/Makefile (revision 445503) >+++ mail/spamassassin/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= spamassassin > PORTVERSION= 3.4.1 >-PORTREVISION?= 10 # also bump japanese/spamassassin >+PORTREVISION?= 11 # also bump japanese/spamassassin > CATEGORIES?= mail perl5 > MASTER_SITES= APACHE/spamassassin/source CPAN/Mail > DISTNAME= Mail-SpamAssassin-${PORTVERSION} >Index: mail/spamassassin/files/patch-lib_Mail_SpamAssassin_PerMsgStatus.pm >=================================================================== >--- mail/spamassassin/files/patch-lib_Mail_SpamAssassin_PerMsgStatus.pm (nonexistent) >+++ mail/spamassassin/files/patch-lib_Mail_SpamAssassin_PerMsgStatus.pm (working copy) >@@ -0,0 +1,23 @@ >+--- lib/Mail/SpamAssassin/PerMsgStatus.pm.orig 2015-04-28 19:56:49 UTC >++++ lib/Mail/SpamAssassin/PerMsgStatus.pm >+@@ -914,16 +914,16 @@ sub get_content_preview { >+ $str .= shift @{$ary}; >+ } >+ undef $ary; >+- chomp ($str); $str .= " [...]\n"; >+ >+ # in case the last line was huge, trim it back to around 200 chars >+ local $1; >+- $str =~ s/^(.{,200}).*$/$1/gs; >++ $str =~ s/^(.{200}).+$/$1 [...]/gm; >++ chomp ($str); $str .= "\n"; >+ >+ # now, some tidy-ups that make things look a bit prettier >+- $str =~ s/-----Original Message-----.*$//gs; >++ $str =~ s/-----Original Message-----.*$//gm; >+ $str =~ s/This is a multi-part message in MIME format\.//gs; >+- $str =~ s/[-_\*\.]{10,}//gs; >++ $str =~ s/[-_*.]{10,}//gs; >+ $str =~ s/\s+/ /gs; >+ >+ # add "Content preview:" ourselves, so that the text aligns > >Property changes on: mail/spamassassin/files/patch-lib_Mail_SpamAssassin_PerMsgStatus.pm >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: japanese/spamassassin/Makefile >=================================================================== >--- japanese/spamassassin/Makefile (revision 445503) >+++ japanese/spamassassin/Makefile (working copy) >@@ -1,7 +1,7 @@ > # Created by: TAOKA Fumiyoshi > # $FreeBSD$ > >-PORTREVISION= 7 >+PORTREVISION= 8 > CATEGORIES= japanese mail perl5 > PKGNAMEPREFIX= ja- >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220474
:
184066
| 184279