Paul's Blog Entries for December 2011

Thursday 1st December 2011

Local Packages

  • Updated dovecot to do systemctl daemon-reload in %postun iff the target distribution is systemd-based, thus preventing warnings about dovecot.service having changed on disk when doing systemctl status dovecot.service

  • Updated perl-Test-NoWarnings to 1.04:

    • Added the experimental :early debugging pragma to cause warnings to be emitted immediately (this should stay off otherwise)

Friday 2nd December 2011

Local Packages

  • Updated perl-Test-Version to 1.001003-TRIAL:

    • Check if versions are strict
    • Provide is_strict setting to decide what to do if they aren't strict

    • Provide has_version setting to disable that a module must always have a version

    • Use perl decimal style semantic versioning because of bugs in ExtUtils::MakeMaker with vstring versions

    • Fix some issues in the pod
    • Use Module::Metadata - apparently it's closer to how Perl works than Module::Extract::VERSION

  • Updated php-Smarty to 3.1.6:

    • Bugfix: Smarty_Resource::load() did not always return a proper resource handler (Forum Topic 20414)

    • Added escape argument to html_checkboxes and html_radios (Forum Topic 20425)

    • Bugfix: declare all directory properties private to map direct access to getter/setter also on extended Smarty class
    • Bugfix: cache file could include unneeded modifier plugins under certain conditions
    • Bugfix: a subtemplate later used as main template used old variable values
    • Bugfix: {html_select_date} and {html_select_time} did not default to current time if "time" was not specified since r4432 (Issue 60)

    • Bugfix: added exception if the default plugin handler returned a non-static callback (Forum Topic 20512)
    • Bugfix: is_cache() for individual cached subtemplates with $smarty->caching = CACHING_OFF produced an exception (Forum Topic 20531)

Sunday 4th December 2011

Fedora Project

  • Updated perl-Compress-Raw-Bzip2, perl-Compress-Raw-Zlib and perl-Compress-Raw-Lzma to 2.044 in Rawhide:

    • Moved FAQ.pod under the lib directory so it can get installed

  • Updated perl-IO-Compress to 2.044 in Rawhide:

    • Moved FAQ.pod under the lib directory so it can get installed

    • Added bin/zipdetails

    • In IO::Compress::Zip, in one-shot mode, enable Zip64 mode if the input file/buffer ≥ 0xFFFFFFFF bytes

    • Update IO::Compress::FAQ

  • Updated perl-IO-Compress-Lzma to 2.044 in Rawhide:

    • Moved FAQ.pod under the lib directory so it can get installed

Local Packages

  • Updated perl-Compress-Raw-Bzip2, perl-Compress-Raw-Zlib, perl-Compress-Raw-Lzma, perl-IO-Compress and perl-IO-Compress-Lzma to 2.044 as per the Fedora versions

Monday 5th December 2011

Fedora Project

  • Updated perl-Compress-Raw-Bzip2 to 2.045 in Rawhide:

    • Moved FAQ.pod to IO::Compress

  • Updated perl-Compress-Raw-Lzma to 2.045 in Rawhide:

    • Moved FAQ.pod to IO::Compress

  • Updated perl-Compress-Raw-Zlib to 2.045 in Rawhide:

    • Moved FAQ.pod into

  • Updated perl-IO-Compress to 2.045 in Rawhide:

    • Restructured IO::Compress::FAQ.pod

  • Updated perl-IO-Compress-Lzma to 2.045 in Rawhide:

    • Moved FAQ.pod to IO::Compress

Local Packages

  • Updated the IO::Compress stack to 2.045 as per the Fedora versions

Tuesday 6th December 2011

