Author: ken Date: Wed Aug 22 18:43:06 2018 New Revision: 20380 Log: Proof of concept for changing the 'unversioned' or 'external' perl modules to known-good versions (with known dpeendencies) at metacpan. This only chjanges the iniital Note and the immediate deps for Archive::Zip and Business::ISBN. Comments welcome, this is small enough to revert if it is disliked.
Modified: trunk/BOOK/general/prog/perl-modules.xml trunk/BOOK/introduction/welcome/changelog.xml Modified: trunk/BOOK/general/prog/perl-modules.xml ============================================================================== --- trunk/BOOK/general/prog/perl-modules.xml Wed Aug 22 17:52:14 2018 (r20379) +++ trunk/BOOK/general/prog/perl-modules.xml Wed Aug 22 18:43:06 2018 (r20380) @@ -156,10 +156,7 @@ library, look at the comments in the code Also, for external modules where we link to CPAN without a current version, - prefer to use http://search.cpan.org/dist/Module-Name if that works, rather - than pointing to a maintainers home directory : the maintainer for a package - sometimes changes. Also, use '-' rather than '::' because '-' will go - directly to the page instead of providing a list of possible matches. + prefer to go to https://metacpan.org/, find the module and link to it. Where a dependency is used by multiple other modules on this page, but not by packages elsewhere in the book, promote it to a top-level entry so that it can @@ -212,10 +209,18 @@ <note> <para>For unversioned modules on this page, if you are building without - using the CPAN automated install you should check when the current version - was released. If it is recent you should review its 'Changes' and - 'Dependencies' links at http://search.cpan.org in case the dependencies - have altered.</para> + using the CPAN automated install then the links on this page should go to + "known good" versions, for which the dependencies are correct. If you wish + to use a later version, please check the Changes file at + https://metacpan.org - sometimes added dependencies are listed, other + times not. The BLFS editors only monitor such modules, and their + dependencies, irregularly. Some of these modules have very frequent + updates. The linked external versions below are known to build and work + with BLFS-8.3</para> + + <para>However, if you notice that the Changes file for a newer version + than is in the current development book reports a fix for a security issue, + please report this to either the blfs-dev or the blfs-support list.</para> </note> <!-- Archive::Zip --> @@ -244,11 +249,11 @@ <literallayout>&Archive-Zip-download-http; MD5 sum: &Archive-Zip-md5sum;</literallayout> <itemizedlist> - <listitem><literallayout><ulink url="http://search.cpan.org/dist/Test-MockModule/">Test::MockModule</ulink> - This uses the <xref linkend="perl-build-install"/> -(http://search.cpan.org/dist/Test-MockModule/)</literallayout> + <listitem><literallayout><ulink url="https://cpan.metacpan.org/authors/id/G/GF/GFRANKS/Test-MockModule-0.15.tar.gz">Test::MockModule</ulink> - This uses the <xref linkend="perl-build-install"/> +(https://cpan.metacpan.org/authors/id/G/GF/GFRANKS/Test-MockModule-0.15.tar.gz)</literallayout> <itemizedlist> - <listitem> <literallayout><ulink url="http://search.cpan.org/dist/SUPER/">SUPER</ulink> -(http://search.cpan.org/dist/SUPER/) (for the testsuite)</literallayout> + <listitem> <literallayout><ulink url="https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/SUPER-1.20141117.tar.gz">SUPER</ulink> +(https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/SUPER-1.20141117.tar.gz) (for the testsuite)</literallayout> <itemizedlist> <listitem> <para> @@ -322,11 +327,11 @@ <literallayout>&Business-ISBN-download-http; MD5 sum: &Business-ISBN-md5sum;</literallayout> <itemizedlist> - <listitem><literallayout><ulink url="http://search.cpan.org/dist/Business-ISBN-Data/">Business::ISBN::Data</ulink> -(http://search.cpan.org/dist/Business-ISBN-Data/)</literallayout> + <listitem><literallayout><ulink url="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-20140910.003.tar.gz">Business::ISBN::Data</ulink> +(https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-20140910.003.tar.gz)</literallayout> </listitem> - <listitem><literallayout><ulink url="http://search.cpan.org/dist/Mojolicious/">Mojolicious</ulink> -(http://search.cpan.org/dist/Mojolicious/)</literallayout> + <listitem><literallayout><ulink url="https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-7.93.tar.gz">Mojolicious</ulink> +(https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-7.93.tar.gz)</literallayout> </listitem> </itemizedlist> </listitem> Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Wed Aug 22 17:52:14 2018 (r20379) +++ trunk/BOOK/introduction/welcome/changelog.xml Wed Aug 22 18:43:06 2018 (r20380) @@ -45,6 +45,11 @@ <para>August 23nd, 2018</para> <itemizedlist> <listitem> + <para>[ken] - external perl modules: initial changes to point + to metacpan.org instead of search.cpan.org. Addresses + <ulink url="&blfs-ticket-root;10869">#10869</ulink>.</para> + </listitem> + <listitem> <para>[thomas] - Update to mousepad-0.4.1. Fixes <ulink url="&blfs-ticket-root;10843">#10843</ulink>.</para> </listitem> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page