diff mbox series

Change CPAN_MIRROR to the address where it resolves.

Message ID 20251212115111.9187-1-schonm@gmail.com
State New
Headers show
Series Change CPAN_MIRROR to the address where it resolves. | expand

Commit Message

Jason Schonberg Dec. 12, 2025, 11:51 a.m. UTC
"https://search.cpan.org/CPAN"  -->  "https://cpan.metacpan.org"

  Update other locations that reference search.cpan.org as appropriate.

    https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html

Signed-off-by: Jason Schonberg <schonm@gmail.com>
---
 meta/conf/bitbake.conf                                  | 2 +-
 meta/recipes-devtools/perl/libxml-perl_0.08.bb          | 2 +-
 meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb   | 2 +-
 meta/recipes-extended/perl/libconvert-asn1-perl_0.34.bb | 4 ++--
 meta/recipes-extended/perl/libtimedate-perl_2.30.bb     | 2 +-
 meta/recipes-extended/perl/libxml-sax-base-perl_1.09.bb | 4 ++--
 meta/recipes-extended/perl/libxml-sax-perl_1.02.bb      | 4 ++--
 7 files changed, 10 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 729f92fcdb..88f4d0df69 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -693,7 +693,7 @@  BBLAYERS_FETCH_DIR ??= "${COREBASE}"
 ##################################################################
 
 APACHE_MIRROR = "https://archive.apache.org/dist"
-CPAN_MIRROR = "https://search.cpan.org/CPAN"
+CPAN_MIRROR = "https://cpan.metacpan.org"
 DEBIAN_MIRROR = "http://deb.debian.org/debian/pool"
 GENTOO_MIRROR = "http://distfiles.gentoo.org/distfiles"
 GNOME_GIT = "git://gitlab.gnome.org/GNOME"
diff --git a/meta/recipes-devtools/perl/libxml-perl_0.08.bb b/meta/recipes-devtools/perl/libxml-perl_0.08.bb
index 21c02c19ff..728b606ed2 100644
--- a/meta/recipes-devtools/perl/libxml-perl_0.08.bb
+++ b/meta/recipes-devtools/perl/libxml-perl_0.08.bb
@@ -2,7 +2,7 @@  DESCRIPTION = "libxml-perl is a collection of smaller Perl modules, scripts, and
 documents for working with XML in Perl.  libxml-perl software \
 works in combination with XML::Parser, PerlSAX, XML::DOM, \
 XML::Grove and others."
-HOMEPAGE = "http://search.cpan.org/dist/libxml-perl/"
+HOMEPAGE = "https://metacpan.org/dist/libxml-perl/"
 SUMMARY = "Collection of Perl modules for working with XML"
 SECTION = "libs"
 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
diff --git a/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb b/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb
index a4f08433e7..f5fd2d3f0e 100644
--- a/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb
+++ b/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb
@@ -4,7 +4,7 @@  on top of an underlying XML parsing module to maintain XML files \
 (especially configuration files). It is a blunt rewrite of XML::Simple \
 (by Grant McLean) to use the XML::LibXML parser for XML structures, \
 where the original uses plain Perl or SAX parsers."
-HOMEPAGE = "http://search.cpan.org/~markov/XML-LibXML-Simple-0.93/lib/XML/LibXML/Simple.pod"
+HOMEPAGE = "https://metacpan.org/release/MARKOV/XML-LibXML-Simple-0.93/view/lib/XML/LibXML/Simple.pod"
 SECTION = "libs"
 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=cf206df8c9fe775f1d4c484386491eac"
diff --git a/meta/recipes-extended/perl/libconvert-asn1-perl_0.34.bb b/meta/recipes-extended/perl/libconvert-asn1-perl_0.34.bb
index 7e167d6e67..c1d83139d7 100644
--- a/meta/recipes-extended/perl/libconvert-asn1-perl_0.34.bb
+++ b/meta/recipes-extended/perl/libconvert-asn1-perl_0.34.bb
@@ -1,11 +1,11 @@ 
 SUMMARY = "Convert::ASN1 - Perl ASN.1 Encode/Decode library"
 SECTION = "libs"
-HOMEPAGE = "http://search.cpan.org/dist/Convert-ASN1/"
+HOMEPAGE = "https://metacpan.org/dist/Convert-ASN1/"
 DESCRIPTION = "Convert::ASN1 is a perl library for encoding/decoding data using ASN.1 definitions."
 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
 LIC_FILES_CHKSUM = "file://README.md;beginline=91;endline=97;md5=ceff7fd286eb6d8e8e0d3d23e096a63f"
 
