PaulHowarth/Blog/2011-05

Paul's Blog Entries for May 2011

Sunday 1st May 2011

Local Packages

  • Updated perl-Filter to 1.39:

Monday 2nd May 2011

Fedora Project

  • Updated perl-IO-Socket-SSL to 1.40 in Rawhide and F-15:

    • Fix in example/async_https_server

    • Get IDN support from URI (CPAN RT#67676)

  • Updated perl-Sysadm-Install to 0.36 in Rawhide, F-15 and EPEL-6:

    • Added owner_cp() to copy uid and gid of a file or directory

    • Added raise_error option for tap()

    • snip() now returns original string (with unprintables replaced) if the data length is shorter than $maxlen

Local Packages

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

Tuesday 3rd May 2011

Fedora Project

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

    • Document the change of default MemLimit in 2.033

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

    • Updates to test harness

Local Packages

  • Updated perl-Compress-Raw-Bzip2 to 2.034:

    • Updates to test harness
  • Updated perl-Compress-Raw-Lzma to 2.034 as per the Fedora version

  • Updated perl-Compress-Raw-Zlib to 2.034:

    • Updates to test harness
  • Updated perl-Event to 1.15:

    • Tweak t/io.t regarding detection of bogus file descriptors

  • Updated perl-IO-Compress 2.034:

  • Compress::Zlib:

    • Silence pod warnings (CPAN RT#64876)

    • Removed duplicate words in pod
  • IO::Compress::Base:

    • Fix failure of testsuite when being run in parallel (CPAN RT#56942)

    • Reduce symbol import
    • If the output buffer parameter passed to read has a value of undef, and Append mode was specified when the file was opened, and eof is reached, then the buffer parameter was left as undef; this is different from when Append isn't specified - the buffer parameter is set to an empty string

    • Fix issues with reading a file that contains an empty file that is compressed (CPAN RT#67554)

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

Wednesday 4th May 2011

Fedora Project

  • Fixed perl-Hash-Util-FieldHash-Compat in Rawhide to filter out the unversioned provide perl(Hash::Util::FieldHash::Compat) and tweak the provides filter to leave in the versioned provide perl(Hash::Util::FieldHash::Compat) = 0.03 if built on a system with rpm < 4.9 (the existing filter tried to remove the versioned provide and leave the unversioned one, which of course is the wrong way around)

Local Packages

  • New package perl-Hash-Util-FieldHash-Compat (0.03)

  • New package perl-Tie-RefHash-Weak (0.09)

  • Updated perl-DateTime to update DateTime to 0.69:

    • When a DateTime object had nanoseconds == 0, the %N strftime specifier always returned "0" regardless of the precision requested (CPAN RT#67928)

Thursday 5th May 2011

Fedora Project

  • Fixed bogus provides in EPEL-5 version of perl-Test-Mock-LWP - already fixed in Fedora (Bug #472354), which manifested when doing test builds of perl-Digest-MD5-File

  • Fixed the provides filter for rpm 4.9 and did a general clean-up on perl-Test-Unit-Lite in Rawhide

  • Submitted review request for perl-Digest-MD5-File, needed for recent versions of perl-Net-Amazon-S3, whose maintainer didn't seem interested in packaging it themselves (Bug #646832); before the end of the day it had been reviewed and built for Rawhide, F-15, F-14, F-13 and EPEL-6 - EPEL-4/5 builds will have to wait until the perl-Test-Mock-LWP fix makes it to EPEL-5 stable

Local Packages

  • Updated libidn to 1.22:

    • libidn: Add -liconv as static library requirement in libidn.pc, for MinGW

    • libidn: Fix memory leak in idna_to_ascii_4z when idna_to_ascii_4i fails

    • libidn: Ran clang-analyze on the code; fixed some dead assignments/initializations

    • build: Really distribute win32/libidn4win.mk

  • New package perl-MooseX-InsideOut (0.106)

  • New package perl-Test-Unit-Lite (0.12)

Friday 6th May 2011

Fedora Project

Local Packages

  • New package perl-constant-boolean (0.02)

  • New package perl-Exception-Base (0.2401)

  • New package perl-Symbol-Util (0.0202)

  • New package perl-Test-Assert (0.0504)

  • New package perl-Test-CheckChanges (0.14)

  • Updated perl-Data-OptList to 0.107, adding the obligatory patches to work around now-common upstream requirements of ExtUtils::MakeMaker 6.30 and Test::More 0.88:

    • mkopt now prefers named parameters; docs updated

    • Added the name_test parameter to mkopt

  • Updated perl-Devel-PartialDump to 0.15:

    • Don't go into an infinite loop when dumping references to references
    • Dump LVALUE references properly

  • Updated perl-Test-Signature to require perl(Module::Signature)

Saturday 7th May 2011

Fedora Project

  • Updated the IO::Compress stack (perl-Compress-Raw-Bzip2, perl-Compress-Raw-Lzma, perl-Compress-Raw-Zlib, perl-IO-Compress, perl-IO-Compress-Lzma) to 2.035 in Rawhide:

    • No changes to perl-Compress-Raw-*

    • Fix test failure on Windows for perl-IO-Compress* (CPAN RT#67931)

Local Packages

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

  • Updated perl-Text-CSV_XS to 0.82:

    • Documentation fix (CPAN RT#66905)

    • Documentation overhaul (pod links)

Monday 9th May 2011

Local Packages

  • New package perl-MooseX-GlobRef (0.0701)

  • New package perl-MooseX-NonMoose (0.22)

  • Updated perl-Moose to 2.0005:

    • Applying multiple role objects (rather than role names) at once no longer skips every other role
    • Caching of anon classes now works more sanely in the presence of role application parameters - alias and excludes options are taken into account, and caching is disabled entirely if other parameters exist; asking for caching (instead of just not weakening) when parameters are given will begin warning in Moose 2.0200

    • Bump the List::MoreUtils dependency to version 0.28 to avoid buggy behaviour in old versions

    • Sort the list of alias parameters when determining caching, since their order doesn't matter

Tuesday 10th May 2011

Fedora Project

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

    • Fix issue in stop_SSL where it did not issue a shut-down of the SSL connection if it first received the shut-down from the other side

    • Try to make t/nonblock.t more reliable, at least reporting the real cause of SSL connection errors

Local Packages

  • Updated perl-DateTime to update DateTime to 0.70:

    • Really fix %N, finally; this was breaking the DateTime::Event::Recurrence test suite

  • Updated perl-IO-Socket-SSL to 1.41 as per the Fedora version, adding a patch to fix failures in t/nonblock.t on older OS releases (CPAN RT#68070)

  • Updated perl-Moose to 2.0006:

    • Revert the List::MoreUtils version bump, as it breaks backwards compatibility; the dependency will be bumped with Moose 2.0200

Wednesday 11th May 2011

Fedora Project

  • Introduced perl-Test-CheckChanges (0.14) with builds for Rawhide, F-15, F-14, F-13, EPEL-5 and EPEL-4; there would also have been an EPEL-6 version had perl(Test::Exception) not mysteriously disappeared from the buildroot

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

    • Add SSL_create_ctx_callback to have a way to adjust context on creation (CPAN RT#67799)

    • Describe problem of fake memory leak because of big session cache and how to fix it (CPAN RT#68073)

    • Fix t/nonblock.t (CPAN RT#68070)

    • Stability improvements for t/inet6.t

  • Rebuilt python-crypto in Rawhide with a re-rolled upstream tarball; the original one was missing the top-level directory

Local Packages

  • Updated perl-IO-Socket-SSL to 1.43 as per the Fedora version, dropping my patch for t/nonblock.t, which is now fixed upstream (CPAN RT#68070)

  • Rebuilt python-crypto as per the Fedora version

Thursday 12th May 2011

Local Packages

  • Updated dovecot (1.x) to 1.2.17:

    • Fixed potential crashes and other problems when parsing header names that contained NUL characters

    • IMAP: fixed a memory leak with ESEARCH command handling

    • Quota warnings could have been executed at incorrect times with some configurations
  • Updated dovecot (2.x) to 2.0.13:

    • Added "doveadm index" command to add un-indexed messages into index/cache; if full text search is enabled, it also adds un-indexed messages to the full text search database

    • Added "doveadm director dump" command

    • pop3: Added support for showing messages in "POP3 order", which can be different from IMAP message order; this can be useful for migrations from other servers
    • doveconf: Fixed a wrong "subsection has ssl=yes" warning

    • mdbox purge: Fixed wrong warning about corrupted extrefs

    • sdbox: INBOX GUID changed when INBOX was auto-created, leading to trouble with dsync

    • script-login binary wasn't actually dropping privileges to the user/group/chroot specified by its service settings

    • Fixed potential crashes and other problems when parsing header names that contained NUL characters

  • Updated perl-AnyEvent to 5.34:

    • AnyEvent::Handle on_connect_error - do not try to destroy a handle object when it's already gone

    • Update idna algorithm(s) to UTS#46 version 6.0.0

    • Preserve trailing dot in idn_to_ascii - testsuite says to preserve, uts46 says it's an error, and testsuite makes more sense

    • Remove leading dots in idn_to_ascii - testsuite says to remove, uts46 says it's an error, and testsuite makes more sense

    • Fixed a bug in idn ignored character processing

    • Passes the uts46 6.0.0 testsuite except for three cases which apparently are bugs in the testsuite itself
    • Passes the uts46 6.0.1 testsuite except for eleven cases which apparently are bugs in the testsuite itself
    • AE::TLS didn't support both cert_file and key at the same time, due to some copy&paste bug

    • Improve AE::Handle timeout documentation slightly

Friday 13th May 2011

Fedora Project

  • Updated perl-Module-Signature to 0.68 everywhere:

  • Built perl-Test-CheckChanges (0.14) for EPEL-6 now that perl-Test-Exception is back in the buildroot

Local Packages

  • Updated perl-File-Slurp to 9999.17 and filtered the doc-file dependency perl(Symbol):

    • Requiring Perl 5.6.2 (first time older Perls were dropped); this is because of use of the "re 'taint'" pragma

    • Added major new features: edit_file and edit_file_lines

    • Speed up of tainted slurp with return of lines

    • Added chomp option to read_file

    • Added prefix option to read_dir

    • Fixed optimization of reading small files
  • Updated perl-Module-Signature to 0.68 as per the Fedora version

Sunday 15th May 2011

Local Packages

  • Updated perl-Digest-SHA to 5.62:

    • Removed unnecessary loading of MIME::Base64 module

  • Updated perl-Module-CoreList to 2.49:

    • Updated for 5.14.0
  • Updated perl-Moose to 2.0007:

    • Make sure weak attributes remain weak when cloning

Monday 16th May 2011

Fedora Project

  • Updated perl-Perl-Critic to 1.116 in Rawhide (Bug #705000):

    • BuiltInFunctions::ProhibitLvalueSubstr does not report violations if the document contains an explicit 'use n.nnn;' where the version is before 5.005 (CPAN RT#59112)

    • Documentation::RequirePodSections no longer blows up on code having POD but no =head1 (CPAN RT#67231)

    • RegularExpressions::ProhibitUnusedCapture should more reliably find things like s/(a)/${1}2/ (CPAN RT#67273)

    • ValuesAndExpressions::ProhibitMagicNumbers and Module::RequireVersionVar now treat versions passed as the second argument of a 'package' statement the same as versions declared as 'our $VERSION ...' (CPAN RT#67159)

    • Variables::RequireLexicalLoopIterators does not report violations if the document contains an explicit 'use n.nnn;' where the version is before 5.004 (CPAN RT#67760)

Local Packages

  • Updated perl-File-Slurp to 9999.18, adding a patch to work around a test incompatibility with Exporter < 5.58 (CPAN RT#68229)

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

Tuesday 17th May 2011

Fedora Project

  • Updated proftpd in Rawhide and F-15 to fix a number of upstream-reported bugs:

    • Avoid spinning proftpd process if read(2) returns EAGAIN (bug 3639)

    • SITE CPFR/CPTO does not update quota tally (bug 3641)

    • Segfault in mod_sql_mysql if "SQLAuthenticate groupsetfast" used (bug 3642)

    • Disable signal handling for exiting session processes (bug 3644)

    • Ensure that SQLNamedConnectInfos with PERSESSION connection policies are opened before chroot (bug 3645)

    • MaxStoreFileSize can be bypassed using REST/APPE (bug 3649)

    • Fix TCPAccessSyslogLevel directive (bug 3652)

    • Segfault with "DefaultServer off" and no matching server for incoming IP address (bug 3653)

Local Packages

  • Updated proftpd as per the Fedora version

Wednesday 18th May 2011

Local Packages

  • Updated perl-Event to 1.17:

  • Updated python-zope-interface to 3.6.2:

    • Moved detailed documentation out-of-line from PyPI page, linking instead to http://docs.zope.org/zope.interface

    • Fixes for small issues when running tests under Python 3.2 using zope.testrunner

    • LP#675064: specify return value type for C optimizations module init under Python 3: undeclared value caused warnings, and segfaults on some 64-bit architectures

    • setup.py now raises RuntimeError if you don't have Distutils installed when running under Python 3

  • Updated sendmail to 8.14.5:

    • SMTP extensions are no longer cached across connections as the cache is based on hostname which may not be a unique identifier for a server, i.e., different machines may have the same hostname but provide different SMTP extensions
    • An out-of-bounds access is avoided in case a resolver reply for a DNS map lookup returns a size larger than 1K
    • The interrupt signal handler has been cleaned up to avoid invoking functions that are not signal-safe
    • At most two AUTH lines are read from a server to avoid a DoS attack against the client (memory exhaustion)

Thursday 19th May 2011

Local Packages

  • Updated perl-NetAddr-IP to 4.044:

    • Added missing support for ->compactref(\@list), which is described in the documentation but not implemented

Friday 20th May 2011

Local Packages

  • Updated dovecot (1.x) to update dovecot-sieve to 0.1.19:

    • enotify extension: fixed inappropriate return type in mailto URI parse function, also fixing ARM compiler warning

    • vacation extension: fixed handling of sendmail errors; it produced an additional confusing success message in case of error

    • Removed header MIME-decoding to fix erroneous address parsing (applies to address test and vacation command)

  • and to update dovecot-managesieve to 0.11.13:

    • ManageSieve: fixed bug in UTF-8 checking of string values

  • Updated perl-Filter-Simple to 0.87:

    • Port changes from core: whitespace fix that is significant for POD correctness
  • Updated perl-List-MoreUtils to 0.32:

    • Update copyright year
    • Tweak documentation of all() and none()

    • Memory leak fixed for apply() and XS version restored

    • Memory leak fixed for indexes() and XS version restored

    • Memory leak fixed for part() and XS version restored

    • More accurate detection of XS support
  • Updated symlinks to include a couple of patches for bugs found by the Coverity scanner

Sunday 22nd May 2011

Fedora Project

  • Updated perl-JSON to 2.53 in Rawhide:

    • Fixed to_json (CPAN RT#68359)

    • Backported JSON::PP 2.27200 (fixed incr_parse decoding string more correctly - CPAN RT#68032)

    • Made Makefile.PL skip an installing XS question when$ENV{PERL_ONLY} or $ENV{NO_XS} are set (CPAN RT#66820)

  • Updated perl-JSON-PP to 2.27200 in Rawhide:

Local Packages

  • Updated perl-JSON to 2.53 as per the Fedora version

  • Updated perl-JSON-PP to 2.27200 as per the Fedora version

Monday 23rd May 2011

Local Packages

  • Updated xz to 5.0.3:

    • liblzma:

      • A memory leak was fixed
      • lzma_stream_buffer_encode() no longer creates an empty .xz Block if encoding an empty buffer; such an empty Block with LZMA2 data would trigger a bug in 5.0.1 and older

      • Validate function arguments better in a few functions; most importantly, specifying an unsupported integrity check to lzma_stream_buffer_encode() no longer creates a corrupt .xz file

      • Document that lzma_block_buffer_encode(), lzma_easy_buffer_encode(), lzma_stream_encoder(), and lzma_stream_buffer_encode() may return LZMA_UNSUPPORTED_CHECK

      • The return values of the _memusage() functions are now documented better

    • Fix command name detection in xzgrep; xzegrep and xzfgrep now correctly use egrep and fgrep instead of grep

    • French translation was added.
  • Rebuilt perl-Compress-Raw-Lzma for xz 5.0.3

Wednesday 25th May 2011

Fedora Project

  • Rebuilt perl-Compress-Raw-Lzma for xz 5.0.3 in Rawhide

  • Rebuilt perl-Text-Hunspell for hunspell 1.3 in Rawhide

Local Packages

Friday 27th May 2011

Fedora Project

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

    • Fix invalid call to inet_pton in verify_hostname_of_cert when identity should be verified as ipv6 address because it contains a colon

Local Packages

  • Updated dovecot not to include the SysV initscript on distributions where systemd is used instead

  • Updated perl-IO-AIO to 3.9:

    • libeio: fix memory corruption in aio_readdirx for the flags combination READDIR_STAT_ORDER | READDIR_DIRS_FIRST

    • Add lots of newer POSIX and GNU/Linux-specific open flags

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

  • Updated perl-Test-Spelling to 0.14:

    • Fix an error when using add_stopwords("constant","strings") (CPAN RT#68471)

  • Updated python-zope-interface to 3.6.3:

    • Now correctly compare interfaces from different modules but with the same names (LP#570942)

Saturday 28th May 2011

Fedora Project

  • Became co-maintainer of perl-Test-Spelling and updated it to 0.14 in Rawhide as per my local package

Local Packages

  • Updated perl-Params-Validate to 0.99:

    • The metadata file - META.{json,yml} - had references to a different distro because of a copy and paste error (CPAN RT#68514)

Sunday 29th May 2011

Local Packages

  • Updated perl-Convert-UUlib to 1.4:

    • Avoid a classical buffer overflow in case a progress message is too long
    • This release adds dependencies for snprintf/vsnprintf

    • Some uuencode encoders do not generate a final "space" line before the "end" marker, so do not rely on the line to be there

  • Updated perl-Regexp-Parser to 0.21:

    • Fix warning emissions in perl 5.10+ (Variable "$nest" is not available...) (CPAN RT#42096)

    • Fix test failures in perl 5.14 by converting t/02subclass.t to Test::More (CPAN RT#66848)

Monday 30th May 2011

Local Packages

  • Updated libidn to byte-compile the Emacs lisp files and require emacs-filesystem for directory ownership (Fedora 15 onwards only, since emacs-filesystem doesn't exist in earlier distributions)

  • Updated perl-DBD-SQLite to 1.33:

    • Made util/getsqlite.pl work with the amalgamated distro filename changes introduced by SQLite 3.7.4, and still with older ones too

    • Resolved CPAN RT#61355: Fails testing in parallel

    • Resolved CPAN RT#61361: Problems building 1.31 with system SQLite

    • Resolved CPAN RT#61117: Supporting database as an alias for dbname in DSN

    • Resolved CPAN RT#62370: Segfaults during operations on disconnected handles

    • Resolved CPAN RT#61958: REGEXP should return NULL when one of its arguments is NULL

    • Removed PrintWarn tweak introduced in 1.19_09

    • Resolved CPAN RT#65267: Skip fts3/metadata tests if those features are disabled

    • Resolved CPAN RT#65267: Add RTree support option

    • Added sqlite_see_if_its_a_number database handle attribute to deal with issues caused by (quoted) bind values against numbers such as return values from a function etc.

    • Resolved CPAN RT#67843: savepoint rollback alters AC state

    • Updated to SQLite 3.7.6.3
    • Made util/getsqlite.pl state that it needs fixing to work for SQLite 3.7.5+ when it dies at the last step, and outline what the user needs to do manually instead, until getsqlite is fixed

Tuesday 31st May 2011

Fedora Project

  • Updated perl-SOAP-Lite in EPEL-5 to fix bogus provide of perl(LWP::Protocol) again (Bug #709269)

Local Packages

  • Updated getmail to 4.20.3:

    • Fix logging errors in error paths
  • Updated libgcrypt to make the FIPS-186-3 DSA implementation CAVS testable and to add a configurable source of RNG seed /etc/gcrypt/rngseed in the FIPS mode (Bug #700388)

  • Updated libidn to put the elisp support files in a separate subpackage to avoid multilib conflicts (Bug #709136)

  • Updated perl-Path-Class to 0.24, adding buildreq `perl(Test::Perl::Critic) and running the author tests where possible:

    • Added a tempfile() method for Dir objects, which provides an interface to File::Temp (CPAN RT#60485)

    • Fixed a non-helpful fatal error message when calling resolve() on a path that doesn't exist; now dies with the proper "No such file or directory" message and exit status

  • Updated perl-version to 0.89, adding a patch to fix the test suite for use with old Test::More versions (CPAN RT#68588):

    • Remove discussion of Build.PL (no longer supported) from README (CPAN RT#66206)

    • Fix failing test cases (with pure-perl version::vpp) in t/02derived.t and t/coretests.pm

    • In vperl/vpp.pm, act like vxs version and always use version->new method for qv/declare, then re-bless into inherited class

Previous Month: April 2011
Next Month: June 2011

Recent