Author: dj
Date: Sat Jun  3 15:32:28 2017
New Revision: 18783

Log:
Update to OpenSSL-1.1.0f. Fixes #8214.
Update to OpenSSL Libraries 1.0.2l. Fixes #9282.
Remove Re-alpine and raplaced with Alpine-2.21.

Added:
   trunk/BOOK/archive/re-alpine.xml
      - copied unchanged from r18782, 
trunk/BOOK/networking/mailnews/re-alpine.xml
   trunk/BOOK/networking/mailnews/alpine.xml   (contents, props changed)
   trunk/BOOK/postlfs/security/openssl10.xml   (contents, props changed)
Deleted:
   trunk/BOOK/networking/mailnews/re-alpine.xml
Modified:
   trunk/BOOK/general/genlib/apr-util.xml
   trunk/BOOK/general/genlib/libesmtp.xml
   trunk/BOOK/general/genlib/nodejs.xml
   trunk/BOOK/general/genlib/ptlib.xml
   trunk/BOOK/general/genlib/qca.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/videoutils/mplayer.xml
   trunk/BOOK/networking/mailnews/fetchmail.xml
   trunk/BOOK/networking/mailnews/mailnews.xml
   trunk/BOOK/networking/mailnews/mailx.xml
   trunk/BOOK/networking/netprogs/samba.xml
   trunk/BOOK/networking/textweb/w3m.xml
   trunk/BOOK/packages.ent
   trunk/BOOK/postlfs/editors/others.xml
   trunk/BOOK/postlfs/security/cyrus-sasl.xml
   trunk/BOOK/postlfs/security/liboauth.xml
   trunk/BOOK/postlfs/security/openssh.xml
   trunk/BOOK/postlfs/security/openssl.xml   (contents, props changed)
   trunk/BOOK/postlfs/security/security.xml
   trunk/BOOK/server/databases/mariadb.xml
   trunk/BOOK/server/mail/sendmail.xml
   trunk/BOOK/server/major/apache.xml
   trunk/BOOK/server/major/bind.xml
   trunk/BOOK/server/other/openldap.xml
   trunk/BOOK/x/lib/qt5.xml
   trunk/BOOK/xsoft/other/balsa.xml
   trunk/BOOK/xsoft/other/transmission.xml

Copied: trunk/BOOK/archive/re-alpine.xml (from r18782, 
trunk/BOOK/networking/mailnews/re-alpine.xml)
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/archive/re-alpine.xml    Sat Jun  3 15:32:28 2017        
(r18783, copy of r18782, trunk/BOOK/networking/mailnews/re-alpine.xml)
@@ -0,0 +1,221 @@
+<?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 re-alpine-download-http 
"&sourceforge-repo2;/projects/re-alpine/files/re-alpine-&re-alpine-version;.tar.bz2">
+  <!ENTITY re-alpine-download-ftp  " ">
+  <!ENTITY re-alpine-md5sum        "566d269d4bd43aba68f377110a6295d5">
+  <!ENTITY re-alpine-size          "5.1 MB">
+  <!ENTITY re-alpine-buildsize     "122 MB">
+  <!ENTITY re-alpine-time          "1.0 SBU">
+]>
+
+<sect1 id="re-alpine" xreflabel="Re-alpine-&re-alpine-version;">
+  <?dbhtml filename="re-alpine.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>Re-alpine-&re-alpine-version;</title>
+
+  <indexterm zone="re-alpine">
+    <primary sortas="a-re-alpine">re-alpine</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to Re-alpine</title>
+
+    <para><application>Re-alpine</application> is the continuation of Alpine;
+    a text-based email client developed by the University of Washington.</para>
+
+    &lfs80_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing='compact'>
+      <listitem>
+        <para>Download (HTTP): <ulink url="&re-alpine-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&re-alpine-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &re-alpine-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &re-alpine-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &re-alpine-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &re-alpine-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Re-alpine Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+    <xref linkend="openssl"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+    <xref linkend="openldap"/>,
+    <xref linkend="mitkrb"/>,
+    <xref linkend="aspell"/>,
+    <xref linkend="tcl"/>, and
+    <xref linkend="linux-pam"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/re-alpine"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Re-alpine</title>
+
+    <para>Install <application>Re-alpine</application> by running the following
+    commands:</para>
+
+<screen><userinput>./configure --prefix=/usr       \
+            --sysconfdir=/etc   \
+            --without-ldap      \
+            --without-krb5      \
+            --with-ssl-dir=/usr \
+            --with-passfile=.pine-passfile &amp;&amp;
+make</userinput></screen>
+
+    <para>This package does not come with a test suite.</para>
+
+    <para>Now, as the <systemitem class="username">root</systemitem> 
user:</para>
+
+<screen role='root'><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para><parameter>--without-ldap</parameter>: Disables LDAP support.</para>
+
+    <para><parameter>--without-krb5</parameter>: Disables Kerberos 
support.</para>
+
+    <para><parameter>--with-ssl-dir=/usr</parameter>: Sets the root path to
+    OpenSSL libraries and include files.</para>
+
+    <para><parameter>--with-passfile=.pine-passfile</parameter>: Sets the
+    password cache file.</para>
+
+    <para><option>--without-ssl</option>: Disables OpenSSL support.</para>
+
+  </sect2>
+
+  <sect2 role="configuration">
+    <title>Configuring Re-alpine</title>
+
+    <sect3 id="re-alpine-config">
+      <title>Config Files</title>
+
+      <para><filename>~/.pinerc</filename></para>
+
+      <indexterm zone="re-alpine re-alpine-config">
+        <primary sortas="e-AA.pinerc">~/.pinerc</primary>
+      </indexterm>
+
+    </sect3>
+
+    <sect3>
+      <title>Configuration Information</title>
+
+      <para>It is not required to manually edit any configuration files to use
+      the <application>Alpine</application> email client. Users can configure
+      <application>Alpine</application> using the graphical configuration menu,
+      which stores the changes in <filename>~/.pinerc</filename>.</para>
+
+    </sect3>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>alpine, pico, pilot, rpdump, and rpload</seg>
+        <seg>none</seg>
+        <seg>none</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="alpine">
+        <term><command>alpine</command></term>
+        <listitem>
+          <para>is the Alpine mailer.</para>
+          <indexterm zone="re-alpine alpine">
+            <primary sortas="b-alpine">alpine</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="pico">
+        <term><command>pico</command></term>
+        <listitem>
+          <para>is a standalone text editor similar to the Alpine message 
composer.</para>
+          <indexterm zone="re-alpine pico">
+            <primary sortas="b-pico">pico</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="pilot">
+        <term><command>pilot</command></term>
+        <listitem>
+          <para>is a standalone file system navigator.</para>
+          <indexterm zone="re-alpine pilot">
+            <primary sortas="b-pilot">pilot</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="rpdump">
+        <term><command>rpdump</command></term>
+        <listitem>
+          <para>is a utility for downloading a pinerc or address book to the
+          local machine.</para>
+          <indexterm zone="re-alpine rpdump">
+            <primary sortas="b-rpdump">rpdump</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="rpload">
+        <term><command>rpload</command></term>
+        <listitem>
+          <para> is a utility for uploading a local pinerc or address book to
+          an IMAP server.</para>
+          <indexterm zone="re-alpine rpload">
+            <primary sortas="b-rpload">rpload</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/general/genlib/apr-util.xml
==============================================================================
--- trunk/BOOK/general/genlib/apr-util.xml      Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/general/genlib/apr-util.xml      Sat Jun  3 15:32:28 2017        
(r18783)
@@ -73,6 +73,13 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: <ulink 
url="&patch-root;/apr-util-&apr-util-version;-openssl-1.1.0-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Apr Util Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -109,7 +116,8 @@
       commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr       \
