Paul's Blog Entries for February 2018
Thursday 1st February 2018
Fedora Project
Updated perl-Ref-Util-XS to 0.117 in Rawhide:
Allow the custom OPs to be deparsed with B::Deparse
- Optimize the shared object size by moving common call checker logic into a function
Updated svnmailer (1.0.9) in Rawhide to reflect package name change subversion-python → python2-subversion from Fedora 28 onwards (PR#1)
Local Packages
Updated city-fan.org-release (2.0) not to enable the repository by default; after installing this update, users will explicitly need to enable the city-fan.org repository in their package managers
I have made this change because the repository contains many updated versions of core libraries (in particular, libcurl), and disabling the repository by default should mitigate the chances of people making unintentional updates to those libraries
Updated curl (7.58.0) to disable brp-ldconfig to make RemovePathPostfixes work with shared libraries again (in Rawhide), and to work around (temporarily) internal compiler error on x86_64 (Bug #1540549)
Updated perl-Ref-Util-XS to 0.117 as per the Fedora version
Friday 2nd February 2018
Fedora Project
Updated perl-Cpanel-JSON-XS to 4.00 in Rawhide:
Simplify allow_singlequote check (coverity cid#165321)
- Deprecate UTF-16 or UTF-32 BOM's: RFC 8259
Added Cpanel::JSON::XS::Type as 2nd optional encode argument (GH#94)
Removed calling get magic hooks twice in encode
Avoid setlocale race in threads with non-C locales, where the threads differ in the LC_NUMERIC locale (GH#99)
Fix uselocale() code
Probe for uselocale and xlocale.h with <5.22 threaded
Updated python-paramiko to 2.1.1 in EPEL-7, syncing with the package in RHEL 7 Extras except that the EPEL-7 version has the Python 3 build enabled; otherwise, the package follows the limited-arch package guidelines so as not to take priority over the upstream version of the package where available
Local Packages
Updated perl-Cpanel-JSON-XS to 4.00 as per the Fedora version, though I had to disable the probe for uselocale on Perl < 5.22 because the resulting build with uselocale appeared to crash on the last test in t/117_numbers.t, and the fallback version without uselocale ran the tests successfully
Saturday 3rd February 2018
Fedora Project
Updated perl-Cpanel-JSON-XS to 4.01 in Rawhide:
Fix locale crash with threaded perls < 5.22 and glibc (GH#101)
Local Packages
Updated perl-Cpanel-JSON-XS to 4.01 as per the Fedora version
Monday 5th February 2018
Fedora Project
Updated perl-Test-Simple to 1.302121 in Rawhide:
- Update Copyright
- Add 'render' facet
Local Packages
Updated perl-Test-Simple to 1.302121 as per the Fedora version
Tuesday 6th February 2018
Fedora Project
Updated GeoIP-GeoLite-data to the February 2018 databases in Rawhide
Updated libpari23 (2.3.5) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28
Updated libpng10 (1.0.69) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28
Updated pari (2.9.4) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28
Updated perl-Test-Simple to 1.302122 in Rawhide:
Add 'mode' to render facet
Updated tidyp (1.02) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28
Local Packages
Updated check to 0.12.0 (see NEWS for details)
Updated GeoIP-GeoLite-data to the February 2018 databases as per the Fedora version
Updated libpng10 (1.0.69) to drop ldconfig scriptlets as per the Fedora version
Updated libxml2 (2.9.4) to make the XML entity recursion check more precise (CVE-2016-9597), to drop ldconfig scriptlets from Fedora 28 onwards, and to enable Python3 sub-package for EL-7 builds
Updated perl-Test-Simple to 1.302122 as per the Fedora version
Updated pptp (1.10.0) to build with linker flags from redhat-rpm-config
Updated tidyp (1.04) to drop ldconfig scriptlets as per the Fedora version
Wednesday 7th February 2018
Fedora Project
Updated glib (1.2.10) in Rawhide to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28 onwards, plus various other packaging clean-ups
Updated gtk+ (1.2.10) in Rawhide to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28 onwards, plus various other packaging clean-ups
Updated ORBit (0.5.17) in Rawhide to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28 onwards, plus various other packaging clean-ups
Local Packages
Updated glib (1.2.10) as per the Fedora version
Updated gtk+ (1.2.10) as per the Fedora version
Updated ORBit (0.5.17) as per the Fedora version
Updated perl-Sub-Quote to 2.005000:
Fixed defer_info and undefer_sub from returning data for a deferred sub after it expires, even if the ref address matches
Fixed defer_info not returning info for undeferred unnamed subs after the deferred sub expires
Include options in defer_info return data
Exclude internals from defer_info return data
Document defer_info function
- Encode all utf8 flagged scalars as strings, since they generally will always have originated as strings, which avoids future warning on bitwise ops on strings with wide characters
- More thorough check for threads availability to avoid needless test failures
Added file and line options to quote_sub to allow specifying apparent source location
Documented additional options to Sub::Defer::defer_sub and Sub::Quote::quote_sub
Updated xv (3.10a) to fix (hopefully) signal bug (RPM Fusion Bug #3044)
Thursday 8th February 2018
Fedora Project
Updated imlib (1.9.15) in Rawhide to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28
Updated Judy (1.0.5) in Rawhide to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28
Updated libxml (1.8.17) in Rawhide to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28
Local Packages
Updated imlib (1.9.15) as per the Fedora version
Updated Judy (1.0.5) as per the Fedora version
Updated libxml (1.8.17) as per the Fedora version
Updated perl-Text-Template to 1.49:
Remove COPYING and Artistic files from the dist; these are replaced by the Dist::Zilla generated LICENSE file
Use strict/warnings
Remove $VERSION checks from tests, which makes it easier to run the test with Dist::Zilla and avoids maintenance issue of updating the tests for each release
Allow precompiled templates to work with preprocessing (CPAN RT#29928)
Add "strict" option to fill_in(); this adds "use strict" and "use vars (...)" to the prepend section, and only the keys of the HASH option are allowed in the template (CPAN RT#55696)
Fix templates with inline comments without newline after comment for Perl < 5.18 (CPAN RT#34292)
- Don't use bareword file handles
Use three argument form of open()
Fix BROKEN behaviour so that it returns the text accumulated so far on undef as documented (CPAN RT#28974)
- Source code clean-ups
- Minimum Perl version is now 5.8.0
Allow start/end delimiters to be identical (e.g.: @@foo@@, XXfooXX) (CPAN RT#46639)
Fix and document the FILENAME parameter to fill_in() (CPAN RT#106093)
- Test suite clean-ups:
Turn on strict/warnings for all tests
Run tests through perltidy and formatting clean-up
- Remove number prefixes from test names
Use Test::More instead of generating TAP by hand
Use three-argument form of open()
- Don't use indirect object syntax
- Don't use bareword file handles
Use File::Temp to generate temporary files
Friday 9th February 2018
Fedora Project
Cleaned up and rebuilt perl-namespace-clean (0.27) in Rawhide
Local Packages
Rebuilt check (0.12.0), curl (7.58.0) and libxml2 (2.9.7) for the Fedora_28_Mass_Rebuild
Updated gnome-libs (1.4.2), libglade (0.17), libgpg-error (1.27), libxslt (1.1.30) and xz (5.2.3) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28 onwards
Updated perl-Net-DNS to 1.15:
GOST R 34.11-94 hash algorithm: end of life 1st Jan 2018 per sunset clause in successor standard GOST R 34.11-2012; Digest::GOST removed from the recommended module metadata, but will still be used if available
Updated perl-PPIx-Regexp to 0.055:
Tokenizer method prior() is now fatal; this was documented as package-private, but as it was documented, I am putting it through a deprecation cycle anyway - six months from now it will be removed
Add Script_Run classes as subclasses to their superclass docs; this was missed in the last update
Monday 12th February 2018
Fedora Project
Updated perl-DateTime to 1.46 in Rawhide:
Fixed the formatting for the CLDR "S" symbol, which in some cases would round up to 1 instead of truncating a value, e.g. the "SSS" symbol would format 999,999,999 nanoseconds as "1.000" (GH#71)
Updated perl-Params-ValidationCompiler to 0.27 in Rawhide:
Fixed a bug with inlining Moose types: if a type's parent needed environment variables, those would not get closed over (GH#22)
Added a debug option to dump the source of the subroutine before it is eval'd
Local Packages
Updated nmap (7.60) to print source address in UDP listening mode (GH#980)
Updated perl-DateTime to 1.46 as per the Fedora version
Updated perl-Params-ValidationCompiler to 0.27 as per the Fedora version
Updated perl-Text-Template to 1.50:
Revert support for identical start/end delimiters (e.g. @@foo@@, XXfooXX) due to breakage with nested tags (GH#8); will revisit this in a future release
Rebuilt sendmail (8.15.2) for the Fedora_28_Mass_Rebuild
Tuesday 13th February 2018
Fedora Project
Rebuilt bluefish (2.2.10) and proftpd (1.3.6) for the Fedora_28_Mass_Rebuild
Updated perl-Test-Valgrind (1.19) in Rawhide to add a --with debug_valgrind build option
Cleaned up and rebuilt perl-Time-y2038 (20100403) in Rawhide
Local Packages
Rebuilt bluefish (2.2.10) and proftpd (1.3.6) as per the Fedora version
Updated curl (7.58.0) to drop the temporary work around for ICE on x86_64 (Bug #1540549)
Updated perl-Test-Valgrind (1.19) as per the Fedora version
Wednesday 14th February 2018
Fedora Project
Updated gnome-libs (1.4.2) to avoid use of arch-specific build-requires (Bug #1545185)
Updated imlib (1.9.15) to avoid use of arch-specific build-requires (Bug #1545188) and to fix build with giflib version 5
Updated libglade (0.17) to avoid use of arch-specific build-requires (Bug #1545185)
Updated libpng10 (1.0.69) to avoid use of arch-specific build-requires (Bug #1545195)
Updated ORBit (0.5.17) to avoid use of arch-specific build-requires (Bug #1545202)
Updated perl-Tree-DAG_Node to 1.31 in Rawhide:
Clarify licence issue by changing the reference in the DAG_Node.pm file from Artistic V2 to Perl, so it now matches what I preemptively put in Makefile.PL and the LICENSE file; Sean Burke has kindly agreed to this change (GH#1)
Local Packages
Updated GeoIP (1.6.12) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28 onwards
Updated gnome-libs (1.4.2) as per the Fedora version
Updated gtk+ to drop using arch-dependent build-requires (Bug #1545186)
Updated imlib (1.9.15) as per the Fedora version
Updated libglade (0.17) as per the Fedora version
Updated libmetalink (0.1.3) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28 onwards, and to work around the presence of incompatible expat21 package in EPEL-6
Updated libpng10 (1.0.69) as per the Fedora version
Updated libssh2 (1.8.0) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28 onwards
Updated ORBit (0.5.17) as per the Fedora version
Updated perl-IPC-Cmd to 1.00:
run_forked("/usr/bin/echo test") captured no output (CPAN RT#91784)
The 03_run_forked.t test sometimes fails on HPUX (CPAN RT#124415)
Updated perl-Test2-Suite to 0.000100:
Fix AsyncSubtest main event buffered/nesting values
Fix bug where AsyncSubtest vanishes with no error when finished after its parent ends
Fix AsyncSubtest plan to be at the right nesting, and buffered
Add support for 'precision' for floats (GH#150)
Updated perl-Tree-DAG_Node to 1.31 as per the Fedora version
Thursday 15th February 2018
Fedora Project
Updated curl (7.58.0) in Rawhide to switch to %ldconfig_scriptlets and enforce a versioned libssh dependency for libcurl
Updated perl-IO-Socket-SSL to 2.055 in Rawhide:
- Use SNI also if hostname was given all-uppercase
Utils::CERT_create: Don't add authority key for issuer since Chrome does not like this
Intercept:
- Change behaviour of code-based cache to better support synchronizing within multiprocess/threaded set-ups
- Don't use counter for serial number but somehow base it on original certificate in order to avoid conflicts with reuse of serial numbers after restart
Better support platforms without IPv6 (CPAN RT#124431)
Spelling fixes in documentation (CPAN RT#124306)
Updated perl-Text-Hunspell (2.14) to fix up shellbang in example
Cleaned up and rebuilt perl-Text-SpellChecker (0.14) in Rawhide
Local Packages
Updated curl (7.58.0) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28 onwards
Updated perl-IO-Socket-SSL to 2.055 as per the Fedora version
Updated perl-Text-Hunspell (2.14) as per the Fedora version
Updated perl-XML-SAX to 1.00:
Add makefile dependency to fix order of build steps (CPAN RT#62289)
Monday 19th February 2018
Fedora Project
Petr Pisar kindly approved my newly-submitted perl-IO-Socket-Socks package review
Imported and built perl-IO-Socket-Socks (0.74) for F-26, F-27, Rawhide and EPEL-7
Updated curl (7.58.0) in Rawhide to specify all build requirements and defend against inadvertent soname changes
Updated perl-GD to 2.68 in Rawhide:
Fix GD::Polygon->clear (CPAN RT#124463)
Updated perl-IO-Socket-SSL to 2.056 in Rawhide:
Intercept: Fix creation of serial number (basing it on binary digest instead of treating hex fingerprint as binary), allow use of own serial numbers again
t/io-socket-ip.t: Skip test if no IPv6 support on system (CPAN RT#124464)
Update PublicSuffix
Updated perl-Test-API to 0.010 in Rawhide:
- Revised internals for constants/subrefs in the stash (a breaking change planned for Perl 5.28)
Updated perltidy to 20180219 in Rawhide (see CHANGES for details)
Local Packages
New package perl-IO-Socket-Socks (0.74)
Updated c-ares to 1.14.0:
android: Introduce new ares_library_init_android() call for Oreo support
Fix patch for CVE-2017-1000381 not to be overly aggressive
- win32: Preserve DNS server order returned by Windows when sorting and exclude DNS servers in legacy subnets
- win32: Support most recent Visual Studio 2017
gethostbyaddr should fail with ECANCELLED not ENOTFOUND when ares_cancel is called
- win32: Exclude legacy ipv6 subnets
android: Applications compiled for Oreo can no longer use __system_property_get and must use Java calls to retrieve DNS servers
- win32: Force use of ANSI functions
- CMake minimum version is now 3.1
ares_gethostbyname.3: Fix callback status values
docs: Document WSAStartup requirement
Fix a typo in init_by_resolv_conf
- Android JNI code leaks local references in some cases
Force using the ANSI versions of WinAPI functions
Updated curl (7.58.0) as per the Fedora version
Updated geoipupdate (2.5.0) to add build-requires for everything it uses and depends on
Updated libnet (1.1.6) to drop ldconfig scriptlets (replaced by RPM File Triggers) from Fedora 28 onwards
Updated libxslt to 1.1.32 (mainly portability fixes)
Rebuilt perl-HTML-Lint (2.30), perl-MCE (1.834), perl-MIME-Types (2.17), perl-Specio (0.42), spamass-milter (0.4.0), xz (5.2.3) for the Fedora_28_Mass_Rebuild
Updated perl-Importer to 0.025:
Minor cperl fix
Updated perl-IO-Socket-Socks (0.74) to incorporate feedback from package review (Bug #1546648)
Updated perl-IO-Socket-SSL to 2.056 as per the Fedora version
Updated perl-Moose to 2.2010:
A performance improvement with operator overloads has been made by making use of a new Devel::OverloadInfo interface
Updated perl-Mouse to 2.5.2:
Skip t/900_mouse_bugs/016_issue17_memleak.t under 5.10.0
Updated perl-Perl-Tidy to 20180219 as per the Fedora perltidy package
Updated perl-Test-API to 0.010 as per the Fedora version
Updated pptp (1.10.0) to take account of EL-7 using systemd
Tuesday 20th February 2018
Fedora Project
Updated gtkwave (3.3.87) in Rawhide to build-require gcc-c++ as there is some optionally-built C++ code there
Updated gtorrentviewer (0.2b) and perl-Digest-MD4 (1.9) in Rawhide to specify all explicitly-used build dependencies
Updated mod_fcgid (2.3.9), perl-B-Hooks-OP-Check (0.22), perl-Crypt-IDEA (1.10) and perl-Date-Simple (3.03) in Rawhide to explicitly build-require gcc
Rebuilt perl-CPAN-Meta-YAML (0.018) and perl-YAML-Tiny (1.70) for the Fedora_28_Mass_Rebuild
Updated perl-Test-LeakTrace (0.16) in Rawhide to disable the optional valgrind test on ppc64 and ppc64le, as valgrind seems to have a problem with strcmp() on these architectures at the moment (Bug #1470030)
Local Packages
Updated gtkwave (3.3.87), gtorrentviewer (0.2b), mod_fcgid (2.3.9) and perl-B-Hooks-OP-Check (0.22) as per the Fedora versions
Updated perl-ExtUtils-CBuilder (0.280230) to add dependency on gcc (Bug #1547165)
Wednesday 21st February 2018
Fedora Project
Updated perl-IO-AIO to 4.4 in F-28 and Rawhide, packaging included script treescan in its own package
New aio_slurp request
Add (experimental) IO::AIO::eventfd and timerfd* function
Add (experimental) IO::AIO::get_fdlimit and IO::AIO::min_fdlimit
Point out that aio_copy overwrites existing files
Remove filesystem magic number table from aio_statvfs docs as statvfs doesn't actually return this info at all (statfs does)
Add a bunch of (mostly linux-specific) constants for use in ioctls (see aio_ioctl docs)
treescan now has a proper manpage and useful --help output
New option --sync in treescan, to sync everything in a subtree
Changed default for aio_msync flags to MSYNC_SYNC
Document offset/length behaviour of mprotect/madvise
Support linux's renameat2 (via aio_rename2)
Add aio_rename2, an aio_rename with flags
Add F_DUPPFD_CLOEXEC, F_OFD_[SG]ETLKW? constants
Add FALLOC_FL_INSERT_RANGE, FALLOC_FL_UNSHARE_RANGE
libeio: Use posix_close if available
libeio: Internal close() calls no longer disturb errno
Add IO:AIO::FALLOC_FL_UNSHARE
Update schmorp.h for removal of USE_SOCKETS_AS_HANDLES and better eventfd detection
Updated perl-DateTime-Format-Epoch (0.16) in F-26, F-27, F-28 and Rawhide to add dependency on Math::BigInt::GMP as this module specifically requests that back-end as first preference for Math::BigInt
Updated perl-Getopt-Long-Descriptive to 0.102 in F-28 and Rawhide:
- Long spacer lines are now line broken
- "Empty" spacer lines no longer have leading whitespace
Option specifications ":+" and ":5" (etc.) now get better presentation in the usage description
Updated perl-JSON-XS (3.04), perl-MooseX-Role-WithOverloading (0.17), perl-Variable-Magic (0.62) in F-28 and Rawhide to specify all build dependencies
Updated perl-perl5i (v2.13.2) in F-28 and Rawhide to fix coercion warnings in 0.pm and 1.pm as per existing fixes in 2.pm (GH#302)
Updated perl-Test-Version to 2.07 in F-28 and Rawhide:
- Support running in taint mode
Updated perltidy to 20180220 in F-28 and Rawhide:
Fix index error causing perltidy to fail, resulting in empty files (CPAN RT#124469, CPAN RT#124494)
Cleaned up and rebuilt perl-Readonly-XS (1.05), perl-Time-y2038 (20100403) in F-28 and Rawhide
Local Packages
Updated nmap to explicitly build-require gcc-c++
Updated perl-IO-AIO to 4.4 as per the Fedora version
Updated perl-Module-CoreList to 5.20180220:
Improve handling of broken versions in is_core()
Removed Module::CoreList::TieHashDelta
- Updated for v5.27.9
Updated perl-Perl-Tidy to 20180220 as per the Fedora perltidy package
Updated perl-perl5i (v2.13.2) as per the Fedora version
Updated perl-Test-Version to 2.07 as per the Fedora version
Updated perl-Time-y2038 not to explicitly build-require gcc as it uses ExtUtils::CBuilder
Updated perl-XML-LibXSLT to 1.96:
$Config{libs} is not needed (CPAN RT#83028)
Move to git/GitHub: https://github.com/shlomif/perl-XML-LibXSLT
- For Travis-CI/etc.
Thursday 22nd February 2018
Fedora Project
Updated perl-Test-Simple to 1.302125 in F-28 and Rawhide:
- Make it possible to disable IPC
Fix a test to skip without threads
Updated perl-true (0.18) in F-28 and Rawhide to explicitly build-require gcc
Updated perl-YAML-Tiny to 1.73 in F-28 and Rawhide:
Perform correct stripping of leading white space in literal/folded text blocks (GH#44, CPAN RT#56045)
Fix compatibility with Test::Builder 0.94 in test shim
Local Packages
Updated perl-Test-Simple to 1.302125 as per the Fedora version
Updated perl-true (0.18) as per the Fedora version
Updated perl-YAML-Tiny to 1.73 as per the Fedora version
Friday 23rd February 2018
Fedora Project
Updated python-crypto (2.6.1) in F-26, F-27, F-28 and Rawhide to address CVE-2018-6594 (Bug #1542313): When creating ElGamal keys, the generator wasn't a square residue - ElGamal encryption done with those keys cannot be secure under the DDH assumption
- More details:
Local Packages
Updated python-crypto (2.6.1) as per the Fedora version
Monday 26th February 2018
Fedora Project
Updated perl-Net-SSH-Perl to 2.14 in F-28 and Rawhide:
This is a significant refactoring of the code to use CryptX for most of the low-level cryptographic functionality, replacing a raft of old, un-maintained dependencies
A lot of additional functionality matching OpenSSH has been added, but much of the elliptical curve cipher support has been removed in packaging because the perl-CryptX package in Fedora does not support it
- The module is no longer pure-Perl, with XS code added for Chacha20, BSD Blowfish, and Ed25519 routines
Tuesday 27th February 2018
Fedora Project
Updated imlib (1.9.15) in F-28 and Rawhide to fix build with giflib version 5, second attempt (Bug #1549445)
Updated perl-Cpanel-JSON-XS to 4.02 in F-28 and Rawhide:
Add encoder indent_length method, previously hard-coded to 3 (GH#103)
Local Packages
Updated imlib (1.9.15) as per the Fedora version
Updated perl-Cpanel-JSON-XS to 4.02 as per the Fedora version
Wednesday 28th February 2018
Local Packages
Updated perl-DBD-SQLite to 1.56:
- Updated bundled SQLite to 3.22.0
Fixed statistics_info when only unique indexes were requested (GH#21)
statistics_info() didn't work correctly (CPAN RT#122581)
Fixed typo (GH#26)
Silenced some warnings (GH#25)
Fixed no dot in @INC issue (GH#24)
Fixed zero-length BLOB value was retrieved as undef (GH#23)
Fixed VirtualTable::PerlData to use new ops added in SQLite 3.21.0 (GH#28)
Add note on sqlite_extended_result_codes handle attribute
Implemented ParamValues statement handle attribute (CPAN RT#123886)
Fixed some tests to adapt to a change in error format introduced by the latest DBI
Remove no warnings test from t/43_fts.t, which failed in some environments
Disabled two STAT compile time options (tentatively), which fixes CPAN RT#124227 anyway
Updated perl-Test-Harness to 3.41:
Return handle for pipes and sockets (GH#58)
- TAP v13 plan allows trailing whitespace
prove: Add a --statefile=<path> option to customize the .prove file
Avoid non-deterministic source handling, make a SourceHandler tie an error
- Fix and simplify MSWin32 colourization
- Fix file source handler to accept single extensions option
- Spelling fixes
Previous Month: January 2018
Next Month: March 2018