Upgrade 8.2 -> 9.4 breaks cpan?

Don Lee <[email protected]> Sat, 16 Nov 2024 23:27:12 -0600
Newsgroups gmane.os.netbsd.ports.macppc,gmane.os.netbsd.general
Message-ID <[email protected]>
Hi,

I finally bit the bullet and upgraded my rock solid 8.2 NetBSD-macppc =
system to NetBSD 9.4 largely to get support for the many pkgsrc =
packages. Unfortunatly, I now have a new problem.

If I run cpan (perl-5.38.2) and try to install (or upgrade) a pod, =
HTTP::Tiny fails to connect to cpan.org, complaining about the SSL =
certificate being bad. It appears that this is not actually an SSL =
problem with CPAN because my other NetBSD systems can connect correctly.

I have found a workaround by changing Client.pm =
("./perl5/site_perl/5.38.0/CPAN/HTTP/Client.pm=E2=80=9D) at line 35 from=20=


verify_SSL =3D> 1,
to
verify_SSL =3D> 0,

This works, but is a local change I=E2=80=99d like to remove.

I upgraded directly from 8.2 to 9.4, but it may be that the break =
happened at 9.1 or 9.3. I plan o test 9.1, 9.2, etc, and report back at =
what point does the SSL stop working in cpan.

Ideas?

-dgl-