+<screen><userinput>patch -Np1 -i 
../apr-util-&apr-util-version;-openssl-1.1.0-1.patch &amp;&amp;
+./configure --prefix=/usr       \
             --with-apr=/usr     \
             --with-gdbm=/usr    \
             --with-openssl=/usr \

Modified: trunk/BOOK/general/genlib/libesmtp.xml
==============================================================================
--- trunk/BOOK/general/genlib/libesmtp.xml      Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/general/genlib/libesmtp.xml      Sat Jun  3 15:32:28 2017        
(r18783)
@@ -72,6 +72,11 @@
   <sect2 role="installation">
     <title>Installation of libESMTP</title>
 
+    <para>Fix a build issue with OpenSSL-1.1.0:</para>
+
+<screen><userinput>sed 's@SSL_library_init@SSL_new@g' -i configure.ac 
&amp;&amp;
+autoreconf -fi</userinput></screen>
+
     <para>Install <application>libESMTP</application> by running the following
     commands:</para>
 

Modified: trunk/BOOK/general/genlib/nodejs.xml
==============================================================================
--- trunk/BOOK/general/genlib/nodejs.xml        Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/general/genlib/nodejs.xml        Sat Jun  3 15:32:28 2017        
(r18783)
@@ -107,7 +107,7 @@
     <para role="recommended">
       <xref linkend="c-ares"/>,
       <xref linkend="icu"/>, and
-      <xref linkend="openssl"/>
+      <xref linkend="openssl10"/>
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
@@ -138,11 +138,12 @@
       commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr          \
-            --shared-cares         \
-            --shared-openssl       \
-            --shared-zlib          \
-            --with-intl=system-icu &amp;&amp;
+<screen><userinput>PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig \
+    ./configure --prefix=/usr                  \
+                --shared-cares                 \
+                --shared-openssl               \
+                --shared-zlib                  \
+                --with-intl=system-icu         &amp;&amp;
 make</userinput></screen>
 
     <para>This package does not come with a test suite.</para>

Modified: trunk/BOOK/general/genlib/ptlib.xml
==============================================================================
--- trunk/BOOK/general/genlib/ptlib.xml Sat Jun  3 14:56:28 2017        (r18782)
+++ trunk/BOOK/general/genlib/ptlib.xml Sat Jun  3 15:32:28 2017        (r18783)
@@ -81,6 +81,12 @@
           <ulink url="&patch-root;/ptlib-&ptlib-version;-bison_fixes-2.patch"/>
         </para>
       </listitem>
+      <listitem>
+        <para>
+          Required patch:
+          <ulink 
url="&patch-root;/ptlib-&ptlib-version;-openssl-1.1.0-1.patch"/>
+        </para>
+      </listitem>
     </itemizedlist>
 
     <bridgehead renderas="sect3">Ptlib Dependencies</bridgehead>
@@ -124,7 +130,8 @@
       commands:
     </para>
 
-<screen><userinput>patch -Np1 -i ../ptlib-&ptlib-version;-bison_fixes-2.patch 
&amp;&amp;
+<screen><userinput>patch -Np1 -i 
../ptlib-&ptlib-version;-openssl-1.1.0-1.patch &amp;&amp;
+patch -Np1 -i ../ptlib-&ptlib-version;-bison_fixes-2.patch &amp;&amp;
 
 ./configure --prefix=/usr &amp;&amp;
 make</userinput></screen>

Modified: trunk/BOOK/general/genlib/qca.xml
==============================================================================
--- trunk/BOOK/general/genlib/qca.xml   Sat Jun  3 14:56:28 2017        (r18782)
+++ trunk/BOOK/general/genlib/qca.xml   Sat Jun  3 15:32:28 2017        (r18783)
@@ -76,7 +76,7 @@
     <xref linkend="libgpg-error"/>,
     <xref linkend="nss"/>,
     <xref linkend="nspr"/>,
-    <xref linkend="openssl"/>,
+    <xref linkend="openssl10"/>,
     <xref linkend="p11-kit"/>,
     <xref linkend="doxygen"/>, and
     <xref linkend="which"/>
@@ -104,10 +104,13 @@
 <screen><userinput>mkdir build &amp;&amp;
 cd    build &amp;&amp;
 
-cmake -DCMAKE_INSTALL_PREFIX=$QT5DIR            \
-      -DCMAKE_BUILD_TYPE=Release                \
-      -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
-      ..                                        &amp;&amp;
+cmake -DCMAKE_INSTALL_PREFIX=$QT5DIR                             \
+      -DCMAKE_BUILD_TYPE=Release                                 \
+      -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man                  \
+      -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0             \
+      -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so       \
+      -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so \
+      ..                                                         &amp;&amp;
 
 make</userinput></screen>
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Sat Jun  3 14:56:28 
2017        (r18782)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Sat Jun  3 15:32:28 
2017        (r18783)
@@ -45,6 +45,19 @@
       <para>June 3rd, 2017</para>
       <itemizedlist>
         <listitem>
+          <para>[dj] - Update to OpenSSL-1.1.0f. Fixes
+          <ulink url="&blfs-ticket-root;8214">#8214</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[dj] - Add OpenSSL-1.0 Libraries for compatibility with
+          programs not yet patched for OpenSSL-1.1.0 and udpate to
+          OpenSSL-1.0.2l. Fixes <ulink
+          url="&blfs-ticket-root;9282">#9282</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[dj] - Remove Re-alpine and replace with Alpine-2.21.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Update to fontconfig-2.12.3. Fixes
           <ulink url="&blfs-ticket-root;9302">#9302</ulink>.</para>
         </listitem>
