PaulHowarth/Blog/2011-02-17

Thursday 17th February 2011

Fedora Project

  • Updated trac-spamfilter-plugin for F-14 and F-13 (for trac 0.11.x) to include some fixes for the Bayes classifier:

    • It was incompatible with spambayes 1.1, which was recently pushed to F-14 (upstream fix in changeset/9885)

    • It would crash like this if the spammer didn't use valid UTF-8 text:
    •     Trac detected an internal error:
      
          ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory
          that can interpret 8-bit bytestrings (like text_factory = str). It is highly
          recommended that you instead just switch your application to Unicode strings.
    • I raised this upstream only to be told it was already fixed - for trac 0.12, which wasn't much help to me given that Fedora 13 and 14 will never be updated beyond 0.11.x, but I trawled through the svn revision log and found the fixes in changeset/9932 and changeset/9933, which worked fine when applied to the 0.11.x code

Local Packages

  • Updated dovecot to add a missing section to dovecot's systemd service file (fix pulled from Fedora)

  • Updated perl-Locale-Maketext-Lexicon to 0.86:

    • Bumped version because the META file was showing an old version number

  • Updated perl-NetAddr-IP to 4.039:

    • Correct documentation for 'split' methods

  • Updated perl-PPIx-Regexp to 0.018:

    • Take account of possible '$' or '@' casts before a symbol in an interpolation (e.g. $$foo{bar}, which is equivalent to $foo->{bar})

    • Override ppi() in PPIx::Regexp::Token::Interpolation to provide the proper PPI when variable names are bracketed

    • Properly parse bracketed variable names, which may not be subscripted


Recent