Paul's Blog Entries for January 2012
Monday 2nd January 2012
Local Packages
Updated curl to add upstream patch that allows FTPS tests to run with nss-3.13 (Bug #760060)
Updated perl-Net-FTPSSL to 0.20:
Fixed CPAN RT#73115 where it looks like the response() had unexpected breaks in it. Instead of returning "xyz message", the FTPS server was returning "x" on one line and "yz message" on another line, and the code was treating "x" as the entire response (since there was no "-" after it). Fixed so that if a response starts with a number that's less than 3 digits with nothing else following it, to assume we hit this bug. The risk to this fix is that we might try to read past the response on some other server and cause things to hang. So that's an issue to keep an eye out on after this release.
Fixed minor issue with "HELP" not supported on some boxes. If this happens, supported() will now always return false unless you use OverrideHELP.
Now prints the hash values chosen for new() to the logs.
Fixed so scrubbing out sensitive info from the logs is only done when debug is turned on instead of doing it all the time.
Reorganized the options to new() in the POD to put the less useful and special case options to new() last.
- Other minor POD corrections and additions.
Tuesday 3rd January 2012
Local Packages
Updated perl-Email-Address to 1.893:
- Reject any non-ASCII content in strings
Updated perl-Version-Requirements to 0.101021:
Version::Requirements is now deprecated (use CPAN::Meta::Requirements, which is a drop-in replacement)
Updated perl-YAML to 0.78:
Apply patch from ANDK++ to deal with B::Deparse changes
The changes manage to tickle Perl RT#35857 in B::Deparse, which affects old distributions (FC-5, RHEL-5 and earlier releases):
$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/2-scalars..............ok t/basic-tests............ok t/bugs-emailed...........ok 3/25 skipped: various reasons t/bugs-rt................ok 13/41 skipped: various reasons t/changes................ok 1/1 skipped: Can't parse Changes file yet t/dump-basics............ok t/dump-blessed...........ok t/dump-code.............. # Failed test 'a code ref (n->y)' # at /builddir/build/BUILD/YAML-0.78/blib/lib/Test/YAML.pm line 65. # got: '--- !!perl/code | # { # BEGIN {${^WARNING_BITS} = "UUUUUUUUUUUU\001"} # use strict 'refs'; # 'Something at least 30 chars'; # } # ' # expected: '--- !!perl/code | # { # use warnings; # use strict 'refs'; # 'Something at least 30 chars'; # } # ' # Failed test 'an array of the same code ref (n->y)' # at /builddir/build/BUILD/YAML-0.78/blib/lib/Test/YAML.pm line 65. # got: '--- # - &1 !!perl/code | # { # BEGIN {${^WARNING_BITS} = "UUUUUUUUUUUU\001"} # use strict 'refs'; # 'Something at least 30 chars'; # } # - *1 # - *1 # ' # expected: '--- # - &1 !!perl/code | # { # use warnings; # use strict 'refs'; # 'Something at least 30 chars'; # } # - *1 # - *1 # ' # Failed test 'blessed code ref (n->y)' # at /builddir/build/BUILD/YAML-0.78/blib/lib/Test/YAML.pm line 65. # got: '--- !!perl/code:Foo::Bar | # { # BEGIN {${^WARNING_BITS} = "UUUUUUUUUUUU\001"} # use strict 'refs'; # 'Something at least 30 chars'; # } # ' # expected: '--- !!perl/code:Foo::Bar | # { # use warnings; # use strict 'refs'; # 'Something at least 30 chars'; # } # ' # Looks like you failed 3 tests of 7. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 1, 3, 7 Failed 3/7 tests, 57.14% okay t/dump-file-utf8.........ok t/dump-file..............ok t/dump-nested............ok t/dump-opts..............ok t/dump-perl-types-512....ok t/dump-perl-types-514....skipped all skipped: test only for perls v5.13.5-11-gfb85c04 or later t/dump-perl-types........ok t/dump-stringify.........ok t/dump-tests-512.........ok t/dump-tests-514.........skipped all skipped: test only for perls v5.13.5-11-gfb85c04 or later t/dump-tests.............ok t/dump-works.............ok t/errors.................ok t/export.................ok t/freeze-thaw............ok t/global-api.............ok t/inbox..................ok 3/3 skipped: fix this next release t/load-fails.............ok t/load-passes............ok t/load-slides............ok t/load-spec..............ok t/load-tests.............ok t/load-works.............ok t/marshall...............ok t/node-info..............ok t/pugs-objects...........ok t/references.............ok t/regexp.................ok t/svk....................ok t/test...................ok Failed 1/38 test scripts, 97.37% okay. 3/452 subtests failed, 99.34% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/dump-code.t 3 768 7 3 42.86% 1 3 7 2 tests and 20 subtests skipped.
This patch works around the problem:
--- YAML-0.78/t/dump-code.t +++ YAML-0.78/t/dump-code.t @@ -5,6 +5,9 @@ =~ 'refs') { local $/; (my $data = <DATA>) =~ s/use strict/use strict 'refs'/g; + if ($B::Deparse::VERSION < 0.71) { + $data =~ s/use warnings;/BEGIN {\${^WARNING_BITS} = "UUUUUUUUUUUU\\001"}/g; + } open DATA, '<', \$data; }
I raised the issue upstream as CPAN RT#73702
Wednesday 4th January 2012
Fedora Project
Updated pptp for F-15, F-16 and Rawhide:
Support setting SO_MARK for the PPTP TCP control connection as well as on the GRE packets
Implement the --nohostroute option
Include a number of patches addressing compiler warnings, which appear to have a beneficial effect on stability (Bug #749455)
Local Packages
Updated perl-Module-Pluggable to 4.0
Updated perl-YAML-LibYAML to 0.38:
Apply SPROUT++ deparse test patch
Thursday 5th January 2012
Fedora Project
Updated perl-Test-EOL to 1.0 in Rawhide:
- Fix misleading test failure diagnostics when only issue is trailing whitespace
No longer blindly assume utf8 on input files (CPAN RT#59877)
- Properly document testing options
Rebuilt bluefish, curl, glib, gtk+, libpng10, libxml, imlib, libglade and rbldnsd with gcc 4.7.0 in Rawhide
Local Packages
Updated gtkwave to 3.3.29:
Added OSX integration when compiled against gtk-osx
- Added MIME types and icons for file types and desktop menus
Changed .sav (deprecated but not removed) to .gtkw, with .gtkw itself being able to bring up the original dumpfile
- Numerous bug fixes
- Preliminary GConf support supporting session ID-based restore
Preliminary GConf support to emulate OSX "open" functionality such that dumpfiles/savefiles can be targeted to an open gtkwave viewer/session ID
Updated perl-DateTime to 0.72:
- There will be a new leap second on June 30, 2012
Remove Test::DependentModules from the dependency list
Updated perl-PPIx-Regexp to 0.025:
- Tolerate leading and trailing whitespace around the regular expression; these are still round-trip safe, since the whitespace is tokenized
Make Changes file conform to CPAN::Changes, and add xt/author/changes.t to ensure continued compliance
Updated perl-Test-EOL to 1.0 as per the Fedora version
Friday 6th January 2012
Fedora Project
Updated gtkwave to 3.3.29 in Rawhide:
Added OSX integration when compiled against gtk-osx
- Added MIME types and icons for file types and desktop menus
Changed .sav (deprecated but not removed) to .gtkw, with .gtkw itself being able to bring up the original dumpfile
- Numerous bug fixes
- Preliminary GConf support supporting session ID-based restore
Preliminary GConf support to emulate OSX "open" functionality such that dumpfiles/savefiles can be targeted to an open gtkwave viewer/session ID
Rebuilt gnome-libs, gtorrentviewer, Judy, milter-regex, mod_fcgid, ORBit and perl for gcc 4.7.0 in Rawhide
Local Packages
Rebuilt bluefish and libpng10 for gcc 4.7.0 (in Rawhide)
Saturday 7th January 2012
Fedora Project
Rebuilt grepmail, pari, perl-FileHandle-Unget, perl-Mail-Mbox-MessageParser and python-crypto for the Fedora 17 mass rebuild
Local Packages
Rebuilt Judy for gcc 4.7.0 in Rawhide
Monday 9th January 2012
Local Packages
Updated dovecot (2.0.x) to 2.0.17:
Proxying now supports sending SSL client certificate to server with ssl_client_cert/key settings
doveadm dump: Added support for dumping dbox headers/metadata
- Fixed memory leaks in login processes with SSL connections
vpopmail support was broken in v2.0.16
I also updated the default configuration to allow imap+TLS and pop3+TLS by default, as per the 2.1 builds
Updated dovecot to 2.1.rc3:
dsync was merged into doveadm (there is still dsync symlink pointing to doveadm, which you can use the old way for now); the preferred ways to run dsync are doveadm sync (for old dsync mirror) and doveadm backup
IMAP SPECIAL-USE extension to describe mailboxes
Added mailbox {} sections, which deprecate autocreate plugin
lib-fs: added mode parameter to posix backend to specify mode for created files/dirs (for mail_attachment_dir)
inet_listener names are now used to figure out what type the socket is when useful, e.g. naming service auth { inet_listener } to auth-client vs. auth-userdb has different behaviour
Added pop3c (POP3 client) storage backend
- LMTP proxying code was simplified, hopefully fixing its problems
dsync: don't remove user's subscriptions for subscriptions=no namespaces
Updated perl-XML-LibXML to 1.90:
Fix compilation bugs in Devel.xs: local variable declarations must be in the PREINIT section, not CODE, at least for some compiler/OS combinations
Rebuilt the python-twisted stack for gcc 4.7.0 in Rawhide
Rebuilt smbldap-tools for the Fedora 17 mass rebuild
Tuesday 10th January 2012
Fedora Project
Updated perl-Test-Version to 1.002000 in Rawhide:
Use Module::Metadata - apparently it's closer to how Perl works than Module::Extract::VERSION
Use perl decimal style semantic versioning because of bugs in ExtUtils::MakeMaker with vstring versions
Allow disabling of 'has_version'
- Require at least 1 version
Allow for checking that a module is_strict
- Fix some issues in the pod
Updated proftpd in Rawhide to address mod_vroot issues (Bug #772354), add BanMessage to the default configuration (also Bug #772354), and create a proftpd-devel package for building third-party modules
Rebuilt perl again in Rawhide now that the perl dependency generator is fixed (Bug #772632, Bug #772699)
Rebuilt perl-Authen-DigestMD5, perl-Class-Load, perl-Class-Load-XS, perl-Class-Loader, perl-Compress-Raw-Bzip2, perl-Compress-Raw-Lzma, perl-Compress-Raw-Zlib, perl-Convert-BinHex, perl-CPAN-Changes, perl-CPAN-Meta-YAML, perl-Crypt-DH, perl-Crypt-DSA, perl-Crypt-Primes, perl-Crypt-Random, perl-Crypt-RSA, perl-IO-Compress, perl-IO-Compress-Lzma and smbldap-tools in Rawhide for the Fedora 17 mass rebuild
Local Packages
Updated perl-Test-Version to 1.002000 as per the Fedora version
Updated proftpd as per the Fedora version
Wednesday 11th January 2012
Fedora Project
Became owner of libssh2 in F-15, F-16 and Rawhide
Became owner of perl-Algorithm-C3 in F-15, F-16, Rawhide, EPEL-4, EPEL-5 and EPEL-6
Became owner of perl-aliased in F-15, F-16 and Rawhide
Became owner of perl-Archive-Any in F-15, F-16 and Rawhide
Became owner of perl-B-Hooks-EndOfScope in F-15, F-16 and Rawhide
Became owner of perl-Class-C3 in F-15, F-16, Rawhide, EPEL-4, EPEL-5 and EPEL-6
Became owner of perl-Class-C3-XS in F-15, F-16 and Rawhide
Became owner of perl-Class-MOP in F-15, Rawhide, EPEL-4, EPEL-5 and EPEL-6 (there is no F-16 branch and I'll be retiring the devel branch soon since it's now part of perl-Moose)
Became owner of perl-common-sense in F-15, F-16 and Rawhide
Became owner of perl-Config-Tiny in F-15, F-16 and Rawhide
Became owner of perl-Data-OptList in F-15, F-16 and Rawhide
Became owner of perl-DateTime-Calendar-Mayan in F-15, F-16 and Rawhide
Became owner of perl-Declare-Constraints-Simple in F-15, F-16 and Rawhide
Became owner of perl-Devel-GlobalDestruction in F-15, F-16 and Rawhide
Became owner of perl-Event in F-15, F-16 and Rawhide
Became owner of perl-Expect in F-15, F-16 and Rawhide
Became owner of perl-Hash-Util-FieldHash-Compat in F-15, F-16 and Rawhide
Became owner of perl-IPC-System-Simple in F-15, F-16 and Rawhide
Became owner of perl-List-MoreUtils in F-15, F-16 and Rawhide
Became owner of perl-Math-Round in F-15, F-16 and Rawhide
Became owner of perl-Module-Find in F-15, F-16 and Rawhide
Became owner of perl-MRO-Compat in F-15, F-16 and Rawhide
Became owner of perl-namespace-clean in F-15, F-16 and Rawhide
Became owner of perl-Package-Generator in F-15, F-16 and Rawhide
Became owner of perl-Params-Coerce in F-15, F-16, Rawhide, EPEL-4, EPEL-5 and EPEL-6
Became owner of perl-parent in F-15, F-16 and Rawhide
Became owner of perl-Path-Class in F-15, F-16, Rawhide, EPEL-4, EPEL-5 and EPEL-6
Became owner of perl-Perl-Critic in F-15, F-16 and Rawhide
Became owner of perl-Readonly in F-15, F-16, Rawhide, EPEL-4 and EPEL-5
Became owner of perl-Readonly-XS in F-15, F-16, Rawhide, EPEL-4 and EPEL-5
Became owner of perl-Sub-Exporter in F-15, F-16 and Rawhide
Became owner of perl-Sub-Identify in F-15, F-16, Rawhide, EPEL-4, EPEL-5 and EPEL-6
Became owner of perl-Sub-Name in F-15, F-16, Rawhide, EPEL-4, EPEL-5 and EPEL-6
Became owner of perl-SUPER in F-15, F-16, Rawhide, EPEL-4, EPEL-5 and EPEL-6
Became owner of perl-Test-Assert in F-15, F-16 and Rawhide
Became owner of perl-Test-Distribution in F-15, F-16, Rawhide, EPEL-4, EPEL-5 and EPEL-6
Became owner of perl-Test-Kwalitee in F-15, F-16 and Rawhide
Became owner of perl-Test-LeakTrace in F-15, F-16 and Rawhide
Became owner of perl-Test-MinimumVersion in EPEL-5
Became owner of perl-Test-Perl-Critic in F-15, F-16 and Rawhide
Became owner of perl-Test-Requires in F-15, F-16 and Rawhide
Became owner of perl-Test-Unit-Lite in F-15, F-16 and Rawhide
Became owner of perl-Test-use-ok in F-15, F-16 and Rawhide
Became owner of perl-Tie-RefHash-Weak in F-15, F-16 and Rawhide
Became owner of perl-Try-Tiny in F-15, F-16 and Rawhide
Became owner of perl-XML-Simple in EPEL-4
Became owner of python-fpconst in EPEL-5
Became co-maintainer of perl-B-Keywords in Rawhide
Became co-maintainer of perl-Devel-Symdump in Rawhide
Updated perl-B-Keywords to 1.11 in Rawhide:
Add new keywords for 5.16: __SUB__ and evalbytes`
Updated perl-IO-Socket-SSL to 1.54 in Rawhide:
Return 0 instead of undef in SSL_verify_callback to fix uninitialized warnings (CPAN RT#73629)
Updated trac-accountmanager-plugin in Rawhide to the current svn snapshot (0.4dev); existing users might find this happens:
Trac[htfile] ERROR: acct_mgr: get_users() -- Can't locate password file "" Trac[htfile] ERROR: acct_mgr: get_users() -- Can't locate password file "" Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 511, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.7/site-packages/acct_mgr/web_ui.py", line 460, in process_request _create_user(req, self.env) File "/usr/lib/python2.7/site-packages/acct_mgr/web_ui.py", line 152, in _create_user acctmgr.set_password(username, password) File "/usr/lib/python2.7/site-packages/acct_mgr/api.py", line 292, in set_password if store.set_password(user, password, old_password): File "/usr/lib/python2.7/site-packages/acct_mgr/htfile.py", line 57, in set_password self.userline(user, password)) File "/usr/lib/python2.7/site-packages/acct_mgr/htfile.py", line 160, in _update_file f = open(filename, 'w') IOError: [Errno 2] No such file or directory: ''
This happens because the old password_file configuration item (in trac.ini) has been changed to either htpasswd_file (for user accounts stored in Apache's htpasswd format) or htdigest_file (for user accounts stored in Apache's htdigest format); tweaking trac.ini appropriately should resolve the problem
Rebuilt perl-Crypt-SmbHash, perl-Data-Buffer, perl-Data-Section-Simple, perl-Date-Simple, perl-Data-OptList, perl-Devel-EnforceEncapsulation, perl-Declare-Constraints-Simple, perl-Devel-GlobalDestruction, perl-Devel-Symdump, perl-Digest-BubbleBabble, perl-Digest-MD2, perl-Digest-MD4, perl-Digest-MD5, perl-Digest-Perl-MD5, perl-Dist-CheckConflicts, spamass-milter, spambayes, tidyp, trac-spamfilter-plugin for the Fedora 17 mass rebuild
Local Packages
Updated libidn to 1.24
- Libraries are re-licensed from LGPLv2+ to dual-GPLv2+|LGPLv3+
- Fix parallel Windows builds
libidn: Fix potential infloop in pr29 code (http://lists.gnu.org/archive/html/help-libidn/2012-01/msg00008.html)
libidn: Add 'const' keyword to 'stringprep_ucs4_nfkc_normalize' function
Sync glib NFKC code and improve copyright/license statements
Update gnulib files and translations
Updated perl-B-Keywords to 1.11 as per the Fedora version
Updated perl-IO-Socket-SSL to 1.54 as per the Fedora version
Updated trac-accountmanager-plugin to the current svn snapshot (0.4dev) as per the Fedora version
Rebuilt spamass-milter for gcc 4.7 in Rawhide
Thursday 12th January 2012
Fedora Project
Updated perl-IO-Socket-INET6to 2.69:
Solved symbol clashes in t/io_multihomed6.t (CPAN RT#72769)
Fix the imports on t/io_multihomed6.t (CPAN RT#72769)
Update the link to the repository in Build.PL
Rebuilt perl-File-Comments, perl-IO-Multiplex, perl-IO-stringy, perl-IPC-System-Simple, perl-Jcode, perl-JSON-PP, perl-MailTools, perl-Math-GMP, perl-Math-Pari, perl-MIME-tools, perl-Module-Extract-VERSION, perl-Module-Metadata, perl-Module-Signature, perl-Net-SSH-Perl, perl-Net-SSLeay, perl-Package-DeprecationManager, perl-Package-Stash, perl-Package-Stash-XS, perl-Perl-Critic, perl-Perl-OSType, perl-Pod-Wordlist-hanekomu and perl-RRD-Simple for the Fedora_17_Mass_Rebuild
Retired perl-Class-MOP in Rawhide as it's obsoleted by perl-Moose ≥ 2.0
Local Packages
Updated perl-AnyEvent to 6.13:
AnyEvent::Util::fork_call checked for POSIX availability in the wrong way, causing it to fail if POSIX wasn't loaded already
AnyEvent::Handle::push_read (line => ...) did pass $1 directly, so regex-matching inside the callback would change the parameter, despite $1 being dynamically scoped per-block; this perl bug is now being worked around
Friday 13th January 2012
Fedora Project
Became owner of perl-Test-Simple in F-15, F-16 and Rawhide
Cleaned up libssh2 in Rawhide and made the docs sub-package noarch
Updated perl-Devel-GlobalDestruction to 0.04 in Rawhide:
To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself instead of a specific perl version
Update the documentation to reflect the use of ${^GLOBAL_PHASE} if available
Stop depending on Scope::Guard for the tests
Upgrade ppport.h from version 3.13 to 3.19
Local Packages
Updated libssh2 to move the example code from the arch-independent docs package to the arch-specific devel package as it includes arch-specific bits
Updated libxml2 to incorporate various fixes from RHEL6:
Add XPath hardening patch from upstream (Bug #732335)
Fix missing error status in XPath evaluation (CVE-2011-2834)
Make sure the parser returns when getting a Stop order (CVE-2011-3905)
Fix an allocation error when copying entities (CVE-2011-3919)
Updated perl-MIME-Types to 1.34:
subType() did not handle subTypes with '+' in them
Updated perl-XML-LibXSLT to 1.76:
Made LibXSLT.xs compile with C compilers that don't accept declarations inside blocks (CPAN RT#73905)
Saturday 14th January 2012
Local Packages
Updated perl-Email-Address to 1.894:
- Note that the use of the regex vars is not a great idea
Buildsystem SELinux Fix
The mock tool for building packages in a chroot includes an SELinux plug-in to try to fool processes running in the chroot that SELinux is disabled (even on systems where the host has SELinux enforcing, which is the case on all of my systems) by creating a fake /proc/filesystems that doesn't include selinuxfs. This is necessary because files unpacked into the chroot doesn't get labelled as they would if they were installed normally, and in any case they might be targeting a distribution with a very different policy than the host. This works fine in most cases, but for the now-EOL Fedora releases 7 through to 11, it doesn't work because the libselinux versions there don't check for SELinux in the same way.
I had a hack in my buildsystem to cater for this, namely to create a fake /selinux/enforce file containing just "0" to trick those versions of libselinux into thinking that SELinux is in permissive mode. This is sufficient to get SELinux-aware applications such as sshd working properly, which is necessary for the libssh2 test suite. However, in Fedora 16 the selinuxfs mount point moved from /selinux to /sys/fs/selinux, and, since /sys is bind-mounted into the chroot by mock and it's not possible to create/write to arbitrary files in that hierarchy, a different approach was needed. What I did was to create a directory "/srv/buildsys/mock-selinux" on my buildsystem, containing one file "enforce", containing just "0", and then bind-mounting that on top of /sys/fs/selinux in the chroot, using this addition to my mock configuration for those releases:
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/srv/buildsys/mock-selinux', '/sys/fs/selinux'))
Worked a treat
Sunday 15th January 2012
Fedora Project
Updated perl-Event in Rawhide to 1.20 (test suite fixes), cleaning up the inherited spec file too
Local Packages
Updated perl-Email-Address to 1.895:
- Allow non-ASCII, but only in phrase
Curiously, the new tests added for this change fail with perl 5.8.0 in Red Hat Linux 9 but not on Red Hat Enterprise Linux 3; I'm going to stop supporting those releases real soon now, given that Red Hat Enterprise Linux 4 will be reaching End of Life within a month or so
Monday 16th January 2012
Fedora Project
Updated perl-Test-EOL in Rawhide to 1.1:
Fix test fails on < 5.8 perls
Fix t/13-latin1.t failures on Win32 and under Test::Builder 1.5
Updated proftpd in Rawhide to split off a proftpd-utils sub-package, containing the ancillary scripts, resulting in the main package no longer requiring perl
Updated proftpd in F-16 to incorporate all of the recent changes in the Rawhide package (Bug #772354)
Updated python-crypto to 2.5 in Rawhide:
- Added PKCS#1 encryption schemes (v1.5 and OAEP); we now have a decent, easy-to-use non-textbook RSA implementation
- Added PKCS#1 signature schemes (v1.5 and PSS); v1.5 required some extensive changes to Hash modules to contain the algorithm-specific ASN.1 OID, and to that end we now always have a (thin) Python module to hide the one in pure C
- Added 2 standard Key Derivation Functions (PBKDF1 and PBKDF2)
- Added export/import of RSA keys in OpenSSH and PKCS#8 formats
- Added password-protected export/import of RSA keys (one old method for PKCS#8 PEM only)
Added ability to generate RSA key pairs with configurable public exponent e
Added ability to construct an RSA key pair even if only the private exponent d is known, and not p and q
- Added SHA-2 C source code (fully from Lorenz Quack)
- Unit tests for all the above
Updates to documentation (both inline and in Doc/pycrypt.rst)
Minor bug fixes (setup.py and tests)
Cleaned up and rebuilt perl-Algorithm-C3 and perl-aliased in Rawhide
Local Packages
Updated libssh2 to skip the ssh test if built on arm or sparc architectures, as that test appears to fail on their buildsystems
Updated perl-Test-EOL to 1.1 as per the Fedora version
Updated proftpd to split off a proftpd-utils sub-package as per the Rawhide version
Updated python-crypto to 2.5 as per the Fedora version
Tuesday 17th January 2012
Fedora Project
Cleaned up and rebuilt perl-Archive-Any in Rawhide
Local Packages
Updated unrar to 4.10 final
Wednesday 18th January 2012
Fedora Project
Updated gtkwave to 3.3.30 in Rawhide:
Updated configure to add --disable-mime-update flag
Fixed --optimize for --restore
Added [optimize_vcd] savefile tag
- Disabled analog during mutually incompatible mode selection (binary, filters, etc.)
Added F/P/T flags to mouseover for the filters
- Fixed problem where ungrab doesn't occur if button pressed and simultaneous reload accelerator key occurs
- Fixed combine direction in transaction filter to down
Fixed vector analog render/print routine to use skipcnt
Fixed transaction filter to cache hptr node if converted (i.e., do not place bitblasted in save file if avoidable)
- Fixed min/max of cached autoscaling sizing when number of extension traces changes
Cleaned up and rebuilt perl-Class-C3 and perl-Class-C3-XS in Rawhide
Local Packages
Updated fetchyahoo to 2.14.2:
- Fix for bypassing opt-out screen
I added a dependency on perl(LWP::Protocol::https), needed to log in securely
Updated gtkwave to 3.3.30 as per the Fedora version
Cleaned up and rebuilt perl-HTML-Lint
Rebuilt c-ares, GeoIP, Judy, libgcrypt, libgpg-error, nmap, sendmail and xz for the Fedora_17_Mass_Rebuild
Thursday 19th January 2012
Fedora Project
Cleaned up and rebuilt perl-common-sense and perl-Config-Tiny in Rawhide
Local Packages
Rebuilt perl-Class-C3 to resync it with the Rawhide package
Updated perl-Class-Load to 0.13:
Fix some bugs with our use of Try::Tiny, which could cause warnings on some systems where Class::Load::XS wasn't installed (CPAN RT#72345)
Whilst building this module I discovered an incompatibility between Test::Without::Module and Package::Stash::XS on perl versions less than 5.8.8, which I raised as CPAN RT#74151:
t/011-without-xs................ Package::Stash::XS is not a module name at /usr/lib/perl5/vendor_perl/5.8.5/Package/Stash.pm line 40. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/Package/Stash.pm line 46. Compilation failed in require at /builddir/build/BUILD/Class-Load-0.13/blib/lib/Class/Load.pm line 15. BEGIN failed--compilation aborted at /builddir/build/BUILD/Class-Load-0.13/blib/lib/Class/Load.pm line 15. Compilation failed in require at t/011-without-xs.t line 14. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/012-without-implementation.... # Failed test (t/012-without-implementation.t at line 14) # 'Package::Stash::XS is not a module name at /usr/lib/perl5/vendor_perl/5.8.5/Package/Stash.pm line 40. # BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/Package/Stash.pm line 46. # Compilation failed in require at /builddir/build/BUILD/Class-Load-0.13/blib/lib/Class/Load.pm line 15. # BEGIN failed--compilation aborted at /builddir/build/BUILD/Class-Load-0.13/blib/lib/Class/Load.pm line 15. # Compilation failed in require at t/012-without-implementation.t line 13. # ' # doesn't match '(?-xism:Class.Load.PP\.pm did not return a true value)' # Looks like you failed 1 tests of 1. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay
Updated perl-EV to 4.10:
libev: Fix a race where the workaround against the epoll fork bugs caused signals to not be handled anymore
libev: Correct backend_fudge for most backends, and implement a Windows-specific workaround to avoid looping because we call both select and Sleep, with different time resolutions
e_new wasn't declared static (causing very minor .so bloat)
- Replace more old API names by new ones
Friday 20th January 2012
Fedora Project
Became co-maintainer of perl-Business-ISBN-Data, perl-HTML-Tagset and perl-URI, and cleaned up and rebuilt them for Rawhide
Cleaned up and rebuilt perl-Data-OptList and perl-Math-Round for Rawhide
Local Packages
Updated perl-Module-CoreList to 2.60:
- Updated for v5.15.7
Cleaned up and rebuilt perl-Data-OptList as per the Fedora package
Saturday 21st January 2012
Fedora Project
Updated perl-Class-C3, perl-common-sense and perl-Data-OptList to add Obsoletes/Provides for the recently-dropped -tests sub-packages in Rawhide
Sunday 23rd January 2012
Fedora Project
Updated mod_fcgid in EL-6, F-15, F-16 and Rawhide to include fix from upstream for regression in 2.3.6 that broke process controls when using vhost-specific configuration (upstream issue 49902, Bug #783742)
Local Packages
Updated mod_fcgid as per the Fedora version
Updated perl-Text-CSV_XS to 0.86:
Introduce quote_binary attribute
- Update copyright to 2012
- Versions
Fixed a utf8::decode on undef (found by perl-5.15.7)
Fixed localized $/ interference with other handles (CPAN RT#74216)
Monday 23rd January 2012
Fedora Project
Cleaned up and rebuilt perl-DateTime-Calendar-Mayan, perl-Declare-Constraints-Simple, perl-Expect and perl-Hash-Util-FieldHash-Compat in Rawhide
Local Packages
Cleaned up and rebuilt perl-DateTime-Calendar-Mayan and perl-Expect
Tuesday 24th January 2012
Fedora Project
Updated perl-List-MoreUtils to 0.33 in Rawhide:
Updated can_xs to fix a bug in it
Local Packages
Updated curl to 7.24.0:
curl was vulnerable to a data injection attack for certain protocols (CVE-2012-0036, http://curl.haxx.se/docs/adv_20120124.html)
curl was vulnerable to a SSL CBC IV vulnerability when built to use OpenSSL (CVE-2011-3389, http://curl.haxx.se/docs/adv_20120124B.html)
CURLOPT_QUOTE: SFTP supports the '*'-prefix now
CURLOPT_DNS_SERVERS: set name servers if possible
Add support for using nettle instead of gcrypt as gnutls backend
CURLOPT_INTERFACE: avoid resolving interfaces names with magic prefixes
Added CURLOPT_ACCEPTTIMEOUT_MS
configure: add symbols versioning option --enable-versioned-symbols
- SSL session share: move the age counter to the share object
-J -O: use -O name if no Content-Disposition header comes!
protocol_connect: show verbose connect and set connect time
query-part: ignore the URI part for given protocols
gnutls: only translate winsock errors for old versions
- POP3: fix end of body detection
POP3: detect when LIST returns no mails
- TELNET: improved treatment of options
configure: add support for pkg-config detection of libidn
- CyaSSL 2.0+ library initialization adjustment
multi interface: only use non-NULL socker function pointer
Call opensocket callback properly for active FTP
Don't call close socket callback for sockets created with accept()
- Differentiate better between host/proxy errors
SSH: fix CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and --hostpubmd5
multi: handle timeouts on DNS servers by checking for new sockets
CURLOPT_DNS_SERVERS: fix return code
- POP3: fixed escaped dot not being stripped out
OpenSSL: check for the SSLv2 function in configure
MakefileBuild: fix the static build
create_conn: don't switch to HTTP protocol if tunneling is enabled
multi interface: fix block when CONNECT_ONLY option is used
- Fix connection reuse for TLS upgraded connections
Multiple file upload with -F and custom type
multi interface: active FTP connections are no longer blocking
- Android build fix
timer: restore PRETRANSFER timing
libcurl.m4: fix quoting arguments of AC_LANG_PROGRAM
- appconnect time fixed for non-blocking connect ssl backends
Do not include SSL handshake into time spent waiting for 100-continue
- Handle dns cache case insensitive
- Use new host name casing for subsequent HTTP requests
CURLOPT_RESOLVE: avoid adding already present host names
SFTP mkdir: use correct permission
resolve: don't leak pre-populated dns entries
--retry: retry transfers on timeout and DNS errors
- Negotiate with SSPI backend: use the correct buffer for input
SFTP dir: increase buffer size counter to avoid cut off file names
- TFTP: fix resending (again)
c-ares: don't include getaddrinfo-using code
FTP: CURLE_PARTIAL_FILE will not close the control channel
- win32-threaded-resolver: stop using a dummy socket
- OpenSSL: remove reference to openssl internal struct
OpenSSL: SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG option no longer enabled
- OpenSSL: fix PKCS#12 certificate parsing related memory leak
- OpenLDAP: fix LDAP connection phase memory leak
Telnet: use correct file descriptor for telnet upload
Telnet: Remove bogus optimisation of telnet upload
- URL parse: user name with ipv6 numerical address
- polarssl: show cipher suite name correctly with 1.1.0
polarssl: havege_rand is not present in version 1.1.0 (warning: we still use the old API which is said to be insecure - see: http://polarssl.org/trac/wiki/SecurityAdvisory201102)
gnutls: enforced use of SSLv3
Updated libcurl7112 to include backported fix for SSL CBC IV vulnerability (CVE-2011-3389); note that libcurl7112 is not vulnerable to CVE-2012-0036 (http://curl.haxx.se/docs/adv_20120124.html)
Updated libcurl7155 to include backported fix for SSL CBC IV vulnerability (CVE-2011-3389); note that libcurl7155 is not vulnerable to CVE-2012-0036 (http://curl.haxx.se/docs/adv_20120124.html)
Cleaned up and rebuilt perl-Devel-Symdump, perl-File-Find-Rule-Perl, perl-List-MoreUtils, perl-Moose and perl-Test-Synopsis
Wednesday 25th January 2012
Fedora Project
Cleaned up and rebuilt perl-Module-Find and perl-Test-Synopsis in Rawhide
Local Packages
Updated perl-Class-Inspector to 1.27:
Update to Module::Install::DSL 1.04
- Update copyright year
Remove usage of defined @{"X::ISA"} to avoid warnings in 5.15.7 onwards
Updated perl-File-HomeDir to 0.99:
Updated to Module::Install 1.04
- Removed deprecated interfaces from the documentation
Don't require music and video directories in FreeDesktop tests
The use of deprecated %~ now emits a warning
Updated perl-Test-File to 1.31:
Added dir_exists_ok and dir_contains_ok
Added file_contains_like and file_contains_unlike
- Fixed a few grammatical errors in POD
Added some SKIP blocks to avoid test failures when running as root
- The test suite for this release broke for me on Fedora 4 and older distributions:
t/file_contains............... # Failed test (t/file_contains.t at line 78) # STDOUT is: # ok 1 - min_file contains (?mx-is:^ xxxxxxxxxxx $) # not ok 2 - min_file contains (?mx-is:^ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $) # # not: # ok 1 - min_file contains (?mx-is:^ xxxxxxxxxxx $) # ok 2 - min_file contains (?mx-is:^ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $) # # as expected Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.6/Test/Builder/Tester.pm line 557. # STDERR is: # # Failed test (t/file_contains.t at line 77) # # 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxx # # ' # # doesn't match '(?mx-is:^ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $)' # # not: # # as expected # Failed test (t/file_contains.t at line 83) # STDOUT is: # ok 1 - file has the goods # not ok 2 - file has the goods # # not: # ok 1 - file has the goods # ok 2 - file has the goods # # as expected Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.6/Test/Builder/Tester.pm line 557. # STDERR is: # # Failed test (t/file_contains.t at line 82) # # 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxx # # ' # # doesn't match '(?mx-is:^ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx $)' # # not: # # as expected FAILED tests 15-16 Failed 2/24 tests, 91.67% okay t/owner.......................ok t/rt/30346....................ok Failed 1/16 test scripts, 93.75% okay. 2/233 subtests failed, 99.14% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/file_contains.t 24 2 8.33% 15-16 9 subtests skipped. make: *** [test_dynamic] Error 255
I believe this is due to a bug in older perls that makes the '$' anchor not work properly in qr// regexes with the m modifier, as mentioned at http://www.perlmonks.org/bare/?node_id=676601
I think the underlying bug is Perl RT#3038 and it was fixed in perl 5.8.9; the patch was applied in an update to Fedora Core 5's perl 5.8.8 package, which is why that wasn't affected
This patch works around the problem for me, and I sent it upstream at CPAN RT#74365
--- Test-File-1.30/t/file_contains.t +++ Test-File-1.30/t/file_contains.t @@ -15,9 +15,9 @@ my $file = 'min_file'; my $contents = do { open FH, $file; local $/; <FH> }; close FH; -my $pattern1 = 'x' x 11; $pattern1 = qr/^ $pattern1 $/mx; -my $pattern2 = 'x' x 40; $pattern2 = qr/^ $pattern2 $/mx; -my $bad_pattern = 'x' x 20; $bad_pattern = qr/^ $bad_pattern $/mx; +my $pattern1 = 'x' x 11; $pattern1 = qr/(?mx:^ $pattern1 $)/; +my $pattern2 = 'x' x 40; $pattern2 = qr/(?mx:^ $pattern2 $)/; +my $bad_pattern = 'x' x 20; $bad_pattern = qr/(?mx:^ $bad_pattern $)/; # like : single pattern
Cleaned up and rebuilt perl-Module-Find
Friday 26th January 2012
Fedora Project
Cleaned up and rebuilt perl-MRO-Compat in Rawhide, in particular dropping the perl(Class::C3) dependency that is not needed with perl ≥ 5.9.5
Local Packages
Cleaned up and rebuilt perl-MRO-Compat, dropping the perl(Class::C3) dependency for distributions with perl ≥ 5.9.5
Friday 27th January 2012
Fedora Project
Updated perl-namespace-clean to 0.22 in Rawhide
Limit the debugger workarounds to perls between 5.8.8 and 5.14, extend debugger support to all perl versions (CPAN RT#69862)
If possible, automatically install (but not load) the debugger workaround libraries on perls between 5.8.8 and 5.14 (CPAN RT#72368)
Add back dropped NAME section (CPAN RT#70259)
Simplify the ≥ 5.10 PP variant even more - move the hook from DESTROY into DELETE
- Force explicit callback invocation order on 5.8 PP
Replace the %^H tie approach with fieldhashes, which fixes all known corner cases and caveats on supported perls ≥ 5.8.1 (CPAN RT#73402)
Compile away the debugger fixup on perls ≥ 5.15.5
Local Packages
Cleaned up and rebuilt perl-namespace-clean
Sunday 29th January 2012
Fedora Project
Updated perl-Compress-Raw-Bzip2 to 2.048 in Rawhide:
Set minimum Perl version to 5.6
Updated perl-Compress-Raw-Lzma to 2.048 in Rawhide:
Set minimum Perl version to 5.6
Updated perl-Compress-Raw-Zlib to 2.048 in Rawhide:
Allow flush to be called multiple times without any intermediate call to deflate and still return Z_OK
Added support for zlibCompileFlags
Set minimum Perl version to 5.6
Set minimum zlib version to 1.2.0
Updated perl-IO-Compress to 2.048 in Rawhide:
Set minimum Perl version to 5.6
Set minimum zlib version to 1.2.0
IO::Compress::Zip:
In one-shot zip, set the Text Flag if "-T" thinks the file is a text file
In one-shot mode, wrote mod time and access time in wrong order in the "UT" extended field
IO::Compress test suite fails with Compress::Raw::Zlib 2.047 and zlib < 1.2.4 (CPAN RT#74503)
Updated perl-IO-Compress-Lzma to 2.048 in Rawhide:
Set minimum Perl version to 5.6
Local Packages
Updated the perl-IO-Compress stack to 2.048 as per the Fedora versions
Monday 30th January 2012
Fedora Project
Became co-maintainer of perl-Parse-RecDescent in Rawhide
Local Packages
New package perl-Net-Daemon (0.48)
New package perl-PlRPC (0.2020)
Updated perl-DBI to 1.617:
NOTE: The officially supported minimum perl version will change from perl 5.8.1 (2003) to perl 5.8.3 (2004) in a future release
Fixed ParamTypes example in the pod
Fixed the definition of ArrayTupleStatus and remove confusion over rows affected in list context of execute_array
Fixed sql_type_cast example and typo in errors
Fixed Gofer error handling for keeperr methods like ping
Fixed $dbh->clone({}) (CPAN RT#73250)
Fixed is_nested_call logic error (CPAN RT#73118)
Enhanced performance for threaded perls
- Enhanced and standardized driver trace level mechanism
Removed old code that was an ineffective attempt to detect people doing DBI->{Attrib}
Clear ParamValues on bind_param param count error (CPAN RT#66127)
Changed DBI::ProxyServer to require DBI at compile-time (CPAN RT#62672)
Added pod for default_user to DBI::DBD
Added CON, ENC and DBD trace flags and extended 09trace.t
Added TXN trace flags and applied CON and TXN to relevant methods
Added some more fetchall_arrayref(..., $maxrows) tests
Clarified docs for fetchall_arrayref called on an inactive handle
Clarified docs for clone method
Added note to DBI::Profile about async queries
Reserved spatialite_ as a driver prefix for DBD::Spatialite
Reserved mo_ as a driver prefix for DBD::MO
Updated link to the SQL Reunion 95 docs (CPAN RT#69577)
Changed links for DBI recipes (CPAN RT#73286)
I added perl(RPC::PlClient) as a build requirement to ensure that we can grok all of the module versions
Updated perl-IPC-Cmd to 0.76:
CPAN RT#74373: Compilation error when POSIX.pm fails to load
CPAN RT#74470: Empty string cannot be passed to command
- Make the empty arg stripping the default again, with an option to override this behaviour
Updated perl-Mail-SPF to 2.8.0:
Sanitize result local_explanation (as well as result object string representation) by replacing all non-printable or non-ascii characters with their hex-escaped representation, e.g. "\x00" (bugs.launchpad.net #806926)
Change openspf.org URLs to openspf.net because openspf.org is unreachable indefinitely
Change http://www.ietf.org/rfc/….txt URLs to http://tools.ietf.org/html/…
META.yml: configure_requires: Module::Build 0.2805
META.yml: requires: Net::DNS 0.62 (was: 0.52) (CPAN RT#28545)
META.yml: Revert to flat version numbers for perl and Net::DNS::Resolver::Programmable build requirements to avoid Module::Build::Compat/Makefile.PL incompatibilities (CPAN RT#53231)
Attempt to prevent a cascading failure in t/00.03-class-result.t that seems to happen under rare, unknown circumstances (CPAN RT#39099)
Updated perl-Parse-RecDescent to 1.967003:
Non-backwards-compatible change: change the caches for $prevline and $thisline to be local to the parser, rather than lexical vars in Parse::RecDescent; this prevents previously-generated parsers from interfering with the line counts of later parsers
- Patched unnamed subrules, so that they actual fail when not correctly specified
- Added skip tests
- Fixed restoration of skipped prefixes on match failure
- Removed formats to eliminate problems with filehandle duplication in forked environments
- Removed trailing whitespace from all member files (cosmetic)
New tests, updated MANIFEST
- Added Jeremy Braun as an author and current maintainer
- Update file permissions
Addressed CPAN RT#28314: regex modifiers for tokens not honored during regex syntax check
- Various POD updates
Added message on how to turn off "default" hint value in the default hint value ($::RD_HINT = 0) (CPAN RT#4898)
Modified _write_ERROR to call formline twice to avoid repeated $errorprefix
- Collected match tracing messages into a common function that takes into account positive/negative lookahead
Fixed RD_AUTOSTUB to work with precompiled parsers (CPAN RT#74258)
Special-case $::RD_AUTOSTUB eq 1; $::RD_AUTOSTUB's value is ignored, and the unknown subrule 'rule' has a production "rule: 'rule'", rather than "rule: '1'"
Change Parse::RecDescent::new to call $self->Replace with only the grammar as an argument, which prevents the $compiling argument to new() from being incorrectly interpreted as $isimplicit
Recognize regex with single backslash properly (CPAN RT#29966); changed the definition of $TOKEN to handle backslashes inside of regex patterns
Skip tests in t/reentry.t if Test::Warn isn't available
Tuesday 31st January 2012
Local Packages
Updated perl-AnyEvent to 6.14:
AnyEvent::Impl::Tk was broken due to a mysterious "die" inside, probably an editing mistake
Previous Month: December 2011
Next Month: February 2012