@@ -65,8 +78,8 @@
           <ulink url="&blfs-ticket-root;9268">#9268</ulink>.</para>
         </listitem>
         <listitem>
-          <para>[bdubbs] - Update to Regexp-Common-2017060201 (Perl Module). 
Fixes
-          <ulink url="&blfs-ticket-root;9314">#9314</ulink>.</para>
+          <para>[bdubbs] - Update to Regexp-Common-2017060201 (Perl Module).
+          Fixes <ulink url="&blfs-ticket-root;9314">#9314</ulink>.</para>
         </listitem>
         <listitem>
           <para>[bdubbs] - Update to Module-Build-0.4224 (Perl module). Fixes

Modified: trunk/BOOK/multimedia/videoutils/mplayer.xml
==============================================================================
--- trunk/BOOK/multimedia/videoutils/mplayer.xml        Sat Jun  3 14:56:28 
2017        (r18782)
+++ trunk/BOOK/multimedia/videoutils/mplayer.xml        Sat Jun  3 15:32:28 
2017        (r18783)
@@ -211,7 +211,7 @@
       <xref linkend="freetype2"/>,
       <xref linkend="fribidi"/>,
       <xref linkend="gnutls"/>,
-      <xref linkend="openssl"/>,
+      <!-- <xref linkend="openssl"/>, only valid for samba3 at this time -->
       <xref linkend="opus"/>, and
       <xref linkend="unrar"/>;
       <xref linkend="libxslt"/>,

Added: trunk/BOOK/networking/mailnews/alpine.xml
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/networking/mailnews/alpine.xml   Sat Jun  3 15:32:28 2017        
(r18783)
@@ -0,0 +1,233 @@
+<?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 alpine-download-http 
"http://alpine.freeiz.com/alpine/release/src/alpine-&alpine-version;.tar.xz";>
+  <!ENTITY alpine-download-ftp  " ">
+  <!ENTITY alpine-md5sum        "02dad85c1be80ce020206f222ecf5ac8">
+  <!ENTITY alpine-size          "4.6 MB">
+  <!ENTITY alpine-buildsize     "122 MB">
+  <!ENTITY alpine-time          "1.0 SBU">
+]>
+
+<sect1 id="alpine" xreflabel="Alpine-&alpine-version;">
+  <?dbhtml filename="alpine.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>Alpine-&alpine-version;</title>
+
+  <indexterm zone="alpine">
+    <primary sortas="a-alpine">alpine</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to Alpine</title>
+
+    <para><application>Alpine</application> is a text-based email client
+    developed by the University of Washington.</para>
+
+    &lfs80_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing='compact'>
+      <listitem>
+        <para>Download (HTTP): <ulink url="&alpine-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&alpine-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &alpine-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &alpine-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &alpine-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &alpine-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Alpine Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+    <xref linkend="openssl"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+    <xref linkend="openldap"/>,
+    <xref linkend="mitkrb"/>,
+    <xref linkend="aspell"/>,
+    <xref linkend="tcl"/>, and
+    <xref linkend="linux-pam"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/alpine"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Alpine</title>
+
+    <para>Install <application>Alpine</application> by running the following
+    commands:</para>
+
+<screen><userinput>LIBS+="-lcrypto" ./configure --prefix=/usr       \
+                             --sysconfdir=/etc   \
+                             --without-ldap      \
+                             --without-krb5      \
+                             --without-pam       \
+                             --without-tcl       \
+                             --with-ssl-dir=/usr \
+                             --with-passfile=.pine-passfile &amp;&amp;
+make</userinput></screen>
+
+    <para>This package does not come with a test suite.</para>
+
+    <para>Now, as the <systemitem class="username">root</systemitem> 
user:</para>
+
+<screen role='root'><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para><command>LIBS+="-lcrypto"</command>: Enable linking to
+    <xref linkend="openssl"/>. Additional linker flags are required for 
+    <xref linkend="linux-pam"/>, <option>-lpam</option>, and for
+    <xref linkend="mitkrb"/>, <option>-lkrb5</option>.</para>
+
+    <para><parameter>--without-ldap</parameter>: Disables LDAP support.</para>
+
+    <para><parameter>--without-krb5</parameter>: Disables Kerberos 
support.</para>
+
+    <para><parameter>--without-pam</parameter>: Disables Linux-PAM
+    support.</para>
+
+    <para><parameter>--without-tcl</parameter>: Disables TCL support.</para>
+
+    <para><parameter>--with-ssl-dir=/usr</parameter>: Sets the root path to
+    OpenSSL libraries and include files.</para>
+
+    <para><parameter>--with-passfile=.pine-passfile</parameter>: Sets the
+    password cache file.</para>
+
+    <para><option>--without-ssl</option>: Disables OpenSSL support.</para>
+
+  </sect2>
+
+  <sect2 role="configuration">
+    <title>Configuring Alpine</title>
+
+    <sect3 id="alpine-config">
+      <title>Config Files</title>
+
+      <para><filename>~/.pinerc</filename></para>
+
+      <indexterm zone="alpine alpine-config">
+        <primary sortas="e-AA.pinerc">~/.pinerc</primary>
+      </indexterm>
+
+    </sect3>
+
+    <sect3>
+      <title>Configuration Information</title>
+
+      <para>It is not required to manually edit any configuration files to use
+      the <application>Alpine</application> email client. Users can configure
+      <application>Alpine</application> using the graphical configuration menu,
+      which stores the changes in <filename>~/.pinerc</filename>.</para>
+
+    </sect3>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>alpine, pico, pilot, rpdump, and rpload</seg>
+        <seg>none</seg>
+        <seg>none</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="alpine-bin">
+        <term><command>alpine</command></term>
+        <listitem>
+          <para>is the Alpine mailer.</para>
+          <indexterm zone="alpine alpine-bin">
+            <primary sortas="b-alpine-bin">alpine</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="pico">
+        <term><command>pico</command></term>
+        <listitem>
+          <para>is a standalone text editor similar to the Alpine message 
composer.</para>
+          <indexterm zone="alpine pico">
+            <primary sortas="b-pico">pico</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="pilot">
+        <term><command>pilot</command></term>
+        <listitem>
+          <para>is a standalone file system navigator.</para>
+          <indexterm zone="alpine pilot">
+            <primary sortas="b-pilot">pilot</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="rpdump">
+        <term><command>rpdump</command></term>
+        <listitem>
+          <para>is a utility for downloading a pinerc or address book to the
+          local machine.</para>
+          <indexterm zone="alpine rpdump">
+            <primary sortas="b-rpdump">rpdump</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="rpload">
+        <term><command>rpload</command></term>
+        <listitem>
+          <para> is a utility for uploading a local pinerc or address book to
+          an IMAP server.</para>
+          <indexterm zone="alpine rpload">
+            <primary sortas="b-rpload">rpload</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/networking/mailnews/fetchmail.xml
==============================================================================
--- trunk/BOOK/networking/mailnews/fetchmail.xml        Sat Jun  3 14:56:28 
2017        (r18782)
+++ trunk/BOOK/networking/mailnews/fetchmail.xml        Sat Jun  3 15:32:28 
2017        (r18783)
@@ -59,6 +59,13 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: 
&patch-root;/fetchmail-&fetchmail-version;-disable_sslv3-1.patch</para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Fetchmail Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Recommended</bridgehead>
@@ -84,7 +91,9 @@
     <para>Install <application>Fetchmail</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr --with-ssl 