Local Packages

  • Updated dovecot (2.0) to update pigeonhole to 0.2.5:

    • vacation extension: finally added support for using the original recipient in vacation address check

    • include extension: made limits on the include depth and the total number of included scripts configurable

    • Implemented ihave extension, which allows checking for the availability of Sieve language extensions at 'runtime' (actually, this is checked at compile time but at runtime the interpreter checks whether extensions that were not previously available are still unavailable and if the situation changed, the script is re-compiled and the ihave tests are evaluated again)

    • Sieve: optimized compilation of tests that yield constant results (i.e. known at compile time), such as 'true' and 'false'; no code is produced any more for script sections that are never executed

    • Made vnd.dovecot.debug extension available to the LDA plugin instead of only the command line tools

    • Sieve: redirect action now adds X-Sieve-Redirected-From header (mainly for people using SPF/SRS)

    • Sieve: fixed bug in handling flags and keywords; in case of error an assertion was triggered
    • Script storage: improved handling of unconfigured user home directory; originally this would produce an unhelpful error message
    • imap4flags extension: prevent forcibly enabling imap4flags when imapflags is enabled

    • Fixed various -Wunused-but-set-variable compiler warnings

    • include extension: forgot to check variable identifier syntax for 'global' command

    • Sieve: fixed debug mode; no messages were logged in some situations
    • sievec tool: forgot to enable -D (debug) parameter

    • Sieve vacation extension: made discard message for implicit delivery more verbose

    • The sieve-test tool: mixed up original and final envelope recipient in implementation of command line arguments

    • Sieve vacation extension: resolved FIXME regarding the use of variables in the :handle argument; variables are now handled correctly

    • Sieve body extension: fixed handling of :content "message/rfc822", which now yields the headers of the embedded message as required by the specification; handling of :content "multipart" remains to be fixed

    • LDA Sieve plugin: fixed problem with recipient_delimiter configuration; now it falls back to global recipient_delimiter setting if plugin/recipient_delimiter is not set

  • Updated perl-HTML-Lint to 2.10:

    • HTML::Lint is now explicitly licensed under Artistic License 2.0

    • Tags that were self-closed (such as <img src="blah.jpg" />) were being ignored; this has been fixed

  • The package now requires HTML::Parser ≥ 3.47 for empty_element_tags support, so the updated version is not available for distributions prior to FC-5

Wednesday 7th December 2011

