Bug#543910: perl: CPANPLUS config file change may lose local configuration on upgrades

Niko Tyni ntyni at debian.org
Mon Aug 31 06:45:37 UTC 2009


tag 543910 patch
thanks

On Thu, Aug 27, 2009 at 03:03:58PM +0300, Niko Tyni wrote:
> Package: perl
> Version: 5.10.0-24
> Severity: important
> 
> The CPANPLUS configuration changes introduced in 5.10.0-24 (see #533707)
> may lose local configuration on upgrades if root has done a 's save system'
> in the cpanp shell on earlier versions.
> 
> The settings used to be saved to
> /usr/share/perl/5.10/CPANPLUS/Config/System.pm but this file is shipped
> in perl-modules from 5.10.0-24 onwards, overwriting the saved settings.

Here's the patch I intend to put in 5.10.1-1. Comments welcome.

The issue is much less serious when upgrading to 5.10.1 because the local
configuration is left dangling in /usr/share/5.10.0 while everything
else moves to /usr/share/5.10.1. Nevertheless, I think it's worth fixing.

This patch should also work with a possible stable update as it doesn't
care about the package versions, just the file content.
-- 
Niko Tyni   ntyni at debian.org


More information about the Perl-maintainers mailing list