--enable-fallback=procmail &amp;&amp;
+<screen><userinput>patch -Np1 -i ../fetchmail-&fetchmail-version;-disable
+_sslv3-1.patch &amp;&amp;
+./configure --prefix=/usr --with-ssl --enable-fallback=procmail &amp;&amp;
 make</userinput></screen>
 
     <para>This package does not come with a test suite.</para>

Modified: trunk/BOOK/networking/mailnews/mailnews.xml
==============================================================================
--- trunk/BOOK/networking/mailnews/mailnews.xml Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/networking/mailnews/mailnews.xml Sat Jun  3 15:32:28 2017        
(r18783)
@@ -27,7 +27,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="mailx.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="mutt.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="procmail.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="re-alpine.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="alpine.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="other.xml"/>
 
 </chapter>

Modified: trunk/BOOK/networking/mailnews/mailx.xml
==============================================================================
--- trunk/BOOK/networking/mailnews/mailx.xml    Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/networking/mailnews/mailx.xml    Sat Jun  3 15:32:28 2017        
(r18783)
@@ -76,7 +76,7 @@
     <bridgehead renderas="sect3">Heirloom mailx Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
-    <para role="optional"><xref linkend="openssl"/> or
+    <para role="optional"><xref linkend="openssl10"/> or
     <xref linkend="nss"/>,
     <xref linkend="mitkrb"/> (for IMAP GSSAPI
     authentication), and an
@@ -102,7 +102,10 @@
     following commands.</para>
 
 <screen><userinput>patch -Np1 -i 
../heirloom-mailx-&mailx-version;-fixes-1.patch &amp;&amp;
-make SENDMAIL=/usr/sbin/sendmail -j1</userinput></screen>
+sed 's@&lt;openssl@&lt;openssl-1.0/openssl@' \
+    -i openssl.c fio.c makeconfig &amp;&amp;
+make LDFLAGS+="/usr/lib/openssl-1.0/" \
+     SENDMAIL=/usr/sbin/sendmail -j1</userinput></screen>
 
     <para>This package does not come with a test suite.</para>
 

Modified: trunk/BOOK/networking/netprogs/samba.xml
==============================================================================
--- trunk/BOOK/networking/netprogs/samba.xml    Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/networking/netprogs/samba.xml    Sat Jun  3 15:32:28 2017        
(r18783)
@@ -74,8 +74,9 @@
       <xref linkend="libxslt"/> (for documentation),
       <xref linkend="perl-parse-yapp"/>,
       <xref linkend="pycrypto"/>,
-      <xref linkend="python3"/>, and
-      <xref linkend="openldap"/>
+      <xref linkend="python3"/>,
+      <xref linkend="openldap"/>, and
+      <xref linkend="openssl"/> <!-- This can be removed at openldap-2.4.45.-->
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>

Modified: trunk/BOOK/networking/textweb/w3m.xml
==============================================================================
--- trunk/BOOK/networking/textweb/w3m.xml       Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/networking/textweb/w3m.xml       Sat Jun  3 15:32:28 2017        
(r18783)
@@ -74,7 +74,7 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
       <xref linkend="gpm"/>,
-      <xref linkend="openssl"/>,
+      <xref linkend="openssl10"/>,
       <xref linkend="imlib2"/>,
       <xref linkend="gtk2"/>,
       <ulink 
url="http://ftp.gnome.org/pub/gnome/sources/imlib/1.9/";>Imlib</ulink>
@@ -102,7 +102,8 @@
 sed -i 's/file_handle/file_foo/' istream.{c,h} &amp;&amp;
 sed -i 's#gdk-pixbuf-xlib-2.0#&amp; x11#' configure &amp;&amp;
 
-./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
+PKG_CONFIG_PATH="/usr/lib/openssl-1.0/pkgconfig" \
+    ./configure --prefix=/usr --sysconfdir=/etc  &amp;&amp;
 make</userinput></screen>
 
     <para>This package does not come with a test suite.</para>

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Sat Jun  3 14:56:28 2017        (r18782)
+++ trunk/BOOK/packages.ent     Sat Jun  3 15:32:28 2017        (r18783)
@@ -34,7 +34,8 @@
 <!--<!ENTITY nss-version                  "3.&nss-minor-version;">-->
 
 <!ENTITY openssh-version              "7.5p1">
-<!ENTITY openssl-version              "1.0.2k">
+<!ENTITY openssl-version              "1.1.0f">
+<!ENTITY openssl10-version            "1.0.2l">
 <!ENTITY p11-kit-version              "0.23.5">
 <!ENTITY polkit-version               "0.113+git_2919920+js38">
 <!ENTITY shadow-version               "4.5">
@@ -464,7 +465,7 @@
 <!ENTITY procmail-version             "3.22">
 <!ENTITY fetchmail-version            "6.3.26">
 <!ENTITY mutt-version                 "1.8.2">
-<!ENTITY re-alpine-version            "2.03">
+<!ENTITY alpine-version               "2.21">
 
 <!-- Part V -->
 <!-- Chapter 20 -->

Modified: trunk/BOOK/postlfs/editors/others.xml
==============================================================================
--- trunk/BOOK/postlfs/editors/others.xml       Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/postlfs/editors/others.xml       Sat Jun  3 15:32:28 2017        
(r18783)
@@ -41,7 +41,7 @@
     <listitem>
       <para>
         <command>pico</command> is a text editor installed as a part of <xref
-        linkend="re-alpine"/>.
+        linkend="alpine"/>.
       </para>
     </listitem>
   </itemizedlist>