Fedora Project

  • Updated perl-IO-Socket-SSL in Rawhide to 1.52:

    • Fix for t/nonblock.t hangs on AIX (CPAN RT#72305)

    • Disable t/memleak_bad_handshake.t on AIX, because it might hang (CPAN RT#72170)

    • Fix syntax error in t/memleak_bad_handshake.t

Local Packages

  • Updated perl-ExtUtils-ParseXS to 3.07:

    • Fix Cygwin issues and avoid conflicting static/dllexport on legacy perls too (CPAN RT#71964, CPAN RT#72313)

    • Convert ` to '

    • Avoid some test-time warnings
  • Updated perl-IO-Socket-SSL to 1.52 as per the Fedora version

Thursday 8th December 2011

Local Packages

  • Updated dkms to

  • Updated nmap not to include its own certificate bundle, so the system one gets used instead (Bug #734389)

  • Updated perl-PPIx-Regexp to 0.023:

    • Correct address of FSF in the version of the GPL distributed in LICENSES/Copying

  • Updated python-pyasn1 to 0.1.2:

    • Fix to __long__() to actually return longs on py2k

    • Fix to OctetString.__str__() workings of a non-initialized object

    • Fix to quote initializer of OctetString.__repr__()

    • Minor fix towards ObjectIdentifier.prettyIn() reliability

    • ObjectIdentifier.__str__() is aliased to prettyPrint()

    • Explicit repr() calls replaced with '%r'

Friday 9th December 2011

RPM Fusion Project

  • Updated xv in Rawhide to include patch for libpng 1.5 from Gentoo and rebuilt it

Local Packages

  • Updated xv to include patch for libpng 1.5 from Gentoo but unlike the RPM Fusion build, my local package builds against libpng10 (I use it to test libpng10 fixes) so it's not actually built against libpng 1.5 in Rawhide, though the support is there if I go that way in the future

Saturday 10th December 2011

Local Packages

  • Updated perl-BerkeleyDB to 0.50:

    • Updates for BDB 5.3

Sunday 11th December 2011

Local Packages

  • Updated perl-Regexp-Common to 2011121001:

    • Fixed a few cases where $[ was used instead of $] (CPAN RT#73033)

    • Typo fix in docs
    • Add an explicit 1 to end the main module; otherwise it may fail under Mason

Monday 12th December 2011

Fedora Project

Local Packages

  • Updated getmail to 4.24.0:

    • Add an explicit expunge when closing an IMAP mailbox, for servers that incorrectly do not do this when the mailbox is closed
    • Fix incorrect section reference for 'mailboxes' parameter in documentation

    • Fix getmail_fetch, broken in 4.21.0

  • Updated perl-AnyEvent to 3.12:

    • $! was clobbered by subsequent calls in tcp_connect, due to the postpone not saving/restoring it

  • Updated perl-IO-Socket-SSL to 1.53 as per the Fedora version

Tuesday 13th December 2011

Fedora Project

  • Updated perl-CPAN-Meta-YAML in Rawhide to 0.005:

    • Fix documentation to clarify that users are responsible for UTF-8 encoding/decoding

Local Packages

  • Updated java-1.6.0-sun to Java SE 6 Update 30 (see SunJava6OnFedora)

  • Updated java-1.7.0-oracle to Java SE 7 Update 2 (see OracleJava7OnFedora)

  • Updated perl-CPAN-Meta-YAML to 0.005 as per the Fedora version

Wednesday 14th December 2011

Local Packages

  • Updated dovecot to allow IMAP+TLS and POP3+TLS by default

  • Updated perl-Digest-SHA to 5.70:

    • Added BITS mode to addfile method and shasum, which makes partial-byte inputs possible via files/STDIN and allows shasum to check all 8074 NIST Msg vectors, which previously required special programming

Friday 16th December 2011

Local Packages

  • Updated perl-Array-Compare to 2.02:

    • Removed old Perl 4-ish test comments in t/test.t

    • Tests and fixes for "Use of uninitialized value in join or string" warning (CPAN RT#73287)

Monday 19th December 2011

Fedora Project

  • Updated perl-IO-Compress to 2.046 in Rawhide:

    • Minor update to bin/zipdetails

    • Typo in name of IO::Compress::FAQ.pod

    • IO::Uncompress::Unzip:

      • Example for walking a zip file used eof to control the outer loop; this is wrong

    • IO::Compress::Zip:

Local Packages

  • Updated perl-IO-Compress to 2.046 as per the Fedora version

  • Updated perl-PPIx-Regexp to 0.024:

    • Reinstate author test xt/author/manifest.t, which was clobbered shortly before the release of 0.021_10

Tuesday 20th December 2011

Local Packages

  • Updated perl-ExtUtils-ParseXS to 3.08:

    • Silence undefined-value-in-addition warning

  • Updated perl-Filter-Simple to 0.88:

  • Updated php-Smarty to 3.1.7:

    • Bugfix: strings ending with " in multi-line strings of config files failed to compile (issue #67)

    • Added chaining to Smarty_Internal_Templatebase

    • Changed unloadFilter() to not return a boolean in favour of chaining and API conformity

    • Bugfix: unregisterObject() raised notice when object to unregister did not exist

    • Changed internals to use Smarty::$_MBSTRING ($_CHARSET, $_DATE_FORMAT) for better unit testing

    • Added Smarty::$_UTF8_MODIFIER for proper PCRE charset handling (Forum Topic 20452)

    • Added Smarty_Security::isTrustedUri() and Smarty_Security::$trusted_uri to validate remote resource calls through {fetch} and {html_image} (Forum Topic 20627)

  • Updated pptp to highlight and fix a bunch of warnings:

    • Add patch to fix highly-parallel build (e.g. -j16)

    • Add additional compiler warning flags to highlight questionable code
    • Add patch to fix comparisons between signed and unsigned integers
    • Add patch to fix const usage

    • Add patch to fix missing field initializers
    • Add patch to suppress warnings about possibly unused variables
    • Add patch to fix declarations that are not prototypes
    • Add patch to fix warnings about nested externs

    • Add patch to fix dubious typecasts that violate strict-aliasing rules
    • FSF address patch accepted upstream
    • Use default optimization level (-O2) again

Wednesday 21st December 2011

Local Packages

  • Updated perl-Module-CoreList to 2.59:

    • Updated for v5.15.6

Thursday 22nd December 2011

Fedora Project

  • Updated perl-Perl-Critic to 1.117 in Rawhide:

  • New Policies:

    • Variables::ProhibitAugmentedAssignmentInDeclaration reports constructs like 'my $x += 1'

  • Policy Changes:

    • BuiltinFunctions::ProhibitLvalueSubstr: add explicit 'use version' (CPAN RT#68498)

    • CodeLayout::ProhibitHardTabs: add 'pbp' to the default_themes list (CPAN RT#71093)

    • ControlStructures::ProhibitMutatingListFunctions now understands that tr///r (introduced in 5.13.7) does not change its operand

    • ControlStructures::ProhibitMutatingListFunctions now understands that '//=', '<<=', and '>>=' are assignment operators (CPAN RT#70901)

    • ErrorHandling::RequireCheckingReturnValueOfEval now allows things like grep { eval $_ } (CPAN RT#69489)

    • Modules::RequireExplicitPackage now has configuration option allow_import_of, to allow the import of specified modules before the package statement (CPAN RT#72660)

    • RegularExpressions::ProhibitEnumeratedClasses no longer thinks that [A-Za-z_] matches \w (CPAN RT#69322)

    • RegularExpressions::ProhibitUnusedCaptures now skips the first block of an 'if' or 'elsif' if the regular expression is bound to its operand with the '!~' operator (CPAN RT#69867)

    • RegularExpressions::ProhibitUnusedCaptures now looks into lists and blocks in the replacement portion of the regular expression if /e is asserted (CPAN RT#72086)

    • RegularExpressions::RequireDotMatchAnything, RegularExpressions::RequireExtendedFormatting and RegularExpressions::RequireLineBoundaryMatching now honour defaults set with 'use re "/modifiers"' (CPAN RT#72151)

    • Subroutines::ProhibitManyArgs now recognizes '+' as a prototype character

    • Variables::ProhibitPunctuationVars now recognizes bracketed variables embedded in interpolated strings (e.g. "${$}"); for the purpose of the 'allow' configuration, these are considered equivalent to the unbracketed form (CPAN RT#72910)

  • Other Changes:

    • Corrected POD in Perl::Critic::PPI::Utils (CPAN RT#68898)

    • Perl::Critic::Violation source() method now returns the line containing the violation (not the first line) when the statement containing the violation spans multiple lines

Local Packages

  • Updated perl-Perl-Critic to 1.117 as per the Fedora version

Friday 23rd December 2011

Fedora Project

  • Updated bluefish to 2.2.1 in Rawhide:

    • New feature: Zencoding support
    • Fix to build on Gtk+-2.22
    • Fix for PCRE regular expression searching
    • Layout fixes for Gtk+-3.2
    • Several obscure segfault fixes
    • Fix for autocompletion of variables in PHP
    • <img> dialog fixes

    • Memory-leak fixes
  • Updated perl-Class-Load to 0.13 in Rawhide:

    • Fix some bugs with our use of Try::Tiny, which could cause warnings on some systems where Class::Load::XS wasn't installed (CPAN RT#72345)

Local Packages

  • Updated bluefish to 2.2.1 as per the Fedora package

Saturday 24th December 2011

Local Packages

  • Updated perl-IPC-Run3 to 0.045:

    • Skip a test that tickles an OpenBSD bug and hangs the process

Sunday 25th December 2011

Local Packages

  • Updated perl-XML-LibXML to 1.89:

    • Spelling fixes (CPAN RT#71403)

    • Add XML::LibXML::Devel

    • Adjust the Win32 build instructions in the README file

Monday 26th December 2011

Local Packages

  • Updated curl to avoid unnecessary timeout event when waiting for 100-continue (#767490)

  • Updates perl-BDB to 1.9:

    • Update for libdb 5.2 (to make it compile only)

Tuesday 27th December 2011

Local Packages

  • Updated curl to allow the FTPS tests to run with nss-3.13 (#760060)

  • Updated perl-namespace-clean to 0.22:

    • Limit the debugger workarounds to perls between 5.8.8 and 5.14; extend debugger support to all perl versions (CPAN RT#69862)

    • If possible, automatically install (but not load) the debugger workaround libraries on perls between 5.8.8 and 5.14 (CPAN RT#72368)

    • Add back dropped NAME section (CPAN RT#70259)

    • Simplify the ≥ 5.10 pure-perl variant even more - move the hook from DESTROY into DELETE

    • Force explicit callback invocation order on 5.8 pure-perl

    • Replace the %^H tie approach with fieldhashes, which fixes all known corner cases and caveats on supported perls ≥ 5.8.1 (CPAN RT#73402)

    • Compile away the debugger fix-up on perls ≥ 5.15.5

Wednesday 28th December 2011

Fedora Project

  • Updated perl-Pod-Wordlist-hanekomu to 1.113620 in Rawhide:

    • Added "Lapworth", "UTF", "aggregator", "aggregators", "probe's", "runtime", "seekable" and "sigils"

Local Packages

  • Updated perl-ExtUtils-ParseXS to 3.09:

    • Escape double quotes of file names/commands in #line directives

  • Updated perl-Pod-Wordlist-hanekomu to 1.113620 as per the Fedora version

Thursday 29th December 2011

Local Packages

  • Updated perl-ExtUtils-ParseXS to 3.11:

    • Version/distribution fixes

Friday 30th December 2011

Local Packages

  • Updated perl-IO-AIO to 4.12:

    • realpath would return a random value if the name was too long, instead of -1

    • Port to C89

Saturday 31st December 2011

Local Packages

  • Updated perl-CPAN-Meta to 2.113640:

    • Version::Requirements has now been merged as CPAN::Meta::Requirements, rendering Version::Requirements itself redundant

Meal Out

  • Had a lovely meal out with old friends and their children at Puccini's in Swinton; good food, friendly staff (despite their Red allegiances, but they were kind enough to let me know the result when the game finished, which was very much a pleasant surprise)

Previous Month: November 2011
Next Month: January 2012