[Buildroot] [git commit branch/2022.11.x] Config.in: update default CPAN mirror to https, update mirrors URL
Peter Korsgaard
peter at korsgaard.com
Wed Dec 21 19:41:51 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=b2addf40a1daa526bcdc9edf81916296b99ff22d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.11.x
The http site automatically redirects to the https variant, so let's
just use that as the default.
The mirror list URL http://search.cpan.org/mirror seems outdated
(re-directed to https://metacpan.org/mirrors aka 'Not Found - The
resource you requested could not be found.').
The closest matching URLs we found were:
https://www.cpan.org/SITES.html
http://mirrors.cpan.org/map.html
http://mirrors.cpan.org/
That last one has all the list, so we use that; the second is a world
map, so we also include it.
Sadly, neither of the mirrors list (table or map) are served as https;
they are only available as http...
Signed-off-by: Peter Seiderer <ps.report at gmx.net>
[yann.morin.1998 at free.fr:
- add a little blurb to explain http->https redirect
- update the mirror list URL, and...
- extend commit message with original explanations from Peter, and..
- notice that they are not served via https...
]
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit add21fd600b2db4dbb930e2e62b9fbb1b72cceb9)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Config.in b/Config.in
index 3c57c591a8..64604a0aed 100644
--- a/Config.in
+++ b/Config.in
@@ -287,14 +287,15 @@ config BR2_LUAROCKS_MIRROR
config BR2_CPAN_MIRROR
string "CPAN mirror (Perl packages)"
- default "http://cpan.metacpan.org"
+ default "https://cpan.metacpan.org"
help
CPAN (Comprehensive Perl Archive Network) is a repository of
Perl packages. It has multiple software mirrors scattered
around the world. This option allows you to select a mirror.
The list of mirrors is available at:
- http://search.cpan.org/mirror
+ http://mirrors.cpan.org/ (tabular)
+ http://mirrors.cpan.org/map.html (clickable world map)
endif
More information about the buildroot
mailing list