Modified: trunk/BOOK/postlfs/security/cyrus-sasl.xml
==============================================================================
--- trunk/BOOK/postlfs/security/cyrus-sasl.xml  Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/postlfs/security/cyrus-sasl.xml  Sat Jun  3 15:32:28 2017        
(r18783)
@@ -83,6 +83,12 @@
           <ulink 
url="&patch-root;/cyrus-sasl-&cyrus-sasl-version;-fixes-3.patch"/>
        </para>
       </listitem>
+      <listitem>
+        <para>
+          Required patch:
+          <ulink 
url="&patch-root;/cyrus-sasl-&cyrus-sasl-version;-openssl-1.1.0-1.patch"/>
+       </para>
+      </listitem>
     </itemizedlist>
 
     <bridgehead renderas="sect3">Cyrus SASL Dependencies</bridgehead>
@@ -124,6 +130,7 @@
     </para>
 
 <screen><userinput>patch -Np1 -i 
../cyrus-sasl-&cyrus-sasl-version;-fixes-3.patch &amp;&amp;
+patch -Np1 -i ../cyrus-sasl-&cyrus-sasl-version;-openssl-1.1.0-1.patch 
&amp;&amp;
 autoreconf -fi &amp;&amp;
 
 ./configure --prefix=/usr        \

Modified: trunk/BOOK/postlfs/security/liboauth.xml
==============================================================================
--- trunk/BOOK/postlfs/security/liboauth.xml    Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/postlfs/security/liboauth.xml    Sat Jun  3 15:32:28 2017        
(r18783)
@@ -73,6 +73,15 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additonal Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch for use with <xref linkend="openssl"/>: <ulink 
+        url="&patch-root;/liboauth-&liboauth-version;-openssl-1.1.0-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">liboauth Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -96,6 +105,13 @@
     <title>Installation of liboauth</title>
 
     <para>
+      If building with <xref linkend="openssl"/> support, apply a patch for the
+      new version:
+    </para>
+
+<screen><userinput>patch -Np1 -i 
../liboauth-&liboauth-version;-openssl-1.1.0-1.patch</userinput></screen>
+
+    <para>
       Install <application>liboauth</application> by running the following
       commands:
     </para>

Modified: trunk/BOOK/postlfs/security/openssh.xml
==============================================================================
--- trunk/BOOK/postlfs/security/openssh.xml     Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/postlfs/security/openssh.xml     Sat Jun  3 15:32:28 2017        
(r18783)
@@ -78,6 +78,13 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: <ulink 
url="&patch-root;/openssh-&openssh-version;-openssl-1.1.0-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">OpenSSH Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -145,7 +152,9 @@
       commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr                     \
+<screen><userinput>patch -Np1 -i 
../openssh-&openssh-version;-openssl-1.1.0-1.patch &amp;&amp;
+
+./configure --prefix=/usr                     \
             --sysconfdir=/etc/ssh             \
             --with-md5-passwords              \
             --with-privsep-path=/var/lib/sshd &amp;&amp;

Modified: trunk/BOOK/postlfs/security/openssl.xml
==============================================================================
--- trunk/BOOK/postlfs/security/openssl.xml     Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/postlfs/security/openssl.xml     Sat Jun  3 15:32:28 2017        
(r18783)
@@ -8,10 +8,10 @@
            "https://openssl.org/source/openssl-&openssl-version;.tar.gz";>
   <!ENTITY openssl-download-ftp
            "ftp://openssl.org/source/openssl-&openssl-version;.tar.gz";>
-  <!ENTITY openssl-md5sum        "f965fc0bf01bf882b31314b61391ae65">
+  <!ENTITY openssl-md5sum        "7b521dea79ab159e8ec879d2333369fa">
   <!ENTITY openssl-size          "5.1 MB">
-  <!ENTITY openssl-buildsize     "50 MB (with tests)">
-  <!ENTITY openssl-time          "1.4 SBU (with tests)">
+  <!ENTITY openssl-buildsize     "70 MB (with tests)">
+  <!ENTITY openssl-time          "1.5 SBU (with tests)">
 ]>
 
 <sect1 id="openssl" xreflabel="OpenSSL-&openssl-version;">
@@ -75,23 +75,6 @@
         </para>
       </listitem>
     </itemizedlist>
-<!--
-    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
-    <itemizedlist spacing="compact">
-      <listitem>
-        <para>
-          Required patch:
-          <ulink 
url="&patch-root;/openssl-&openssl-version;-fix_parallel_build-1.patch"/>
-        </para>
-      </listitem>
-    </itemizedlist>
--->
-    <bridgehead renderas="sect3">OpenSSL Dependencies</bridgehead>
-
-    <bridgehead renderas="sect4">Optional</bridgehead>
-    <para role="optional">
-      <xref linkend="mitkrb"/>
-    </para>
 
     <para condition="html" role="usernotes">
       User Notes: <ulink url='&blfs-wiki;/OpenSSL'/>
@@ -101,12 +84,6 @@
   <sect2 role="installation">
     <title>Installation of OpenSSL</title>
 
-    <note>
-      <para>
-        This package does not support parallel build.
-      </para>
-    </note>
- 
     <para>
       Install <application>OpenSSL</application> with the following commands:
     </para>
@@ -117,19 +94,19 @@
          --libdir=lib          \
          shared                \
          zlib-dynamic &amp;&amp;
-make depend           &amp;&amp;
-make -j1</userinput></screen>
+make</userinput></screen>
 
     <para>
-      To test the results, issue: <command>make -j1 test</command>.  The
-      test suite does not support parallel jobs.
+      To test the results, issue: <command>make test</command>. One test will
+      fail if not run as the <systemitem class="username">root</systemitem>
+      user (not recommended).
     </para>
 
     <para>
       If you want to disable installing the static libraries, use this sed:
     </para>
 
-<screen><userinput>sed -i 's# libcrypto.a##;s# libssl.a##' 
Makefile</userinput></screen>
+<screen><userinput>sed -i 's# libcrypto.a##;s# 
libssl.a##;/INSTALL_LIBS/s#libcrypto.a##' Makefile</userinput></screen>
 
     <para>
       Now, as the <systemitem class="username">root</systemitem> user:
@@ -137,9 +114,9 @@
 
 <!-- dev note: make INSTALL_PREFIX=<DESTDIR> MANDIR=/usr/share/man 
MANSUFFIX=ssl install -->
 
