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

Yann E. MORIN yann.morin.1998 at free.fr
Mon Jun 23 17:42:21 UTC 2014


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
-- 
1.8.3.2



More information about the buildroot mailing list