Paul's Blog Entries for April 2017
Saturday 1st April 2017
Fedora Project
Updated perl-MCE to 1.824 in F-26 and Rawhide:
Check for EINTR during sysread and syswrite
Improved reliability when running nested MCE sessions
Updated MCE::Mutex with Channel and Fcntl implementations
- Calibrated the number of data-channels for IPC
Completed validation for using MCE with 200+ cores
Completed validation for running MCE on a box having 100+ cores
Tuned the number of data-channels for IPC, setting upper limit in MCE::Core::Input::{ Handle and Sequence } to not impact the OS kernel; the result is better performance, yet graceful
Updated perl-MCE-Shared to 1.820 in F-26 and Rawhide:
Check for EINTR during sysread and syswrite
Improved non-shared handles constructed with MCE::Shared::Handle
Reap MCE::Hobo's from script exiting during development process
- Calibrated the number of data-channels for IPC
Completed validation for using MCE::Shared with 200+ cores
Completed validation for running MCE on a box having 100+ cores
Tuned the number of data-channels for IPC, similar to MCE
Bumped MCE dependency to 1.824
Updated perl-Test-Regexp to 2017040101 in F-26 and Rawhide:
- Prepare for 5.26
Local Packages
Updated perl-MCE to 1.824 as per the Fedora version
Updated perl-MCE-Shared to 1.820 as per the Fedora version
Updated perl-Test-Regexp to 2017040101 as per the Fedora version
Sunday 2nd April 2017
Fedora Project
Updated perl-Parse-RecDescent to 1.967014 in F-26 and Rawhide:
Add a newline to package declaration lines in precompiled parsers, to keep CPAN from indexing them (CPAN RT#110404)
Provide repository and bugtracker entries in MYMETA.* (CPAN RT#110403)
Update tests to handle '.' no longer being part of @INC in perl-5.26.0 (CPAN RT#120415)
Local Packages
Updated perl-Parse-RecDescent to 1.967014 as per the Fedora version
Monday 3rd April 2017
Fedora Project
Petr Pisar kindly reviewed and approved my perl-List-MoreUtils-XS package submission
Imported and built perl-List-MoreUtils-XS (0.418) in Rawhide
Updated perl-MCE to 1.826 in F-26 and Rawhide:
Performance improvements in MCE::Queue
Is now safe running MCE with the Wx GUI toolkit (wxWidgets)
Updated perl-MCE-Shared to 1.822 in F-22 and Rawhide:
Performance improvements in MCE::Shared::Queue
When IO::FDPass is missing, croak with error if constructing a Condvar or Queue and the shared-manager process has not been started manually
Is now safe running MCE::Hobo with the Wx GUI toolkit (wxWidgets)
Bumped MCE dependency to 1.826
Updated perl-Sub-Identify to 0.13 in F-26 and Rawhide:
Reformatted Changes to follow basic format in CPAN::Changes::Spec
Make tests pass without . in @INC
Updated perl-Sub-Uplevel to 0.2800 in F-26 and Rawhide:
Tests now work if '.' is not in @INC
Local Packages
Updated perl-Devel-GlobalDestruction-XS (0.03) to drop support for EOL distributions prior to F-13
Drop BuildRoot: and Group: tags
Drop explicit buildroot cleaning in %install section
Drop explicit %clean section
Updated perl-MCE to 1.826 as per the Fedora version
Updated perl-MCE-Shared to 1.822 as per the Fedora version
Updated perl-Net-FTPSSL to 0.38:
PreserveTimestamp bugs with _mfmt() and _mdtm(); I pulled the arguments off the stack in the wrong order (CPAN RT#120802)
Added instructions on how to install this module in an alternate location to the README file
Updated perl-Search-Elasticsearch to 5.02:
Boolean query params must be "true" or "false"
- Added deprecation warnings
The scroll API requires a body with a named scroll_id parameter
Added support for pipeline parameter to bulk API, top level and metadata level
Added support for 413 HTTP status code - Request entity too large
Search::Elasticsearch::TestServer now takes an es_version parameter and works with 0.90, 1.0, 2.0, and 5.0
Added common parameters error_trace and human to all params
Updated perl-Search-Elasticsearch-Client-2_0 to 5.02:
Updated to work with Search::Elasticsearch 5.02
Updated perl-Sub-Identify to 0.13 as per the Fedora version
Updated perl-Sub-Uplevel to 0.2800 as per the Fedora version
Tuesday 4th April 2017
Fedora Project
Updated perl-Apache-Session-Browseable to 1.2.5 in F-26 and Rawhide:
PostgreSQL "hstore" and "json" support
Add "deleteIfLowerThan" method
Updated perl-MetaCPAN-Client to 2.010000 in F-26 and Rawhide:
Added support for new 'permission' type
Local Packages
Updated perl-MetaCPAN-Client to 2.010000 as per the Fedora version
Updated perl-Test-API to 0.008:
Fixed tests for perls without '.' in @INC
Updated perl-XML-SAX-Base to 1.09:
Fix test suite to work without '.' in @INC (CPAN RT#120435)
Wednesday 5th April 2017
Fedora Project
Updated GeoIP-GeoLite-data to the April 2017 databases in F-24, F-25, F-26 and Rawhide
Updated perl-MCE to 1.827 in F-26 and Rawhide:
Do not enable barrier mode in Queue if constructed inside a thread or by MCE Model (e.g. Step, Stream); ditto for fast => 1 option
Updated MCE not to croak when running Perl in taint mode via perl -T; failing -T were MCE::Core::Input::{ Generator, Sequence }, MCE::Signal and MCE::Util
Added Denis Fateyev, Felipe Gasper and Paul Howarth to Credits
Updated perl-MCE-Shared to 1.823 in F-26 and Rawhide:
Do not enable barrier mode in Queue if constructed inside a thread or for the fast => 1 option
Fixed leaked handles during destruction: MCE::Shared::{ Condvar, Queue }
Updated MCE::Shared not to croak when running Perl in taint mode via perl -T; failing -T were MCE::Shared::{ Handle, Sequence, Server }
Bumped MCE dependency to 1.827
Updated perl-Module-Signature (0.81) to use gnupg2 rather than gnupg in F-26 and Rawhide (Bug #1439089)
Updated perl-Perl-OSType (1.010) in F-26 and Rawhide to include a build condition to disable running of the optional tests, and avoid the associated build requirements (to help with the modularity effort)
Updated perl-Test-Assert (0.0504) in F-26 and Rawhide to use gnupg2 rather than gnupg for the signature test
Local Packages
Updated GeoIP-GeoLite-data to the April 2017 databases as per the Fedora version
Updated perl-MCE to 1.827 as per the Fedora version
Updated perl-MCE-Shared to 1.823 as per the Fedora version
Updated perl-Module-Signature (0.81) as per the Fedora version
Updated perl-Parse-RecDescent to 1.967015:
Fix misuse of require to include MYMETA.pl; data is just included in both Makefile.PL and Build.PL now (CPAN RT#120922)
Rebuilt perl-Perl-OSType (1.010) to drop legacy spec file elements only needed for old EOL distributions prior to Fedora 13
Updated perl-Regexp-Common to 2017040401:
Prepare for 5.26: don't rely on '.' being present in @INC when testing
Updated perl-Test-Assert (0.0504) as per the Fedora version
Thursday 6th April 2017
Fedora Project
Updated pari to 2.9.2 in F-26 and Rawhide (see Changes for details)
Updated perl-CPAN-Meta-Requirements (2.140) in F-26 and Rawhide to add a build conditional to disable the optional tests, and pulling in the associated build requirements, to help with the modularity effort
Updated perl-MIME-tools to 5.509 in F-26 and Rawhide:
Makefile.PL failed with no '.' in @INC (CPAN RT#120871)
Test t/Ref.t failed on Windows install (CPAN RT#118262)
MIME::Parser::parse_data() should check what it gets back (CPAN RT#119166)
Allow \r\n to be used as line-end delimiter when outputting MIME message (CPAN RT#119568)
Updated perl-MooseX-Types-Path-Tiny to 0.012 in F-26 and Rawhide:
Repository migrated to the GitHub moose organization
Switch from Test::Requires to Test::Needs in tests
Add MooseX::Getopt option type maps when MooseX::Getopt is installed
Updated perl-Net-SSH-Perl (1.42) in F-26 and Rawhide to drop EL-5 support and use gnupg2 rather than gnupg for the signature test
Updated perl-Test-Signature (1.11) in F-26 and Rawhide to use gnupg2 rather than gnupg (Bug #1439206)
Local Packages
Updated perl-CPAN-Meta-Requirements (2.140) to drop legacy spec file elements only needed for EOL distributions prior to Fedora 13
Updated perl-MIME-tools to 5.509 as per the Fedora version
Updated perl-Test-Harness to 3.39:
Make tests pass when PERL_USE_UNSAFE_INC=0
Friday 7th April 2017
Fedora Project
Updated perl-Class-Load (0.23) and perl-Class-Load-XS (0.09) in F-26 and Rawhide to fix FTBFS with Test::Without::Module ≥ 0.19 (https://github.com/moose/Class-Load/pull/2)
Updated perl-List-MoreUtils to 0.419 in F-26 and Rawhide:
Makefile.PL failed due to unescaped paths interpolated in regex pattern (CPAN RT#120799)
Updated perl-MCE-Shared to 1.824 in F-26 and Rawhide:
Fixed bug introduced in 1.818, syswrite data to a shared file handle
Updated perl-PerlIO-utf8_strict to 0.007 in F-26 and Rawhide:
Adapt to dot no longer being in @INC
Adapt to unicode syswrite being deprecated
Local Packages
Updated curl (7.53.1) to fix out of bounds read in curl --write-out (CVE-2017-7407) and to make the dependency on nss-pem arch-specific from F-25 onwards (Bug #1428550)
Updated perl-Class-Load (0.23) and perl-Class-Load-XS (0.09) as per the Fedora version
Updated perl-Clone to 0.39:
Use explicit '.' in tests since it may not be in @INC any longer in newer perls (CPAN RT#120648)
Updated perl-File-HomeDir to 1.002:
Switch to ExtUtils::MakeMaker
- Compatibility with blead
Updated perl-List-MoreUtils to 0.419 as per the Fedora version
Updated perl-MCE-Shared to 1.824 as per the Fedora version
Updated perl-PerlIO-utf8_strict to 0.007 as per the Fedora version
Updated perl-SQL-Statement to 1.412:
NumericEval: Fix typo on error handling (http://www.perlmonks.org/?node_id=1167381)
Fix repo URL and t/02execute.t
- Fix test failing with blead-perl
- Refactor constraints processing
Support parsing of complex JOIN clause (containing OR and ()'s)
- Handle backtick quoting
Sunday 9th April 2017
Fedora Project
Updated perl-Contextual-Return to 0.004011 in F-26 and Rawhide:
Patched memory leak from use of @DB::args
Updated perl-YAML-LibYAML to 0.64 in F-26 and Rawhide:
I also added Provides: bundled(libyaml) = 0.1.7 as per the Fedora library bundling guidelines, the version number of the bundled libyaml being determined by comparing commits in the upstream repo (GH#49)
Local Packages
Updated perl-YAML-LibYAML to 0.64 as per the Fedora version
Monday 10th April 2017
Fedora Project
Updated perl-IPC-System-Simple (1.25) in F-26 and Rawhide to introduce a build condition for optional tests, to help with modularity
Updated perl-Unicode-UTF8 to 0.61 in F-26 and Rawhide:
Avoid relying on current working directory being in @INC
- Documentation typo fixes
Updated proftpd to 1.3.5e in F-25, F-26, Rawhide and EPEL-7:
SFTP clients using umac-64@openssh.com digest failed to connect (upstream bug 4287)
SFTP rekeying failure with ProFTPD 1.3.5d, caused by null pointer dereference (upstream bug 4288)
AllowChrootSymlinks off did not check entire DefaultRoot path for symlinks (CVE-2017-7418, upstream bug 4295)
Local Packages
New package perl-Crypt-Cracklib (1.7)
Updated perl-BSD-Resource to 1.2911:
Prepend "./" to require-d pathnames in tests, in preparation for Perl 5.26.0 (CPAN RT#120993)
Add RLIMIT_POSIXLOCKS from DragonFly BSD
Updated perl-Test-Without-Module to 0.20:
Make tests more resilient against old versions of Carp.pm (CPAN RT#121002)
- Typo fixes
Rework test suite, move author tests below xt/
Updated perl-Unicode-UTF8 to 0.61 as per the Fedora version
Updated proftpd to 1.3.5e as per the Fedora version
Tuesday 11th April 2017
Fedora Project
Updated perl-Class-Load to 0.24 in F-26 and Rawhide:
Fix test to handle altered Test::Without::Module exception message (GH#2)
Updated perl-Class-Load-XS to 0.10 in F-26 and Rawhide:
Fix test to handle altered Test::Without::Module exception message
Updated perl-Params-ValidationCompiler to 0.24 in F-26 and Rawhide:
The source_for() exported by Params::ValidationCompiler did not work at all (GH#16)
Updated perl-Sub-Identify to 0.14 in F-26 and Rawhide:
Make tests pass without . in @INC (actual fix)
Local Packages
Updated curl (7.53.1) to disable upstream test 2033 (flaky test for HTTP/1 pipelining)
Updated dovecot to update dovecot to 2.2.29 (see NEWS for details)
Bug fixes include not expanding %variables in passdb/userdb dict keys; if dict was used as the authentication passdb, using specially crafted %variables in the username could be used to cause DoS (CVE-2017-2669)
Updated perl-Class-Load to 0.24 as per the Fedora version
Updated perl-Class-Load-XS to 0.10 as per the Fedora version
Updated perl-Params-ValidationCompiler to 0.24 as per the Fedora version
Updated perl-Specio (0.36) to explicitly require List::MoreUtils::XS if we're using it in lieu of a recent List::Util; the List::MoreUtils::PP implementation does not work and List::MoreUtils no longer loads the XS itself
Updated perl-Sub-Identify to 0.14 as per the Fedora version
Wednesday 12th April 2017
Fedora Project
Updated perl-Contextual-Return to 0.004012 in F-26 and Rawhide:
- Optimized previous patch for memory leak
Added missing test plan to t/fail.t (I reverted this change as the test proved to be quite flaky)
Updated perl-Test-Assert (0.0504) in F-26 and Rawhide to use gnupg2 rather than gnupg for the signature test
Updated perl-Test-NoTabs to 2.00 in F-26 and Rawhide:
Migrated off Module::Install, added META.json and other modern tooling
Updated perl-Test-Vars to 0.014 in F-26 and Rawhide:
- Fixed a bug where false positives were reported for some code constructs where a variable was used on the right side of an lvalue-expression
Updated perl-Unicode-UTF8 to 0.62 in F-26 and Rawhide:
Only check for missing Module::Install related modules in Makefile.PL
Local Packages
Updated perl-Test-Assert (0.0504) to use gnupg2 rather than gnupg for the signature test, and to use an ephemeral temporary directory for GPG key storage
Updated perl-Test-NoTabs to 2.00 as per the Fedora version
Updated perl-Test-Script to 1.18:
Handle scripts with -T taint mode (GH#13)
Use three-argument open
Updated perl-Test-Vars to 0.014 as per the Fedora version
Updated perl-Unicode-UTF8 to 0.62 as per the Fedora version
Thursday 13th April 2017
Fedora Project
Updated curl (7.53.1) in Rawhide to add %post and %postun scriptlets running /sbin/ldconfig to the newly-added libcurl-minimal package
Local Packages
Updated curl (7.53.1) to provide (lib)curl-minimal subpackages with lightweight build of (lib)curl (Fedora 27 onwards)
Updated dovecot to 2.2.29.1:
imapc reconnection fix was forgotten from 2.2.29 release, which also made "make check" fail in a unit test
dict-sql: Merging multiple UPDATEs to a single statement wasn't actually working
Fixed building with vpopmail
Updated pigeonhole to 0.4.18:
imapsieve plugin: Implemented the copy_source_after rule action
imapsieve plugin: Added non-standard Sieve environment items for the source and destination mailbox
multiscript: The execution of the discard script had an implicit "keep", rather than an implicit "discard"
Friday 14th April 2017
Fedora Project
Branched and built perl-List-MoreUtils-XS (0.418) for F-26 (Bug #1442285)
Updated perl-Contextual-Return to 0.004014 in F-26 and Rawhide:
Reverted to 0.004011 due to segfaults under optimized memory leak patch
Local Packages
Updated perl-Perl-Critic-Pulp to 93:
- Metadata changes only
Saturday 15th April 2017
Fedora Project
Updated perl-Test-Simple to 1.302083 in F-26 and Rawhide:
Fixes for '. in @INC' changes (#768)
Timeout when waiting for child processes and threads (#765)
Fix SIGSYS localization issue (#758)
Fix bail-out in buffered subtest (#747)
- Fix threads timeout for older perls (as best we can)
- Fix test that incorrectly called private function as method
Update some breakage info for Test::More::Prefix and Test::DBIx::Class::Schema
Local Packages
Updated perl-Test-Simple to 1.302083 as per the Fedora version
Monday 17th April 2017
Fedora Project
Branched and built perl-Crypt-Cracklib (1.7) in EPEL-7
Updated perl-IO-Socket-SSL to 2.048 in F-26 and Rawhide:
Fixed small memory leaks during destruction of socket and context (CPAN RT#120643)
Updated perl-Test-File to 1.443 in F-26 and Rawhide:
Found another relative path require issue: http://blogs.perl.org/users/ryan_voots/2017/04/trials-and-troubles-with-changing-inc.html
This is another attempt at avoiding failures from the v5.26 removal of . from @INC
Local Packages
Updated perl-IO-Socket-SSL to 2.048 as per the Fedora version
Updated perl-Test-File to 1.443 as per the Fedora version
Updated perl-XML-Simple to 2.24:
Another fix to the logic for detecting circular references (CPAN RT#114120)
Don't initialize $XML::Simple::PREFERRED_PARSER to undef as a caller may have already set it before loading XML::Simple and if not, it would have defaulted to undef anyway (CPAN RT#118205)
Updated unrar to 5.50 beta 1
Tuesday 18th April 2017
Fedora Project
Updated pari (2.9.2) in F-26 and Rawhide to drop the pari-2.7 compatibility library now that nothing in F-26 or Rawhide uses it
Updated perl-Test-API to 0.008 in F-26 and Rawhide:
Fixed tests for perls without '.' in @INC
- I forgot to do this update in Fedora when I did my local update a while back
Wednesday 19th April 2017
Fedora Project
Updated perl-MetaCPAN-Client to 2.011000 in F-26 and Rawhide:
- Added support for scroller time/size params
Removed warning of scroller deletion failure (GH#81)
Local Packages
Updated curl to 7.54.0, which includes fix for CVE-2017-7468: switch off SSL session id when client cert is used
Updated java-1.8.0-oracle to Java SE 8 Update 131 (cumulative bugfix, enhancement and security update; see release notes at http://www.oracle.com/technetwork/java/javase/8u131-relnotes-3565278.html)
Updated perl-MetaCPAN-Client to 2.011000 as per the Fedora version
Thursday 20th April 2017
Fedora Project
Updated perl-YAML-Syck to 1.30 in F-26 and Rawhide:
Fix handling carriage return after c-indicator (CPAN RT#41141)
Fix CHECK_UTF8 SEGV with empty len=0 strings (CPAN RT#61562)
- Add missing function declarations
Tighten the TODO tests; no passing TODOs now, but still JSON
SingleQuote and \/ and \u roundtrips do fail
Local Packages
New package perl-Sys-HostAddr (0.993)
Updated perl-YAML-Syck to 1.30 as per the Fedora version
Friday 21st April 2017
Fedora Project
Updated perl-GD to 2.59 in F-26 and Rawhide:
Remove Build.PL, fix permissions, fix for missing gdlib-config
Fix feature extraction ≥ 2.2 (CPAN RT#119459)
Add alpha method
- Improve option handling
- Fix metadata
Fix Jpeg magic number detection (CPAN RT#26146)
Fix RGB-HSV roundtrips (CPAN RT#120572)
Fix -print-search-dirs errors (CPAN RT#106265)
Co-maint to RURBAN
Add hv_fetchs, CI smokers
Add GD::VERSION_STRING API
Honour --lib_gd_path specific gdlib-config
Loosen the comparison tests with GDIMAGETYPE ne gd2
Improve gdlib-config parsing (GH#17), especially with 2.0.34
Error on failing libgd calls
Fix colorClosestAlpha, colorAllocateAlpha
- Add missing documentation
Local Packages
Updated perl-ExtUtils-PkgConfig to 1.16:
Add exists() method, and update README (CPAN RT#77880)
Handle removal of '.' from @INC for Perl 5.26 (CPAN RT#120819)
Updated perl-Module-CoreList to 5.20170420:
- Updated for v5.25.12
Updated perl-MooseX-Role-Parameterized to 1.10:
Add MooseX::Role::Parameterised as stub documentation, for discoverability
Saturday 22nd April 2017
Fedora Project
Updated perl-GD to 2.60 in F-26 and Rawhide:
Add missing methods newFromWBMP, newFromXbm (CPAN RT#68784) and some missing docs
Add --lib_fontconfig_path, --fcgi options
- Rewrote most of the XS code
Clean up Makefile.PL (GH#20)
Local Packages
Updated perl-version to 0.9918:
Fix compiling under C++11 (CPAN RT#118846)
Make version::regex variables public for better reuse (CPAN RT#119669)
Use rel2abs for require in tests to support 5.26.0 @INC (CPAN RT#121148)
Move change list to standard CHANGES out of README (CPAN RT#119123)
Better taint handling for Perl < 5.17.2 with tests (CPAN RT#118087)
Sunday 23rd April 2017
Fedora Project
Updated perl-GD to 2.65 in F-26 and Rawhide:
Add CONFIGURE_REQUIRES metadata
Add --gdlib_config_path
Add Image Filters: scatter, pixelate, negate, grayscale, brightness, contrast, color, selectiveBlur, edgeDetectQuick, gaussianBlur, emboss, meanRemoval, smooth, copyGaussianBlurred
Add palette methods: createPaletteFromTrueColor, neuQuant (but discouraged), `colorMatch
Add interpolation methods: copyScale, copyRotateInterpolated, interpolationMethod
Add double GD::VERSION
Add all gd.h constants
Fixed wrong <5.14 code generated with ExtUtils::Constants (CPAN RT#121297); only generate const-xs.inc when it's missing
Add -liconv on hpux too (our pkgconfig parser cannot handle it)
Renamed VERSION() to LIBGD_VERSION() (CPAN RT#121307); it was treated magically by "use GD 2.18"
Update documentation for LIBGD_VERSION()
Fix 5.6.2, which does not have float in its typemap
Fix --gdlib_config_path to accept an argument
Updated perl-utf8-all to 0.022 in F-26 and Rawhide:
Adapted to changes in Encode v2.89
Monday 24th April 2017
Fedora Project
Updated perl-Class-C3 to 0.33 in F-26 and Rawhide:
Update bundled ExtUtils::HasCompiler to 0.017
Moved repository to Moose GitHub org
Avoid using base.pm in tests (CPAN RT#120530)
- Minor pod and test clean ups
Updated perl-GD to 2.66 in F-26 and Rawhide:
Throw proper error on newFrom* with not-existing file
Add t/transp.t from CPAN RT#40525
Improve multiple gd.h warning (CPAN RT#54366)
Better documentation for GD::Simple->arc
Fix ANIMGIF with libgd 2.3.0-dev
Local Packages
Updated perl-Class-C3 to 0.33 as per the Fedora version
Tuesday 25th April 2017
Fedora Project
Updated perl-IPC-Run to 0.95 in F-26 and Rawhide:
Enable Travis-CI integration for IPC::Run
Use q{} and qq{} to fix problems with quotation in cmd.exe
Sync $VERSION across all files to address kwalitee
Stop side effect of altering flushing of STDOUT and STDERR (CPAN RT#109243)
CHILD_HANDLE should be closed with 'Close' to prevent a warning
Require Win32API::File on Windows
- Better timer error message plus an additional unit test
- Catching previously non-detected malformed time strings
Let Timer accept all allowable perl numbers
- Allow the OS to choose the ephemeral port to use
Don't use version.pm to parse the perl version in Makefile.PL
perltidy
Do not import POSIX into local namespace (it's a memory hog)
- Skip infinity test on perl below 5.8.9
- Spelling fixes
Documentation fix: full_result returns $?, not $? >> 8
Fix check for reaped PID in reap_nb
Re-remove unnecessary use of UNIVERSAL
Local Packages
Updated contagged (0.8.0) to fix another incompatibility with PHP7 (preg_replace with e modifier no longer works, leading to the LDAP filter always being set to "a" regardless of what's being searched for):
--- inc/functions.php +++ inc/functions.php @@ -356,12 +356,19 @@ function ldap_store_objectclasses($dn,$c * * Ported from Perl's Net::LDAP::Util escape_filter_value * - * @author Andreas Gohr <andi@splitbrain.org> + * @param string $string The string to be parsed + * @author Andreas Gohr <andi@splitbrain.org> + * @author Modified for PHP55 by Esteban Santana Santana <MentalPower@GMail.com> + * @return string */ function ldap_filterescape($string){ - return preg_replace('/([\x00-\x1F\*\(\)\\\\])/e', - '"\\\\\".join("",unpack("H2","$1"))', - $string); + return preg_replace_callback( + '/([\x00-\x1F\*\(\)\\\\])/', + function ($matches) { + return "\\".join("", unpack("H2", $matches[1])); + }, + $string + ); } /**
Updated perl-IPC-Run to 0.95 as per the Fedora version
Updated unrar (5.50 beta 1) to new upstream tarball 5.5.2
Wednesday 26th April 2017
Fedora Project
Updated perl-Text-CSV_XS to 1.29 in F-26 and Rawhide:
More documentation for bind_columns (CPAN RT#121350)
New attribute "strict" (also addresses CPAN RT#121350)
Local Packages
Updated curl (7.54.0) to use libnssckbi.so as the default source of trust when using the NSS backend, and not to leak PKCS #11 slot while loading a key (Bug #1444860)
Updated perl-Text-CSV_XS to 1.29 as per the Fedora version
Thursday 27th April 2017
Fedora Project
Updated perl-MetaCPAN-Client to 2.012000 in F-26 and Rawhide:
Fixed 'email' field handling in Author objects (GH#83)
Local Packages
Updated curl (7.54.0) to switch the TLS back-end back to OpenSSL for Fedora 27 onwards (Bug #1445153)
Updated perl-MetaCPAN-Client to 2.012000 as per the Fedora version
Saturday 29th April 2017
Fedora Project
Updated perl-MCE to 1.828 in F-26 and Rawhide:
Do not enable barrier mode for Queue on the Windows platform
Fixed MCE::Mutex::Flock, tmp_file missing script name in path
Added Curses and Prima to list for enabling the posix_exit option
Allow a hash as input_data: Core API, MCE::{ Flow, Loop, Step }
Improved API documentation on MCE models with more synopsis
- Enhanced IPC and signal handling, reduced memory consumption
Make tmp_dir on demand in MCE::Signal; ditto for sess_dir in MCE
Load Fcntl, File::Path, Symbol on demand
Updated perl-MCE-Shared to 1.825 in F-26 and Rawhide:
Do not enable barrier mode for Queue on the Windows platform
Fixed MCE::Hobo on the Windows platform for older Perl < v5.16
Added Curses and Prima to list for enabling the posix_exit option
Added module option for using a class implicitly when tie'ing a variable
Added unbless option when exporting a shared object
Improved support for running MCE::Hobo on the NetBSD platform
- Enhanced IPC and signal handling, reduced memory consumption
Bumped MCE dependency to 1.828
Local Packages
Updated curl (7.54.0) not to require nss-pem for OpenSSL builds
Updated perl-Data-UUID (1.221) to drop support for EOL distributions prior to F-13
Updated perl-MCE to 1.828 as per the Fedora version
Updated perl-MCE-Shared to 1.825 as per the Fedora version
Sunday 30th April 2017
Local Packages
Updated perl-Params-Validate to 1.27:
When more than one required parameter is missing, the list of missing parameters in the error message is sorted by name (GH#14)
Previous Month: March 2017
Next Month: May 2017