-<screen role="root"><userinput>make MANDIR=/usr/share/man MANSUFFIX=ssl 
install &amp;&amp;
-install -dv -m755 /usr/share/doc/openssl-&openssl-version;  &amp;&amp;
-cp -vfr doc/*     /usr/share/doc/openssl-&openssl-version;</userinput></screen>
+<screen role="root"><userinput>make MANSUFFIX=ssl install           &amp;&amp;
+mv -v /usr/share/doc/openssl{,-&openssl-version;} &amp;&amp;
+cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
 
   </sect2>
 
@@ -165,12 +142,9 @@
     </para>
 
     <para>
-      <command>make MANDIR=/usr/share/man MANSUFFIX=ssl install</command>:
-      This command installs <application>OpenSSL</application> with the man
-      pages in <filename class="directory">/usr/share/man</filename>
-      instead of <filename class="directory">/etc/ssl/man</filename> and
-      appends "ssl" suffix to the manual page names to avoid conflicts with
-      manual pages installed by other packages.
+      <command>make MANSUFFIX=ssl install</command>:
+      This command appends an "ssl" suffix to the manual page names to avoid
+      conflicts with manual pages installed by other packages.
     </para>
 
   </sect2>

Added: trunk/BOOK/postlfs/security/openssl10.xml
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/postlfs/security/openssl10.xml   Sat Jun  3 15:32:28 2017        
(r18783)
@@ -0,0 +1,220 @@
+<?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 openssl10-download-http
+           "https://openssl.org/source/openssl-&openssl10-version;.tar.gz";>
+  <!ENTITY openssl10-download-ftp
+           "ftp://openssl.org/source/openssl-&openssl10-version;.tar.gz";>
+  <!ENTITY openssl10-md5sum        "f85123cd390e864dfbe517e7616e6566">
+  <!ENTITY openssl10-size          "5.2 MB">
+  <!ENTITY openssl10-buildsize     "58 MB (with tests)">
+  <!ENTITY openssl10-time          "1.6 SBU (with tests)">
+]>
+
+<sect1 id="openssl10" xreflabel="OpenSSL-&openssl10-version; Libraries">
+  <?dbhtml filename="openssl10.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>OpenSSL-&openssl10-version;</title>
+
+  <indexterm zone="openssl10">
+    <primary sortas="a-OpenSSL10">OpenSSL-&openssl10-version;</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to OpenSSL-&openssl10-version; Libraries</title>
+
+    <para>
+      The <application>OpenSSL-&openssl10-version;</application> package
+      contains libraries relating to cryptography.  These are useful for
+      providing cryptographic functions to other packages, such as
+      email applications and web browsers (for accessing HTTPS sites). This
+      package provides only the libraries and headers for packages that have
+      not yet been ported to <xref linkend="openssl"/>.
+    </para>
+
+    &lfs80_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&openssl10-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&openssl10-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &openssl10-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &openssl10-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &openssl10-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &openssl10-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: <ulink 
url="&patch-root;/openssl-&openssl10-version;-compat_versioned_symbols-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">OpenSSL-&openssl10-version; 
Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="mitkrb"/>
+    </para>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url='&blfs-wiki;/OpenSSL'/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of OpenSSL-&openssl10-version; Libraries</title>
+
+    <note>
+      <para>
+        This package does not support parallel build.
+      </para>
+    </note>
+ 
+    <para>
+      Install <application>OpenSSL-&openssl10-version; Libraries</application>
+      with the following commands:
+    </para>
+
+
+<screen><userinput> patch -Np1 -i 
../openssl-&openssl10-version;-compat_versioned_symbols-1.patch &amp;&amp;
+
+./config --prefix=/usr            \
+         --openssldir=/etc/ssl    \
+         --libdir=lib/openssl-1.0 \
+         shared                   \
+         zlib-dynamic             &amp;&amp;
+
+make depend                       &amp;&amp;
+make -j1</userinput></screen>
+
+    <para>
+      To test the results, issue: <command>make -j1 test</command>.  The
+      test suite does not support parallel jobs.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make INSTALL_PREFIX=$PWD/Dest install_sw        
              &amp;&amp;
+install -vdm755 /usr/lib/openssl-1.0                          &amp;&amp;
+cp -Rv Dest/usr/lib/openssl-1.0/* /usr/lib/openssl-1.0        &amp;&amp;
+mv -v  /usr/lib/openssl-1.0/lib{crypto,ssl}.so.1.0.0 /usr/lib &amp;&amp;
+ln -sv ../libssl.so.1.0.0 /usr/lib/openssl-1.0                &amp;&amp;
+ln -sv ../libcrypto.so.1.0.0 /usr/lib/openssl-1.0             &amp;&amp;
+install -vdm755 /usr/include/openssl-1.0                      &amp;&amp;
+cp -Rv Dest/usr/include/openssl /usr/include/openssl-1.0      &amp;&amp;
+sed 's@/include$@/include/openssl-1.0@' -i 
/usr/lib/openssl-1.0/pkgconfig/*.pc</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <parameter>shared</parameter>: This parameter forces the creation of
+      shared libraries along with the static libraries.
+    </para>
+
+    <para>
+      <parameter>zlib-dynamic</parameter>: This parameter adds
+      compression/decompression functionality using the
+      <filename class="libraryfile">libz</filename> library.
+    </para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          libcrypto.so.1.0.0 and libssl.so.1.0.0
+        </seg>
+        <seg>
+          /usr/lib/openssl-1.0 and /usr/include/openssl-1.0
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="libcrypto10">
+        <term><filename 
class="libraryfile">libcrypto.so.1.0.0</filename></term>
+        <listitem>
+          <para>
+            implements a wide range of cryptographic algorithms used in various
+            Internet standards. The services provided by  this library are used
+            by the <application>OpenSSL</application> implementations of SSL,
+            TLS and S/MIME, and they have also been used to implement
+            <application>OpenSSH</application>,
+            <application>OpenPGP</application>, and other cryptographic
+            standards.
+          </para>
+          <indexterm zone="openssl10 libcrypto10">
+            <primary sortas="c-libcrypto10">libcrypto.so.1.0.0</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libssl10">
+        <term><filename class="libraryfile">libssl.so.1.0.0</filename></term>
+        <listitem>
+          <para>
+            implements the Transport Layer Security (TLS v1) protocol.
+            It provides a rich API, documentation
+            on which can be found by running <command>man 3 ssl</command>.
+          </para>
+          <indexterm zone="openssl10 libssl10">
+            <primary sortas="c-libssl10">libssl.so.1.0.0</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/postlfs/security/security.xml
==============================================================================
--- trunk/BOOK/postlfs/security/security.xml    Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/postlfs/security/security.xml    Sat Jun  3 15:32:28 2017        
(r18783)
@@ -66,6 +66,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="nss.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="openssh.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="openssl.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="openssl10.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="p11-kit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="polkit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="shadow.xml"/>

Modified: trunk/BOOK/server/databases/mariadb.xml
==============================================================================
--- trunk/BOOK/server/databases/mariadb.xml     Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/server/databases/mariadb.xml     Sat Jun  3 15:32:28 2017        
(r18783)
@@ -78,6 +78,13 @@
     reduced by about 177 MB, if desired, by removing the /usr/share/mysql/test
     directory after installation.</para></note>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: <ulink 
url="&patch-root;/mariadb-&mariadb-version;-openssl-1.1.0-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">MariaDB Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -145,7 +152,8 @@
       following commands:
     </para>
 
-<screen><userinput>sed -i "s@data/test@\${INSTALL_MYSQLTESTDIR}@g" 
sql/CMakeLists.txt &amp;&amp;
+<screen><userinput>patch -Np1 -i 
../mariadb-&mariadb-version;-openssl-1.1.0-1.patch   &amp;&amp;
+sed -i "s@data/test@\${INSTALL_MYSQLTESTDIR}@g" sql/CMakeLists.txt &amp;&amp;
 
 mkdir build &amp;&amp;
 cd build    &amp;&amp;

Modified: trunk/BOOK/server/mail/sendmail.xml
==============================================================================
--- trunk/BOOK/server/mail/sendmail.xml Sat Jun  3 14:56:28 2017        (r18782)
+++ trunk/BOOK/server/mail/sendmail.xml Sat Jun  3 15:32:28 2017        (r18783)
@@ -67,7 +67,7 @@
 
     <bridgehead renderas="sect4">Recommended</bridgehead>
     <para role="recommended">
-      <xref linkend="openssl"/> and
+      <xref linkend="openssl10"/> and
       <xref linkend="cyrus-sasl"/>
     </para>
 
@@ -106,8 +106,8 @@
 
 <screen><userinput>cat &gt;&gt; devtools/Site/site.config.m4 &lt;&lt; "EOF"
 <literal>APPENDDEF(`confENVDEF',`-DSTARTTLS -DSASL -DLDAPMAP')
-APPENDDEF(`confLIBS', `-lssl -lcrypto -lsasl2 -lldap -llber -ldb')
-APPENDDEF(`confINCDIRS', `-I/usr/include/sasl')</literal>
+APPENDDEF(`confLIBS', `-L/usr/lib/openssl-1.0 -lssl -lcrypto -lsasl2 -lldap 
-llber -ldb')
+APPENDDEF(`confINCDIRS', `-I/usr/include/sasl 
-I/usr/include/openssl-1.0')</literal>
 EOF</userinput></screen>
 
     <para>Install <application>sendmail</application> with the following

Modified: trunk/BOOK/server/major/apache.xml
==============================================================================
--- trunk/BOOK/server/major/apache.xml  Sat Jun  3 14:56:28 2017        (r18782)
+++ trunk/BOOK/server/major/apache.xml  Sat Jun  3 15:32:28 2017        (r18783)
@@ -80,6 +80,9 @@
           <ulink 
url="&patch-root;/httpd-&apache-version;-blfs_layout-1.patch"/>
         </para>
       </listitem>
+      <listitem>
+        <para>Required patch: <ulink 
url="&patch-root;/httpd-&apache-version;-openssl-1.1.0-1.patch"/></para>
+      </listitem>
     </itemizedlist>
 
     <bridgehead renderas="sect3">Apache HTTPD Dependencies</bridgehead>
@@ -134,23 +137,25 @@
       following commands:
     </para>
 
-<screen><userinput>patch -Np1 -i ../httpd-&apache-version;-blfs_layout-1.patch 
          &amp;&amp;
-
-sed '/dir.*CFG_PREFIX/s@^@#@' -i support/apxs.in            &amp;&amp;
-
-./configure --enable-authnz-fcgi                            \
-            --enable-layout=BLFS                            \
-            --enable-mods-shared="all cgi"                  \
-            --enable-mpms-shared=all                        \
-            --enable-suexec=shared                          \
-            --with-apr=/usr/bin/apr-1-config                \
-            --with-apr-util=/usr/bin/apu-1-config           \
-            --with-suexec-bin=/usr/lib/httpd/suexec         \
-            --with-suexec-caller=apache                     \
-            --with-suexec-docroot=/srv/www                  \
-            --with-suexec-logfile=/var/log/httpd/suexec.log \
-            --with-suexec-uidmin=100                        \
-            --with-suexec-userdir=public_html               &amp;&amp;
+<screen><userinput>
+patch -Np1 -i ../httpd-&apache-version;-blfs_layout-1.patch   &amp;&amp;
+patch -Np1 -i ../httpd-&apache-version;-openssl-1.1.0-1.patch &amp;&amp;
+
+sed '/dir.*CFG_PREFIX/s@^@#@' -i support/apxs.in              &amp;&amp;
+
+./configure --enable-authnz-fcgi                              \
+            --enable-layout=BLFS                              \
+            --enable-mods-shared="all cgi"                    \
+            --enable-mpms-shared=all                          \
+            --enable-suexec=shared                            \
+            --with-apr=/usr/bin/apr-1-config                  \
+            --with-apr-util=/usr/bin/apu-1-config             \
+            --with-suexec-bin=/usr/lib/httpd/suexec           \
+            --with-suexec-caller=apache                       \
+            --with-suexec-docroot=/srv/www                    \
+            --with-suexec-logfile=/var/log/httpd/suexec.log   \
+            --with-suexec-uidmin=100                          \
+            --with-suexec-userdir=public_html                 &amp;&amp;
 make</userinput></screen>
 
     <para>
@@ -164,7 +169,7 @@
     <note><para>This package does not install properly using DESTDIR
     techniques as an unpriviledged user.</para></note>
 
-<screen role="root"><userinput>make install                                 
&amp;&amp;
+<screen role="root"><userinput>make install  &amp;&amp;
 
 mv -v /usr/sbin/suexec /usr/lib/httpd/suexec &amp;&amp;
 chgrp apache           /usr/lib/httpd/suexec &amp;&amp;

Modified: trunk/BOOK/server/major/bind.xml
==============================================================================
--- trunk/BOOK/server/major/bind.xml    Sat Jun  3 14:56:28 2017        (r18782)
+++ trunk/BOOK/server/major/bind.xml    Sat Jun  3 15:32:28 2017        (r18783)
@@ -252,8 +252,7 @@
 mknod /srv/named/dev/urandom c 1 9 &amp;&amp;
 chmod 666 /srv/named/dev/{null,urandom} &amp;&amp;
 cp /etc/localtime etc &amp;&amp;
-touch /srv/named/managed-keys.bind &amp;&amp;
-cp /usr/lib/engines/libgost.so usr/lib/engines</userinput></screen>
+touch /srv/named/managed-keys.bind</userinput></screen>
 
       <para>The <filename>rndc.conf</filename> file contains information for
       controlling <command>named</command> operations with the

Modified: trunk/BOOK/server/other/openldap.xml
==============================================================================
--- trunk/BOOK/server/other/openldap.xml        Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/server/other/openldap.xml        Sat Jun  3 15:32:28 2017        
(r18783)
@@ -85,12 +85,13 @@
     <bridgehead renderas="sect4">Recommended</bridgehead>
     <para role="recommended">
       <xref linkend="cyrus-sasl"/> and
-      <xref linkend="openssl"/>
+      <xref linkend="gnutls"/>
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
       <xref linkend="icu"/>,
+      <xref linkend="openssl"/> (currently broken),
       <xref linkend="pth"/>,
       <xref linkend="unixodbc"/>,
         <xref linkend="mariadb"/> or
@@ -167,6 +168,7 @@
       running the following commands:
     </para>
 
+<!-- restore - -with-tls=openssl after 2.4.45 is released -->
 <screen><userinput>patch -Np1 -i 
../openldap-&openldap-version;-consolidated-2.patch &amp;&amp;
 autoconf &amp;&amp;
 
@@ -176,7 +178,7 @@
             --libexecdir=/usr/lib \
             --disable-static      \
             --disable-debug       \
-            --with-tls=openssl    \
+            --with-tls=gnutls     \
             --with-cyrus-sasl     \
             --enable-dynamic      \
             --enable-crypt        \

Modified: trunk/BOOK/x/lib/qt5.xml
==============================================================================
--- trunk/BOOK/x/lib/qt5.xml    Sat Jun  3 14:56:28 2017        (r18782)
+++ trunk/BOOK/x/lib/qt5.xml    Sat Jun  3 15:32:28 2017        (r18783)
@@ -104,7 +104,7 @@
       <xref linkend="libxkbcommon"/>,
       <xref linkend="mesa"/>,
       <xref linkend="mtdev"/>,
-      <xref linkend="openssl"/>,
+      <xref linkend="openssl10"/>,
       <xref linkend="pcre"/>,
       <xref linkend="sqlite"/>,
       <xref linkend="wayland"/> (<application>Mesa</application>
@@ -213,32 +213,36 @@
         the following to the configure arguments below:
       </para>
 
-<screen role="nodump"><userinput>-archdatadir    /usr/lib/qt5                \
--bindir         /usr/bin/qt5                \
--plugindir      /usr/lib/qt5/plugins        \
--importdir      /usr/lib/qt5/imports        \
--headerdir      /usr/include/qt5            \
--datadir        /usr/share/qt5              \
--docdir         /usr/share/doc/qt5          \
--translationdir /usr/share/qt5/translations \
--examplesdir    /usr/share/doc/qt5/examples \</userinput></screen>
+<screen role="nodump"><userinput>            -archdatadir    /usr/lib/qt5      
          \
+            -bindir         /usr/bin/qt5                \
+            -plugindir      /usr/lib/qt5/plugins        \
+            -importdir      /usr/lib/qt5/imports        \
+            -headerdir      /usr/include/qt5            \
+            -datadir        /usr/share/qt5              \
+            -docdir         /usr/share/doc/qt5          \
+            -translationdir /usr/share/qt5/translations \
+            -examplesdir    /usr/share/doc/qt5/examples</userinput></screen>
     </note>
 
     <para>
       Install <application>Qt5</application> by running the following commands:
     </para>
 
-<screen><userinput>./configure -prefix         $QT5PREFIX \
-            -sysconfdir     /etc/xdg   \
-            -confirm-license           \
-            -opensource                \
-            -dbus-linked               \
-            -openssl-linked            \
-            -system-harfbuzz           \
-            -system-sqlite             \
-            -nomake examples           \
-            -no-rpath                  \
-            -skip qtwebengine          &amp;&amp;
+<screen><userinput>echo "INCLUDEPATH += /usr/include/openssl-1.0" >>           
\
+                     qtbase/src/network/network.pro         &amp;&amp;
+export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto' &amp;&amp;
+
+./configure -prefix $QT5PREFIX                          \
+            -sysconfdir /etc/xdg                        \
+            -confirm-license                            \
+            -opensource                                 \
+            -dbus-linked                                \
+            -openssl-linked                             \
+            -system-harfbuzz                            \
+            -system-sqlite                              \
+            -nomake examples                            \
+            -no-rpath                                   \
+            -skip qtwebengine                           &amp;&amp;
 make</userinput></screen>
 
     <para>

Modified: trunk/BOOK/xsoft/other/balsa.xml
==============================================================================
--- trunk/BOOK/xsoft/other/balsa.xml    Sat Jun  3 14:56:28 2017        (r18782)
+++ trunk/BOOK/xsoft/other/balsa.xml    Sat Jun  3 15:32:28 2017        (r18783)
@@ -56,6 +56,13 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: 
balsa-&balsa-version;-openssl-1.1.0-1.patch</para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Balsa Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -103,6 +110,10 @@
   <sect2 role="installation">
     <title>Installation of Balsa</title>
 
+    <para>Fix a build issue with <xref linkend="openssl"/>:</para>
+
+<screen><userinput>patch -Np1 -i 
../balsa-&balsa-version;-openssl-1.1.0-1.patch</userinput></screen>
+
     <para>Install <application>Balsa</application> by running the following
     commands:</para>
 

Modified: trunk/BOOK/xsoft/other/transmission.xml
==============================================================================
--- trunk/BOOK/xsoft/other/transmission.xml     Sat Jun  3 14:56:28 2017        
(r18782)
+++ trunk/BOOK/xsoft/other/transmission.xml     Sat Jun  3 15:32:28 2017        
(r18783)
@@ -72,6 +72,13 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads:</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: 
transmission-&transmission-version;-openssl-1.1.0-1.patch</para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Transmission Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -100,6 +107,13 @@
 
   <sect2 role="installation">
     <title>Installation of Transmission</title>
+
+    <para>
+      Fix a build issue when using <xref linkend="openssl"/>:
+    </para>
+
+<screen><userinput>patch -Np1 -i 
../transmission-&transmission-version;-openssl-1.1.0-1.patch</userinput></screen>
+
     <para>
       Install <application>Transmission</application> by running the
       following commands:
-- 
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