I've playing with some perl modules a few days, and found some obsolete information in cpan.port.mk and port-modules.5.
"http://search.cpan.org/dist/" should be now "https://metacpan.org/release/" (all accesses are redirected now...) reference: Saying Goodbye to search.cpan.org (Jun 26, 2018 by Olaf Alders) https://www.perl.com/article/saying-goodbye-to-search-cpan-org/ I suppose cpan.port.mk and port-modules.5 should be updated. anyone please confirm the following diff? Index: infrastructure/mk/cpan.port.mk =================================================================== RCS file: /cvs/ports/infrastructure/mk/cpan.port.mk,v retrieving revision 1.21 diff -u -p -r1.21 cpan.port.mk --- infrastructure/mk/cpan.port.mk 4 Feb 2019 20:53:09 -0000 1.21 +++ infrastructure/mk/cpan.port.mk 21 Jun 2020 17:53:40 -0000 @@ -7,7 +7,7 @@ MASTER_SITES ?= ${MASTER_SITE_PERL_CPAN: MASTER_SITES ?= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/${CPAN_AUTHOR:C/^(.).*/\1/}/${CPAN_AUTHOR:C/^(..).*/\1/}/${CPAN_AUTHOR}/} .endif -HOMEPAGE ?= http://search.cpan.org/dist/${DISTNAME:C/-[^-]*$//}/ +HOMEPAGE ?= https://metacpan.org/release/${DISTNAME:C/-[^-]*$//}/ CATEGORIES += perl5 .if ! ${CONFIGURE_STYLE:L:Mperl} Index: share/man/man5/port-modules.5 =================================================================== RCS file: /cvs/src/share/man/man5/port-modules.5,v retrieving revision 1.243 diff -u -p -r1.243 port-modules.5 --- share/man/man5/port-modules.5 26 Jan 2020 11:11:39 -0000 1.243 +++ share/man/man5/port-modules.5 21 Jun 2020 17:46:09 -0000 @@ -429,7 +429,7 @@ to locate the right directory. If no .Ev HOMEPAGE is defined, it will default to -.Pa http://search.cpan.org/dist/${DISTNAME:C/-[^-]*$//}/ +.Pa https://metacpan.org/release/${DISTNAME:C/-[^-]*$//}/ .Pp User settings: set .Ev CPAN_REPORT -- yozo.