Author: ken
Date: Sat Nov 17 16:41:06 2018
New Revision: 20715

Log:
Patch Net::SSLeay so that its tests no-longer hang. Whether this is an 
improvement is debatable, because the tests for IO::Socket::SSL now hang.

Modified:
   trunk/BOOK/general/prog/perl-deps/perl-net-ssleay.xml
   trunk/BOOK/general/prog/perl-modules/perl-io-socket-ssl.xml
   trunk/BOOK/introduction/welcome/changelog.xml

Modified: trunk/BOOK/general/prog/perl-deps/perl-net-ssleay.xml
==============================================================================
--- trunk/BOOK/general/prog/perl-deps/perl-net-ssleay.xml       Sat Nov 17 
15:58:23 2018        (r20714)
+++ trunk/BOOK/general/prog/perl-deps/perl-net-ssleay.xml       Sat Nov 17 
16:41:06 2018        (r20715)
@@ -25,6 +25,16 @@
         Net::SSLeay is a PERL extension for using OpenSSL.
       </para>
 
+      <bridgehead renderas="sect4">Additional Download</bridgehead>
+      <itemizedlist spacing="compact">
+        <listitem>
+          <para>
+            Required patch:
+            <ulink 
url="&patch-root;/Net-SSLeay-&Net-SSLeay-version;-openssl_1.1.1-1.patch"/>
+          </para>
+        </listitem>
+      </itemizedlist>
+
       &lfs83_checked;
 
       <bridgehead renderas="sect4">Package Information</bridgehead>
@@ -46,11 +56,12 @@
     <sect3 role="installation">
       <title>Installation of Net::SSLeay</title>
 
-      <note>
-        <para>
-          The tests hang if you are using openssl-1.1.1.
-        </para>
-      </note>
+      <para>
+        First, apply a patch to allow the tests to complete with
+        <application>openssl-1.1.1</application>.
+      </para>
+
+<screen><userinput>patch -Np1 -i 
../Net-SSLeay-&Net-SSLeay-version;-openssl_1.1.1-1.patch</userinput></screen>
 
       <para>
         This module uses a variant of the standard build and installation

Modified: trunk/BOOK/general/prog/perl-modules/perl-io-socket-ssl.xml
==============================================================================
--- trunk/BOOK/general/prog/perl-modules/perl-io-socket-ssl.xml Sat Nov 17 
15:58:23 2018        (r20714)
+++ trunk/BOOK/general/prog/perl-modules/perl-io-socket-ssl.xml Sat Nov 17 
16:41:06 2018        (r20715)
@@ -59,7 +59,8 @@
 
       <note>
         <para>
-          The tests fail if you are using openssl-1.1.1.
+          The tests hang if you are using openssl-1.1.1.
+          Therefore, running them is at the moment not recommended.    
         </para>
       </note>
 
@@ -68,8 +69,10 @@
         instructions:
 
 <screen><userinput>yes | perl Makefile.PL &amp;&amp;
+make</userinput></screen>
+<!--
 make             &amp;&amp;
-make test</userinput></screen>
+make test</userinput></screen>-->
 
         Now, as the <systemitem class="username">root</systemitem> user:
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Sat Nov 17 15:58:23 
2018        (r20714)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Sat Nov 17 16:41:06 
2018        (r20715)
@@ -45,6 +45,12 @@
       <para>November 17th, 2018</para>
       <itemizedlist>
         <listitem>
+          <para>[ken] - Patch Net-SSLeay-1.85 so that its tests do not hang
+          with openssl-1.1.1. Unfortunately, this moves the hang to the tests 
of
+          IO-Socket-SSL-2.060. Fixes
+          <ulink url="&blfs-ticket-root;11209">#11209</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[ken] - Merge the perl modules branch. This separates the perl
           modules into those directly used by other packages in the book, and
           those which are only mentioned as dependencies of other modules.  For
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to