PaulHowarth/Blog/2014-07

Paul's Blog Entries for July 2014

Tuesday 1st July 2014

Fedora Project

  • Updated perl-CPAN-Meta-Check (0.009) to run the release tests unconditionally since the circular build dependency issue that was an issue when bootstrapping has been resolved: building perl-YAML-Tiny no longer pulls in perl-CPAN-Meta-Check

  • Updated perl-Path-Tiny to 0.055 in Rawhide and EPEL-7:

    • tempfile/tempdir won't warn if used as functions without arguments

Local Packages

  • Updated perl-DBD-CSV to 0.43:

    • Optionally skip tests using File::Spec->tempdir() (CPAN RT#87684)

    • Document the use of $TMPDIR in README

    • Make the SYNOPSIS more reflect real-world usage

    • Detect DBI::Test and use it if available

    • Unquote schemas in test for cygwin
    • Extra guards in Makefile.PL for unmet requirements

  • Updated perl-Net-FTPSSL to 0.24:

    • Makefile.PL fix: only asks question if Net::HTTPTunel isn't present; also now defaults to "N" instead of "Y" if module not present

    • Fixed bug in supported(); unsupported commands are followed with "*" in help - most do "CMD*", but found some servers doing "CMD *" instead

    • Fixed bug in 20-certificate.t where we were getting a false failure on nlst(); fixed to explicitly check the response code instead of assuming an error when nothing was found (fixed list() as well)

    • Same fix in 10-complex.t, even though tests designed to always return something

    • Added transfer() to transfer files from one system to another system without the need to make a local copy of the file

    • Added xtransfer() as well

    • Added transfer and xtransfer validation to 10-complex.t to test things out

    • Added a new environment variable default for *.t prompts

    • Fix hang issue when the command channel unexpectedly drops, by implementing a timeout in response() (CPAN RT#95411)

  • Updated perl-Path-Tiny to 0.055 as per the Fedora version

  • Updated php-Smarty to 3.1.19:

    • Revert date format fix from 3.1.18 because %-e date format is not supported on all operating systems

    • Bugfix: calling createTemplate(template, data) with empty data array caused notice of array to string conversion (Issue 189)

    • Bugfix: clearCompiledTemplate() did not delete files on Windows when a compile_id was specified

    • Using multiple cwd with relative template dirs could result in identical compiled file names (Issue 194 and Topic 25099)

    • Fixed PHPUnit outputFilterTrimWhitespaceTests.php assertion of test result

    • Fixed spelling, PHPDoc, minor errors, code cleanup

    • Bugfix: {block} tags within {literal} .. {/literal} were not displayed correctly (topic 25024)

    • Bugfix: UNC Windows paths like "\\psf\path\to\dir" did not work as template directory (Issue 192)

    • Bugfix: {html_image} security check failed on files relative to basedir (Issue 191)

    • Bugfix: large template text of some charsets could cause parsing errors (Topic 24630)
    • Bugfix: template variables could not be passed as parameters in {include} when the include was in a {nocache} section (Topic 25131)

Thursday 3rd July 2014

Fedora Project

  • Updated perl-Readonly to 2.00 in Rawhide:

    • Deprecation of Readonly::XS as a requirement for fast, readonly scalars is complete

Local Packages

  • Updated perl-Readonly to 2.00 as per the Fedora version

Friday 4th July 2014

Local Packages

  • Updated curl with various SSL-related fixes (mainly crash on connection failure)

  • Updated perl-File-pushd to 1.009:

    • Require a newer version of Test::More

  • Updated perl-IO-Socket-IP to 0.30:

    • Invoke $self->connect fully-qualified in case of subclasses with override (CPAN RT#95983)

    • Added extra diag() call in t/15io-socket.t (CPAN RT#96914)

  • Updated perl-Moose to 2.1210:

    • Clarify that Moose::Exception exists for internal usage and that user code is better using the Throwable role or Throwable::Error superclass

    • Moose::Manual::Support policy clarified regarding legacy Perl versions

    • Tests have been removed for an alpha branch of Test::Builder that will never see the light of day

Monday 7th July 2014

Fedora Project

  • Updated pari (2.7.1) in Rawhide to include an upstream fix for a crash in ellmul with obsolete use of E=[a1,a2,a3,a4,a6] (Bug #1104802, upstream bug #1589)

  • Updated perl-Test-Class to 0.46 in Rawhide (Bug #1116884)

  • Updated perl-Test-Modern to 0.009 in Rawhide:

    • Added: Implement an -internet feature allowing test scripts to declare they need access to the Internet; this honours the NO_NETWORK_TESTS environment variable

    • Precautionary bypassing of prototype for internal calls to Test::More::subtest

    • Updated: Improved namespaces_clean implementation along the same lines as recent changes to Test::CleanNamespaces

Local Packages

  • Updated perl-Test-Modern to 0.009 as per the Fedora version

Tuesday 8th July 2014

Local Packages

  • Updated perl-File-ShareDir-Install to 0.09:

    • Get rid of DB::single

    • Don't do POD tests by default

Wednesday 9th July 2014

Fedora Project

  • Updated perl-Event to 1.23 in Rawhide and F-21

Local Packages

  • Updated my build system to use CentOS 7 for EL-7 builds
  • Updated perl-Event to 1.23 as per the Fedora version

  • Updated perl-Import-Into to 1.002003:

    • Module loading is now done while importing, making it unnecessary to load them beforehand (CPAN RT#96995)

Thursday 10th July 2014

Fedora Project

  • Updated perl-Test-Assert in Rawhide to get the Perl::Critic test to pass ifPerl::Critic::Policy::ValuesAndExpressions::ProhibitNullStatements is installed (part of Perl-Critic-Pulp distribution) (Bug #1118374)

  • Updated rbldnsd in F-21, Rawhide, EPEL-6 and EPEL-7 to fix the return value from the initscript (or rbldnsctl for systemd-based systems), by using process substitution instead of a while loop at the end of a pipe (Bug #1118013)

Local Packages

  • Updated perl-Import-Into to 1.002004:

    • Fix prerequisite declarations for older toolchain
  • Updated perl-Test-Assert as per the Fedora version

  • Updated rbldnsd as per the Fedora version

Friday 11th July 2014

Fedora Project

  • Updated perl-Sub-Name to 0.06 in F-21, Rawhide and EPEL-7:

    • Do not change the string arg in XS, use copy instead (CPAN RT#96893)

    • Add README make target

    • Add more distribution metadata

Local Packages

  • Updated perl-IO-Socket-IP to 0.31:

  • Updated perl-Net-DNS to 0.78:

    • Fix nameserver identification on Cygwin (CPAN RT#97036)

    • Trailing comments were not stripped in /etc/resolv.conf (CPAN RT#96814)

    • Fix Net::DNS::Resolver->new() hang if nameserver :: exists (CPAN RT#96812)

    • Fix RFC 3597 (hex) parsing mistake (CPAN RT#96755)

    • Fix string treated as boolean in TXT (CPAN RT#96708)

    • Fix "Insecure dependency in connect" with Net::DNS::Resolver over TCP (CPAN RT#96608)

    • Fix Net::DNS::Resolver warns "Use of uninitialized value in length" (CPAN RT#96535)

    • Calling $resolver->nameservers multiple times returned an increasingly-long list (on some perl installations) (CPAN RT#96531)

    • Fix uninitialised decoding object when printing packet (CPAN RT#96439)

  • Updated perl-Perl-Critic-Lax to 0.011:

    • Avoid crashing when encountering unusual PPI documents

  • Updated perl-Sub-Name to 0.06 as per the Fedora version

Monday 14th July 2014

Fedora Project

  • Updated perl-IO-Socket-SSL to 1.997 in F-21 and Rawhide:

    • Fix initialization and creation of OpenSSL-internals for perlcc compatibility (CPAN RT#95452)

    • Add refresh option for peer_certificate, so that it checks if the certificate changed in the meantime (on renegotiation)

    • Fix fingerprint checking - now applies only to top-most certificate
    • IO::Socket::SSL::Utils - accept extensions within CERT_create

    • Various documentation fixes
  • Updated perl-Sub-Name to 0.07 in F-21, Rawhide and EPEL-7:

    • Skip optional test if B::C 1.48 is not installed

  • Updated perltidy to 20140711 in F-21 and Rawhide (see CHANGES for details)

Local Packages

  • Created repository for Fedora 21
  • Updated curl to use %license in the %files list where possible

  • Updated perl-Class-Tiny to 0.015:

    • Lowered minimum perl to 5.006

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

  • Updated perl-Module-Build to 0.4206:

    • Formally declare 5.8 dependency
    • Fix MBTest to work with new and old versions of Test::Builder

    • Enable release and author tests during disttest

  • Updated perl-Path-FindDev to 0.5.1:

    • Miscellaneous packaging updates
  • Updated perl-Path-IsDev to 1.001001:

    • Miscellaneous packaging clean-ups
  • Updated perl-Perl-Tidy to 20140711 as per the Fedora perltidy package

  • Updated perl-Sub-Name to 0.07 as per the Fedora version

  • Updated perl-Test-UseAllModules to 0.15:

    • Dropped (experimental) Test::More 1.5/2.0 support

Tuesday 15th July 2014

Fedora Project

  • Updated perl-Net-SSLeay to 1.65 in F-21 and Rawhide:

    • Added note to docs to make it clear that X509_get_subjectAltNames returns a packed binary IP address for type 7 - GEN_IPADD

    • Improvements to SSL_OCSP_response_verify to compile under non-c99 compilers

    • Port to Android, includes Android-specific version of RSA_generate_key

    • Added LibreSSL support
    • Patch that fixes the support for SSL_set_info_callback and adds SSL_CTX_set_info_callback and SSL_set_state; support for these functions is necessary to either detect renegotiation or to enforce renegotiation

    • Fixed a problem with SSL_set_state not available on some early OpenSSLs

    • Removed arbitrary size limits from calls to tcp_read_all in tcpcat() and http_cat()

    • Removed unnecessary Debian_CPANTS.txt from MANIFEST - again

  • Updated perl-YAML to 0.96 in F-21 and Rawhide:

    • Fix metadata and add Contributing file

    • Change Kwim to Swim

Local Packages

  • Updated perl-Net-SSLeay to 1.65 as per the Fedora version

  • Updated perl-YAML to 0.96 as per the Fedora version

  • Updated perl-YAML-LibYAML to 0.44:

    • Switch to Zilla::Dist

    • No longer depend on Test::Base, Spiffy, and Filter::Util::Call

    • Remove test/changes.t

Wednesday 16th July 2014

Fedora Project

  • Updated perl-Test-Requires to 0.08 in F-21 and Rawhide:

    • Switch to ExtUtils::MakeMaker

Local Packages

  • Updated curl to 7.37.1 and added patch to fix endless loop with GSSAPI proxy auth (Bug #1118751)

    • bits.close: introduce connection close tracking

    • darwinssl: add support for --cacert

    • polarssl: add ALPN support

    • docs: added new option man pages
    • build: fixed incorrect reference to curl_setup.h in Visual Studio files

    • build: use $(TargetDir) and $(TargetName) macros for .pdb and .lib output

    • curl.1: clarify that -u can't specify a user with colon

    • openssl: fix uninitialized variable use in NPN callback

    • curl_easy_reset: reset the URL

    • curl_version_info.3: returns a pointer to a static struct

    • url-parser: only use if_nametoindex if detected by configure

    • select: with winsock, avoid passing unsupported arguments to select()

    • gnutls: don't use deprecated type names any more

    • gnutls: allow building with nghttp2 but without ALPN support

    • tests: fix portability issue with the tftpd server

    • curl_sasl_sspi: fixed corrupt hostname in DIGEST-MD5 SPN

    • curl_sasl: extended native DIGEST-MD5 client nonce to be a 32-byte hex string

    • random: use Curl_rand() for proper random data

    • Curl_ossl_init: call OPENSSL_config for initializing engines

    • config-win32.h: updated for VC12

    • winbuild: don't USE_WINSSL when WITH_SSL is being used

    • getinfo: HTTP CONNECT code not reset between transfers

    • Curl_rand: use a fake entropy for debug builds when CURL_ENTROPY set

    • http2: avoid segfault when using the plain-text http2

    • conncache: move the connection counter to the cache struct

    • http2: better return code error checking

    • curlbuild: fix GCC build on SPARC systems without configure script

    • tool_metalink: support polarssl as digest provider

    • curl.h: reverse the enum/define setup for old symbols

    • curl.h: moved two really old deprecated symbols

    • curl.h: renamed CURLOPT_DEPRECATEDx to CURLOPT_OBSOLETEx

    • buildconf: do not search tools in current directory

    • OS400: make it compilable again; make RPG binding up to date
    • nss: do not abort on connection failure (failing tests 305 and 404)

    • nss: make the fallback to SSLv3 work again

    • tool: prevent valgrind from reporting possibly lost memory (nss only)

    • progress callback: skip last callback update on errors
    • nss: fix a memory leak when CURLOPT_CRLFILE is used

    • compiler warnings: potentially uninitialized variables
    • url.c: fixed memory leak on OOM

    • gnutls: ignore invalid certificate dates with VERIFYPEER disabled

    • gnutls: fix SRP support with versions of GnuTLS from 2.99.0

    • gnutls: fixed a couple of uninitialized variable references

    • gnutls: fixed compilation against versions < 2.12.0

    • build: fixed overridden compiler PDB settings in VC7 to VC12
    • ntlm_wb: fixed buffer size not being large enough for NTLMv2 sessions

    • netrc: don't abort if home directory cannot be found

    • netrc: fixed thread safety problem by using getpwuid_r if available

    • cookie: avoid mutex deadlock

    • configure: respect host tool prefix for krb5-config

    • gnutls: handle IP address in cert name check

  • Updated perl-Mail-Sender to 0.8.23:

    • Fixed problems with long subjects containing accented characters
    • Fixed problems with IO::Socket::SSL

    • Trims addresses passed in an array (per request)
    • Fixed licence per request from Fedora
    • Fix to allow very long passwords
    • Fix error in TestServer()

  • Updated perl-Test-Requires to 0.08 as per the Fedora version

Thursday 17th July 2014

Fedora Project

  • Updated bluefish in F-20, F-21, Rawhide, EPEL-6 and EPEL-7 to make the shared-data sub-package depend on the main package so that we pull in the binary when someone tries to install just the data, which is what gnome-software does (Bug #1091613)

  • Updated perl-IO-All to 0.66 in F-21 and Rawhide:

    • Move doc to Swim

    • Fix Meta and add Contributing file
  • Updated perl-YAML to 0.97 in F-21 and Rawhide:

    • Move remaining docs to Swim

Local Packages

  • Updated bluefish as per the Fedora version

  • Updated curl to use POSIX threads and NSS for EL-7 build

  • Updated perl-Class-Tiny to 1.000:

  • Incompatible Changes:

  • These changes make Class::Tiny-based classes easier to subclass by more advanced object frameworks like Moose or Moo`

    • Attributes for custom accessors must be declared for them to be set via the constructor; it is no longer sufficient for a method of the same name to exist

    • Unknown constructor arguments are ignored rather than fatal; they are not included in the object (special instructions for using BUILD to hide constructor arguments from validation are irrelevant and have been removed)

  • Updated perl-HTTP-Tiny to 0.044:

    • Providing a custom 'Host' header is now a fatal exception; previously, it was silently ignored, as the RFC mandates that Host be set from the URL, but ignoring it could lead to unexpected, confusing errors

    • Optimized URL splitting
    • Passing 'undef' for any proxy attribute will prevent HTTP::Tiny from setting the proxy from the environment

  • Updated spfmilter to 0.98:

    • Changed the regular SMTP response code used in -graylist mode from 451 to 421

    • Added pidfile option

    • Updated for clang, and general clean-up

  • Updated perl-YAML to 0.97 as per the Fedora version

Friday 18th July 2014

Fedora Project

  • Updated gtkwave to 3.3.61 in F-21, Rawhide and EPEL-7:

    • Parameterized number of named markers, so that --enable-manymarkers at configure time allows up to 702 named markers instead of 26 (disabled by default)

    • Updated LZ4 for version r118

    • Fixed broken VCD/TIM export in Windows (broken by new file requester)
  • Updated perl-Hash-Util-FieldHash-Compat to 0.08 in F-21, Rawhide and EPEL-7:

    • Add missing prereq declarations needed for perl 5.6 (CPAN RT#97000)

  • Updated perl-Test-Modern to 0.010 in F-21 and Rawhide:

    • Fix the behaviour of the BAIL_OUT called within object_ok

    • Add is_fastest, inspired by Test::Benchmark

Local Packages

  • Updated gtkwave to 3.3.61 as per the Fedora version

  • Updated perl-Hash-Util-FieldHash-Compat to 0.08 as per the Fedora version

  • Updated perl-Test-Modern to 0.010 as per the Fedora version

  • Updated perl-Test-Pod-Coverage to 1.10:

    • Changed license to Artistic 2.0
    • Added README

    • Moved Coverage.pm to lib/Test/Pod/Coverage.pm

    • Minimum perl version now set to 5.006 in both code and dist metadata (CPAN RT#21564)

    • Added DESCRIPTION section to pod (CPAN RT#28715), and changed to a minimal SYNOPSIS, with everything else moved to the DESCRIPTION

    • The "no verbose" tests in t/nosymbols.t weren't ensuring that the tests were running with HARNESS_VERBOSE set to false - you could set that true in your environment and break the test (CPAN RT#53947)

    • Makefile.PL: Ensured all prereqs listed in PREREQ_PM, and TEST_REQUIRES set if a recent enough ExtUtils::MakeMaker

    • Added github repo to pod and dist metadata
    • Deleted the old META.yml, so new MYMETA.{yml,json} will be generated

    • Reformatted Changes file as per CPAN::Changes::Spec

Saturday 19th July 2014

Local Packages

  • Updated libssh2 to use %license in the spec file

Monday 21st July 2014

Fedora Project

  • Updated perl-AnyEvent (7.07) in F-21 and Rawhide to avoid some optional test dependencies for EPEL builds so that we can get an EPEL-7 build done

  • Updated perl-Test-Kwalitee to 1.19 in F-21 and Rawhide:

    • kwalitee-metrics script now includes the module version as well as the name, for each metric provided

    • Remove test that is rendered invalid with upcoming changes to Test::Builder (1.005+)

    • Document new metrics added in Module::CPANTS::Analyse 0.93_01

Local Packages

  • Updated libgcrypt, libgpg-error, libidn and libmetalink to use %license in the spec file

  • Updated perl-HTTP-Tiny to 0.046:

    • Fixed t/002_croakage.t for various operating systems

    • Empty header fields are now allowed; headers with the 'undef' value will be rendered as an empty header

    • Updated HTTP/1.1 spec description from RFC 2616 to RFC 7230-7235
  • Updated perl-Module-CoreList to 5.021002:

    • Prepared for v5.21.1 and v5.21.2
  • Updated perl-Test-Kwalitee to 1.19 as per the Fedora version

Tuesday 22nd July 2014

Fedora Project

  • Updated perl-Spiffy to 0.35 in F-21 and Rawhide:

    • Fix metadata and add CONTRIBUTING

Local Packages

  • Updated perl-Spiffy to 0.35 as per the Fedora version

Thursday 24th July 2014

Fedora Project

  • Updated perl-CPAN-Changes to 0.29 in F-21 and Rawhide:

    • Groups are now objects (CPAN::Changes::Group); backwards compatibility from hashes should be preserved (GH#22)

  • Updated perl-perl5i to 2.13.0 in F-21, Rawhide and EPEL-7:

    • $scalar->path will return a Path::Tiny object using the contents of $scalar, which makes working with files much, much easier (GH#229, GH#247)

    • The project has moved to the evalEmpire organization to allow broader project admin options (http://github.com/evalEmpire/perl5i)

    • Added a project rationale (GH#226, GH#252)

    • Fixed a crash if the perl5i command line is fed a null byte (GH#269, GH#273)

    • Stop using deprecated Hash::StoreIterator::eech() (GH#270)

    • The methods() meta method now ignores subroutines declared with func() (GH#222, GH#253)

Local Packages

  • Updated perl-CPAN-Changes to 0.29 as per the Fedora version

  • Updated perl-Search-Elasticsearch to 1.14:

    • Added support for indexed scripts and indexed templates
  • Updated perl-Net-DNS-Resolver-Programmable (0.003) not to use private Net::DNS API removed in Net-DNS 0.75 (Bug #1099382, CPAN RT#95901)

  • Updated perl-perl5i to 2.13.0 as per the Fedora version

  • Updated perl-YAML to inject VERSION into each module (Bug #1115971)

Saturday 26th July 2014

Fedora Project

  • Built perl-AnyEvent (7.07) for EPEL-7

Monday 28th July 2014

Fedora Project

  • Updated perl-CPAN-Changes to 0.30 in F-21 and Rawhide:

    • Fix for subclassing CPAN::Changes::Group (GH#23)

  • Updated perl-CPAN-Meta to 2.142060 in F-21 and Rawhide:

    • Added ability for CPAN::Meta::Converter to convert metadata fragments (incomplete portions of a metadata structure)

    • Optimized internal use of JSON for data structure cloning

    • Removed dependency on List::Util 1.33

    • Clarified language around 'dynamic_config' in the Spec

    • Clarified use of 'file' for the 'provides' field in the Spec

    • CPAN::Meta::Merge is a new class for merging two possibly overlapping instances of metadata, which will accept both CPAN::Meta objects and (possibly incomplete) hashrefs of metadata

  • Updated perl-Module-Build-Tiny to 0.037 in F-21, Rawhide and EPEL-7:

    • Scrub environment variable in tests
  • Updated perl-Spiffy to 0.36 in F-21 and Rawhide:

    • Fix email address in metadata

Local Packages

  • Updated check to 0.9.14 (see NEWS for details)

  • Updated perl-CPAN-Changes to 0.30 as per the Fedora version

  • Updated perl-CPAN-Meta to 2.142060:

    • CPAN::Meta::Merge is a new class for merging two possibly overlapping instances of metadata, which will accept both CPAN::Meta objects and (possibly incomplete) hashrefs of metadata

  • Updated perl-Module-Build-Tiny to 0.037 as per the Fedora version

  • Updated perl-Spiffy to 0.36 as per the Fedora version

Tuesday 29th July 2014

Local Packages

  • Updated perl-DBD-SQLite to remove notes about bundled sqlite C source from the man page and README when building with system SQLite

Wednesday 30th July 2014

Local Packages

  • Updated perl-HTTP-Tiny to 0.047:

    • Updated Mozilla::CA module recommendation version to 20130114

    • Fixed t/00-report-prereqs.t when CPAN::Meta is not installed

Thursday 31st July 2014

Fedora Project

  • Updated perl-CPAN-Meta-Requirements to 2.126 in F-21 and Rawhide:

    • Fixed compatibility with version.pm 0.77

    • Minor documentation fixes
    • Modernized distribution meta files
  • Updated perl-Spiffy to 0.37 in F-21 and Rawhide:

    • Update IRC in metadata
  • Updated perl-YAML to 0.98 in F-21 and Rawhide:

    • Fix indexing of YAML::Any

    • Change IRC to irc.perl.org#yaml

Local Packages

  • Updated perl-CPAN-Meta-Requirements to 2.126 as per the Fedora version

  • Updated perl-Spiffy to 0.37 as per the Fedora version

  • Updated perl-YAML to 0.98 as per the Fedora version

  • Updated php-Smarty to add composer provides

Previous Month: June 2014
Next Month: August 2014

Recent