You are not allowed to use this action.

Clear message

    PaulHowarth/Blog/2011-01

Paul's Blog Entries for January 2011

Sunday 2nd January 2011

Fedora Project

  • Became co-maintainer of check for EPEL-4 (it's used in the proftpd test suite) and cloned the RHEL-5 check-0.9.3-5 package for EPEL-4

Tuesday 4th January 2011

Local Packages

  • New package perl-Dist-CheckConflicts (0.02)

  • Updated bluefish to 2.0.3-rc1, dropping the existing patches (which are now integrated into upstream release) and adding a new patch to remove the definition of GSEAL_ENABLE, which breaks builds on Fedora < 12; I also bumped the gtk2 version requirement to 2.14 as the functions gtk_adjustment_get_lower and gtk_adjustment_get_page_size (which were introduced in 2.14) are now used - this breaks builds on Fedora 9 (and possibly debian stable) and so may get reverted before 2.0.3 final but for now I've dropped Fedora 9 support

  • Updated perl-Class-MOP to 1.12:

    • Remove usage of undocumented Package::Stash APIs from the tests, which prevents the tests from failing on Package::Stash ≥ 0.18

  • Updated perl-DBI to 1.616, filtering out the new dependencies on perl(Coro*) for the time being as it'll take a while to import that and its dependency chain:

    • Fixed spurious dbi_profile lines written to the log when profiling is enabled and a trace flag, like SQL, is used

    • Fixed to recognize SQL::Statement errors even if instantiated with RaiseError=0

    • Fixed CPAN RT#61513 by catching attribute assignment to tied table access interface

    • Fixed some misbehaviour of DBD::File when running within the Gofer server

    • Fixed compiler warnings (CPAN RT#62640)

    • Optimized connect() to remove redundant FETCH of \%attrib values

    • Improved initialization phases in DBI::DBD::SqlEngine

    • Added DBD::Gofer::Transport::corostream, an experimental proof-of-concept transport that enables asynchronous database calls with few code changes

    • Added additional notes on DBDs that avoid creating a statement in the do() method and the effects on error handlers

    • Added new attribute "sql_dialect" to DBI::DBD::SqlEngine to allow users control over the used SQL dialect (ANSI, CSV or AnyData), defaults to CSV

    • Added documentation for DBI::DBD::SqlEngine attributes

    • Documented dbd_st_execute return

    • Fixed typo in InactiveDestroy

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

    • Changed the minimum version of Locale::Maketext to 1.17, to avoid error reports from recent Perl versions, which still have an old Locale::Maketext

    • Avoid uninit warnings when msgids contain trailing spaces in Locale::Maketext::Extract

  • Updated perl-Net-FTPSSL to 0.17:

    • Fixed a subtle bug in response(), which now tests if parse succeeded instead of assuming it

    • Reordered the methods in the POD
    • Reworked t/10-complex.t quite a bit

    • Fixed the smoke tester failures (CPAN RT#64109)

    • t/10-complex.t now checks if OverridePASV or OverrideHELP are needed against the test server and dynamically adds it for the test cases if needed

    • Added PASV/EPSV prompt to t/10-complex.t script instead of assuming PASV

  • Updated perl-Package-Stash to 0.20:

    • Methods were renamed for brevity: s/_package//

    • Convert Package::Stash into a module that loads either the XS or pure perl implementation, depending on what's available

    • Use Dist::CheckConflicts

    • Silence deprecation warnings for the method renaming for now
  • Packaging-wise, a new script package-stash-conflicts and module Package::Stash::Conflicts were added, though I had to manually rpm-provide perl(Package::Stash::Conflicts) as upstream's bodge to hide this module from PAUSE also hides it from rpm's automatic provides-generator, creating a broken dependency as the package-stash-conflicts script requires it.

  • There are also new build requirements:
    • perl(Dist::CheckConflicts)

    • perl(Package::DeprecationManager)

    • perl(Package::Stash::XS)

    • perl(Test::LeakTrace)

    • perl(Test::Requires)

    • perl(Test::Script)

  • I had to add a new patch to work around the unavailability of perl(Test::Requires) on old distributions, and I manually added a runtime dependency on perl(Package::Stash::XS) for performance and consistency reasons.

Wednesday 5th January 2011

Fedora Project

  • Updated bluefish to 2.0.3-rc1 in Rawhide, as per yesterday's local update

  • Submitted a review request for perl-Dist-CheckConflicts

  • Built perl-Sub-Install for EPEL-4; it had already been branched but wouldn't build due to a missing dependency perl(Test::Perl::Critic) for the test suite so I just dropped that build requirement and it built successfully

  • Updated proftpd (1.3.4rc1) in Rawhide to update mod_vroot to 0.9.1 and add an upstream patch to allow the netacl unit test to work on systems where the address 127.0.0.1 maps to localhost.localdomain rather than just localhost

Local Packages

  • Updated proftpd (in svn only for now) as per the Fedora version

  • Updated unrar to 4.0 Beta 4:

    • Previous beta versions could truncate some files extracted from ISO 9660 archives

Thursday 6th January 2011

Fedora Project

  • MarcelaMaslanova kindly approved my perl-Dist-CheckConflicts submission, and I imported and built it for Rawhide, EPEL-6, EPEL-5, F-14 and F-13; the EPEL-4 build will have to wait until perl-List-MoreUtils, perl-Sub-Exporter and some of their dependencies are available

  • Updated perl-Package-Stash-XS to 0.19 everywhere:

    • More correct validity test for scalars

Local Packages

  • Updated perl-Package-Stash to 0.22:

    • Bump Package::Stash::XS version requirement since a bug was fixed there

  • Updated perl-Package-Stash-XS to 0.19:

    • More correct validity test for scalars
  • Updated perl-PPIx-Regexp to 0.016:

    • The PPIx::Regexp::Token::Code perl_version_introduced() method now returns the minimum Perl version (currently set to 5.000) if it is used to represent the substitution portion of s///e

  • Updated perl-version to drop the exclusion of version::Internals documentation from the EL-6 package now that Bug #597982 is resolved

Friday 7th January 2011

Fedora Project

  • Updated perl-Compress-Raw-Lzma to 2.032 (no changes) in Rawhide

  • Updated perl-IO-Compress-Lzma to 2.032 (no changes) in Rawhide

  • Updated perl-Package-Stash to 0.22 in Rawhide and EPEL-6:

    • Methods were renamed for brevity: s/_package//

    • Convert Package::Stash into a module that loads either the XS or pure perl implementation, depending on what's available

    • Use Test::Fatal instead of Test::Exception

    • Use Dist::CheckConflicts

    • Silence deprecation warnings for the method renaming for now
  • The package now requires perl(Package::Stash::XS) ≥ 0.19

  • Updated trac-accountmanager-plugin in Rawhide and EPEL-6 to add EL-6 compatibility and run its unit tests during the build:

    • Require python-genshi ≥ 0.6 or python-genshi06 as per trac itself

    • Go to great trouble to set %lang on translations

    • Help setup.py find Genshi 0.6, which is in an egg for EPEL-6

    • Add %check section and run test suite

    • Patch out errors in test suite
    • BuildRequire trac for trac.test, needed for test suite

Local Packages

  • Updated perl-Compress-Raw-Bzip2 to 2.032 (no changes)

  • Updated perl-Compress-Raw-Lzma to 2.032 (no changes)

  • Updated perl-Compress-Raw-Zlib to 2.032 (document inflateReset - CPAN RT#61082)

  • Updated perl-IO-Compress to 2.032:

    • IO::Uncompress::Base - fix handling of input files with valid headers but corrupt data, which would trigger an infinite loop when using the input line operator (CPAN RT#61915)

    • IO::Compress::Gzip - XFL default settings for maximum compression and fastest algorithm were the wrong way around

    • IO::Compress::Base::Common - fix precedence problem in parameter parsing code

  • Updated perl-IO-Compress-Lzma to 2.032 (no changes)

  • Updated perl-Term-ReadKey to run the test suite during the build now that the mock issues with /dev/tty seem to be resolved (Bug #510183, Bug #609201)

Saturday 8th January 2011

Fedora Project

  • Somehow I'd forgotten to update perl-Package-DeprecationManager to 0.10 in Rawhide and EPEL-6 (I was probably waiting for perl-Test-Fatal to make its way through the system), so IainArnell did it for me; he didn't update the patches for compatibility with EPEL-4 and EPEL-5 though, so I did that and fired off new builds

Monday 10th January 2011

Fedora Project

  • Updated perl-MIME-tools to 5.500 in Rawhide, dropping buildreq perl(IO::Stringy) and adding new buildreqs - perl(IO::Handle), perl(Mail::Field) ≥ 1.05, perl(Mail::Header) ≥ 1.01, perl(Mail::Internet) ≥ 1.0203, and perl(Test::Deep):

    • Cleanup: IO-Stringy is no longer used

    • Cleanup: remove auto_install from Makefile.PL

    • CPAN RT#22684: Fix deadlock in filter() when invoking external programs such as gzip

    • CPAN RT#60931: If preamble is empty, make sure it's still empty after round-tripping through MIME::Entity

    • CPAN RT#63739: Properly decode RFC2231 encodings in attachment filenames

  • Updated proftpd in git for Rawhide to address another localhost/localhost.localdomain issue in the API tests, this time in netaddr.c

Local Packages

  • Updated perl-Archive-Tar to 1.76 (fixes for bleadperl)

  • Updated perl-IPC-Cmd to 0.68 (fixes for bleadperl)

  • Updated perl-MIME-tools to 5.500 as per the Fedora package

  • Updated perl-Module-Load-Conditional to 0.40 (fixes for bleadperl)

  • Updated perl-Params-Check to 0.28 (fixes for bleadperl)

  • Updated proftpd in svn to address another localhost/localhost.localdomain issue in the API tests, this time in netaddr.c

  • Updated sendmail to add QoS support; upstream reserved option ID 0xe7 for testing of this new feature (Bug #576643)

Tuesday 11th January 2011

Fedora Project

  • Became maintainer of EPEL-4 branch of perl-Params-Util and cloned it from the EPEL-5 branch, then merged the two branches together, building perl-Params-Util-0.25-1.el4 as a first release for EPEL-4

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

    • Changed default MemLimit from 128 MB to unlimited

  • Updated perl-IO-Compress-Lzma to 2.033 in git master branch (waiting on update of perl-IO-Compress to 2.033):

    • Made 001xz.t more forgiving when the tests run out of memory

  • Updated proftpd in Rawhide to update mod_vroot to 0.9.2

Local Packages

  • Updated perl-Compress-Raw-Bzip2 to 2.033 (fixed typos and spelling errors - Perl RT#81782)

  • Updated perl-Compress-Raw-Lzma to 2.033 (changed default MemLimit from 128 MB to unlimited)

  • Updated perl-Compress-Raw-Zlib to 2.033 (fixed typos and spelling errors - Perl RT#81782)

  • Updated perl-IO-Compress to 2.033 (fixed typos and spelling errors - Perl RT#81816)

  • Updated perl-IO-Compress-Lzma to 2.033 (made 001xz.t more forgiving when the tests run out of memory)

  • Updated proftpd in svn to update mod_vroot to 0.9.2

Wednesday 12th January 2011

Fedora Project

  • Update perl-Package-Stash to 0.23 in Rawhide and EPEL-6:

    • Lower perl prerequisite to 5.8.1

    • Make the leak tests release-only
  • I had to add a new patch here to cater for the absence of Test::LeakTrace in older releases and skip the memory leak tests there

  • Updated perl-Package-Stash-XS to 0.20 in Rawhide and EPEL-6:

    • Lower perl prerequisite to 5.8.1

    • Make the leak tests release-only
  • The package no longer uses Test::Requires so I was able to drop that build requirement and the patch to cater for its absence in older releases, but I needed to add a new patch to cater for the absence of Test::LeakTrace in older releases and skip the memory leak tests there

Local Packages

  • Updated the EL-6 repository to have the default SHA256 checksums rather than the old-style SHA1 checksums needed for older EL repositories
  • Updated curl to build libcurl with --enable-hidden-symbols

  • Updated perl-Package-Stash to 0.23 as per the Fedora package

  • Updated perl-Package-Stash-XS to 0.20 as per the Fedora package

  • Updated sendmail to include an updated QoS patch, including upstream comments and AF_INET6 4-in-6 support

Thursday 13th January 2011

Fedora Project

  • Became co-maintainer of perl-Compress-Raw-Bzip2, perl-Compress-Raw-Zlib and perl-IO-Compress, and updated all of them to 2.033 as per my local packages

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

    • Made 001xz.t more forgiving when the tests run out of memory

  • Updated perl-IO-Socket-INET6 to 2.66 in Rawhide:

    • Made the use Socket call import constants selectively, and not rely on @EXPORT's whims

Local Packages

  • Updated dovecot to 2.0.9:

    • Fix a high system CPU usage/high context switch count performance problem
    • lda: Fix a crash when trying to send "out of quota" reply

  • Updated perl-IO-Socket-INET6 to 2.66 as per the Fedora package

Friday 14th January 2011

Fedora Project

  • Raised a bug on rpmdevtools, requesting that a way be supported of specifying a null epoch in rpmdev-vercmp when 6 arguments are used, so as to avoid situations where people think that an explicit zero epoch is "rpm-higher" than a null epoch, which isn't true

Monday 17th January 2011

Local Packages

  • Updated perl-Devel-StackTrace to 1.27

    • Skip some tests on 5.13.8+ that are no longer relevant because of a change in the Perl core (CPAN RT #64828)

Tuesday 18th January 2011

Fedora Project

  • Became the EPEL-4 maintainer of perl-List-MoreUtils, perl-Data-OptList and perl-Package-Generator (none of which had been branched for EPEL-4 previously)

  • Built perl-List-MoreUtils (0.22) for EPEL-4, a clone of the EPEL-5 package; builds of perl-Data-OptList and perl-Package-Generator will have to wait until perl-Params-Util is pushed to EPEL-4 stable

  • Branched and built perl-Authen-DigestMD5 (0.04) for EPEL-4, EPEL-5 and EPEL-6 at the request of Mark McKinstry, who is building swaks for EPEL

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

    • Fix wildcards_in_cn setting for http, wrongly set in 1.34 to 1 instead of anywhere (CPAN RT#64864)

  • Updated perl-Package-Stash to 0.24 in Rawhide and EPEL-6:

    • Reinstate Test::Requires dependency

Local Packages

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

  • Updated perl-Package-Stash to 0.24 as per the Fedora version

Wednesday 19th January 2011

Fedora Project

  • Built perl-Test-NoWarnings (0.083) for EPEL-4; it had been branched but never built previously

  • Updated proftpd for F-14, F-13, EPEL-4 and EPEL-5 to 1.3.3d to resolve Bug #670172 (CVE-2010-4652 - Heap-based buffer overflow by processing certain usernames, when mod_sql module enabled)

Local Packages

  • Updated perl-SQL-Statement to 1.32:

    • Fix invalid check for escaped single quotes
    • Fix unpermitted modification of array source for table creation (CREATE TABLE AS IMPORT(?),[[..],[..]])

    • Fix alias used in ORDER BY (CPAN RT#61384)

    • Fix ORDER BY behaviour for multiple sort columns (slower, but guaranteed correct)

    • Rename fetch-method into fetch_row (keep fetch() as alias) and add a fetch_rows() to fetch all rows at once

    • Different accessors for direction of ORDER BY clause query part and its boolean equivalent "desc" (0 or 1, respectively)

    • Add a lot of Pure-Perl DBD's as build dependencies for testing
    • Bump requirement of DBI to 1.616
    • Switch for fully external DBD tests from DBD::XBase to DBD::SQLite

    • Document another limitation (lacking implicit creating temp table during processing a query using the same table with different aliases twice)
  • I added new build requirements perl(DBD::SQLite) and perl(MLDBM) for the test suite

Thursday 20th January 2011

Fedora Project

  • Updated perl-IO-Socket-SSL to 1.38 for Fedora 13 and 14:

    • Fixed wildcards_in_cn setting for HTTP, wrongly set in 1.34 to 1 instead of anywhere (CPAN RT#64864)

  • Branched and built perl-FileHandle-Unget (0.1623) for EPEL-4, EPEL-5 and EPEL-6

Friday 21st January 2011

Fedora Project

  • Branched and built perl-Mail-Mbox-MessageParser (1.5002) for EPEL-4, EPEL-5 and EPEL-6

Local Packages

  • New package perl-AnyEvent (5.3)

  • New package perl-AnyEvent-BDB (1.1)

  • New package perl-BDB (1.88)

  • New package perl-common-sense (3.4)

Saturday 22nd January 2011

Local Packages

  • New package perl-IO-AIO (3.71)

  • Updated perl-AnyEvent to 5.31:

    • Work around a POE bug where POE would first poll for new events and invoke handlers before handling the message queue

    • Fix parsing of "domain" statement in resolv.conf

    • stop_read now does just that in TLS mode; see its documentation for caveats

    • Update to common::sense 3.4 warning set

    • AE::Handle had a broken rbuf_max method and missing wbuf_max method

    • New experimental AE::Handle::resettls method

  • Updated perl-IO-Socket-INET6 to 2.67:

    • IO::Socket is doing some imports so we now do use IO::Socket ()

    • Fixed the rest of the imports

Sunday 23rd January 2011

Local Packages

  • Updated perl-ExtUtils::CBuilder to 0.280201:

    • t/04-base.t no longer attempts to compile or link as this provokes failures on main platforms

    • Various typo fixes in Pod or comments
  • Updated perl-Module-CoreList to 2.44:

    • Updated for 5.12.3
    • Merged 5.12.3 and 5.13.9

Monday 24th January 2011

Local Packages

  • New package perl-AnyEvent-AIO (1.1)

  • New package perl-Coro (5.25)

  • New package perl-Event (1.13)

  • New package perl-Guard (1.021)

  • Updated perl-DBI to drop filtering of perl(Coro) dependencies and to drop DBD::Gofer::Transport::corostream on old releases (with perl < 5.8.8) where perl(Coro) is not available

  • Updated perl-ExtUtils-CBuilder to 0.280202:

    • Different file names used for test files; allows EU::CB tests to be run in parallel

  • Updated unrar to 4.0 Beta 5

    • Command line mode -ibck switch is applicable to most of archive processing operations, not just archiving and extracting

    • "a" and "s" commands with -iicon and -iimg switches did not remove temporary files after completion

Tuesday 25th January 2011

Fedora Project

  • Updated perl-Package-Stash-XS to 0.21 in Rawhide:

    • Make the leak tests author-only, since some smokers run release tests
    • Fix some XS forward compatibility stuff
  • Updated perl-Package-Stash to 0.25 in Rawhide:

    • Make the leak tests author-only, since some smokers run release tests

Local Packages

  • New package perl-CPAN-Meta-YAML (0.003)

  • New package perl-JSON-PP (2.27104)

  • New package perl-Module-Metadata (1.000003)

  • New package perl-Perl-OSType (1.002)

  • Updated perl-DateTime to update DateTime::TimeZone to 1.27:

    • Based on version 2011a of the Olson database
    • Includes historical updates for Australia and Hawaii
  • Updated perl-Module-Build to 0.3622:

    • Give a list of valid licenses when given one we don't recognize (CPAN RT#55951)

    • Improve HTML documentation generation on ActivePerl (CPAN RT#53478)

    • Won't try to use ActivePerl doc generation tools without confirming that they are indeed installed

    • Handle META/MYMETA reading and writing within Module::Build to ensure utf8 mode on filehandles

    • Fix runtime error on cygwin when searching for an executable command during installdeps testing

    • Add install*script to search path for installdeps client and search site, then vendor, then core paths

    • Set temporary $ENV{HOME} in testing to an absolute path, which fixes some issues when tested as part of the Perl core

    • Module::Build::ModuleInfo now warns instead of dying when a module has an invalid version; ->version now just returns undef (CPAN RT#59593)

    • Add 'Build manifest_skip' action to generate a default MANIFEST.SKIP

    • When temporarily generating a MANIFEST.SKIP when none exists, it will be removed on exit instead of hanging around until 'Build clean'; this is less surprising/confusing and the 'Build manifest_skip' action is now available instead to bootstrap the file

    • Add 'distinstall' action to run 'Build install' inside the generated distribution directory

    • Add 'release_status' and 'dist_suffix' properties in preparation for adding CPAN Meta Spec 2 support; 'dist_suffix' will be set to 'TRIAL' automatically when necessary

    • Module::Build::Compat will now convert dotted-decimal prereqs into decimal rather than dying (and will warn about this)

    • Skip 'release_status' tests on perl < 5.8.1 due to buggy treatment of dotted-decimal version numbers

    • PERL_DL_NONLAZY is now always set when tests are run (CPAN RT#56055)

    • Cache case-sensitivity checks to boost performance (CPAN RT#55162, CPAN RT#56513)

    • When parsing a version number out of a file, any trailing alphabetical characters will be dropped to avoid fatal errors when comparing version numbers; these would have been dropped (with a warning) anyway during an ordinary numeric comparison (CPAN RT#56071)

    • A Perl interpreter mismatch between running Build.PL and running Build is now a fatal error, not a warning (CPAN RT#55183)

    • Build script now checks that M::B is at least the same version of M::B as provided in 'configure_requires' in META (CPAN RT#54954)

    • No longer uses fake user 'foo' in t/tilde (CPAN RT#61793)

    • 'fakeinstall' will use .modulebuildrc actions for 'install' if no specific 'fakeinstall' options are provided (CPAN RT#57279)

    • When authors do not specify Module::Build in configure_requires and Module::Build is automatically added, a warning will be issued showing the added prerequisite

    • Move automatic configure_requires generation into get_metadata() and add an 'auto' argument to toggle it (on for META and off for MYMETA)

    • Correctly report missing metafile field names
    • A broken version.pm load won't cause Module::Build::Version to die trying to install itself as a mock version (CPAN RT#59499)

    • Better error message in case package declaration is not found when searching for version
    • Make 'license' more liberal: you can now specify either a license key from the approved list (c.f. Module::Build::API) or just a Software::License subclass name (e.g. 'Perl_5'); this should provide better support for custom or proprietary licenses

    • Add a mock Software::License to prevent t/properties/license.t from failing

    • Arguments with key-value pairs may now have keys with "-" in them (CPAN RT#53050)

    • Won't fail tests if an ancient Tie::IxHash is installed

    • Add dependency on Perl::OSType to refactor and centralize management of OS type mapping

    • Perl::OSType is declared as a 'configure_requires' dependency, but is also bundled in inc (and loaded if needed)

    • Return to starting directory after install action; this is an attempt to fix an install.t heisenbug (CPAN RT#63003)

    • Add quotemeta to t/tilde.t test to fix Cygwin fails

    • Skip noexec tmpdir check on Windows (CPAN RT#55667)

    • Changed YAML::Tiny references to the new CPAN::Meta::YAML module instead, which is the YAML-variant that is going into the Perl core

    • Module::Build::YAML has been deprecated; Module::Build now depends directly upon CPAN::Meta::YAML (M::B::YAML remains as a subclass wrapper)

    • Module::Build::ModuleInfo has been deprecated; Module::Build now depends directly upon Module::Metadata (which is an extraction of M::B::ModuleInfo intended for general reuse); a pure-perl version has been bundled in inc/ solely for bootstrapping in case configure_requires is not supported (M::B::ModuleInfo remains as a wrapper around Module::Metadata)

    • Module::Build::Version has been deprecated; Module::Build now depends directly upon version.pm; a pure-perl version has been bundled in inc/ solely for bootstrapping in case configure_requires is not supported (M::B::Version remains as a wrapper around version.pm)

    • The YAML_support feature has been removed

  • Packaging changes:
    • Drop workaround for gnupg2's inability to import secret keys now that %{__gpg} can safely be assumed to be gnupg version 1

    • Package LICENSE file

    • Clean up Requires/BuildRequires and add version requirements
    • Drop runtime dependency on perl(Archive::Zip), used only in the test suite

    • Drop perl(Software::License) buildreq as the bundled version can be used

    • Drop all dependencies on perl(YAML::Tiny)

    • BR: perl(CPAN::Meta::YAML) ≥ 0.002, perl(Module::Metadata) ≥ 1.000002, perl(Perl::OSType) ≥ 1

  • Updated perl-Package-Stash-XS to 0.21 as per the Fedora package

  • Updated perl-Package-Stash to 0.25 as per the Fedora package

  • Updated perl-Parse-CPAN-Meta to 1.4200, adding buildreqs perl(CPAN::Meta::YAML) ≥ 0.002, perl(JSON::PP) ≥ 2.27103 and perl(Module::Load::Conditional) ≥ 0.26, and dropping no-longer-used buildreqs perl(Test::CPAN::Meta) and perl(Test::MinimumVersion); the package can now parse META.json files as well as META.yml files

    • Add support for JSON metafiles and load_* methods

    • Move binary file unpacking to test file from Makefile.PL so tests will pass in the Perl core using a generated Makefile.PL

    • Move bundled uupacktool.pl to t/bin/

    • Use CPAN::Meta::YAML rather than YAML::Tiny

    • Throw exception when CPAN::Meta::YAML has a parse error (CPAN RT#47608)

    • Support PERL_JSON_BACKEND environment (defaulting to JSON::PP)

    • Support PERL_YAML_BACKEND environment (defaulting to CPAN::Meta:YAML)

    • Update Makefile.PL to install to sitelib on Perl 5.12+

Wednesday 26th January 2011

Fedora Project

  • Submitted perl-CPAN-Meta-YAML for review

  • Submitted perl-JSON-PP for review

  • Submitted perl-Module-Metadata for review

  • Submitted perl-Perl-OSType for review

  • Built perl-Parse-CPAN-Meta (1.40) for EPEL-4 and EPEL-5

  • Built perl-Test-Portability-Files (0.05) for EPEL-4

  • Updated perl-Test-CPAN-Meta in git for EPEL-4 and EPEL-5 so that it's ready to build when perl-Parse-CPAN-Meta is pushed to stable

Local Packages

  • New package perl-EV (4.03)

  • Rebuilt perl-Coro with EV support (adding Coro::EV)

Thursday 27th January 2011

Fedora Project

  • Updated perl-JSON in Rawhide to 2.50 (Bug #665621), necessary to avoid conflicts with the new perl-JSON-PP package, which was bundled with perl-JSON in previous releases; I also added new provides/requires filtering to remove references to internal-only package names in the rpm metadata

  • New package perl-CPAN-Meta-YAML (0.003) built for Rawhide, F-14, F-13 and EL-6; EL-5 and EL-4 builds will have to wait for the availability of perl-Test-CPAN-Meta and perl-Parse-CPAN-Meta, which will be around a month

  • New package perl-JSON-PP (2.27104) built for Rawhide only because it conflicts with perl-JSON < 2.50 as found in all older releases

  • Importing this package proved to be tricky because there's currently Bug #619979 affecting fedpkg whereby it crashes if there are no branches other than master present:

  • $ fedpkg new-sources JSON-PP-2.27104.tar.gz
    Traceback (most recent call last):
      File "/usr/bin/fedpkg", line 1250, in <module>
        args.command(args)
      File "/usr/bin/fedpkg", line 607, in new_sources
        mymodule = pyfedpkg.PackageModule(args.path)
      File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 1077, in __init__
        self.distval = self._findmasterbranch()
      File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 1022, in _findmasterbranch
        return(int(fedoras[-1].strip('f')) + 1)
    IndexError: list index out of range
  • Fortunately, Petr Pisar came up with a manual way of doing the import without polluting the repository with unwanted branches:
  • $ PACKAGE_NAME=perl-JSON-PP
    $ SOURCE_FILE_NAME=JSON-PP-2.27104.tar.gz
    $ echo "/${SOURCE_FILE_NAME}" > .gitignore
    $ md5sum "${SOURCE_FILE_NAME}" > sources
    $ MD5_SUM_OF_SOURCE_FILE=$(cut -d" " -f1 < sources)
    $ curl -k --cert ~/.fedora.cert \
           -F "name=${PACKAGE_NAME}" \
           -F "md5sum=${MD5_SUM_OF_SOURCE_FILE}" \
           -F "file=@${SOURCE_FILE_NAME}" \
           https://pkgs.fedoraproject.org/repo/pkgs/upload.cgi
    $ git add .gitignore sources ${PACKAGE_NAME}.spec
    $ git commit
    $ git push
    $ koji build dist-f15 \
           "git://pkgs.fedoraproject.org/${PACKAGE_NAME}#$(<.git/refs/heads/master)"
  • New package perl-Perl-OSType (1.002) built for Rawhide, F-14, F-13 and EL-6; EL-5 and EL-4 builds will have to wait for the availability of perl-Test-CPAN-Meta, perl-Test-Portability-Files and perl-Parse-CPAN-Meta, which will be around a month

  • Built perl-Data-OptList (0.101) for EPEL-4 now that perl-Params-Util has reached EPEL-4 stable

  • Built perl-Package-Generator (0.100) for EPEL-4 now that perl-Params-Util has reached EPEL-4 stable

Local Packages

  • New package perl-JSON (2.50)

  • Updated perl-Class-Inspector to 1.25 and built it to install to Perl core directories rather than Perl vendor directories:

    • Update to Module::Install::DSL 1.00

    • Update copyright year
  • Updated perl-JSON-PP to conflict with perl-JSON < 2.50 (Bug #672764)

  • Updated perl-Module-Build to 0.3623:

    • Fixed bugs involving bootstrapping configure_requires prerequisites on older CPANPLUS clients or for either CPAN/CPANPLUS when using the compatibility Makefile.PL

    • Added diagnostic output when configure_requires are missing for the benefit of users doing manual installation

  • Updated perl-PPIx-Regexp to 0.017 and built it to install to Perl core directories rather than Perl vendor directories:

    • Add the /a modifier to PPI::Regexp::Token::Modifiers, legal only in the (?:...) construction

    • When parsing an interpolation from a replacement string (rather than a regular expression), take subscripts at face value rather than trying to disambiguate them from quantifiers and character classes, which they can't be in this context

Friday 28th January 2011

Local Packages

  • New package perl-JSON-XS (2.3)

  • Updated libcurl7155 to avoid use of uninitialized variable on failure of an LDAP request, and add proxy tunnel support for LDAP requests (both Bug #670523); the patch for this was taken from the recent EL-5 curl update

  • Updated perl-Module-Build to 0.3624:

    • Fixed pod2html directory bugs

    • Fixed creation of spurious blib directory in core Perl directory when running install.t (CPAN RT#63003)

Saturday 29th January 2011

Local Packages

  • Updated xz to 5.0.1:

    • xz --force now (de)compresses files that have setuid, setgid, or sticky bit set and files that have multiple hard links; the man page had it documented this way already but the code had a bug

    • gzip and bzip2 support in xzdiff was fixed

    • Portability fixes
    • Minor fix to Czech translation

Monday 31st January 2011

Fedora Project

  • Became owner of the EPEL-4 branch of perl-Sub-Exporter and merged it with the EPEL-5 branch; the build will have to wait a couple of weeks until perl-Package-Generator and perl-Data-OptList are oushed to EPEL-4 stable

Local Packages

  • Updated nmap to 5.50

  • The updated version includes a new utility nping, though it's only available on distributions with openssl 0.9.8 or later (Fedora 5 onwards) as it needs the EVP_sha256 function

  • I also came across a problem when compiling nmap for ancient distributions (pre Fedora 2) with libpcap 0.7.2 or earlier, despite configuring builds on those releases to use the bundled libpcap:

  • $  ./configure \
        --with-liblua=included \
        --with-libpcap=included \
        --without-nping
    ...
    gcc -c -I/usr/kerberos/include   -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O2 -g -pipe -march=i386 -mcpu=i686 -Wall   nsock_pcap.c -o nsock_pcap.o
    In file included from ../../libpcap/pcap.h:45,
                     from nsock_pcap.h:7,
                     from nsock_pcap.c:12:
    ../../libpcap/pcap/pcap.h:352: error: conflicting types for `bpf_filter'
    /usr/include/net/bpf.h:448: error: previous declaration of `bpf_filter'
    ../../libpcap/pcap/pcap.h:353: error: conflicting types for `bpf_validate'
    /usr/include/net/bpf.h:447: error: previous declaration of `bpf_validate'
  • What's happening here is that nsock's configure script is checking for <net/bpf.h> and finding it on the system, despite the fact that we're using the bundled libpcap, which doesn't supply that obsolete header file. So the old system libpcap header files are included in addition to the much newer bundled libpcap header files and we get the conflict above. A simple workaround was to tell the configure script that we don't have <net/bpf.h>:

  • $ export ac_cv_header_net_bpf_h=no
    $ ./configure ...
  • I reported the issue upstream in the hope that maybe the configure script could be tweaked not to check for this header if the included libpcap is being used in future versions.

  • Updated perl-Parse-CPAN-Meta to add explicit runtime dependencies on perl(CPAN::Meta::YAML) ≥ 0.002 and perl(JSON::PP) ≥ 2.27103 as the module loads these dynamically as needed and thus they aren't found by the automatic dependency generator

  • Updated perl-YAML-Tiny to 1.47:

    • No functional changes
    • Only depend on the YAML implementations when we are release testing

Previous Month: December 2010
Next Month: February 2011

Recent