-SRC_URI = "https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Convert-ASN1-${PV}.tar.gz"
+SRC_URI = "${CPAN_MIRROR}/authors/id/T/TI/TIMLEGGE/Convert-ASN1-${PV}.tar.gz"
 
 SRC_URI[sha256sum] = "a628d7c9d390568fb76359975fa03f626ce57f10dc17980e8e3587d7713e4ee7"
 
diff --git a/meta/recipes-extended/perl/libtimedate-perl_2.30.bb b/meta/recipes-extended/perl/libtimedate-perl_2.30.bb
index 7f9f40d996..590b5bd0b8 100644
--- a/meta/recipes-extended/perl/libtimedate-perl_2.30.bb
+++ b/meta/recipes-extended/perl/libtimedate-perl_2.30.bb
@@ -6,7 +6,7 @@  SECTION = "libs"
 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
 LIC_FILES_CHKSUM = "file://README;beginline=21;md5=576b7cb41e5e821501a01ed66f0f9d9e"
 
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/TimeDate-${PV}.tar.gz"
+SRC_URI = "${CPAN_MIRROR}/authors/id/G/GB/GBARR/TimeDate-${PV}.tar.gz"
 
 S = "${UNPACKDIR}/TimeDate-${PV}"
 
diff --git a/meta/recipes-extended/perl/libxml-sax-base-perl_1.09.bb b/meta/recipes-extended/perl/libxml-sax-base-perl_1.09.bb
index 8d97e95e83..a4b4116973 100644
--- a/meta/recipes-extended/perl/libxml-sax-base-perl_1.09.bb
+++ b/meta/recipes-extended/perl/libxml-sax-base-perl_1.09.bb
@@ -1,5 +1,5 @@ 
 SUMMARY = "Base class SAX Drivers and Filters"
-HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Base/"
+HOMEPAGE = "https://metacpan.org/dist/XML-SAX-Base/"
 DESCRIPTION = "This module has a very simple task - to be a base class for \
 PerlSAX drivers and filters. It's default behaviour is to pass \
 the input directly to the output unchanged. It can be useful to \
@@ -12,7 +12,7 @@  RDEPENDS:${PN} += "perl-module-extutils-makemaker"
 
 LIC_FILES_CHKSUM = "file://dist.ini;endline=5;md5=8f9c9a55340aefaee6e9704c88466446"
 
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-Base-${PV}.tar.gz"
+SRC_URI = "${CPAN_MIRROR}/authors/id/G/GR/GRANTM/XML-SAX-Base-${PV}.tar.gz"
 
 SRC_URI[sha256sum] = "66cb355ba4ef47c10ca738bd35999723644386ac853abbeb5132841f5e8a2ad0"
 
diff --git a/meta/recipes-extended/perl/libxml-sax-perl_1.02.bb b/meta/recipes-extended/perl/libxml-sax-perl_1.02.bb
index 67bdac981d..5f982a4c4c 100644
--- a/meta/recipes-extended/perl/libxml-sax-perl_1.02.bb
+++ b/meta/recipes-extended/perl/libxml-sax-perl_1.02.bb
@@ -1,5 +1,5 @@ 
 SUMMARY = "Perl module for using and building Perl SAX2 XML processors"
-HOMEPAGE = "http://search.cpan.org/dist/XML-SAX/"
+HOMEPAGE = "https://metacpan.org/dist/XML-SAX"
 DESCRIPTION = "XML::SAX consists of several framework classes for using and \
 building Perl SAX2 XML parsers, filters, and drivers.  It is designed \ 
 around the need to be able to "plug in" different SAX parsers to an \
@@ -15,7 +15,7 @@  RDEPENDS:${PN} += "libxml-namespacesupport-perl libxml-sax-base-perl perl-module
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=65c4cd8f39c24c7135ed70dacbcb09e3"
 
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-${PV}.tar.gz"
+SRC_URI = "${CPAN_MIRROR}/authors/id/G/GR/GRANTM/XML-SAX-${PV}.tar.gz"
 
 SRC_URI[sha256sum] = "4506c387043aa6a77b455f00f57409f3720aa7e553495ab2535263b4ed1ea12a"