PaulHowarth/Blog/2020-07

Paul's Blog Entries for July 2020

Wednesday 1st July 2020

Local Packages

  • Updated curl to 7.71.1

    • cirrus-ci: Disable FreeBSD 13 (again)
    • Curl_inet_ntop: Always check the return code

    • CURLOPT_READFUNCTION.3: Provide the upload data size up front

    • DYNBUF.md: Fix a typo: trailtail

    • escape: Make the URL decode able to reject only %00-bytes
    • escape: Zero length input should return a zero length output
    • examples/multithread.c: Call curl_global_cleanup()

    • http2: Set the correct URL in pushed transfers
    • http: Fix proxy auth with blank password
    • mbedtls: Fix build with disabled proxy support
    • ngtcp2: Sync with current master
    • openssl: Fix compilation on Windows when ngtcp2 is enabled
    • Revert "multi: implement wait using winsock events"
    • sendf: Improve the message on client write errors
    • terminology: Call them null-terminated strings
    • tool_cb_hdr: Fix etag warning output and return code
    • url: Allow user + password to contain "control codes" for HTTP(S)
    • vtls: Compare cert blob when finding a connection to reuse
  • I haven't done builds of this for Fedora 13 to 15 inclusive as there are now just too many test failures on those platforms (possibly a c-ares memory clean-up issue?); I intend to drop support for these distributions altogether in November when RHEL-6 reaches its end of life

  • Updated perl-File-Slurp to 9999.32:

    • Re-release after fixing MANIFEST

  • Updated schily update to 2020.07.01

Thursday 2nd July 2020

Fedora Project

Friday 3rd July 2020

