Paul's Blog Entries for November 2012
Thursday 1st November 2012
Fedora Project
Updated perl-MIME-Types to 1.36 in F-18 and Rawhide:
xlsx and friends had encoding 'binary' (since version 1.30), but should have been 'base64' (CPAN RT#80529)
Local Packages
Updated perl-MIME-Types to 1.36 as per the Fedora version
Updated perl-Module-CoreList to 2.76:
- Updated for v5.16.2
Updated perl-XML-LibXML to 2.0010:
Fix libxml2 detection in Strawberry Perl (CPAN RT#80540)
Passing debug (an undocumented option) to check_lib in Makefile.PL; this way we get more meaningful traces on perl Makefile.PL DEBUG=1
Friday 2nd November 2012
Fedora Project
Updated gtkwave to 3.3.41 in F-18 and Rawhide:
Fix for gtkwave::addSignalsFromList when encountering signals of form a.b.MyBus[7:0] and a.b.MyBus[15:8] such that brackets aren't stripped
Added experimental highlight_wavewindow rc variable, which allows signals also to be highlighted in the wave window using the value for color_grid
Added use_standard_trace_select rc variable and related menu option
Updated perl-Module-Signature to 0.69 in F-18 and Rawhide:
Support for gpg under these alternate names: gpg, gpg2, gnupg and gnupg2
Updated perl-Tree-DAG_Node to 1.07 in Rawhide:
- New maintainer: Ron Savage
- Pre-emptive apologies for any changes which are not back-compatible; no such problems are expected, but the introduction of new methods may disconcert some viewers
Fix CPAN RT#78858 and audit code for similar problems
Fix CPAN RT#79506
Rename ChangeLog to CHANGES, and add Changelog.ini
Replace all uses of cyclicity_fault() and Carp::croak with die
Remove unused methods: decommission_root(), cyclicity_allowed(), cyclicity_fault(), inaugurate_root(), no_cyclicity() and _update_links(); OK - cyclicity_fault() was called once - it just died
Add methods: format_node(), hashref2string(), is_root(), node2string(), tree2string()
- Reformat the POD big-time
Add Build.PL
Re-write Makefile.PL
Remove use vars(@ISA $Debug $VERSION), and replace latter 2 with 'our ...'
Rename t/00_about_verbose.t to t/about.perl.t
Add scripts/cut.and.paste.subtrees.pl (Warning: Some trees get into an infinite loop)
Add t/cut.and.paste.subtrees.t (Warning: Some trees get into an infinite loop)
Document the options (discouraged by Sean) supported in the call to new($hashref)
Local Packages
Updated gtkwave to 3.3.41 as per the Fedora version
Updated perl-Module-Signature to 0.69 as per the Fedora version
Updated perl-Parse-RecDescent to note that one demo file is licensed as (GPLv2+ or Artistic)
Updated perl-Tree-DAG_Node to 1.07 as per the Fedora version
Sunday 4th November 2012
Local Packages
Updated dovecot to not use systemd's PrivateTmp on F-17 (Bug #851131), and support the reload action in the service file
Updated perl-DateTime-TimeZone to 1.53:
- This release is based on version 2012i of the Olson database
- Contemporary changes for Cuba
Monday 5th November 2012
Fedora Project
Fixed the failure to build from source in F-18 and Rawhide of perl-Hardware-Verilog-Parser (Bug #839599), sending my patch upstream at CPAN RT#80637; I also added a patch for warnings emitted during use, from CPAN RT#51080 whilst I was at it
Local Packages
Updated perl-FileHandle-Fmode to 0.13:
Fix Hurd compatibility (CPAN RT#80607)
Updated perl-Variable-Magic to 0.52:
The new constant VMG_COMPAT_SCALAR_NOLEN evaluates to true when your perl does not call 'len' magic for scalars, which is the case for perl 5.17.4 and above (CPAN RT#80388)
t/35-stash.t has been taught about perl 5.17.4
- Author tests overhaul
Tuesday 6th November 2012
Local Packages
Updated perl-Module-Pluggable to 4.5:
- Fix hash ordering bug in tests
- Fix install dir
- Documentation updates
Wednesday 7th November 2012
Local Packages
Updated libssh2 to incorporate two patches from upstream:
examples: use stderr for messages, stdout for data (upstream commit b31e35ab)
Update libssh2_hostkey_hash(3) man page (upstream commit fe8f3deb)
Thursday 8th November 2012
Local Packages
Updated perl-autodie to 2.13:
Deterministic tests in hints_pod_examples.t (CPAN RT#80412)
Subroutine installs are now done in a deterministic order (CPAN RT#80414)
Updated perl-XML-LibXML to 2.0011:
Fix crash in removeChild() when not expanding entities (CPAN RT#80395)
Friday 9th November 2012
Fedora Project
Fixed perl-OpenOffice-UNO to build in F-18 and Rawhide; this was the last perl module that had not yet been rebuilt since the update to perl 5.16, the problem being that Makefile.PL was looking for a library with sal in the name, which could end up using libsal_textenc (not the wanted library) or libuno_sal (the wanted one) and hence caused intermittent build failures depending on the directory search result order on the build machine
Updated perl-Tree-DAG_Node to 1.09 in Rawhide:
For pre-reqs such as strict, warnings, etc., which ship with Perl, set the version requirement to 0 (CPAN RT#80663)
Local Packages
Updated perl-Tree-DAG_Node to 1.09 as per the Fedora version
Updated perl-XML-LibXML to 2.0012:
Fix support for references to scalars with overloaded stringification magic (CPAN RT#77864)
Saturday 10th November 2012
Local Packages
Updated perl-Compress-Raw-Bzip2 to 2.057:
Compress::Raw::Bzip2 needs to use PERL_NO_GET_CONTEXT (CPAN RT#80318)
Install to 'site' instead of 'perl' when perl version is 5.11+ (CPAN RT#79811)
Update to ppport.h that includes SvPV_nomg_nolen (CPAN RT#78080)
Updated perl-Compress-Raw-Lzma to 2.057:
Update to ppport.h that includes SvPV_nomg_nolen
Added PERL_NO_GET_CONTEXT
Updated perl-Compress-Raw-Zlib to 2.057:
Compress::Raw::Zlib needs to use PERL_NO_GET_CONTEXT (CPAN RT#80319)
Install to 'site' instead of 'perl' when perl version is 5.11+ (CPAN RT#79812)
Update to ppport.h that includes SvPV_nomg_nolen (CPAN RT#78079)
Updated perl-IO-Compress to 2.057:
IO::Compress::Zip:
Allow member name and Zip Comment to be "0"
IO::Compress::Base::Common:
Remove "-r" test - the file open will catch this
IO::Compress::Base::Common returned that it could not read readable files in NFS (CPAN RT#80855)
Install to 'site' instead of 'perl' when perl version is 5.11+ (CPAN RT#79820)
- General performance improvements
I found that a newly-added subtest of t/01misc.t failed consistently (CPAN RT#81119) so I patched that subtest out for now
Updated perl-IO-Compress-Lzma to 2.057:
- General performance improvements
Monday 12th November 2012
Local Packages
Updated dovecot to fix "network still not ready" race condition (Bug #871623)
Updated perl-Module-CoreList to 2.77:
- Updated for v5.12.5
deprecated_in() function added
corelist reports deprecated data
Tuesday 13th November 2012
Fedora Project
Updated perl-Compress-Raw-Bzip2 to 2.058 in F-18 and Rawhide:
Compress::Raw::Bzip2 needs to use PERL_NO_GET_CONTEXT (CPAN RT#80318)
Install to 'site' instead of 'perl' when perl version is 5.11+ (CPAN RT#79811)
Update to ppport.h that includes SvPV_nomg_nolen (CPAN RT#78080)
Updated perl-Compress-Raw-Lzma to 2.058 in F-18 and Rawhide:
Update to ppport.h that includes SvPV_nomg_nolen
Added PERL_NO_GET_CONTEXT
Updated perl-Compress-Raw-Zlib to 2.058 in F-18 and Rawhide:
Compress::Raw::Zlib needs to use PERL_NO_GET_CONTEXT (CPAN RT#80319)
Install to 'site' instead of 'perl' when perl version is 5.11+ (CPAN RT#79812)
Update to ppport.h that includes SvPV_nomg_nolen (CPAN RT#78079)
Updated perl-IO-Compress to 2.058 in F-18 and Rawhide:
IO::Compress::Zip:
Allow member name and Zip Comment to be "0"
IO::Compress::Base::Common:
Remove "-r" test - the file open will catch this
IO::Compress::Base::Common returned that it could not read readable files in NFS (CPAN RT#80855)
Install to 'site' instead of 'perl' when perl version is 5.11+ (CPAN RT#79820)
- General performance improvements
Fix failing 01misc.t subtest introduced in 2.057 (CPAN RT#81119)
Updated perl-IO-Compress-Lzma to 2.058 in F-18 and Rawhide:
- General performance improvements
Local Packages
Updated perl-Compress-Raw-Bzip2 to 2.058 (no changes)
Updated perl-Compress-Raw-Lzma to 2.058 (no changes)
Updated perl-Compress-Raw-Zlib to 2.058 (no changes)
Updated perl-DateTime-TimeZone to 1.54:
- This release is based on version 2012j of the Olson database
- Contemporary changes for Libya
Updated perl-IO-Compress to 2.058 (fix failing 01misc.t - CPAN RT#81119)
Updated perl-IO-Compress-Lzma to 2.058 (no changes)
Updated perl-Test-Portability-Files to 0.06:
- Created git repository on github.com
Converted to Dist::Zilla
Fixed "options cannot take a false value" (CPAN RT#21631)
Disabled AmigaOS and Mac OS Classic tests by default because they are no longer supported by Perl itself (CPAN RT#12182)
Updated synopsis to show recommended author-only usage (CPAN RT#43948)
Updated perl-Text-CSV_XS to 0.92:
Allow bind_columns() for print()
Increase buffer size for print to 64k
Fix CPAN RT#80680 - Buffer break halfway through UTF8 characters
Rebuilt ppp again to stay in sync with the Rawhide build
Thursday 15th November 2012
Fedora Project
Updated perl-AnyEvent to 7.04 in F-18 and Rawhide:
AnyEvent::Socket::inet_aton did not work when DNS resolution was used to find the addresses
Fix a memory leak in the /etc/hosts lookup code when hosts don't resolve and are not in hosts
Local Packages
Updated perl-AnyEvent to 7.04 as per the Fedora version
Updated perl-Capture-Tiny to 0.21:
Skips tee and leak tests for closed STDIN on Perl prior to 5.12 when PERL_UNICODE=D; documented lack of support as a known issue
Isolated tee sub-processes from effects of PERL_UNICODE as a precaution (though this did not fix the above issue)
- Improved layer detection for handles proxied due to being closed or tied
Friday 16th November 2012
Fedora Project
Rebuilt gnome-libs in Rawhide to use the new audiofile (which has had an soname change since F-18); this had been waiting on an esound rebuild (Bug #866794), which had been done over a week ago but had gone unnoticed
Saturday 17th November 2012
Local Packages
perl-DateTime to 0.78:
Reverted the change to round nanoseconds up or down in various situations. Now we always round down. This avoids the case where rounding up would require us to then increment the second value (which could then require us to increment the minute, which could then require us to increment the hour, which could then ...). In other words, we don't want to round 2011-12-31T23:59:59.999999 up to 2012-01-01T00:00:00, because that would be insane. This applies to the return values for ->microsecond, ->millisecond, and the %N specifier for strftime (CPAN RT#79845)
Updated perl-Devel-StackTrace to 1.29:
Allow arguments to a trace's as_string method, specifically max_arg_length
Added a no_args option to the constructor in 1.26 but forgot to mention it in Changes (CPAN RT#71482)
The Devel::StackTrace->frames() method is now read-write, which allows you to do more complex filtering of frames than is easily possible with the frame_filter argument to the constructor
Updated perl-Exception-Class to 1.36:
Fixed some stupidity in the tests that appears to have been highlighted by recent changes to Devel::StackTrace (CPAN RT#81245)
Monday 19th November 2012
Fedora Project
Branched perl-IPC-System-Simple for EPEL-6, with Simone Caronni as co-maintainer; Simone did the build
Local Packages
Updated libxml2 to add workaround for crc/len check failure (Bug #877567)
Updated perl-Error to 0.17019:
- Change to Shlomi Fish's new E-mail and web address
Clarify the licence of lib/Error/Simple.pm (CPAN RT#81277)
Updated perl-ExtUtils-ParseXS to 3.18:
- Restore portability to Perl 5.6, which was lost at EU-PXS 3.00
Avoid warning on an initialized non-parameter (Perl RT#112776)
Only increment PL_amagic_generation before 5.9
Updated perl-Text-CSV_XS to 0.93:
Skip Encode related tests on too old Encode
Force old(er) tar format (ustar) - assumes GNU tar on release box
Tuesday 20th November 2012
Local Packages
Updated curl to 7.28.1:
metalink/md5: use CommonCrypto on Apple operating systems
href_extractor: new example code extracting href elements
NSS can be used for metalink hashing
Fix broken libmetalink-aware OpenSSL build
gnutls: fix the error is fatal logic
darwinssl: un-broke iOS build, fix error on server disconnect
asyn-ares: restore functionality with c-ares < 1.6.1
tlsauthtype: deal with the string case insensitively
Fixed MSVC libssh2 static build
evhiperfifo: fix the pointer passed to WRITEDATA
BUGS: fix the bug tracker URL
winbuild: use machine type of development environment
FTP: prevent the multi interface from blocking
Uniformly use AM_CPPFLAGS, avoid deprecated INCLUDES
httpcustomheader.c: free the headers after use
Fix >2000 bytes POST over NTLM-using proxy
- Redirects to URLs with fragments
Don't send '#' fragments when using proxy
- OpenSSL: show full issuer string
- Fix HTTP auth regression
CURLOPT_SSL_VERIFYHOST: stop supporting the 1 value
ftp: EPSV-disable fix over SOCKS
Digest: Add microseconds into nounce calculation
- SCP/SFTP: improve error code used for send failures
- SSL: several SSL-backend related fixes
Removed the notorious "additional stuff not fine" debug output
- OpenSSL: disable SSL/TLS compression - avoid the "CRIME" attack
FILE: make upload-writes unbuffered
- Custom memory callbacks failure with HTTP proxy (and more)
- TFTP: handle resends
autoconf: don't force-disable compiler debug option
winbuild: fix PDB file output
test2032: spurious failure caused by premature termination
Memory leak: CURLOPT_RESOLVE with multi interface
Updated dovecot not to crash during mail search (Bug #861742)
Updated perl-Devel-StackTrace to 1.30:
There was an eval that did not first localize $@ and $SIG{__DIE__}; this broke Plack::Middleware::StackTrace (and possibly other things)
Wednesday 21st November 2012
Local Packages
Updated perl-Module-CoreList to 2.78:
- Updated for v5.17.6
Fix hash order dependency bug in deprecated_in(); tests would fail or succeed depending on the order keys() returned the version list
Thursday 22nd November 2012
Local Packages
Updated libxslt to 1.1.28:
- Portability:
Fix python build by using libxsltmod_la_CPPFLAGS instead of AM_CPPFLAGS
configure should be more careful with linker script
Add gcrypt library in LIBADD, not LDFLAGS, as recommended
- Bug fixes:
Fix generate-id() to avoid generating the same ID
Fix crash with empty xsl:key/@match attribute
Fix crash when passing an uninitialized variable to document()
Add missing test docs to EXTRA_DIST
- Fix regression: Default namespace not correctly used
- Cleanups:
Remove xsltTransStorageAdd and xsltTransStorageRemove from symbols.xml
autogen.sh cleanup
Consistent use of xslt processor
Add object files in tests/plugins to .gitignore
Fix error on bug-165 regression test
Remove xsltTransStorageAdd and xsltTransStorageRemove
Updated perl-Clone to 0.32:
Stop skipping SvROK handling for all magical scalars; this fixes CPAN RT#67105, CPAN RT#79730 and CPAN RT#80201
Made the Changes file compliant to the CPAN::Changes specification
Fixed tests when Scalar::Util::weaken is not available
Removed dubious documentation on the optional parameter until it is 'fixed'; right now it just increases the refcount when it's 0, and clones otherwise - which isn't exactly what it says (CPAN RT#57773)
Updated remark on Storable's dclone() to address CPAN RT#50174
Updated Makefile.PL to include test dependencies
Rebuilt perl-XML-LibXSLT for libxslt 1.1.28
Saturday 24th November 2012
Local Packages
Updated perl-Digest-SHA to 5.74:
Handle wide-string input by converting to bytes first (i.e. use SvPVbyte instead of SvPV in SHA.xs)
Updated perl-Perl-Critic-Pulp to 75:
ProhibitEmptyCommas fix for [{%a},{}] (CPAN RT#81390)
Sunday 25th November 2012
Local Packages
Updated perl-Compress-Raw-Bzip2 to 2.059:
Copy-on-write support (CPAN RT#81352)
Updated perl-Compress-Raw-Lzma to 2.059:
- Copy-on-write support
Updated perl-Compress-Raw-Zlib to 2.059:
Copy-on-write support (CPAN RT#81353)
Updated perl-IO-Socket-SSL to 1.79:
Use getnameinfo instead of unpack_sockaddr_in6 to get PeerAddr and PeerPort from sockaddr in _update_peer, because this provides scope too
Work around systems that don't define AF_INET6 (CPAN RT#81216)
Prepare transition to a more secure default for SSL_verify_mode; the use of the current default SSL_VERIFY_NONE will cause a big warning for clients, unless SSL_verify_mode was explicitly set inside the application to this insecure value (in the near future the default will be SSL_VERIFY_PEER, and thus causing verification failures in unchanged applications)
Monday 26th November 2012
Fedora Project
Updated perl-Compress-Raw-Bzip2 to 2.059 in F-18 and Rawhide:
Copy-on-write support (CPAN RT#81352)
Updated perl-Compress-Raw-Lzma to 2.059 in F-18 and Rawhide:
- Copy-on-write support
Updated perl-Compress-Raw-Zlib to 2.059 in F-18 and Rawhide:
Copy-on-write support (CPAN RT#81353)
Updated perl-IO-Socket-SSL to 1.79 in F-18 and Rawhide:
Use getnameinfo instead of unpack_sockaddr_in6 to get PeerAddr and PeerPort from sockaddr in _update_peer, because this provides scope too
Work around systems that don't define AF_INET6 (CPAN RT#81216)
Prepare transition to a more secure default for SSL_verify_mode; the use of the current default SSL_VERIFY_NONE will cause a big warning for clients, unless SSL_verify_mode was explicitly set inside the application to this insecure value (in the near future the default will be SSL_VERIFY_PEER, and thus causing verification failures in unchanged applications)
Local Packages
Updated perl-Clone to 0.33:
Fix typo in croak message
Updated perl-XML-LibXSLT to 1.79:
die when libxslt is 1.1.27 (due to Gnome Bug #684564)
Tuesday 27th November 2012
Fedora Project
Updated pptp in F-18 and Rawhide to fix a minor packaging nit (Bug #880574)
Local Packages
Updated pptp as per the Fedora version
Wednesday 28th November 2012
Fedora Project
Updated libssh2 to 1.4.3 in F-18 and Rawhide:
compression: add support for zlib@openssh.com
sftp_read: return error if a too large package arrives
libssh2_hostkey_hash.3: update the description of return value
Fixed MSVC NMakefile
Examples: use stderr for messages, stdout for data
- OpenSSL: do not leak memory when handling errors
- Improved handling of disabled MD5 algorithm in OpenSSL
known_hosts: fail when parsing unknown keys in known_hosts file
configure: gcrypt doesn't come with pkg-config support
session_free: wrong variable used for keeping state
libssh2_userauth_publickey_fromfile_ex.3: mention publickey == NULL
comp_method_zlib_decomp: handle Z_BUF_ERROR when inflating
Updated perl-Module-Signature to 0.70 in F-18 and Rawhide:
Don't check gpg version if gpg does not exist
Local Packages
Updated libssh2 to 1.4.3 as per the Fedora version
Updated perl-Module-Signature to 0.70 as per the Fedora version
Updated perl-Perl-MinimumVersion to 1.29:
- Fix for "Use of uninitialized value in null operation"
- Add test for "utf8::is_utf" 5.8.1 special case
- Recognize all versions in "use feature" bundle
- Support regexes
Detect changes in each/keys/values in 5.12 and 5.14
2-arg binmode
Postfix when
exists(&sub)
_bugfix_magic_errno will return element
Add 'encoding' to 5.8 pragmas
Private methods _set_checks2skip and _set_collect_all_reasons for Perl::Critic::Policy::Compatibility::PerlMinimumVersionAndWhy
Temp file with open requires 5.8
I had to add a patch to get test 02_main.t to work on some (but not all) older Perl versions (CPAN RT#81487)
Thursday 29th November 2012
Local Packages
Updated dovecot to 2.1.11:
lmtp/lda: dovecot.index.cache file is no longer fully mapped to memory, allowing mail deliveries to work even if the file is huge
auth: userdb passwd lookups are now done by auth worker processes instead of auth master process (as it was documented, but accidentally didn't work that way)
lmtp: lmtp_rcpt_check_quota=yes setting checks quota on RCPT TO
lmtp: after successful proxying RCPT TO, the next one to a non-existent user gave tempfail error instead of "user not found"
lmtp proxy: fixed hanging if remote server was down
imap: fixed crash when SEARCH contained multiple KEYWORD parameters
doveadm: various fixes to handling doveadm-server connections
-i <instance name> parameter for Dovecot tools didn't work correctly
director was somewhat broken in v2.1.10; this version also includes various reliability enhancements
auth: passdb imap was broken in v2.1.10
Updated perl-Net-IP to 1.26:
- This version is authored by Ulrich Wisser
CPAN RT#81138: ip types
CPAN RT#80164: hexip does not change when ip changes (fix: hexformat needs to be cleared by set)
CPAN RT#74898: double compression
CPAN RT#73232: invalid ipv6 1:2:3:4:5:6:7
CPAN RT#73105: invalid ip 1:2
CPAN RT#73104: expand 1::2::3
CPAN RT#71042: ip_reverse 2001:4f8:3:36:0:0:0:235
CPAN RT#45165: ip_range_to_prefix updated documentation
CPAN RT#32232: accepts 61-217-102-8.hinet-ip.hinet.net as range
Updated perl-Perl-MinimumVersion to 1.30:
'each % { $foo }' incorrectly required perl 5.14 (CPAN RT#81505)
02_main.t fails in rare cases (CPAN RT#81487)
Friday 30th November 2012
Fedora Project
Updated perl-IO-Socket-SSL to 1.80 in F-18 and Rawhide:
Removed some warnings in test (missing SSL_verify_mode => 0), which caused tests to hang on Windows (CPAN RT#81493)
Local Packages
Updated dovecot to 2.1.12:
dovecot-config in v2.1.11 caused build problems with Pigeonhole
Updated nmap to 6.25 (changes too numerous to mention)
I've had to use the bundled lua for this build as it requires lua ≥ 5.2, which isn't even in Rawhide yet
Updated perl-IO-Socket-IP to 0.18:
Work around ->socktype being undef on IO::Socket versions before 1.35 by fetching ->sockopt( SO_TYPE ) (CPAN RT#81549)
Fix test skip counts in t/21nonblocking-connect-internet.t (CPAN RT#79393)
Updated perl-IO-Socket-SSL to 1.80 as per the Fedora version
Previous Month: October 2012
Next Month: December 2012