PaulHowarth/Blog/2018-12

Paul's Blog Entries for December 2018

Sunday 2nd December 2018

Fedora Project

  • Updated perl-Test-Simple to 1.302141 in Rawhide:

    • Fix bug where IPC init failed in preload+fork environments

Local Packages

  • Updated perl-Test-Simple to 1.302141 as per the Fedora version

Monday 3rd December 2018

Local Packages

  • Updated perl-Carp-Clan to 6.07:

    • Declared test prerequisites in the proper phase (CPAN RT#125288)

    • Modernized distribution tooling
  • Updated perl-DBD-SQLite to 1.60:

    • Upgraded SQLite to 3.25.2, with ALTER TABLE ... RENAME COLUMN and UPSERT among others

    • Added ::GetInfo (GH#32)

    • Fix to use a PV value as a virtual table column value where appropriate (CPAN RT#124941)

    • Add deferrability to foreign_key_info

    • Added a note on the long standing bug on TYPE statement handle attribute

    • Applied a doc patch on Virtual::PerlData (GH#31)

  • Updated perl-Module-CoreList to 5.20181130:

    • Updated for v5.28.1
    • Updated for v5.26.3

Wednesday 5th December 2018

Local Packages

Thursday 6th December 2018

Local Packages

  • Updated perl-Mail-IMAPClient to 3.40:

    • Support IPv6 by using IO::Socket::IP over IO::Socket::INET (CPAN RT#122373)

    • flags() undef value as an ARRAY reference on a bogus message (CPAN RT#127103)

    • Update examples/populate_mailbox.pl timegm usage (CPAN RT#124523)

    • t/capability.t: Added first set of tests

    • t/quota.t: Minor fix when tests skipped

Friday 7th December 2018

Fedora Project

  • Updated perl-JSON to 4.00 in Rawhide:

    • Backward Incompatibility: As JSON::XS 4.0 changed its policy and enabled allow_nonref by default, JSON::PP, and thus JSON, also enabled allow_nonref by default

    • Updated backportPP with JSON::PP 4.00

    • Allow PERL_JSON_PP_USE_B environmental variable to restore old number detection behaviour for compatibility

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

    • Backward Incompatibility: As JSON::XS 4.0 changed its policy and enabled allow_nonref by default, JSON::PP also enabled allow_nonref by default

    • Implement allow_tags, which was introduced by JSON::XS 3.0

    • Add boolean_values, which was introduced by JSON::XS 4.0

    • Allow literal tags in strings in relaxed mode, as JSON::XS 3.02 does

    • Allow PERL_JSON_PP_USE_B environmental variable to restore old number detection behaviour for compatibility

    • Various documentation updates

Local Packages

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

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

Monday 10th December 2018

Fedora Project

  • Updated perl-Test-CleanNamespaces to 0.24 in Rawhide:

    • Fix detection of constant subs on some platforms

Local Packages

  • Updated perl-Test-CleanNamespaces to 0.24 as per the Fedora version

Wednesday 12th December 2018

Local Packages

  • Updated curl to 7.63.0:

    • curl: Add %{stderr} and %{stdout} for --write-out

    • curl: Add undocumented option --dump-module-paths for win32

    • setopt: Add CURLOPT_CURLU

    • (lib)curl.rc: Fixup for minor bugs

    • CURLINFO_REDIRECT_URL: Extract the Location: header field unvalidated

    • CURLOPT_HEADERFUNCTION.3: Match 'nitems' name in synopsis and description

    • CURLOPT_WRITEFUNCTION.3: Spell out that it gets called many times

    • Curl_follow: Accept non-supported schemes for "fake" redirects

    • KNOWN_BUGS: Add --proxy-any connection issue

    • NTLM: Remove redundant ifdef USE_OPENSSL

    • NTLM: Force the connection to HTTP/1.1
    • OS400: Add URL API ccsid wrappers and sync ILE/RPG bindings
    • SECURITY-PROCESS: bountygraph shuts down again

    • TODO: Have the URL API offer IDN decoding

    • ares: Remove fd from multi fd set when ares is about to close the fd

    • axtls: Removed

    • checksrc: Add COPYRIGHTYEAR check

    • cmake: Fix MIT/Heimdal Kerberos detection

    • configure: Include all libraries in ssl-libs fetch

    • configure: Show CFLAGS, LDFLAGS etc. in summary

    • connect: Fix building for recent versions of Minix

    • cookies: Create the cookiejar even if no cookies to save
    • cookies: Expire "Max-Age=0" immediately

    • curl: --local-port range was not "including"

    • curl: Fix --local-port integer overflow

    • curl: Fix memory leak reading --writeout from file

    • curl: Fixed UTF-8 in current console code page (Windows)

    • curl_easy_perform: Fix timeout handling

    • curl_global_sslset(): id == -1 is not necessarily an error

    • curl_multibyte: Fix a malloc overcalculation

    • curle: Move deprecated error code to ifndef block

    • docs: curl_formadd field and file names are now escaped

    • docs: Escape "\n" codes

    • doh: Fix memory leak in OOM situation
    • doh: Make it work for h2-disabled builds too
    • examples/ephiperfifo: Report error when epoll_ctl fails

    • ftp: Avoid two unsigned int overflows in FTP listing parser
    • host names: Allow trailing dot in name resolve, then strip it
    • http2: Upon HTTP_1_1_REQUIRED, retry the request with HTTP/1.1

    • http: Don't set CURLINFO_CONDITION_UNMET for http status code 204

    • http: Fix HTTP Digest auth to include query in URI
    • http_negotiate: Do not close connection until negotiation is completed

    • impacket: Add LICENSE

    • infof: Clearly indicate truncation

    • ldap: Fix LDAP URL parsing regressions
    • libcurl: Stop reading from paused transfers

    • mprintf: Avoid unsigned integer overflow warning

    • netrc: Don't ignore the login name specified with "--user"

    • nss: Fall back to latest supported SSL version

    • nss: Fix compatibility with nss versions 3.14 to 3.15
    • nss: Fix fallthrough comment to fix picky compiler warning
    • nss: Remove version selecting dead code
    • nss: Set default max-tls to 1.3/1.2
    • openssl: Remove SSLEAY leftovers

    • openssl: Do not log excess "TLS app data" lines for TLS 1.3
    • openssl: Do not use file BIOs if not requested
    • openssl: Fix unused variable compiler warning with old openssl
    • openssl: Support session resume with TLS 1.3
    • openvms: Fix example name
    • os400: Add curl_easy_conn_upkeep() to ILE/RPG binding

    • os400: Add CURLOPT_CURLU to ILE/RPG binding

    • os400: Fix return type of curl_easy_pause() in ILE/RPG binding

    • packages: Remove old leftover files and dirs
    • pop3: Only do APOP with a valid timestamp

    • runtests: Use the local curl for verifying

    • schannel: Be consistent in Schannel capitalization
    • schannel: Better CURLOPT_CERTINFO support

    • schannel: Use Curl_ prefix for global private symbols

    • snprintf: Renamed and we now only use msnprintf()

    • ssl: Fix compilation with OpenSSL 0.9.7
    • ssl: Replace all internal uses of CURLE_SSL_CACERT

    • symbols-in-versions: Add missing CURLU_ symbols

    • test328: Verify Content-Encoding: none

    • tests: Disable SO_EXCLUSIVEADDRUSE for stunnel on Windows

    • tests: Drop http_pipe.py script, no longer used

    • tool_cb_wrt: Silence function cast compiler warning

    • tool_doswin: Fix uninitialized field warning

    • travis: Build with clang sanitizers

    • travis: Remove curl before a normal build

    • url: A short host name + port is not a scheme
    • url: Fix IPv6 numeral address parser
    • urlapi: Only skip encoding the first '=' with APPENDQUERY set

Friday 14th December 2018

Fedora Project

  • Updated perl-Array-Compare to 3.0.2 in Rawhide:

    • Various packaging and documentation fixes

Local Packages

  • Updated perl-Array-Compare to 3.0.2 as per the Fedora version

Monday 17th December 2018

Local Packages

  • Updated curl (7.63.0) to revert an upstream commit that broke 'fedpkg new-sources' (Bug #1659329)

  • Updated perl-Coro to 6.54:

    • The autogenerated prototypes of Coro::AIO now add ";" at the end to avoid generating named unary operators and messing up parsing (mostly affects aio_mlockall 4 | 8, which was parsed as (aio_mlockall 4) | 8)

Tuesday 18th December 2018

Local Packages

  • Updated perl-Module-CoreList to 5.20181218:

    • Updated for v5.29.6

Friday 21st December 2018

Local Packages

  • Updated curl (7.63.0) to fix curl -J not to append to the destination file (Bug #1658574)

  • Updated perl-EV to 4.25:

    • Updated to libev 4.25 (minor fixes and enhancements)

    • Document the requirement to "use EV" when using EV::MakeMaker

    • Only use __register_atfork with glibc and uclibc, as musl defines __linux__, but doesn't implement the linux standard base ABI, nor makes itself detectable via a macro, both apparently by design, winning the "broken by design 2016 award" - well done

    • Correct EV::periodic example 24h after midnight → one day after midnight

    • Added stability canary support
  • Updated perl-Net-FTPSSL to 0.41:

    • Fixed supported() to say HELP isn't supported if OverrideHELP was used

    • Fixed nlst/list bug when filter patterns and callbacks were both in use

    • Fixed nlst/list to both call _common_list() instead of having list do both

    • The DebugLogFile option now turns autoflush on when the log file is opened

    • Tweaked the ccc() hack slightly

    • Added uput2() method to deal with the problem that uput() can't always tell you the actual name of the file on the FTPS server and you really need to know that filename (slow)

    • Rewrote the uput() POD to reflect what the command actually does instead of what it's supposed to do; different servers implemented it differently

    • Tweaked the deprecated "useSSL" option to make it easier to remove in the future

    • Minor tweaks to _help() and supported() dealing with OverrideHELP and _help() can now include disabled commands in its hash (the key's value is 0 if disabled, else non-zero if a supported command)

    • Added mlsd() - List of files in machine readable format

    • Added mlst() - Get file details in machine readable format

    • Added parse_mlsx() to parse the returned values of mlsd() and mlst()

    • Modified size() to have option of using MLST as an alternate way to get a file's size

    • Modified is_dir() and is_file() to be able to use MLST as the preferred way to do these tests; falls back on original tests if MLST isn't supported or doesn't have the TYPE feature enabled

    • Redesigned all the test cases from scratch! Rather than choose one of 3 huge scripts to run, everything has been replaced by a lot of smaller test cases, which makes it much simpler to verify everything is working without the need for messy, complex code or having to carefully examine log files afterwards
    • The test cases no longer uses the deprecated "useSSL" option; they use the "SSL_version" option instead

    • t/test-helper/helper1234.pm, new helper module to centralize the asking of questions and to share the answers between all the test cases (so that "make test" only prompts you a single time for your server info)

    • No longer uses environment variables to "remember" answers
    • MANIFEST - Added all the new test cases and removed the old ones

    • Updated the LICENSE file to say 2018 (from 2017)

    • Update the README file to say 2018 (from 2017), then completely rewrote it

Sunday 23rd December 2018

Fedora Project

  • Updated perl-Crypt-Random to 1.52 in Rawhide:

    • Test no longer looks for non-eq of two generated numbers as these can be correctly the same if test is run enough number of times (CPAN RT#99880)

    • Removed outdated dependency info (CPAN RT#94441)

    • Removed /dev/random read from the test, as it can hang when there is insufficient entropy (CPAN RT#30423)

    • Removed potentially unsafe include in bin/makerandom (CPAN RT#128062)

    • Add a chi square statistical test, t/chisquare.t

    • Uniform can be passed to the constructor of Crypt::Random::Generator; this should be the default, and will likely be in the next release

    • Fixed minor bugs and typos

Local Packages

  • Updated perl-Email-Address to 1.911:

    • Update parsing to mitigate pathological cases
    • Documentation updates and undeprecation

Wednesday 26th December 2018

Fedora Project

  • Rebuilt perl-PAR-Packer (1.047) for Perl 5.28.1 in F-29 and Rawhide (Bug #1470542)

Friday 28th December 2018

Local Packages

  • Updated perl-ExtUtils-MakeMaker-CPANfile to 0.09:

Previous Month: November 2018
Next Month: January 2019

Recent