Local Packages

  • Updated curl (7.71.1) to make the --krb option work again (Bug #1833193)

  • Updated perl-DateTime-Locale to 1.26:

    • Rebuilt all locale data with CLDR 37, released on 2020-04-23
  • Updated perl-Text-Template to 1.59:

    • Fix syntax error in POD example code

Saturday 4th July 2020

Fedora Project

  • Updated perl-Module-Signature to 0.87 in Rawhide:

    • Skip 3-verify.t on Crypt::OpenPGP installations

Local Packages

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

Monday 6th July 2020

Fedora Project

  • Updated gtkwave to 3.3.105 in Rawhide:

    • Fix bad (void) of is_closing in fstDestroyMmaps when using Cygwin or MinGW

    • Fix left shift overflow in cvt_fpsdec()

    • Add in missing file/translate/process filter for reals
    • Fix for bitvec merging in GHW so integers arrays can be viewed
    • Added Shift-Up/Down highlight with scroll in order to assist with left/right arrow based transition movement
    • Fix Show Wave Highlight so it is not dependent on Show Grid
    • Fix negative MSBs on VCD loaders for vectors
    • Fix getpwuid() null pointer exception

    • Add missing recursion case to treenamefix()

    • Fix lock/unlock misuse of pthread mutexes across threads
    • Examine env var $HOME for home dir on geteuid failure

    • Fix blurring on use_fat_lines rc variable usage

Local Packages

  • Updated gtkwave to 3.3.105 as per the Fedora version

Wednesday 8th July 2020

Fedora Project

  • Branched and built perl-Archive-Peek (0.35) for EPEL-8

Thursday 9th July 2020

Fedora Project

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

    • No code changes
    • Modify tests for Perl 7

Local Packages

Saturday 11th July 2020

Fedora Project

  • Updated perl-Perl-Critic (1.138) in Rawhide to add workaround for FTBFS 'Subroutine name is a homonym for builtin function isa' (Bug #1852437, GH#911)

Local Packages

  • Updated perl-Perl-Critic (1.138) as per the Fedora version

Monday 13th July 2020

Fedora Project

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

    • Fix issue with Append mode and SvOOK (GH#4)

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

Local Packages

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

    • Fix issue with Append mode and SvOOK (GH#2)

  • Updated perl-Compress-Raw-Lzma to 2.094 as per the Fedora version

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

    • Fix issue with Append mode and SvOOK (GH#3)

  • Updated perl-IO-Compress to 2.094:

    • Version 2 of the zipdetails script

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

Wednesday 15th July 2020

Local Packages

  • Updated java-1.8.0-oracle to Java SE 8 Update 261

Saturday 18th July 2020

Fedora Project

  • Updated perl-GD to 2.72 in Rawhide:

    • Fix for colorMatch with older unpatched libgd versions, which has an exploitable heap overflow (CVE-2019-6977)

  • Note: libgd in Fedora is already patched for CVE-2019-6977

Local Packages

  • Updated perl-Module-CoreList to 5.20200717:

    • Updated for v5.33.0

Monday 20th July 2020

Local Packages

  • Updated schily to 2020.07.18

Tuesday 21st July 2020

Fedora Project

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

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

  • Updated proftpd to 1.3.6e in F-31, F-32, Rawhide and EPEL-8

    • Fixed null pointer dereference in mod_sftp when using SCP incorrectly (GH#1043)

Local Packages

  • Rebuilt libidn (1.35) for JDK-11 in Rawhide (Changes/Java11)

  • Updated mod_fcgid (2.3.9) to use make macros (Changes/UseMakeBuildInstallMacro)

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

  • Updated perl-Compress-Raw-Lzma to 2.095 as per the Fedora version

  • Updated perl-Compress-Raw-Zlib to 2.095 (no changes)

  • Updated perl-IO-Compress to 2.095:

    • Add support for Zstandard (zstd) in AnyUncompress

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

  • Updated proftpd to 1.3.7 (see RELEASE_NOTES for details)

  • I added a workaround for empty PR_RUN_DIR (GH#1055)

Wednesday 22nd July 2020

Fedora Project

  • Updated glib (1.2.10) in Rawhide for forward and backward compatibility after merging a pull request to use the new make macros:

    • The config.guess and config.sub scripts are no longer packaged with rpm 4.16 onwards so we have to supply them ourselves

    • Fix source URL to point to somewhere that still works

    • Fix EL-6 compatibility (%make_build only defined from EL-7, F-21 onwards)

  • Updated perl-Moose to 2.2013 in Rawhide:

    • Improved some documentation wording in Moose and Class::MOP::Class (GH#162)

    • Updated bundled ExtUtils::HasCompiler, for msys2 support (CPAN RT#133022)

  • Updated proftpd to 1.3.7a in Rawhide and EPEL-8 Playground

Local Packages

  • Updated glib (1.2.10) as per the Fedora version

  • Updated perl-Moose to 2.2013 as per the Fedora version

  • Updated proftpd to 1.3.7a:

    • Fix build-time regression when using the --localstatedir configure option (GH#1055)

Thursday 23rd July 2020

Fedora Project

  • Updated perl-Text-CSV_XS to 1.44 in Rawhide:

    • EBCDIC now fully functional
    • Prevent false negative CPANTESTERS fail reports
    • Fully tested on perl-5.32.0 and perl-5.33.0
    • Fix partly decoded fields in header

Local Packages

  • Updated curl (7.71.1) to modernize spec using %{make_build} and %{make_install}

  • Updated libidn to 1.36:

    • Fix unlikely memory leak in idna_to_unicode_4z4z()

    • Check codepoint validity in punycode_encode() and punycode_decode()

    • tld: Add U+00EF to .nl TLD table

    • Indent code
    • Translation fixes
    • Update gnulib files
  • Updated perl-Text-CSV_XS to 1.44 as per the Fedora version

Friday 24th July 2020

Fedora Project

  • Updated gtk+ (1.2.10) in Rawhide to fix some forward and backward compatibility issues:

    • The config.guess and config.sub scripts are no longer packaged with rpm 4.16 onwards so we have to supply them ourselves

    • Fix source URL to point to somewhere that still works
    • Modernize spec using %{make_build} and %{make_install}

Local Packages

  • Updated gtk+ (1.2.10) as per the Fedora version

Monday 27th July 2020

Fedora Project

  • Updated perl-DBD-CSV to 0.55 in Rawhide and EPEL-8:

    • It's 2020
    • Provide cpanfile

    • Documentation enhancements
    • Make csv_ and f_ aliases more consistently available (GH#7)

Local Packages

  • Updated check to 0.15.1 (see NEWS for details)

  • Rebuilt bluefish (2.2.11), curl (7.71.1), GeoIP (1.6.12), GeoIP-GeoLite-data (2018.06), Judy (1.0.5) for the Fedora_33_Mass_Rebuild

  • Updated perl-DBD-CSV to 0.55 as per the Fedora version

Tuesday 28th July 2020

Fedora Project

  • Updated milter-greylist to 4.6.3 in Rawhide:

    • Add support for GeoIP2
    • Build fixes for conflicting ns_type in SPF and NSupdate code

    • Quiet build warnings
    • Missing bits to make rawfrom usable

    • Fix crash when GeoIP for IPv6 is not configured
    • Report queueId for maxpeek overflow warnings

    • Sendmail access.db usage documentation

  • I added libmaxminddb support for builds on F-32/EL-8 onwards, using this patch to stop the milter crashing if the GeoIP2 database is not properly configured:

  • --- geoip2.c
    +++ geoip2.c
    @@ -59,7 +59,7 @@ __RCSID("$Id");
     #include <maxminddb.h>
     
     static MMDB_s mmdb;
    -static MMDB_s *geoip2_handle = &mmdb;
    +static MMDB_s *geoip2_handle = NULL;
     static char geoip2_database[MAXPATHLEN + 1];
     static pthread_rwlock_t geoip2_lock;
     
    @@ -88,11 +88,13 @@ geoip2_set_db(name)
            strncpy(geoip2_database, name, MAXPATHLEN);
            geoip2_database[MAXPATHLEN] = '\0';
     
    +       geoip2_handle = &mmdb;
            int status = MMDB_open(geoip2_database, MMDB_MODE_MMAP, geoip2_handle);
            if (status != MMDB_SUCCESS) {
                    mg_log(LOG_WARNING, 
                           "Geoip2 database \"%s\" cannot be used",
                           geoip2_database);
    +               geoip2_handle = NULL;
                    return;
            }
     }
    @@ -123,6 +125,12 @@ geoip2_set_ccode(priv)
             int gai_error, mmdb_error;
            MMDB_lookup_result_s result;
     
    +       if (geoip2_handle == NULL) {
    +               mg_log(LOG_DEBUG, "GeoIP2 is not available");
    +               priv->priv_ccode = NULL;
    +               return;
    +       }
    +
            if (iptostring(SA(&priv->priv_addr),
                priv->priv_addrlen, ipstr, sizeof(ipstr)) == NULL) {
                    mg_log(LOG_DEBUG, "Geoip2 iptostring failed");
  • Cleaned up and rebuilt perl-Class-DBI-Plugin (0.03) in Rawhide

Local Packages

  • Cleaned up and rebuilt c-ares (1.16.1)

  • Cleaned up and rebuilt libmetalink (0.1.3)

  • Updated davfs2 (1.5.6) to fix FTBFS with neon 0.31 (https://savannah.nongnu.org/bugs/?58101)

  • Rebuilt geoipupdate (4.3.0), gtkwave (3.3.105), libnet (1.1.6), libssh2 (1.9.0), libxml2 (2.9.10) and mod_fcgid (2.3.9) for the Fedora_33_Mass_Rebuild

Wednesday 29th July 2020

Local Packages

  • Updated dovecot (2.3.10.1) to work around build failure with link-time optimization in Fedora 33 onwards

  • Updated nmap (7.80) to use the bundled lua 5.03 from Fedora 33 (which has lua 5.04) onwards

  • Updated proftpd (1.3.7a) to handle changed API in check 0.15 (see Bug #1850198)

  • Rebuilt libgpg-error (1.37), libxslt (1.1.34), perl-HTML-Lint (2.32), perl-HTML-Tidy (1.60), perl-IO-AIO (4.72), perl-MIME-Types (2.17), perl-Moose (2.2013), perl-Mouse (2.5.10), perl-Perl-Tidy (20200619), rbldnsd (0.998b), sendmail (8.16.1), smbldap-tools (0.9.11), spamass-milter (0.4.0) and tidyp (1.04) for the Fedora_33_Mass_Rebuild

Thursday 30th July 2020

Fedora Project

  • Cleaned up and rebuilt python-invoke (1.4.1) in Rawhide, updating build dependency style to fix FTBFS

  • Updated proftpd (1.3.7a) in Rawhide to handle changed API in check 0.15 (Bug #1850198) and to work around getaddrinfo() returning EAGAIN in the netaddr API test (GH#1075)

Local Packages

  • Updated perl-Coro to 6.57:

    • Coro::EV::time*once functions used ev_once, which is not cancellable; this could cause problems due to I/O watchers not being stopped up on exceptions/cancellation

    • Override AnyEvent condvar methods "properly", as AnyEvent has had support for pluggable condvars since 2011; this also avoids problems with recursive waits by avoiding mixing implementation methods with coro code

    • Allow rouse_wait to be called in a different thread

    • Slightly clarify rouse_cb/rouse_wait documentation

    • Slightly improve rouse callback performance and memory usage

    • Try to report correct caller when throwing exception in $condvar->recv, not a useless line in Coro::AnyEvent

  • Updated perl-PPIx-QuoteLike to 0.012:

    • Remove prototypes from testing subroutines defined in t/*.t

  • Updated perl-PPIx-Regexp to 0.073:

    • Remove prototypes from testing subroutines defined in t/*.t

  • Rebuilt perl-Specio (0.46) and xz (5.2.5) for the Fedora_33_Mass_Rebuild

Previous Month: June 2020
Next Month: August 2020

Recent