PaulHowarth/Blog/2011-02

Paul's Blog Entries for February 2011

Tuesday 1st February 2011

Local Packages

  • Updated perl-IPC-Cmd to 0.70:

    • Apply a patch from CPAN RT#65276 with changes for run_forked:

      • Fix for the typo in the name of the signal
      • Changed default for clean_up_children (which seems to be the behaviour expected by the majority of the users)

      • Added detection (and forwarding to the caller) of the case when run program is killed by signal
      • kill_gently is now used in cases when parent died and when the executed program times out

      • Added options that allow execution of some user code in the beginning and at the end of the child process
  • Updated perl-Mail-IMAPClient to 3.26:

    • See Changes for full details

    • Require Perl 5.8.1 as constant use is invalid on 5.6

    • Fix fetch_hash() parse errors (CPAN RT#63524)

    • Fix handling of LITERAL values in response

    • Fix handling of field names with a dash (e.g. X-SAVEDATE)

    • fetch_hash now uses Escaped_results() method

    • Fix Escaped_results() to properly join LITERAL data with the data that comes before and after it

    • append_file() did not interpret $date as expected (CPAN RT#60945)

    • $date should now be 1 (to use the file mtime) or a valid RFC3501 date

    • Address memory consumption with message_string()/append() (CPAN RT#61292)

    • Major problem with one function in IMAPClient (CPAN RT#61806)

    • Significant memory usage improvements
    • Relax get_envelope(), allow empty reply-to (CPAN RT#63444)

    • append_string could invalidate a good $date (CPAN RT#61068)

    • Fix logout error if delay between BYE and OK (CPAN RT#60045)

    • Fix migrate() errors (CPAN RT#61062)

    • Rewrite migrate() to be functional and simple

    • Update README and clean up several old or out of date files

  • I saw that the (basic) test suite passed with Perl 5.8.0 so I added a patch to drop the Perl version requirement to 5.8.0 for RHL-9 and RHEL-3 support

  • Updated perl-YAML-Tiny to 1.48:

    • Fix to the refaddr compatibility where Scalar::Util is installed but is older than 1.18

    • I found that this change didn't actually work - the test suite failed on systems with Scalar::Util < 1.18:

    • t/02_basic.........#     Failed test (t/lib/Test.pm at line 253)
      #          got: 'Undefined subroutine &YAML::Tiny::refaddr called at /builddir/build/BUILD/YAML-Tiny-1.48/blib/lib/YAML/Tiny.pm line 469.
      # '
      #     expected: ''
    • A slight tweak to the new code fixed this:
    • --- YAML-Tiny-1.48/lib/YAML/Tiny.pm.orig        2011-01-31 23:59:23.000000000 +0000
      +++ YAML-Tiny-1.48/lib/YAML/Tiny.pm             2011-02-01 14:32:42.886958633 +0000
      @@ -614,7 +614,7 @@
                      require Scalar::Util;
              };
              if ( $@ or $Scalar::Util::VERSION < 1.18 ) {
      -               eval <<'END_PERL' if $@;
      +               eval <<'END_PERL';
       # Scalar::Util failed to load or too old
       sub refaddr {
              my $pkg = ref($_[0]) or return undef;

Wednesday 2nd February 2011

Local Packages

  • Updated perl-Locale-US to add a patch to address CPAN RT#56989 (Locale::US fails after second call to new)

Thursday 3rd February 2011

Fedora Project

  • Updated gtorrentviewer to improve support for modern trackers when using the Tracker Details tab (Bug #674726)

  • New package perl-Module-Metadata (1.000004) built in Rawhide; F-14 version will come once the update to perl-version 0.88 hits stable

  • Built perl-Test-Deep (0.096) for EPEL-4 now that perl-Test-NoWarnings is available

Local Packages

  • Updated gtorrentviewer as per the Fedora package

  • Updated perl-Module-Metadata to 1.000004:

    • Fix broken metadata.t when @INC has relative paths

Friday 4th February 2011

PSU Died

The Enermax Liberty ELT500AWT PSU in my firewall/Internet server box died at around 03:10 this morning so I was offline all morning until I'd diagnosed and fixed the problem

Fedora Project

  • Rebuilt perl-BerkeleyDB in Rawhide to sync up with libdb 5.1.25

Local Packages

  • Rebuilt perl-BerkeleyDB as per the Fedora package

  • Updated perl-Parse-CPAN-Meta to 1.4400:

    • Added 'json_backend' and 'yaml_backend' methods to provide the names of modules used for de-serialization

Saturday 5th February 2011

Local Packages

  • Updated perl-Parse-CPAN-Meta to 1.4401, dropping the buildreq perl(Module::Load::Conditional) and switching to a version numbering scheme with 4 decimal places as per the Fedora package

    • Removed Module::Load::Conditional dependency

Sunday 6th February 2011

Local Packages

  • Updated perl-SQL-Statement to 1.33:

    • Move test dependencies to (unreleased) Bundle::Test::SQL::Statement to avoid circular dependencies

Monday 7th February 2011

Fedora Project

  • Updated bluefish in Rawhide to 2.0.3-rc2

  • Updated gtkwave to 3.3.19 in Rawhide:

    • More sanity checking in vcd2fst to prevent crashes on malformed files

    • Rewrote support for compressed signal handling (FST only)
    • shmidcat now exits on EOF

    • Added sys_fst.c VPI source for NC Verilog and XL

    • Added component type name dumping into sys_fst.c so that NC can dump component names

    • Added component type names in gtk2 tree (only used by FST so far)

    • Memory usage improvements on 64-bit architectures
    • Fixed top/bottom pane resizing bug after reload in SST window
    • fixed crashes in hierarchy search widget for GHW where standard, textio, std_logic_1164, etc. were selectable

    • Fixed reload scroll position for bottom TreeView in SST window

  • Updated perl-Sendmail-PMilter to 0.99 in Rawhide:

    • Handle IPv6 addresses in SMFIC_CONNECT in Sendmail::PMilter::Context (CPAN RT#65499)

Local Packages

  • New package perl-Version-Requirements (0.101020)

  • Updated bluefish to 2.0.3-rc2, dropping the GSEAL_ENABLE removal patch, no longer needed for builds on Fedora 10 and 11 to work

  • Updated libgcrypt to:

    • Fix a bug in the FIPs-186-3 dsa parameter generation code
    • Use /dev/urandom for seeding in the FIPS mode

    • Make the tests pass in the FIPS mode
  • These updates were cloned from the Fedora package
  • Updated gtkwave to 3.3.19 as per the Fedora package

  • Updated perl-Sendmail-PMilter to 0.99 as per the Fedora package

  • Updated unrar to 4.0.6 (GUI/archive maintenance fixes)

Tuesday 8th February 2011

Local Packages

  • New package perl-autodie (2.10), for distributions up to and including F-8 - more recent ones bundle this module with the main perl package, and a separate perl-autodie would conflict with perl in those cases

  • New package perl-BSD-Resource (1.2904)

  • New package perl-IPC-System-Simple (1.21)

  • Updated perl-DateTime to update DateTime::TimeZone to 1.28:

    • Based on version 2011b of the Olson database
    • Includes a new zone, America/North_Dakota/Beulah
  • Curiously, this release has reverted from a Build.PL flow to a Makefile.PL one so I added perl(ExtUtils::MakeMaker) as a buildreq and had to add a patch to remove the unnecessary ExtUtils::MakeMaker ≥ 6.31 requirement that Dist::Zilla-based distributions all seem to have these days

  • --- DateTimeBundle/DateTime-TimeZone-1.28/Makefile.PL   2011-02-07 16:36:29.000000000 +0000
    +++ DateTimeBundle/DateTime-TimeZone-1.28/Makefile.PL   2011-02-08 09:26:23.213819157 +0000
    @@ -4,7 +4,7 @@
     
     
     
    -use ExtUtils::MakeMaker 6.31;
    +use ExtUtils::MakeMaker;
     
     
     
    @@ -15,7 +15,7 @@
         'Test::More' => '0.88'
       },
       'CONFIGURE_REQUIRES' => {
    -    'ExtUtils::MakeMaker' => '6.31'
    +    'ExtUtils::MakeMaker' => '0'
       },
       'DISTNAME' => 'DateTime-TimeZone',
       'EXE_FILES' => [],
    @@ -52,6 +52,9 @@
     delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
       unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
     
    +delete $WriteMakefileArgs{LICENSE}
    +  unless eval { ExtUtils::MakeMaker->VERSION(6.31) };
    +
     if ( $^O eq 'MSWin32' ) {
       $WriteMakefileArgs{PREREQ_PM}{'Win32::TieRegistry'} = '0';
     }
  • Updated perl-Test-LongString to 0.15 (show line and column number in diagnostics)

  • Rebuilt curl, dovecot, libxml, libxml2 and libxslt for the Fedora_15_Mass_Rebuild

Wednesday 9th February 2011

Fedora Project

Some fall-out from the great Fedora_15_Mass_Rebuild was that some of my packages didn't build successfully:

  • gnome-libs failed because the symbol JPEG_LIB_VERSION was undefined in the JPEG-reading code; this was due to the definition of the symbol moving from jpeglib.h to jconfig.h since libjpeg-turbo 1.0.90, and the gnome-libs code explicitly avoiding the inclusion (which normally happens implicitly within jpeglib.h) of jconfig.h due to it defining some symbols that clash with ones in gnome-libs itself; I fixed this by defining JPEG_LIB_VERSION manually if the definition wouldn't otherwise be visible:

  • # libjpeg-turbo >= 1.0.90 moves definition of JPEG_LIB_VERSION from jpeglib.h to jconfig.h
    # which we explicitly avoid including for our own reasons, so we need help finding the definition
    EXTRACTED_JPEG_LIB_VERSION=$(echo JPEG_LIB_VERSION | cpp -imacros jpeglib.h -P | awk 'NF > 0')
    VISIBLE_JPEG_LIB_VERSION=$(echo JPEG_LIB_VERSION | cpp -DJCONFIG_INCLUDED -imacros jpeglib.h -P | awk 'NF > 0')
    if [ "$VISIBLE_JPEG_LIB_VERSION" = "JPEG_LIB_VERSION" ]; then
            JPEG_EXTRA_DEFINE="-DJPEG_LIB_VERSION=$EXTRACTED_JPEG_LIB_VERSION"
    fi
    export CPPFLAGS="$(pkg-config --cflags libpng10) $JPEG_EXTRA_DEFINE"
  • perl-Net-SSH-Perl and perl-Math-GMP failed their documentation spell check tests because some words that were previously in the en_US dictionary in Fedora 14 and earlier releases are no longer there in Rawhide:

    • decrypt

    • DES

    • MERCHANTABILITY

    • Probabilistically

    • subclasses

    • Tels

    • tels

  • Not sure why some of them were ever included actually!

  • perl-IO-Compress-Lzma failed all of its test suite like this:

  • #     Failed test (t/000prereq.t at line 37)
    #     Tried to use 'Compress::Raw::Lzma'.
    #     Error:  Version Mismatch - Built with version 50000002, library used is version 50000012
    # Compilation failed in require at (eval 3) line 2.
    # BEGIN failed--compilation aborted at t/000prereq.t line 37.
    # Looks like you failed 1 test of 3.
    t/000prereq.t ............
    Dubious, test returned 1 (wstat 256, 0x100)
    Failed 1/3 subtests
  • This was actually a problem in perl-Compress-Raw-Lzma, which had originally been built using xz 5.0.0 but Rawhide now has xz 5.0.1; the soname is the same but the code explicitly checks that the version numbers match and the error above is the result. In order to head off problems like this in the future, I tweaked perl-Compress-Raw-Lzma to have an explicit versioned dependency on the version of xz-libs it was built against, and the broken dependency report will alert me to the need to rebuild it in future if I miss an update to xz. This is basically the same approach I used in perl-BerkeleyDB to address Bug #592209, which manifests itself in a very similar way. Having rebuilt perl-Compress-Raw-Lzma (now built against xz 5.0.1 of course), perl-IO-Compress-Lzma was able to build and run its test suite just fine.

  • perl-Convert-TNEF, which isn't actually my package, failed to build as a result of a recent update of my perl-MIME-tools package to 5.500, which no longer depends on perl-IO-stringy - Convert::TNEF requires perl(IO::Wrap), which comes from perl-IO-stringy, but wasn't doing so explicitly so it no longer built; the simple fix was to add perl(IO::Wrap) as a build requirement.

Local Packages

  • Updated gnome-libs as per the Fedora version

  • Updated perl-Compress-Raw-Lzma as per the Fedora version

  • Updated perl-Convert-TNEF as per the Fedora version

  • Updated xz to remove the URL tag from liblzma.pc if we have have pkgconfig ≤ 0.15, which barfs when it sees it, and to drop the explicit dependency of the devel package on pkgconfig if rpm can auto-detect the requirement

  • Rebuilt sendmail for the Fedora_15_Mass_Rebuild

Thursday 10th February 2011

Fedora Project

  • Built perl-Test-CPAN-Meta (0.17) for EPEL-4 and EPEL-5 now that perl-Parse-CPAN-Meta was available in the stable repositories

Local Packages

  • New package perl-CPAN-Meta (2.110390)

  • Updated perl-Module-Load-Conditional to 0.44:

  • Updated perl-Parse-CPAN-Meta to bump its Epoch to 1 to match the one in the Fedora package

Friday 11th February 2011

Local Packages

Now that Fedora 15 development has been branched off from Rawhide, it's time to create my own Fedora 15 repository and have the development repository start targeting Fedora 16. I've done that today but it's not yet fully populated - that should happen during the course of next week.

  • Updated city-fan.org-release to support forthcoming Fedora releases up to 20

  • Rebuilt c-ares, libgpg-error, libnet, libpng10, mod_fcgid and tidy for the Fedora_15_Mass_Rebuild

Saturday 12th February 2011

Fedora Project

  • Updated perl-Net-SSH-Perl (F-15 and Rawhide) to fix the dependency filtering for Crypt::IDEA with rpm 4.9; the traditional method of filtering the output of %{__perl_requires} no longer works (though a similar approach filtering the output of the new %{__perllib_provides} script would), but a more generic, non-perl-specific approach is to use the new %{__requires_exclude} macro, which takes an extended regex as an argument

  • So where we had:
  • # Remove Crypt::IDEA dep if we're not supporting the IDEA algorithm and we don't have rpm 4.9
    %define bogusreq 'perl(Crypt::IDEA)'
    %global reqfilt /bin/sh -c "%{__perl_requires} | %{__grep} -Fvx %{bogusreq}"
    %{!?_with_IDEA:%define __perl_requires %{reqfilt}}
  • We now have:
  • %global __requires_exclude ^perl\\(Crypt::IDEA\\)
  • The backslashes needed to be escaped due to the internal workings of rpm's macro processor

Local Packages

  • Updated libgcrypt to 1.4.6:

    • New variants of the TIGER algorithm

    • New cipher algorithm mode for AES-WRAP

Sunday 13th February 2011

Fedora Project

  • Built perl-Sub-Exporter (0.975) for EPEL-4 now that Package::Generator and Data::OptList are available

  • Fixed the dependency filter for perl-Declare-Constraints-Simple in Rawhide and F-15 to account for changes in rpm 4.9; this problem was preventing my local build of perl-Moose from building

Local Packages

  • Fixed the dependency filter in perl-Declare-Constraints-Simple as per the Fedora version

  • Updated the patch for the documentation spelling check in perl-Moose, as dictionary coverage seems to have gone down in Rawhide recently

  • Rebuilt Judy and python-twisted-core for the Fedora_15_Mass_Rebuild

Monday 14th February 2011

Fedora Project

  • Fixed the provides filter in perl-Test-Mock-LWP in F-15 and Rawhide, which, due to changes in rpm 4.9, was claiming to provide perl(LWP::UserAgent) amongst other things, leading to it getting installed instead of perl-libwww-perl (the real provider of that module) when I tried to build perl-Test-Prereq, causing the build to fail in quite a non-obvious way

Local Packages

  • Updated nmap to 5.51 (see the upstream CHANGELOG for details)

  • Updated perl-Exception-Class to update the patch for the documentation spell checking test, as dictionary coverage in Rawhide seems to have gone down

  • Updated perl-XML-SAX to fix dependency filtering for rpm 4.9.x

  • Rebuilt pptp, spamass-milter and xxdiff for the Fedora_15_Mass_Rebuild

Tuesday 15th February 2011

Fedora Project

  • Updated spamass-milter to 0.3.2 in F-15 and Rawhide (fix for popen unsanitized input vulnerability: CVE-2010-1132); this fix has been in Fedora for many months already but was just included in a new upstream release

Local Packages

  • Updated perl-Coro to 5.26

    • Automatically load Coro::Channel, Coro::RWLock, Coro::Semaphore, Coro::SemaphoreSet, Coro::Signal and Coro::Specific on first "new" method call

    • Undocument Coro::Timer::sleep and obsolete whole module

    • Optimize Coro::Timer::timeout memory and CPU usage

    • Slightly updated Coro::Intro for recent changes

    • Do not initialise PL_dirty anymore

  • Updated perl-CPAN-Meta to 2.110440

    • The as_string() method now always returns a character string; previously, JSON strings were UTF-8 encoded

    • The save() method now always saves with UTF-8 encoding for Perl 5.8.1 or greater; previously, YAML was not encoded

    • Bump Parse::CPAN::Meta prereq to 1.44, as 1.43 was never released

  • Updated perl-Locale-Maketext-Lexicon to 0.85

    • Changed Locale::Maketext::Extract::Run to ignore:

      • .git/

      • Unix pipes
      • Binary files
  • Updated perl-Mail-IMAPClient to 3.27

    • CPAN RT#65694: Migrate fails

    • CPAN RT#65470: Uninitialized warning in message_to_file

    • CPAN RT#61835: (DOC) in LIST context undef may be returned, and warn/highlight behaviour in documentation Errors section

    • Updated documentation:
      • migrate() documentation fixed

      • Moved Custom Authentication Mechanisms toward end

      • Recommended use of scalar context due to historical API behaviour
  • Updated perl-Moose to 1.23

    • When reinitializing meta objects for classes and rôles, we failed to preserve rôles and rôle applications, which led to weird bugs
  • Updated perl-Perl-Critic to 1.113 (see Changes for details)

  • Updated perl-Test-CPAN-Meta to 0.18

    • Documentation clean up
  • Updated php-Smarty to 3.0.7 (mostly bug fixes, performance improvements and one security patch regarding arbitrary file access with security enabled)

  • Updated spamass-milter to 0.3.2 as per the Fedora version

Wednesday 16th February 2011

Fedora Project

  • Updated lat to filter broken dependencies created/exposed by rpm 4.9 in F-15 and Rawhide, and took the opportunity to update it to modern packaging standards, removing plenty of old cruft like the BuildRoot tag, buildroot cleaning and explicit dependencies on pkgconfig

Local Packages

Thursday 17th February 2011

Fedora Project

  • Updated trac-spamfilter-plugin for F-14 and F-13 (for trac 0.11.x) to include some fixes for the Bayes classifier:

    • It was incompatible with spambayes 1.1, which was recently pushed to F-14 (upstream fix in changeset/9885)

    • It would crash like this if the spammer didn't use valid UTF-8 text:
    •     Trac detected an internal error:
      
          ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory
          that can interpret 8-bit bytestrings (like text_factory = str). It is highly
          recommended that you instead just switch your application to Unicode strings.
    • I raised this upstream only to be told it was already fixed - for trac 0.12, which wasn't much help to me given that Fedora 13 and 14 will never be updated beyond 0.11.x, but I trawled through the svn revision log and found the fixes in changeset/9932 and changeset/9933, which worked fine when applied to the 0.11.x code

Local Packages

  • Updated dovecot to add a missing section to dovecot's systemd service file (fix pulled from Fedora)

  • Updated perl-Locale-Maketext-Lexicon to 0.86:

    • Bumped version because the META file was showing an old version number

  • Updated perl-NetAddr-IP to 4.039:

    • Correct documentation for 'split' methods

  • Updated perl-PPIx-Regexp to 0.018:

    • Take account of possible '$' or '@' casts before a symbol in an interpolation (e.g. $$foo{bar}, which is equivalent to $foo->{bar})

    • Override ppi() in PPIx::Regexp::Token::Interpolation to provide the proper PPI when variable names are bracketed

    • Properly parse bracketed variable names, which may not be subscripted

Friday 18th February 2011

Fedora Project

  • Updated perl-MIME-tools to 5.501:

    • Add build_requires 'Test::Deep'; to Makefile (CPAN RT#64659)

    • Fix spelling errors (CPAN RT#64610)

    • Fix double-decoding bug when decoding RFC-2231-encoded parameters (CPAN RT#65162)

    • Fix inappropriate inclusion of CR characters in parsed headers (CPAN RT#65681)

    • Document that MIME::WordDecoder is mostly deprecated

    • Document that MIME::Head->get(...) can include a trailing newline

    • Increase buffer size from 2kB to 8kB in MIME::Entity and MIME::Body (part of CPAN RT#65162)

Local Packages

  • Updated curl to 7.21.4:

    • CURLINFO_FTP_ENTRY_PATH now supports SFTP

    • Introduced new framework for unit-testing
    • ares: ask for both IPv4 and IPv6 addresses

    • SMTP: add brackets for MAIL FROM

    • multi: connect fail => use next IP address

    • Use the timeout when using multiple IP addresses similar to how the easy interface does it

    • cookies: tricked dotcounter fixed

    • pubkey_show: allocate buffer to fit any-size result

    • Curl_nss_connect: avoid PATH_MAX

    • Curl_do: avoid using stale conn pointer

    • tftpd test server: avoid buffer overflow report from glibc

    • nss: avoid CURLE_OUT_OF_MEMORY given a file name without any slash

    • nss: fix a bug in handling of CURLOPT_CAPATH

    • OpenSSL get_cert_chain: support larger data sets

    • SCP/SFTP transfers: acknowledge speedcheck
    • connect problem: use UDP correctly

    • OpenSSL: improved error message on SSL_CTX_new failures

    • HTTP: memory leak on multiple Location:

    • ares_query_completed_cb: don't touch invalid data

    • ares: memory leak fix

    • mk-ca-bundle: use new cacert URL

    • Curl_gmtime: added a portable gmtime and check for NULL

    • curl.1: typo in -v description

    • CURLOPT_SOCKOPTFUNCTION: return proper error code

    • --keepalive-time: warn if not supported properly

    • file: add support for CURLOPT_TIMECONDITION

    • nss: avoid memory leaks and failure of NSS shutdown

    • multi: fix CURLM_STATE_TOOFAST for multi_socket

  • I dropped the IPv6 patch for c-ares (ticket/2) as this issue should now be resolved properly in curl

  • Updated perl-File-Remove to 1.46:

    • Updated to Module::Install::DSL 1.00

    • Added a test to delete directories when the current working directory is inside the location to delete
    • Fixes for trash() with callbacks and on Mac

  • Updated perl-MIME-tools to 5.501 as per the Fedora package

Saturday 19th February 2011

Fedora Project

  • Became owner of perl-Devel-StackTrace in EPEL-4 and built version 1.22

  • Became owner of perl-Pod-Spell in EPEL-4 and built version 1.01

  • Updated perl-Devel-StackTrace in EPEL-5 from 1.20 to 1.22 to keep it in step with the EPEL-4 version

Sunday 20th February 2011

Local Packages

  • Updated perl-NetAddr-IP to 4.040:

    • Correction to use of Util.pm package lexicals

Monday 21st February 2011

Fedora Project

  • Updated perl-IO-Multiplex to 1.11 in Rawhide, F-15, F-14, F-13 and EL-6:

  • Built perl-Module-Metadata (1.000004) for F-14 now that perl(version) 0.88 is available

Local Packages

  • Updated perl-Coro to 5.37, adding a patch from Fedora to fix the syntax error (CPAN RT#65991):

    • Add a big "Coro thread life cycle" section to "man Coro"

    • Try a tentative workaround against the breakage that 5.13 has introduced without deprecation period
    • No longer use Time::HiRes if gettimeofday is available, which saves quite a lot of memory

  • Updated perl-IO-Multiplex to 1.11 as per the Fedora package

  • Updated perl-Module-CoreList to 2.45 (updated for 5.13.10)

Wednesday 23rd February 2011

Fedora Project

  • Updated bluefish to 2.0.3 in Rawhide, F-15, F-14, F-13 and EPEL-6

Local Packages

  • Updated bluefish to 2.0.3 as per the Fedora version, reinstating the Fedora 9 build as the unintended requirement of gtk2 2.14 or later as been fixed upstream, and it now builds with gtk2 2.12 on Fedora 9 again

  • Updated curl to not ignore failure of SSL handshake (upstream commit 7aa2d10)

  • Updated perl-Coro to 5.372, dropping the State.xs syntax error patch, which was applied upstream (CPAN RT#65991):

    • Backport to windows process emulation code again
    • Fix some portability issues with Time::HiRes

  • Updated perl-Moose to 1.24:

    • Reverse the order that Moose::Exporter 'also' exports are dispatched

  • Updated perl-Text-Glob to 0.09:

    • Compiled documentation fixes

ADSL Switch to PPPoE

My ADSL line is due to be upgraded to FTTC (Fibre To The Cabinet) early next month and this will entail replacing my existing Speedtouch 546v6 router. The Telco (BT) will supply a DSL modem with an ethernet port for the router to connect to using PPPoE. My ISP (PlusNet) is providing a suitable Netgear wireless router with an ethernet WAN port but I don't want to use that as my setup has a Linux server acting as combined firewall/Internet server/router for the home network, using the Speedtouch router in PPTP over PPPoA transparent bridging mode, which I set up in April 2009. So my plan was to use the Linux box in place of the Netgear router and use PPPoE rather than PPTP/PPPoA to connect out. To minimise downtime on upgrade day, I thought it would be a good idea to switch over to using this mode now and get it all working so that it would be plug and play when the big day came.

I converted the Speedtouch router over to PPPoE mode as follows:

  • Shut down current Internet connection
  • telnet to Speedtouch router

  • Log in as Administrator (the default password is empty)

  • Disable the previously-enabled PPTP service:

  • :service system modify name=PPTP state=disabled
  • Add an ATM interface and call it BrPPPoE_atm:

  • :atm ifadd intf=BrPPPoE_atm
  • Get this ATM interface to use my pre-existing ATM phonebook configuration ADSL_PlusNet:

  • :atm ifconfig intf=BrPPPoE_atm dest=ADSL_PlusNet ulp=mac
  • Attach and enable this new ATM interface:
  • :atm ifattach intf=BrPPPoE_atm
  • Add an ethernet bridge interface and call it BrPPPoE_br:

  • :eth bridge ifadd intf=BrPPPoE_br
  • Configure the bridge to forward packets between itself and the BrPPPoE_atm interface:

  • :eth bridge ifconfig intf=BrPPPoE_br dest=BrPPPoE_atm
  • Attach and enable this new ethernet bridge interface:
  • :eth bridge ifattach intf=BrPPPoE_br
  • Save the configuration to the router so that it will survive a cold reboot:
  • :saveall
  • Quit the router configuration session:
  • :exit

This process was based on Roy Sindre Norangshol's guide at http://www.roysindre.no/a/2010/11/30/speedtouch-bridge/

At the Linux router box end, I made the following changes to my /etc/ppp/peers/plusnet file:

  • Drop the lock option, which is only relevant to serial/pseudo-serial interfaces

  • Enable the PPPoE plugin (at the top of the file):
  • plugin rp-pppoe.so
  • Remove the pty "/usr/sbin/pptp 192.168.17.3 --nolaunchpppd" option that initiated the PPTP session and replace it with just eth0, the name of the WAN-side ethernet interface on the Linux router box

With that, my existing scripts were able to bring up and take down the Internet connection just as before.

Anybody setting this up from scratch might take a look at this post, which I found useful.

Thursday 24th February 2011

Fedora Project

  • Updated perl-IO-Multiplex to 1.12 in Rawhide, F-15, F-14 and F-13:

  • Normally I would have only pushed this update to Rawhide since it contains Windows-only fixes but since version 1.11 was still in the testing repositories and was only a few days old, I thought I might as well replace the 1.11 updates with 1.12 updates

Local Packages

  • Updated perl-CPAN-Meta to 2.110540:

    • In the presence of both 'requires' and 'build_requires', only include 'requires' to avoid confusing some installers

  • Updated perl-IO-Multiplex to 1.12 as per the Fedora version

  • Updated proftpd in svn to last night's CVS snapshot and try out an upstream patch to use the pcre regular expression implementation rather than the glibc one, which isn't safe with untrusted regexps (Bug #673040, upstream bug 3595, CVE-2010-4051, CVE-2010-4052)

Friday 25th February 2011

Fedora Project

  • Updated gnome-libs in Rawhide not to strip debug symbols from db1_dump, which not surprisingly breaks the debuginfo

  • Updated gtkwave to 3.3.20 in Rawhide and F-15:

    • Fixed uninitialized mat variable in compress_facility()

    • Added --slider-zoom option to gtkwave to enable experimental horizontal slider zoom feature with GTK2

    • Fix vcd2fst so it can handle zero-length VCD event variables in their declarations

Local Packages

  • Updated gnome-libs as per the Fedora version

  • Updated gtkwave as per the Fedora version

  • Updated moin to remove support for javascript: URLs in the rst parser (Bug #679523, CVE-2011-1058), update README-rpm for use with mod_wsgi and merge mod_fcgid configuration in from README.fastcgi, re-code wikiconfig.py as UTF-8, fix up wikiconfig.py and moin.wsgi to better match README-rpm examples, and finally, drop mod_fastcgi support scripts and documentation

  • Updated perl-CPAN-Meta to 2.110550:

    • Added required field 'release_status' to the synopsis of CPAN::Meta::Spec (CPAN RT#66118)

  • Updated perl-Test-Warn to 0.23:

    • Compatibility with Perl 5.14

Saturday 26th February 2011

Local Packages

  • Updated perl-Perl-MinimumVersion to 1.27:

    • Updated to Module::Install::DSL 1.00

    • Updated copyright year
    • Fix detection of binary numbers
    • Add check for variables added in 5.5
    • Correct detection of different cases of '...'

    • Detection of bareword that ends with double colon
  • Updated perl-PPI to 1.215:

    • index_locations on an empty document no longer warns

    • Corrected a bug in line-spanning attribute support
    • Regression test for line-spanning attribute support
    • return { foo => 1 } should parse curlys as hash constructor, not block (CPAN RT#61305)

    • Fixed bug with map and regexp confusing PPI (CPAN RT#63943)

    • Updated copyright year to 2011
    • Fix bless {} probably contains a hash constructor (CPAN RT#64247)

    • Backed out glob fix

    • Fix cast can trump braces in PPI::Token::Symbol->symbol (CPAN RT#65199)

Sunday 27th February 2011

Fedora Project

  • Updated bluefish in Rawhide, F-15, F-14, F-13 and EPEL-6 to fix highlighting of block delimiters (Bug #680626)

  • Built perl-CPAN-Meta-YAML (0.003) for EPEL-4 and EPEL-5 now that perl-Test-CPAN-Meta is available

  • Built perl-Perl-OSType (1.002) for EPEL-4 and EPEL-5 now that perl-Test-CPAN-Meta is available

Local Packages

  • Updated bluefish as per the Fedora version

Monday 28th February 2011

Fedora Project

  • Became owner of perl-Test-Spelling in EPEL-4; I'll do the build when perl-Pod-Spell comes out of testing early next month

Local Packages

  • Updated perl-CPAN-Meta to 2.110580:

    • Add explicit dependencies on JSON::PP and CPAN::Meta::YAML instead of relying on Parse::CPAN::Meta to provide them (as some CPAN Testers have had P::C::M installed without them somehow)

    • Removed dependency on Storable as it was not a core module until Perl 5.8

Previous Month: January 2011
Next Month: March 2011

Recent