[Buildroot] [PATCH] infra/pkg-perl: use Backpan to get perl modules

Arnout Vandecappelle arnout at mind.be
Tue Jun 24 05:15:48 UTC 2014


On 23/06/14 19:42, Yann E. MORIN wrote:
> From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> 
> Old versions of some perl modules are aggressively pruned by their
> authors, up to the point that only the latest version is available
> for some modules.
> 
> OF course, that does not play very well for us, since we'd soon trip
> on missing upstream versions.
> 
> As suggested br François, switch over to using Backpan, that provides
> all the versions (including current ones) of all the modules for an
> apparently unlimited time (there are modules dating back 2005, at
> least.)
> 
> Fixes:
>     http://autobuild.buildroot.net/results/a95/a95064fbffc35d16e78dbb1e73c5bbfc262b8338/
>     http://autobuild.buildroot.net/results/81c/81c00bd737ec37b7b44c1c3a4e1ca29b6d1281d2/
>     http://autobuild.buildroot.net/results/5ce/5cebc74580c8a34bb63d82a7591269c9403e95af/
>     [...]
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: François Perrad <francois.perrad at gadz.org>
> ---
>  Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Config.in b/Config.in
> index bf1ca86..05f709d 100644
> --- a/Config.in
> +++ b/Config.in
> @@ -242,7 +242,7 @@ config BR2_LUAROCKS_MIRROR
>  
>  config BR2_CPAN_MIRROR
>  	string "CPAN mirror (Perl packages)"
> -	default "http://search.cpan.org/CPAN"
> +	default "http://backpan.perl.org/"
>  	help
>  	  CPAN (Comprehensive Perl Archive Network) is a repository
>  	  of Perl packages. It has multiple software mirrors scattered
> 

 I think it would be good to add the backpan explanation to the help text here.
Otherwise, people may just configure a local CPAN mirror without understanding
the consequences.

 Regards,
 Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F



More information about the buildroot mailing list