PaulHowarth/Blog/2012-05

Paul's Blog Entries for May 2012

Tuesday 1st May 2012

Fedora Project

  • Updated perl-CPAN-Changes to 0.19 in Rawhide:

    • Test::CPAN::Changes now accepts version entries ending in '-TRIAL' (CPAN RT#76882)

    • releases() in CPAN::Changes also accepts entries ending in '-TRIAL'

Local Packages

  • Updated perl-CPAN-Changes to 0.19 as per the Fedora version

  • Updated perl-IPC-Cmd to 0.78:

    • Use POSIX::_exit() instead of exit() in run_forked() (CPAN RT#76901)

  • Updated perl-Moose to 2.0601:

    • Fix init_meta order when multiple also packages are specified (this matters when one of them is being used to actually initialize the metaclass, typically with also => 'Moose')

  • Updated perl-XML-LibXML to 1.97:

    • Apply a test and a fix to correct keep_blanks having no effect on parse_balanced_chunk (CPAN RT#76696)

    • Add t/30keep_blanks.t

Tuesday 2nd May 2012

Fedora Project

  • Updated mod_fcgid in Rawhide to use a 10- prefix for the configuration file in /etc/httpd/conf.modules.d with httpd ≥ 2.4

RPM Fusion Project

  • Cleaned up and rebuilt perl-Crypt-IDEA for F-17 and Rawhide

Local Packages

  • Updated mod_fastcgi to use a 10- prefix for the configuration file in /etc/httpd/conf.modules.d with httpd ≥ 2.4

  • Updated mod_fcgid as per the Fedora version

Thursday 3rd May 2012

Fedora Project

  • Petr Pisar kindly reviewed and approved my perl-Test-Valgrind package submission, and I imported and built it for F-15, F-16, F-17, Rawhide, EPEL-5 and EPEL-6

  • Updated perl-Pod-Wordlist-hanekomu to 1.121231 in F-15, F-16, F-17, Rawhide, EPEL-5 and EPEL-6:

    • Added "deserialized" and "parameterizable"
  • Updated perl-Test-LeakTrace in Rawhide to build-require perl-Test-Valgrind for extra test coverage

Local Packages

  • Updated perl-CPAN-Meta-Requirements to 2.122:

    • Fix typo in documentation: the exclusion symbol is "!=" rather than just "!"; the implementation was correct, just the docs were wrong (CPAN RT#76948)

  • Updated perl-Pod-Wordlist-hanekomu to 1.121231 as per the Fedora version

  • Updated perl-Test-Valgrind to incorporate suggestions from the package review

  • Updated unrar to 4.20 beta 1

Friday 4th May 2012

Fedora Project

  • Became owner of perl-Data-Alias in Rawhide after it was finally unretired properly (rel-eng#4684)

Sunday 6th May 2012

Fedora Project

  • Updated perl-Compress-Raw-Zlib to 2.053 in Rawhide:

    • Include zlib 1.2.7 source

Local Packages

  • Updated perl-Compress-Raw-Zlib to 2.053 as per the Fedora version

Monday 7th May 2012

Fedora Project

  • Rebuilt imlib for the new libtiff in Rawhide

Local Packages

  • Updated perl-IO-Socket-SSL to 1.68:

    • Changes for CPAN RT#76929:

      • If no explicit cipher list is given, default to ALL:!LOW instead of the openssl default, which usually includes weak ciphers like DES

      • New config key SSL_honor_cipher_order and document how to use it to fight BEAST attack

      • Fix behaviour for empty cipher list (use default)
  • I had to re-introduce the workaround for failing t/dhe.t with OpenSSL 1.0.1 (CPAN RT#75165, CPAN RT#76929) for this build

Tuesday 8th May 2012

Fedora Project

  • Updated perl-Compress-Raw-Zlib to 2.054 in Rawhide:

  • Updated perl-IO-Socket-SSL to 1.70 in Rawhide:

    • Changes for CPAN RT#76929:

      • If no explicit cipher list is given, default to ALL:!LOW instead of the openssl default, which usually includes weak ciphers like DES

      • New config key SSL_honor_cipher_order and document how to use it to fight BEAST attack

      • Fix behaviour for empty cipher list (use default)
      • Re-added workaround in t/dhe.t

    • Make it possible to disable protocols using SSL_version, and make SSL_version default to 'SSLv23:!SSLv2'

Local Packages

  • Updated dovecot to 2.1.6:

    • Session ID is now included by default in auth and login process log lines; it can be added to mail processes also by adding %{session} to mail_log_prefix

    • Added ssl_require_crl setting, which specifies if CRL check must be successful when verifying client certificates

    • Added mail_shared_explicit_inbox setting to specify if a shared INBOX should be accessible as "shared/$user" or "shared/$user/INBOX"

    • v2.1.5: using "~/" as mail_location or elsewhere failed to actually expand it to home directory

    • dbox: fixed potential assert-crash when reading dbox files

    • trash plugin: fixed behaviour when quota is already over limit

    • mail_log plugin: logging "copy" event didn't work

    • Proxying to backend server with SSL: verifying server certificate name always failed, because it was compared to an IP address
  • Updated perl-Compress-Raw-Zlib to 2.054 as per the Fedora version

  • Updated perl-Error to 0.17018:

    • Add a $VERSION variable for Error::Simple

    • Add scripts/bump-version-number.pl, which can be used to bump the version numbers globally

  • Updated perl-IO-Socket-SSL to 1.70 as per the Fedora version

  • Updated perl-Moose to 2.0602:

    • Ensure that the Moose::Exporter-generated init_meta returns the same value that it did previously; this isn't really a bug, since the return value has never been tested or documented, but since the generated init_meta is nothing more than a compatibility shim at this point, there's no reason to not make it as compatible as possible

Wednesday 9th May 2012

Fedora Project

  • Updated gtkwave to 3.3.36 in Rawhide:

    • Fixed destructive string convert in fstUtilityBinToEsc()

    • Added support for 01xzhuwl-

    • Added adaptive buffer resizing in FST writer for Linux and Mac OSX
    • Fix for realpath() 2nd argument NULL on Leopard

    • Fix for doubles stored in HistEnt fields in ghw introduced in 3.3.19

  • Updated perl-IO-Socket-SSL to 1.71 in Rawhide:

    • 1.70 done right: don't disable SSLv2 ciphers; SSLv2 support is better disabled by the default SSL_version of 'SSLv23:!SSLv2'

Local Packages

  • Updated gtkwave to 3.3.36 as per the Fedora version

  • Updated perl-IO-Socket-SSL to 1.71 as per the Fedora version

  • Updated perl-NetAddr-IP to 4.061:

    • Fix change in behaviour introduced in v4.050 where an empty string supplied to "new" previously returned 'undef' and now returns 'default' for ipV4 or ipV6 (CPAN RT#75976)

Thursday 10th May 2012

Local Packages

  • Updated dovecot to fix socket activation again (upstream fix in 2.1.6 is incomplete)

Friday 11th May 2012

Fedora Project

  • Updated perl-IO-Socket-SSL to 1.73 in Rawhide:

    • Set DEFAULT_CIPHER_LIST to ALL:!LOW instead of HIGH:!LOW

    • Make test t/dhe.t hopefully work with more versions of openssl

Local Packages

  • Updated perl-IO-Socket-SSL to 1.73 as per the Fedora version

Friday 12th May 2012

Fedora Project

  • Updated perl-Class-C3 to 0.24 in Rawhide:

    • Require Class::C3::XS on 5.8 perls if a working compiler is found

Local Packages

  • Updated perl-Class-C3 to 0.24 as per the Fedora version

  • Updated perl-DBD-CSV to 0.34:

    • Updated copyright to 2012
    • Require 5.8.1, as DBI does

    • Tested against perl-5.16.0-RC0 + DBI-1.620

Sunday 13th May 2012

Football

I was at the Etihad today for the amazing climax to the season where City won the title for the first time in my living memory (having been 3 years old the last time it happened). Going into the game the head was saying there was nothing to worry about, given City had the best home record in the league with only Sunderland having avoided defeat there, and visitors QPR having the worst away record, having lost 13 of their away away games beforehand. The heart though knew that City are past masters at snatching defeat from the jaws of victory so the tension I'd felt all week was no less than before the ostensibly more difficult games against United and Newcastle. And so it proved to be. The full gamut of emotions, the tension growing as the game dragged on without a goal, QPR conceding the flanks and defending very narrow, which worked very well against our diminuitive strike force of Tevez and Aguero. Then Zaba scored shortly before the break and there was palpable relief and as the half time scores came up on the big screens, I wondered why the QPR fans had gotten very excited twice during the first half - Bolton were leading 2-1, which was a scoreline that would have meant the drop for QPR - had they been cheering United taking the lead at Sunderland? Anyway, with the scores as they stood, QPR would have to come out and attack us in the second half and we could surely pick them off? Not so. Cisse was presented with a gift and accepted it with an expertly-taken finish, leaving us having to break the visitors down again. Then the linesman spotted Barton assaulting Tevez off the ball, which was obviously going to result in a red card but I was amazed by the subsequent thuggery displayed by the City old boy, despite knowing already what he was capable of. Cisse came off to allow another defender, Traore, to come on, and one of his first involvements in the game was a superb run and cross that found Mackie unmarked at the far post to make it 2-1 to QPR. Unbelievable! City seemed to have run out of ideas. Dzeko and Balotelli came on and we tried getting cross after cross after cross in but as often as not they were horrifically wayward or at least easily cleared. The clock ticked on and on and we entered 5 minutes of injury time. The game was being played as an attack versus defence training game, entirely in the QPR half and we really didn't look like scoring, despite the best efforts of Mario, who was really making a big effort to getting us back into it. The feeling was of complete despair: we'd been so close and United were going take it from us right at the end again. I'd not felt as bad since the 1999_Football_League_Second_Division_play-off_Final where I'd had my head in my hands as the clock approached 90 minutes (though at least I'd not left the stadium, unlike a lot of other part-timers). And then it happened again. Edin Dzeko rose unchallenged to head in a corner and there was hope. A minute later and Aguero plays a give-and-go with Balotelli and it's a Paul Dickov moment all over again. The stadium goes ballistic but my wife's screaming at me that it's not over yet but she's wrong - the QPR players have got the message that Bolton have only drawn and they are safe, so they just kick the ball into touch from the kick-off. The referee beckons the linesmen towards him to avoid the inevitable pitch invasion and blows for full time. City are champions. I never thought I'd see the day. Neither did Alex Ferguson but to his credit he was mangnaminous in defeat, which is more than can be said for the prat Piers Morgan. We stayed for an hour after the game to savour the moment and enjoy the presentations before heading home for a bit of champagne that I'd stuck in the fridge in case we won :-)

I'm not going to be winding the Reds up at work tomorrow (there's a few, albeit of the armchair variety); I know how they're feeling because that's how I was feeling at 90 minutes and I'm not kicking them when they're down that far.

Monday 14th May 2012

Fedora Project

  • Updated perl-AnyEvent to 7.01 in Rawhide:

    • Fail with EPROTO in AnyEvent::Handle when TLS is requested but not available, instead of throwing an exception

    • Use File::Spec to get the tmpdir in t/*, to avoid needless failures on Windows boxes

    • New handle read types: tls_detect and tls_autostart

  • Updated perl-IO-Socket-SSL to 1.74 in Rawhide:

    • Accept a version of SSLv2/3 as SSLv23, because older documentation could be interpreted like this

Local Packages

  • Updated perl-AnyEvent to 7.01 as per the Fedora version

  • Updated perl-IO-Socket-SSL to 1.74 as per the Fedora version

  • Updated perl-XML-LibXML to 1.98:

    • Make sure parse_string() and load_xml() also accept references to strings, to avoid unnecessary copying (CPAN RT#64051)

Thursday 17th May 2012

Fedora Project

  • Updated perl-Pod-Wordlist-hanekomu to 1.121370 in F-15, F-16, F-17, Rawhide, EPEL-5 and EPEL-6:

    • Added: "GUIDs", "UUID", "UUIDs", "searchable"
  • Updated perl-Sysadm-Install to 0.39 in Rawhide:

    • Fixed bin_find to omit directories

    • Added cdback() with reset option

Local Packages

  • Updated check to add upstream patch to halt execution when running in CK_FORK=no mode and a test fails (Bug #821933)

  • Updated perl-Pod-Wordlist-hanekomu to 1.121370 as per the Fedora version

  • Updated ppp to fix compilation of pppd without USE_EAPTLS (Bug #771340)

  • Updated unrar to 4.20 beta 2

Friday 18th May 2012

Fedora Project

  • Updated perl-DBM-Deep in F-17 and Rawhide not to build-require FileHandle::Fmode on RHEL ≥ 7 (Bug #822885)

  • Submitted review requests for pari-elldata (Bug #822896), pari-galdata (Bug #822897) and pari-seadata (Bug #822898), all needed for the test suite for the forthcoming pari 2.5.1 update (Bug #821191)

Local Packages

  • Updated python-zope-interface to 4.0.0:

    • Automated build of Sphinx HTML docs and running doctest snippets via tox

    • Deprecated the "class advice" APIs from zope.interface.declarations: implements, implementsOnly, and classProvides; in their place, prefer the equivalent class decorators: @implementer, @implementer_only, and @provider (code that uses the deprecated APIs will not work as expected under Py3k)

    • Removed use of '2to3' and associated fixers when installing under Py3k; the code is now in a "compatible subset" that supports Python 2.6, 2.7 and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language spec)

    • Dropped explicit support for Python 2.4/2.5/3.1

    • Added support for PyPy

    • Added support for continuous integration using tox and jenkins

    • Added 'setup.py dev' alias (runs setup.py develop plus installs nose and coverage)

    • Added 'setup.py docs' alias (installs Sphinx and dependencies)

    • Replaced all unittest coverage previously accomplished via doctests with unittests; the doctests have been moved into a docs section, managed as a Sphinx collection

    • LP#910987 - ensure that the semantics of the lookup method of zope.interface.adapter.LookupBase are the same in both the C and Python implementations

    • LP#900906 - avoid exceptions due to the new __qualname__ attribute added in Python 3.3 (see PEP 3155 for rationale)

Sunday 20th May 2012

Fedora Project

  • Updated libssh2 to 1.4.2 in Rawhide:

    • Return LIBSSH2_ERROR_SOCKET_DISCONNECT on EOF when reading banner

    • userauth.c: fread() from public key file to correctly detect any errors

    • configure.ac: add option to disable build of the example applications

    • Added 'Requires.private:' line to libssh2.pc

    • SFTP: filter off incoming "zombie" responses
    • gettimeofday: no need for a replacement under cygwin

    • SSH_MSG_CHANNEL_REQUEST: default to want_reply

    • win32/libssh2_config.h: remove hardcoded #define LIBSSH2_HAVE_ZLIB

Local Packages

  • Updated libssh2 to 1.4.2 as per the Fedora version

Monday 21st May 2012

Fedora Project

  • Updated perl-URI to 1.60 in F-16, needed for a Plack update (Bug #823390)

Local Packages

  • Updated getmail to 4.27.0:

    • Make use of IMAP BODY.PEEK configurable; set the IMAP retriever parameter 'use_peek' to False to disable use of PEEK to get getmail's historical IMAP behaviour

  • Updated perl-Module-CoreList to 2.66:

    • Add the --diff option to compare two perl core modlibs

  • Updated ppp to fix support for multilink channels in pppol2tp plugin (Bug #817013)

Tuesday 22nd May 2012

Fedora Project

  • Updated perl-Module-Find to 0.11 in Rawhide:

Local Packages

  • Updated nmap to 6.00 (see http://nmap.org/6 for details)

  • Updated perl-Module-Find to 0.11 as per the Fedora version

Wednesday 23rd May 2012

Local Packages

  • Updated perl-DBI to 1.621:

    • Fixed segmentation fault when a thread is created from within another thread (CPAN RT#77137)

  • Updated perl-Pod-Simple to 3.21:

    • Note: Compatibility Change: the 'codes_in_verbatim' option in Pod::Simple::XHTML is no longer enabled by default, which brings it into agreement with the other formatting classes, and eliminates unexpected behaviour in XHTML-formatted Pod; users who depended on this functionality can still get it by enabling 'codes_in_verbatim' in their code

    • Fixed some typos in the documentation (CPAN RT#75532)

    • Now emit a warning the first time a non-ASCII byte is encountered when no "=encoding" has been seen

    • When a non-ASCII byte is encountered before an "=encoding" line has been seen, a heuristic (as described in perlpodspec) is applied to select UTF-8 encoding if the non-ASCII bytes form a valid UTF-8 byte sequence, or Latin-1 otherwise

    • Added 'handle_code' method to Pod::Simple::XHTML, which allows subclasses to override the handling of verbatim blocks, and makes for a more cohesive interface, to boot

    • Subsequent text segments are now joined together and passed as a single unit to text handling code, which makes it easier for custom handlers to process complete blocks of text in a single call to 'handle_text', rather than in dribs and drabs

    • Replaced naïve text wrapping code in Pod::Simple::DumpAsXML with Text::Wrap, which was already used for similar purposes elsewhere in Pod::Simple

Thursday 24th May 2012

Fedora Project

  • Updated python-crypto to 2.6 in Rawhide:

    • Fix insecure ElGamal key generation (launchpad bug #985164, CVE-2012-2417)

    • Huge documentation clean-up
    • Added more tests, including test vectors from NIST 800-38A
    • Remove broken MODE_PGP, which never actually worked properly

    • A new mode, MODE_OPENPGP, has been added for people wishing to write OpenPGP implementations (see also launchpad bug #996814)

    • Fix: getPrime with invalid input causes Python to abort with fatal error (launchpad bug #988431)

    • Fix: Segfaults within error-handling paths (launchpad bug #934294)

    • Fix: Block ciphers allow empty string as IV (launchpad bug #997464)

    • Fix DevURandomRNG to work with Python3's new I/O stack

    • Remove automagic dependencies on libgmp and libmpir; let the caller disable them using args

    • Many other minor bug fixes and improvements

Local Packages

  • Updated curl to 7.26.0:

    • nss: the minimal supported version of NSS bumped to 3.12.x

    • nss: human-readable names are now provided for NSS errors if available

    • Add a manual page for mk-ca-bundle

    • Added --post303 and the CURL_REDIR_POST_303 option for CURLOPT_POSTREDIR

    • smtp: add support for DIGEST-MD5 authentication

    • pop3: added support for additional pop3 commands

    • nss: libcurl now uses NSS_InitContext() to prevent collisions if available

    • URL parse: reject numerical IPv6 addresses outside brackets
    • MD5: fix OOM memory leak

    • OpenSSL cert: provide more details when cert check fails

    • HTTP: empty chunked POST ended up in two zero size chunks

    • Fixed a regression when curl resolved to multiple addresses and the first isn't supported

    • -# progress meter: avoid superfluous updates and duplicate lines

    • Headers: surround GCC attribute names with double underscores

    • PolarSSL: correct return code for CRL matches

    • PolarSSL: include version number in version string

    • PolarSSL: add support for asynchronous connect

    • mk-ca-bundle: revert the LWP usage

    • IPv6 cookie domain: get rid of the first bracket before the second
    • connect.c: return changed to CURLE_COULDNT_CONNECT when opensocket fails

    • OpenSSL: made cert hostname check conform to RFC 6125

    • HTTP: reset expected DL/UL sizes on redirects

    • CMake: fix Windows LDAP/LDAPS option handling

    • CMake: fix MS Visual Studio x64 unsigned long long literal suffix

    • configure: update detection logic of getaddrinfo() thread-safeness

    • configure: check for gethostbyname in the watt lib

    • curl-config.1: fix curl-config usage in example

    • smtp: Fixed non-escaping of dot character at beginning of line

    • MakefileBuild.vc: use the correct IDN variable

    • autoconf: improve handling of versioned symbols

    • curl.1: clarify -x usage

    • curl: shorten user-agent

    • smtp: issue with the multi-interface always sending postdata

    • compile error with GnuTLS+Nettle fixed

    • winbuild: fix IPv6 enabled build

  • Updated libidn to 1.25:

    • Fix build with MSVC related to _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE

    • Fix compiler warning about ignoring return value from fgets in examples

    • Ship with a valgrind suppressions file for the strlen issue in the tests

    • Update gnulib files and translations

  • Updated libxml2 to 2.8.0

    • Add lzma compression support

    • Various documentation updates
    • Lots of portability fixes, particularly for Windows targets
    • Lots of bug fixes and other improvements
  • I also updated the package to run its test suite during the build
  • Updated perl-Archive-Tar to 1.86:

  • Rebuilt perl-XML-LibXML for libxml2 2.8.0

  • Updated python-crypto to 2.6 as per the Fedora version

Friday 25th May 2012

Fedora Project

Local Packages

  • Updated perl-DBD-CSV to 0.35:

    • Improved documentation
    • Tested under 5.16.0

Saturday 26th May 2012

Local Packages

  • Updated perl-Module-CoreList to 2.67:

    • Updated for v5.17.0
  • Updated perl-Net-FTPSSL to 0.22:

    • CPAN RT#77072 requested to autodetect the need for using the PRET command; the docs in the POD now mark the Pret option as optional for cases where auto-detect doesn't work

    • Fixed issue with ccc that the server sometimes responds to a successful NOOP twice, resulting in command/resonses getting out of sync

    • Fixed quot() bug introduced with uc() fix for CPAN RT#74025 in 0.21

    • Fixed the return code in restart() to always be 1 instead of undef, since it never fails

Monday 28th May 2012

Fedora Project

  • Updated perl-DBM-Deep to 2.0007 in Rawhide:

    • Include one-line descriptions of each POD page after the name (CPAN RT#76378)

    • t/98_pod.t: skip tests if Pod::Simple 3.21 is installed (CPAN RT#77419)

  • Updated perl-Module-CPANTS-Analyse to 0.86 in Rawhide:

    • Add several strict and warnings equivalents and make it easy to add more

    • Fix when Moose is used and strict is not used

    • Add info about MIN_PERL_VERSION

    • Better remedy for metayml_declares_perl_version

    • metayml_declares_perl_version moved from experimental to extra

    • Some pod improvements
    • Fix CPAN RT#65903 - no more Test::YAML::Meta::Version on CPAN

    • Replace YAML::Syck with YAML::Any

    • no_symlinks checks only files in MANIFEST, use "maniread" in ExtUtils::Manifest

    • Add more equivalents for use_strict and use_warnings tests

    • Implement valid_signature metric

  • I also switched the build to use the ExtUtils::MakeMaker flow as we don't have Module::Build ≥ 0.40 in Rawhide yet

Local Packages

  • New package perl-File-chdir (0.1006)

  • New package perl-Set-Scalar (1.25)

  • Updated curl to use human-readable error messages provided by NSS (upstream commit 72f4b534)

  • Updated perl-Archive-Tar to bump epoch to 1 for EL-5 only to match upstream vendor's package; no other supported release uses an epoch

  • Updated perl-DateTime-Format-Strptime to 1.51:

    • Packaging cleanup, including listing Test::More as a test prereq, not a runtime prereq (CPAN RT#76128)

  • Updated perl-DBM-Deep to 2.0007 as per the Fedora version

  • Updated perl-Mail-Sender to 0.8.21:

    • Fixed the case in the header names (Content-type -> Content-Type)

    • Fixed the encoding of non-ASCII stuff in headers (RFC 2047)
    • Fixed using the ctype even for body with MailFile

  • Updated perl-Module-CPANTS-Analyse to 0.86 as per the Fedora version, except there was no need to switch to ExtUtils::MakeMaker

  • Updated perl-Pod-Simple to 3.22:

    • Fix bug where Pod::Simple would whine about non-ASCII bytes in code or comments - now only does so for Pod (in the absence of an "=encoding" tag)

  • Updated perl-PPIx-Regexp to 0.027:

    • Eliminate unescaped literal "{" characters in regexps in PPIx::Regexp::Token::Backreference and PPIx::Regexp::Token::CharClass::Simple; these are deprecated in 5.17.0

  • Updated unrar to 4.20 beta 3

Tuesday 29th May 2012

Local Packages

  • Updated ppp to fix ppp-2.4.5-eaptls-mppe-0.99 patch (Bug #817011), and noticed the re-appearance in Rawhide of a similar error to one I'd fixed back in 2010:

  • make[2]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/rp-pppoe'
    cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -mtune=generic -fPIC -Wall -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o -fPIC plugin.c
    In file included from plugin.c:53:0:
    /usr/include/linux/if_pppox.h:84:26: error: field 'pppol2tp' has incomplete type
    /usr/include/linux/if_pppox.h:99:28: error: field 'pppol2tp' has incomplete type
    make[2]: *** [plugin.o] Error 1
  • It appears that some further structure definitions are needed in include/linux/if_pppol2tp.h for IPv6 support, so I updated the patch:

  • --- ppp-2.4.5/include/linux/if_pppol2tp.h
    +++ ppp-2.4.5/include/linux/if_pppol2tp.h
    @@ -32,6 +32,45 @@
            __u16 d_tunnel, d_session;      /* For sending outgoing packets */
     };
     
    +/* Structure used to connect() the socket to a particular tunnel UDP
    + *  * socket over IPv6.
    + *   */
    +struct pppol2tpin6_addr {
    +       __kernel_pid_t  pid;            /* pid that owns the fd.
    +                                        * 0 => current */
    +       int     fd;                     /* FD of UDP socket to use */
    +
    +       __u16 s_tunnel, s_session;      /* For matching incoming packets */
    +       __u16 d_tunnel, d_session;      /* For sending outgoing packets */
    +
    +       struct sockaddr_in6 addr;       /* IP address and port to send to */
    +};
    +
    +/* The L2TPv3 protocol changes tunnel and session ids from 16 to 32
    + * bits. So we need a different sockaddr structure.
    + */
    +struct pppol2tpv3_addr {
    +       pid_t   pid;                    /* pid that owns the fd.
    +                                        * 0 => current */
    +       int     fd;                     /* FD of UDP or IP socket to use */
    +
    +       struct sockaddr_in addr;        /* IP address and port to send to */
    +
    +       __u32 s_tunnel, s_session;      /* For matching incoming packets */
    +       __u32 d_tunnel, d_session;      /* For sending outgoing packets */
    +};
    +
    +struct pppol2tpv3in6_addr {
    +       __kernel_pid_t  pid;            /* pid that owns the fd.
    +                                        * 0 => current */
    +       int     fd;                     /* FD of UDP or IP socket to use */
    +
    +       __u32 s_tunnel, s_session;      /* For matching incoming packets */
    +       __u32 d_tunnel, d_session;      /* For sending outgoing packets */
    +
    +       struct sockaddr_in6 addr;       /* IP address and port to send to */
    +};
    +
     /* Socket options:
      * DEBUG       - bitmask of debug message categories
      * SENDSEQ     - 0 => don't send packets with sequence numbers
  • And with that, it all built again :-)

Wednesday 30th May 2012

Local Packages

  • Updated curl to disable test 1319 on ppc64 (server times out)

  • Updated dovecot to 2.1.7:

    • LDAP: compatibility fix for v2.0 - if attributes contain ldapAttr=key=template%$ and ldapAttr doesn't exist, skip the key instead of using "template" value with empty %$ part for the key

    • pop3: added pop3_uidl_duplicates setting for changing the behaviour for duplicate UIDLs

    • director: added "doveadm director ring remove" command

    • director: don't crash with quickly disconnecting incoming director connections

    • mdbox: if mail was originally saved to non-INBOX, and namespace prefix is non-empty, don't assert-crash when rebuilding indexes

    • sdbox: don't use more fds than necessary when copying mails

    • auth: fixed crash with DIGEST-MD5 when attempting to do master user login without master passdbs

    • Several fixes to mail_shared_explicit_inbox=no

    • imapc: use imapc_list_prefix also for listing subscriptions

  • Updated libidn to provide bundled(gnulib) (Bug #821768)

Thursday 31st May 2012

Local Packages

  • Updated perl-Carp-Clan to filter the bogus perl(DB) provide when built with rpm ≥ 4.9

  • Updated perl-File-MMagic to 1.28:

    • Applied subclass patch from Michael Hendricks
    • Removed deprecated code (defined(@array)) (CPAN RT#74252)

    • Added container check
    • Added Hex representation support
    • Added 'regex' and 'search' support for magic entry, and fixed fatal error when unknown type in magic entry

    • Fixed memory leak
  • Updated perl-Module-Build to bump its epoch and revert to the 2-digit numbering scheme that upstream is currently using; packages with versioned dependencies using more than two digits after the decimal point will need adjusting accordingly

  • Updated perl-Module-ExtractUse to clean up the build process to use PL_files and to bump the perl(Module::Build) version requirement from 0.3601 to 0.37, required by the perl-Module-Build update

  • Updated perl-Net-Server to 2.001:

    • Bring Net::Server::Proto::SSL back; it is now fully functional under all scenarios, including IPv4 and IPv6

    • Change Proto interface to allow passing more information; this represents an internal API change

    • Updates to the HUP mechanisms to make sure we rebind all types of ports correctly

    • Add IPv6 integration via ::1 style addresses as well as the ipv configuration parameter

    • Added graceful shutdown
    • Added hot deploy via TTIN and TTOU

    • Internal code tidying
    • Finish up support for connecting to ports by service name
    • Don't lose track of fork and prefork children on a HUP - make sure to actively wait them off

    • Correct accept to take a classname, and optionally be called in array context

    • Clean up numerous configuration issues
    • Added sig_passthrough option to Fork, PreFork, and PreForkSimple servers, allowing for arbitrary signals to propagate to children

    • Add syswrite/sysread support to SSLeay

    • Add PSGI module

    • Many small accumulated bugfixes
    • Bug fix: wrong usage of File::Temp::tempfile (CPAN RT#77540)

    • Fix HTTP_COOKIES to be HTTP_COOKIE

    • Handle multiple header values better in HTTP

    • Add Log::Log4perl logging support

  • Updated perl-XML-LibXML to 1.99:

    • Fix overloading
    • Fix test failures (and general functionality) on 64-bit big endian platforms (CPAN RT#77340)

Previous Month: April 2012
Next Month: June 2012

Recent