Skip to contentSkip to conversation

infra/pkg-perl: use Backpan to get perl modules

PATCH New Yann E. MORIN 2 participants 3 messages Jun 23, 2014 – Jun 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 infra/pkg-perl: use Backpan to get perl modules

From: "Yann E. MORIN" <[email protected]>

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/
    [...]
---
 Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Config.in +1 -1
index bf1ca86..05f709d 100644
@@ -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
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 infra/pkg-perl: use Backpan to get perl modules

Quoted 32 lines · Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

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/
    [...]
---
 Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Config.in +0 -0
index bf1ca86..05f709d 100644

Config.in config BR2_LUAROCKS_MIRROR · line 248

Quoted 8 lines
Config.in +1 -1
@@ -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

Signature · 6 lines
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
#2 lore raw

PATCH 1/1 infra/pkg-perl: use Backpan to get perl modules

Arnout, All,

On 2014-06-24 07:15 +0200, Arnout Vandecappelle spake thusly:

Quoted 33 lines · Yann E. MORIN
Quoted 32 lines

From: "Yann E. MORIN" <[email protected]>

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/
    [...]
---
 Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Config.in +0 -0
index bf1ca86..05f709d 100644
@@ -242,7 +242,7 @@ config BR2_LUAROCKS_MIRROR
 
Quoted 12 lines

Config.in config BR2_LUAROCKS_MIRROR · line 248

Quoted 8 lines
Config.in +1 -1
 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.

Well, this is moot, since this patch has been rejected, after the comment by Fran?ois (as a reply to my earlier patch, see:
http://lists.busybox.net/pipermail/buildroot/2014-June/100038.html )

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'