glfs/general/prog/perl-modules/perl-lwp-protocol-https.xml
2023-08-17 12:39:01 -05:00

92 lines
3.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../../general.ent">
%general-entities;
<!ENTITY my-download-http "&perl_authors;/id/O/OA/OALDERS/LWP-Protocol-https-&LWP-Protocol-https-version;.tar.gz">
<!ENTITY my-md5sum "6615a250c8963a2333ea6d0fbbec306b">
]>
<!-- Begin LWP::Protocol::https -->
<sect2 id="perl-lwp-protocol-https" xreflabel="LWP-Protocol-https-&LWP-Protocol-https-version;">
<title>LWP::Protocol::https-&LWP-Protocol-https-version;</title>
<indexterm zone="perl-lwp-protocol-https">
<primary sortas="a-LWP-Protocol-https">LWP::Protocol::https</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to LWP::Protocol::https</title>
<para>
LWP::Protocol::https provides https support for LWP::UserAgent (i.e.
<xref linkend="perl-libwww-perl"/>). Once the module is installed
LWP is able to access sites using HTTP over SSL/TLS.
</para>
&lfs120_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&my-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &my-md5sum;
</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect4">Additional Download</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/LWP-Protocol-https-&LWP-Protocol-https-version;-system_certs-2.patch"/>
</para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect4">LWP::Protocol::https Dependencies</bridgehead>
<bridgehead renderas="sect5">Required</bridgehead>
<para role="required">
<xref linkend="perl-io-socket-ssl"/>,
<!-- perl-io-socket-ssl pulls in perl-net-ssleay -->
<xref linkend="perl-libwww-perl"/> and
<!-- perl-libwww-perl pulls in perl-net-https -->
<xref linkend="make-ca"/> with
<literal>/etc/pki/tls/certs/ca-bundle.crt</literal>.
</para>
</sect3>
<sect3 role="installation">
<title>Installation of LWP::Protocol::https</title>
<!-- Applied upstream in 6.11
<para>
First, apply a patch to use the system certificates (using the CPAN
automated install will instead use <ulink
url="https://metacpan.org/pod/Mozilla::CA">Mozilla::CA</ulink> which
is usually not up to date and does not use local certificates).
</para>
<screen><userinput>patch -Np1 -i ../LWP-Protocol-https-&LWP-Protocol-https-version;-system_certs-2.patch</userinput></screen>
-->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../../xincludes/perl-standard-install.xml"/>
</sect3>
</sect2>