PaulHowarth/Blog/2015-05

Paul's Blog Entries for May 2015

Friday 1st May 2015

Fedora Project

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

    • Assign severities to internal error handling and make sure that follow-up errors like "configuration failed" or "certificate verify error" don't replace more specific "hostname verification failed" when reporting in sub errstr/$SSL_ERROR (CPAN RT#103423)

    • Enhanced documentation (https://github.com/noxxi/p5-io-socket-ssl/pull/26)

  • Updated perl-PerlIO-utf8_strict to 0.006 in Rawhide:

    • Move to MakeMaker

Local Packages

  • Updated perl-File-Which to 1.17:

    • Removed pwhich as forewarned in 1.10

    • Migrated to Dist::Zilla (relevant only for development)

    • Minimum supported Perl is 5.8.1
  • Updated perl-IO-Socket-SSL to 2.013 as per the Fedora version

  • Updated perl-PerlIO-utf8_strict to 0.006 as per the Fedora version

  • Updated perl-XML-LibXML to 2.0120:

    • Replace the test for the previous change with a more meaningful one

Saturday 2nd May 2015

Fedora Project

  • Updated perl-AnyEvent to 7.09 in Rawhide:

    • AnyEvent::Debug called an internal function (AnyEvent::Log::ft) that was renamed to AnyEvent::Log:format_time, under its old name

    • Update AnyEvent::DNS fallback resolver addresses: it seems google effectively killed most other free dns resolvers, so remove them, but add Cable and Wireless (ecrc) since it was stable for 20 years or so, official or not, and there should be an alternative to google

    • perl5porters broke Windows error codes in 5.20, and mapped WSAEWOULDBLOCK on the (different) EWOULDBLOCK error code, and WSAEINPROGRESS into the incompatible ERINPROGRESS code (there may be others too); this version only works around the WSAEWOULDBLOCK issue, because I don't have a nice way to work around the WSAEINPROGRESS bug

Local Packages

  • Updated perl-AnyEvent to 7.09 as per the Fedora version

  • Rebuilt spamass-milter (0.4.0) for GCC 5 C++11 ABI change in Rawhide

Sunday 3rd May 2015

Fedora Project

  • Updated perl-FileHandle-Unget to 0.1628 in Rawhide:

    • Prevent CPAN from indexing private-lib

  • Updated perl-Mail-Mbox-MessageParser to 1.5105 in Rawhide:

    • Prevent CPAN from indexing private-lib

  • Updated grepmail to 5.3104 in Rawhide:

    • Clarify licensing terms
    • Don't install private Module::Install extension (CPAN RT#103482)

    • Move verbose testing to a private module, and implement it in a way that doesn't require editing the Makefile after it is generated

    • Require File::Slurp instead of including it, to avoid potential problems like this:

    • http://www.cpantesters.org/cpan/report/86a0145a-e52b-11e4-a1d1-8536eb4f9f07

    • Miscellaneous fixes for Windows compatibility, including weakening the invalid mailbox test so that it only looks for output from grepmail, and not any "broken pipe" message from the OS

Local Packages

  • Updated perl-FileHandle-Unget to 0.1628 as per the Fedora version

  • Updated perl-Mail-Mbox-MessageParser to 1.5105 as per the Fedora version

  • Updated grepmail to 5.3104 as per the Fedora version

  • Updated perl-XML-LibXML to 2.0121:

Tuesday 5th May 2015

Fedora Project

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

    • Utils::CERT_create - work around problems with authorityInfoAccess, where OpenSSL i2v does not create the same string as v2i expects

    • Intercept - don't clone some specific extensions that only make sense with the original certificate

Local Packages

  • Updated perl-File-Which to 1.18:

    • Remove prototypes (GH#6)

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

  • Updated perl-Lingua-EN-Inflect to 1.897:

    • Noted "print NUMWORDS($num)" gotcha in documentation

    • Fixed undef var bug in t/no_commas.t

    • Fixed words-below tests on things that aren't really numbers
    • Removed unneeded dependency on version

    • Doc nit knitted
    • Added a pointer to Lingua::EN::Inflexion

    • Fixed another POD nit
    • Removed second authorship attribution as requested
    • Vastly improved NUMWORDS

Wednesday 6th May 2015

Fedora Project

  • Updated perl-Test-CPAN-Meta to 0.25 in Rawhide:

    • POD fix for usage example
    • Removed Test::CPAN::Meta from the recommends list, as CPAN.pm tries to install it first (CPAN RT#104023)

  • Updated perl-Test-CPAN-Meta-YAML to 0.25 in Rawhide:

    • POD fixes
  • Updated perl-Test-Version to 1.05 in Rawhide:

    • New maintainer (PLICEASE), updated metadata

Local Packages

  • Updated perl-Lingua-EN-Inflect to 1.899:

    • Fixed bug in ORD() where huge integers (in strings) were downgraded to floating point before being (incorrectly) inflected

  • Updated perl-Test-CPAN-Meta to 0.25 as per the Fedora version

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

  • Updated perl-Test-Script to 1.08:

  • Updated perl-Test-Version to 1.05 as per the Fedora version

Thursday 7th May 2015

Fedora Project

  • Updated perl-Test-Version to 2.00 in F-22 and Rawhide:

    • Added filename_match setting

Local Packages

  • Updated perl-Test-Version to 2.00 as per the Fedora version

Friday 8th May 2015

Local Packages

  • Updated perl-Test-Script to 1.09:

    • If IPC::Run3::run3 throws an exception it will now fail the test (with a helpful diagnostic) rather than crashing the test script

    • A script that is killed with a signal is now considered a failure as well
    • Use alternate expected exit and signal values with options as the second argument to script_runs

    • Ability to pass input via stdin to the script with script_runs

    • Ability to capture stdout and stderr from script with script_runs

    • Functions to test stdout and stderr:

      • script_stdout_is

      • script_stdout_isnt

      • script_stdout_like

      • script_stdout_unlike

      • script_stderr_is

      • script_stderr_isnt

      • script_stderr_like

      • script_stderr_unlike

Tuesday 12th May 2015

Fedora Project

  • Updated GeoIP-GeoLite-data to the May 2015 databases in F-20, F-21, F-22 and Rawhide

  • Updated perl-YAML-Tiny to 1.67 in Rawhide:

    • Instead of erroring on duplicate keys found in a hash (introduced in version 1.63), now we only warn; this fixes an issue in Strawberry Perl (via CPAN::Meta::YAML) when parsing a configuration file

    • Updated File::Temp test prereq to 0.19 for 'newdir'

Local Packages

  • Updated GeoIP-GeoLite-data to the May 2015 databases

  • Updated perl-Eval-Closure to 0.13:

    • One more fix for blead (GH#6)

  • Updated perl-YAML-Tiny to 1.67 as per the Fedora version

Wednesday 13th May 2015

Fedora Project

  • Updated perl-Text-Hunspell to 2.11 in Rawhide:

    • Fix compilation on non-gcc based systems (CPAN RT#99810)

    • Minor clean-ups
    • No functional changes

Local Packages

  • Updated perl-Test-Pod to 1.49:

    • Changed license in the README to "Same as Perl" to match the license listed in 'META.yml', and in the POD as of v1.42

    • Tightened up the heuristic for matching Perl batch files to require that the file end in '.bat', as described in the documentation

    • Simplified some of the matching code
    • Transferred ownership of the repository to the perl-pod organization on GitHub

    • Removed the Pod testing test from the distribution
  • Updated perl-Test-Script to 1.10:

  • Updated perl-Text-Hunspell to 2.11 as per the Fedora version

Thursday 14th May 2015

Fedora Project

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

    • Work around problem with IO::Socket::INET6 on Windows, by explicitly using Domain AF_INET in the tests (CPAN RT#104226)

Local Packages

  • Updated dovecot:

  • Update dovecot to 2.2.17:

    • Dovecot no longer checks or warns if a mountpoint is removed
    • Make sure that all the mountpoints that Dovecot accesses aren't writeable by mail processes when they're unmounted
    • dict server wasn't properly escaping/unescaping data; fixing this broke backwards compatibility with data that contains line feeds, and hopefully affects only very few installations: if you're using dict to save multi-line data (Sieve scripts to SQL), you may be affected

    • imap: SPECIAL-USE capability is no longer advertised if there are no special_use flags specified for any mailboxes

    • lmtp: Added lmtp_hdr_delivery_address setting to specify whether to include email address in Delivered-To: and Received: headers

    • Added initial version of full text search library, which includes language-specific text normalization and filtering; this is still in development, but it's already possible to use for testing with fts-lucene and fts-solr

    • lda, lmtp: deliver_log_format can now include %{delivery_time}, which expands to how many milliseconds it took to deliver the mail

    • With LMTP, %{session_time} also expands to how many milliseconds the LMTP session took, not including the delivery time

    • lmtp proxy: Mail delivery logging includes timing information

    • imap: Most IMAP commands now include in the tagged reply how many milliseconds it took to run the command (not counting the time spent on waiting for the IMAP client to read/write data)

    • director: Implemented director_proxy_maybe passdb extra field to be able to run director and back-end in the same Dovecot instance (LMTP doesn't support mixed proxy/non-proxy destinations currently)

    • doveadm: Added -F <file> parameter to read a list of users from the given file and run the command for all the users; this is similar to -A parameter reading the list of users from userdb lookup

    • Implemented initial Cassandra CQL support as lib-sql back-end; it's only usable as dict back-end currently

    • Added quota-clone plugin to copy current quota usage to a dict

    • auth: If auth_master_user_separator was set, auth process could be crashed by trying to log in with empty master username

    • imap-login, pop3-login: Fixed crash on handshake failures with new OpenSSL versions (v1.0.2) when SSLv3 was disabled

    • auth: If one passdb fails allow_nets check, it shouldn't have failed all the other passdb checks later on

    • imap: Server METADATA couldn't be accessed

    • imapc: Fixed \Muted label handling in gmail-migration

    • imapc: Various bugfixes and improvements

    • Trash plugin fixes by Alexei Gradinari
    • mbox: Fixed crash/corruption in some situations

  • Update pigeonhole to 0.4.7:

    • editheader extension: Made protection against addition and deletion of headers configurable separately; also, the 'Received' and 'Auto-Submitted' headers are no longer protected against addition by default

    • Turned message envelope address parse errors into warnings
    • The interpreter now accepts non-standard domain names, e.g. containing '_'

    • Implemented the Sieve index extension (RFC 5260)

    • Implemented support for the mboxmetadata and servermetadata extensions (RFC 5490)

    • Implemented new sieve commands for the doveadm command line utility; these commands are currently limited to ManageSieve operations, but the other current sieve tools will be migrated to doveadm in the near future as well

    • Added more debug output about binary up-to-date checking
    • Added script metadata to binary dump output
    • Fixed Sieve script binary up-to-date checking by normalizing the script location

    • The Sieve interpreter now flushes the duplicate database during start phase of result execution rather than commit phase; this makes sure locks on the duplicate database are released as soon as possible, preventing contention

    • Performed a few optimizations in the lexical scanner of the language
    • Fixed bug in ':matches' match-type that made a pattern without wildcards match as if there were a '*' at the beginning

    • Fixed crash in validation of the string parameter of the comparator tag
    • extprograms extension: Made sure supplemental group privileges are also dropped; this was a problem reported by Debian lintian

    • Fixed bug in handling of binary errors for action side-effects and message overrides
    • File script storage: Restructured storage initialization to address backwards compatibility issues
    • dict script storage: Fixed small memory allocation bug

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

Friday 15th May 2015

Fedora Project

  • Updated perl-B-Hooks-EndOfScope to 0.15 in Rawhide:

    • Updated the tooling for generating Makefile.PL

    • Removed Tie::StdHash from prereqs, which is not require()able as a module on its own, despite being indexed (GH #3)

    • Fixed the addition in release 0.14 of Hash::Util::FieldHash as a prerequisite (which is not available prior to perl 5.010) for pure-perl installations (CPAN RT#104435)

Local Packages

  • Updated perl-B-Hooks-EndOfScope to 0.15 as per the Fedora version

  • Updated perl-DateTime-TimeZone to 1.90:

    • Fix a syntax error in the Android local time zone module (CPAN RT#104105)

    • Made the compilation test an author-only test, as many of the modules in this distribution try to load DateTime, but DateTime depends on this distribution, which caused attempts to install DateTime on a fresh perl install to fail (CPAN RT#104448)

Monday 18th May 2015

Fedora Project

  • Updated perl-Net-SSLeay (1.68) in Rawhide to revert upstream's dropping of SSLv3_method with OpenSSL 1.0.2 (Bug #1222521)

Local Packages

  • Updated dovecot:

  • Updated dovecot to 2.2.18:

    • director: Login UNIX sockets were normally detected as doveadm or director ring sockets, causing it to break in existing installations

    • sdbox: When copying a mail in alt storage, place the destination to alt storage as well

  • Updated pigeonhole to 0.4.8:

    • LDA Sieve plugin: Dovecot changed the deliver_log_format setting to include %{delivery_time}; this prompted changes in Pigeonhole that make this release dependent on Dovecot ≥ v2.2.17

    • Implemented magic to make sieve_default script visible from ManageSieve under a configurable name, so users can see the default rules, edit them and store a private adjusted version; this could also be achieved by copying the default script into the user's script storage, but updates to the global sieve_default script would be ignored that way

    • ManageSieve: Implemented support for reporting command statistics at disconnect; statistics include the number of bytes and scripts uploaded/downloaded/checked and the number of scripts deleted/renamed

    • Fixed problem in address test: erroneously decoded mime-encoded words in address headers
    • extprograms plugin: Fixed failure occurring when connecting to script service without the need to read back the output from the external program

    • Fixed bug in script storage path normalization occurring with relative symbolic links below root
    • Fixed and updated various parts of the documentation
    • ManageSieve: Used "managesieve" rather than "sieve" as login service name, which means that all managesieve-specific settings were ignored

    • ManageSieve: Storage quota was not always enforced properly for scripts uploaded as quoted string; nobody uses that, but it is allowed in the specification and we support it, so it should work properly

  • Updated perl-Capture-Tiny to 0.30:

    • Fix double filehandle close error with tee on Windows (which started warning during the perl 5.21.x series, causing tests to fail)

  • Updated perl-Module-Build to 0.4212:

    • Revert "Stop using version->normal(); prefer stringify()"

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

  • Updated perl-Search-Elasticsearch to 1.20:

  • Deprecated:
    • Search::Elasticsearch::Client::Direct in favour of Search::Elasticsearch::Client::1_0::Direct

  • New features:
    • Added support for structured JSON exceptions in Elasticsearch 2.0

    • Added support for plugins
    • Added Search::Elasticsearch::Client::2_0::Direct for the upcoming Elasticsearch 2.0 with these changes:

      • Removed delete_by_query()

      • Removed termvector()

      • Removed indices.delete_mapping()

      • Removed nodes.shutdown()

      • Removed indices.status()

      • Added terminate_after param to search()

      • Added dfs param to termvectors()

      • Removed filter_keys param from indices.clear_cache()

      • Removed full param from indices.flush()

      • Removed force param from indices.optimize()

      • Removed replication param from all CRUD methods

      • Removed mlt() method

  • Bug fix:
    • The bulk buffer was being cleared on a NoNodes exception

  • Added methods:
    • field_stats()

  • Added params:
    • allow_no_indices, expand_wildcards, ignore_unavailable to cluster.state()

    • fielddata_fields to search()

    • master_timeout to indices.get_template() and indices.exists_template()

    • detect_noop to update()

    • only_ancient_segments to upgrade()

    • analyze_wildcards, analyzer, default_operator, df, lenient, lowercase_expanded_terms, and q to count(), search_exists() and indices.validate_query()

  • Removed methods:
    • benchmark.* - never released in Elasticsearch

  • Also:
    • Arrays of enum query string params are now flattened as CSV

    • enum expand_wildcards also accepts: none, all

    • Search::Elasticsearch is no longer a Moo class

    • Updated elasticsearch.org URLs to use elastic.co instead

    • The request body is retained in exceptions
    • Upgraded Hijk dependency to 0.20

Tuesday 19th May 2015

Fedora Project

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

    • Generated from ETHER/YAML-Tiny-1.67.tar.gz

  • Updated perl-Module-Signature to 0.79 in F-20, F-21, F-22, Rawhide, EPEL-5 and EPEL-6:

    • Restore "cpansign --skip" functionality

  • Updated perl-Test-Version to 2.01 in Rawhide:

    • Fix failing test in t/all-generated.t

Local Packages

  • Rebuilt dovecot to sync with Rawhide

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

  • Updated perl-HTTP-Tiny to 0.056:

    • Added 'can_ssl' method to detect SSL support before trying and failing with a fatal exception

    • Added support for 308 redirects
    • When specifying a custom CA file, if that file is missing or unreadable, HTTP::Tiny will no longer fall back to a default CA

    • Documented that units are bytes for max_size

  • Updated perl-Module-Signature to 0.79 as per the Fedora version

  • Updated perl-Test-Version to 2.01 as per the Fedora version

  • Updated python-twisted to 15.2.0 (see NEWS for details)

Wednesday 20th May 2015

Fedora Project

  • Updated perl-List-MoreUtils to 0.412 in Rawhide:

    • Move generation of test endpoints to author stage as requested per issue/#9

    • Add a rough guide for contributors
    • Fix CPAN RT#103251 to avoid removing bundled stuff by accident

    • Fix compilation errors under cl

Local Packages

  • Updated perl-List-MoreUtils to 0.412 as per the Fedora version

Thursday 21st May 2015

Fedora Project

  • Cleaned up and rebuilt perl-IO-Socket-INET6 (2.72) in Rawhide after becoming owner of the package

  • Cleaned up and rebuilt perl-Socket6 (0.25) in Rawhide after becoming owner of the package

Local Packages

  • Updated perl-IO-Socket-INET6 as per the Fedora version

  • Updated perl-Socket6 as per the Fedora version

Friday 22nd May 2015

Local Packages

  • Updated perl-DateTime-Locale to 0.46:

    • Fixed handling of C locales like "C.UTF-8"; passing these to DateTime::Locale->load would cause a warning followed by an exception, but all "C" locales should be special-cased as an alias of en-US-POSIX (CPAN RT#104574)

Monday 25th May 2015

Fedora Project

  • Updated perl-Modern-Perl to 1.20150127 in F-21, F22 and Rawhide, after becoming owner of the package:

    • Updated for 2014 and 2015 releases
    • Added support for 5.18 and 5.20
  • Updated perl-Text-CSV_XS to 1.18 in Rawhide:

    • Add quote_empty attribute

    • Add database NULL documentation

    • Inherit csv attributes in csv() when called in void context

    • Micro-optimisation for combine/print (empty fields will be faster)

Local Packages

  • Updated perl-Text-CSV_XS to 1.18 as per the Fedora version

Tuesday 26th May 2015

Fedora Project

  • Updated perl-CPAN-Changes to 0.400001 in Rawhide:

    • Accept either UTF-8 or ISO-8859-1 files and decode them
    • Only treat bracketed text if it is on its own line with no other brackets
    • Bump version.pm prereq to make sure it works properly

    • Let long tokens (like URLs) overflow rather than splitting them into multiple lines
    • Don't wrap on non-breaking spaces
    • Clean up packaging
    • Return undef for dates or notes that don't exist

    • Quote meta chars to fix a problem that clobbered dates with timezones due to the '+' char (GH #20)

  • Updated perl-Sysadm-Install to 0.45 in Rawhide:

    • Fixed manifest and tests for the Windows platform
  • Updated perl-parent to 0.233 in Rawhide:

    • The diagnostic about inheriting from ourselves was removed; it served no purpose as Perl already warns if we try to inherit in a circular way
  • Updated perl-Test-RequiresInternet to 0.05 in Rawhide:

Local Packages

  • New package perl-Math-Base-Convert (0.08)

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

  • Updated perl-parent to 0.233 as per the Fedora version

  • Updated perl-SQL-Statement to 1.407:

    • Fix SQL function CONV to use limited number of sane character sets for conversion and rely on Math::Base::Convert instead of own code (CPAN RT#100551)

    • Fix handling of literal identifiers and for every IMPORT rely on literal identifiers to avoid parser errors for column names starting with numbers or similar

    • Fix capability cache: "$class->can(...)" might return undef and therefore non-existent capabilities are queried too often

    • Fix COUNT(DISTINCT col) without GROUP BY clause

    • Fix "parse insert with functions" (GitHub PR#6, CPAN RT#96628)

    • Fix CPAN RT#93320: SQL-style comment can not begin inside quotes

    • Fix CPAN RT#104579: Redundant argument in sprintf

    • Fix CPAN RT#104589: t/14parse.t fails if Test::Deep is not installed

    • Clean up Makefile.PL, meta-data and requirements

    • Reduce blocks and rewrite some inner statements to increase speed of sql command processing
  • I got some strange test failures in Perl 5.8.8 that may be due to updated test dependency packages as the old 1.405 package also now fails to build; I have only built for Fedora 9 onwards as a result of this
  • Updated perl-Test-RequiresInternet to 0.05 as per the Fedora version

  • Updated python-twisted to 15.2.1 (see NEWS for details)

Wednesday 27th May 2015

Fedora Project

  • Updated proftpd in Rawhide to update mod_vroot to 0.9.4:

    • Fix broken vroot alias checks (GH#4, GH#5)

    • Improve documentation
    • Add further regression tests

Local Packages

  • Updated proftpd as per the Fedora version

Thursday 28th May 2015

Fedora Project

  • Updated perl-parent to 0.234 in Rawhide:

    • Fix the test for PMC loading to work on versions of Perl that don't have Config::non_bincompat_options (CPAN RT#102626)

  • Updated proftpd to 1.3.5a in F-21, F-22, Rawhide and EPEL-7:

    • Fixed "stalled" SSL/TLS handshakes for data transfers
    • Fixed handling of SSH keys with overlong Comment headers in mod_sftp_sql

    • By default, mod_tls will no longer support SSLv3 connections; in order to support SSLv3 connections (for sites that need to), you must explicitly configure this via the TLSProtocol directive, e.g.:

    • TLSProtocol SSLv3 TLSv1 ...

    • The mod_copy module is enabled by default; there may be cases where the module should be disabled, without requiring a rebuild of the server, thus mod_copy now supports a CopyEngine directive to enable/disable the module

    • The DeleteAbortedStores directive (for Bug#3917) is only enabled when HiddenStores is in effect, as intended when originally implemented, rather than all the time

    • Many other bug-fixes, see NEWS for details

Local Packages

  • Updated perl-parent to 0.234 as per the Fedora version

  • Updated proftpd to 1.3.5a as per the Fedora version

  • Updated sendmail to add makemap and its manual page into alternatives (#1219178)

Friday 29th May 2015

Local Packages

  • Updated perl-Test-Pod to 1.50:

    • Restored support for ignoring directories listed in %Test::Pod::ignore_dirs, inadvertently dropped by the switch to File::Find in v1.46 (GH#9)

Sunday 31st May 2015

Fedora Project

  • Updated perl-Error to 0.17024 in Rawhide:

    • Add link to the VCS repository in META.yml

Local Packages

  • Updated perl-Error to 0.17024 as per the Fedora version

  • Updated perl-PPIx-Regexp to 0.040:

    • Report /n (no captures) as having been added in 5.21.8

    • Do not parse unadorned parentheses as capture groups when /n is in effect; instead, they are parsed as PPIx::Regexp::Structure (named captures appear to be unaffected by /n)

    • Made a verbose dump a little more so; specifically, dump max_capture_group where relevant, and display dumped values a bit more informatively

  • Updated Test-TrailingSpace to 0.0205:

    • Add link to the VCS repository in META.yml

Previous Month: April 2015
Next Month: June 2015

Recent