Move OpenSSL-1.1.0g from BLFS to LFS

to support wireless operations in the linux kernel.

Update to e2fsprogs-1.43.9. 
Update to dbus-1.12.4. 
Update to mpfr-4.0.1. 
Update to linux-4.15.2. 
Update to patch-2.7.6. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11363 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2018-02-09 21:46:22 +00:00
parent e7f2b5dbea
commit e54747517c
8 changed files with 277 additions and 23 deletions

View File

@ -1589,7 +1589,7 @@
<seglistitem> <seglistitem>
<seg>Bash, Bc, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep, <seg>Bash, Bc, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep,
Gzip, Kmod, Make, Ncurses, Perl, and Sed</seg> Gzip, Kmod, Make, Ncurses, OpenSSL, Perl, and Sed</seg>
</seglistitem> </seglistitem>
</segmentedlist> </segmentedlist>
@ -1613,7 +1613,7 @@
<segtitle>&external;</segtitle> <segtitle>&external;</segtitle>
<seglistitem> <seglistitem>
<seg>OpenSSL</seg> <seg>None</seg>
</seglistitem> </seglistitem>
</segmentedlist> </segmentedlist>
@ -1939,6 +1939,41 @@
</seglistitem> </seglistitem>
</segmentedlist> </segmentedlist>
<!-- Begin Openssl dependency info -->
<bridgehead renderas="sect2" id="openssl-dep">Openssl</bridgehead>
<segmentedlist>
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Binutils, Coreutils, Gcc, Make, Perl</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&testsuites;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&before;</segtitle>
<seglistitem>
<seg>Linux</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&external;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<!-- Begin Patch dependency info --> <!-- Begin Patch dependency info -->
<bridgehead renderas="sect2" id="patch-dep">Patch</bridgehead> <bridgehead renderas="sect2" id="patch-dep">Patch</bridgehead>

View File

@ -42,6 +42,36 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as <listitem revision="sysv"> or <listitem revision="systemd"> as
appropriate for the entry or if needed the entire day's listitem. appropriate for the entry or if needed the entire day's listitem.
--> -->
<listitem>
<para>2018-02-09</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Move OpenSSL-1.1.0g from BLFS to LFS
to support wireless operations in the linux kernel.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to e2fsprogs-1.43.9. Fixes
<ulink url="&lfs-ticket-root;4215">#4215</ulink>.</para>
</listitem>
<listitem revision="systemd">
<para>[bdubbs] - Update to dbus-1.12.4. Fixes
<ulink url="&lfs-ticket-root;4214">#4214</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to mpfr-4.0.1. Fixes
<ulink url="&lfs-ticket-root;4213">#4213</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to linux-4.15.2. Fixes
<ulink url="&lfs-ticket-root;4212">#4212</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to patch-2.7.6. Fixes
<ulink url="&lfs-ticket-root;4211">#4211</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>2018-02-05</para> <para>2018-02-05</para>
<itemizedlist> <itemizedlist>

View File

@ -182,9 +182,9 @@
<listitem> <listitem>
<para>Ncurses-&ncurses-version;</para> <para>Ncurses-&ncurses-version;</para>
</listitem> </listitem>
<!--<listitem> <listitem>
<para>Patch-&patch-version;</para> <para>Patch-&patch-version;</para>
</listitem>--> </listitem>
<listitem> <listitem>
<para>Perl-&perl-version;</para> <para>Perl-&perl-version;</para>
</listitem> </listitem>
@ -261,16 +261,20 @@
<para>Libff-&libffi-version;</para> <para>Libff-&libffi-version;</para>
</listitem> </listitem>
<listitem>
<para>Openssl-&openssl-version;</para>
</listitem>
<listitem> <listitem>
<para>Python-&python-version;</para> <para>Python-&python-version;</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Ninja&ninja-version;</para> <para>Ninja-&ninja-version;</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Meson&meson-version;</para> <para>Meson-&meson-version;</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>

View File

@ -536,6 +536,15 @@
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>OpenSSL (&openssl-version;) - <token>&openssl-size;</token>:</term>
<listitem>
<para>Home page: <ulink url="&openssl-home;"/></para>
<para>Download: <ulink url="&openssl-url;"/></para>
<para>MD5 sum: <literal>&openssl-md5;</literal></para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term>Patch (&patch-version;) - <token>&patch-size;</token>:</term> <term>Patch (&patch-version;) - <token>&patch-size;</token>:</term>
<listitem> <listitem>

View File

@ -60,6 +60,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libelf.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libelf.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.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="python.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/>

167
chapter06/openssl.xml Normal file
View File

@ -0,0 +1,167 @@
<?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;
]>
<sect1 id="ch-system-openssl" role="wrap">
<?dbhtml filename="openssl.html"?>
<sect1info condition="script">
<productname>openssl</productname>
<productnumber>&openssl-version;</productnumber>
<address>&openssl-url;</address>
</sect1info>
<title>OpenSSL-&openssl-version;</title>
<indexterm zone="ch-system-openssl">
<primary sortas="a-OpenSSL">OpenSSL</primary>
</indexterm>
<sect2 role="package">
<title/>
<para>The OpenSSL package contains management tools and libraries relating
to cryptography. These are useful for providing cryptographic functions
to other packages, such as OpenSSH, email applications and web browsers
(for accessing HTTPS sites). </para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem>
<seg>&openssl-ch6-sbu;</seg>
<seg>&openssl-ch6-du;</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Installation of OpenSSL</title>
<para>Prepare OpenSSL for compilation:</para>
<screen><userinput remap="configure">./config --prefix=/usr \
--openssldir=/etc/ssl \
--libdir=lib \
shared \
zlib-dynamic</userinput></screen>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
<para>To test the results, issue:</para>
<screen><userinput remap="test">make test</userinput></screen>
<para>Install the package:</para>
<screen><userinput remap="install">sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
make MANSUFFIX=ssl install</userinput></screen>
<para>If desired, install the documentation:</para>
<screen><userinput remap="install">mv -v /usr/share/doc/openssl /usr/share/doc/openssl-&openssl-version;
cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
</sect2>
<sect2 id="contents-openssl" role="content">
<title>Contents of OpenSSL</title>
<segmentedlist>
<segtitle>Installed programs</segtitle>
<segtitle>Installed libraries</segtitle>
<segtitle>Installed directories</segtitle>
<seglistitem>
<seg>
c_rehash and openssl
</seg>
<seg>
libcrypto.{so,a} and libssl.{so,a}
</seg>
<seg>
/etc/ssl,
/usr/include/openssl,
/usr/lib/engines and
/usr/share/doc/openssl-&openssl-version;
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="c_rehash">
<term><command>c_rehash</command></term>
<listitem>
<para>
is a <application>Perl</application> script that scans all files in
a directory and adds symbolic links to their hash values.
</para>
<indexterm zone="ch-system-openssl c_rehash">
<primary sortas="b-c_rehash">c_rehash</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="openssl-prog">
<term><command>openssl</command></term>
<listitem>
<para>
is a command-line tool for using the various cryptography functions
of <application>OpenSSL</application>'s crypto library from the
shell. It can be used for various functions which are documented in
<command>man 1 openssl</command>.
</para>
<indexterm zone="ch-system-openssl openssl-prog">
<primary sortas="b-openssl">openssl</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libcrypto">
<term><filename class="libraryfile">libcrypto.so</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="ch-system-openssl libcrypto">
<primary sortas="c-libcrypto">libcrypto.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libssl">
<term><filename class="libraryfile">libssl.so</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="ch-system-openssl libssl">
<primary sortas="c-libssl">libssl.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -1,13 +1,13 @@
<!ENTITY version "SVN-20180205"> <!ENTITY version "SVN-20180209">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book; <!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases --> Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
<!ENTITY versiond "20180202-systemd"> <!ENTITY versiond "20180209-systemd">
<!ENTITY short-versiond "systemd"> <!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd"> <!ENTITY generic-versiond "systemd">
<!ENTITY releasedate "February 5, 2018"> <!ENTITY releasedate "February 9, 2018">
<!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; --> <!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "8.2"> <!ENTITY milestone "8.2">

View File

@ -108,10 +108,10 @@
<!ENTITY coreutils-ch6-du "171 MB"> <!ENTITY coreutils-ch6-du "171 MB">
<!ENTITY coreutils-ch6-sbu "2.4 SBU"> <!ENTITY coreutils-ch6-sbu "2.4 SBU">
<!ENTITY dbus-version "1.12.2"> <!ENTITY dbus-version "1.12.4">
<!ENTITY dbus-size "2,015 KB"> <!ENTITY dbus-size "2,019 KB">
<!ENTITY dbus-url "http://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz"> <!ENTITY dbus-url "http://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz">
<!ENTITY dbus-md5 "3361456cadb99aa6601bed5b48964254"> <!ENTITY dbus-md5 "89745b5a6c45c26751dcf673d912f745">
<!ENTITY dbus-home "http://www.freedesktop.org/wiki/Software/dbus"> <!ENTITY dbus-home "http://www.freedesktop.org/wiki/Software/dbus">
<!ENTITY dbus-ch6-du "22 MB"> <!ENTITY dbus-ch6-du "22 MB">
<!ENTITY dbus-ch6-sbu "0.3 SBU"> <!ENTITY dbus-ch6-sbu "0.3 SBU">
@ -137,10 +137,10 @@
<!-- NOTE: When updating e2fsprogs, remember to check the list <!-- NOTE: When updating e2fsprogs, remember to check the list
of acceptable features that can be shown by debugfs in of acceptable features that can be shown by debugfs in
chapter02/creatingfilesystem.xml --> chapter02/creatingfilesystem.xml -->
<!ENTITY e2fsprogs-version "1.43.8"> <!ENTITY e2fsprogs-version "1.43.9">
<!ENTITY e2fsprogs-size "7,311 KB"> <!ENTITY e2fsprogs-size "7,311 KB">
<!ENTITY e2fsprogs-url "http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v&e2fsprogs-version;/e2fsprogs-&e2fsprogs-version;.tar.gz"> <!ENTITY e2fsprogs-url "http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v&e2fsprogs-version;/e2fsprogs-&e2fsprogs-version;.tar.gz">
<!ENTITY e2fsprogs-md5 "af4f9aeba1a3b875c2ef1c58e995578d"> <!ENTITY e2fsprogs-md5 "8749ba4fbc25d1b13753b79f1f84b69d">
<!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net/"> <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net/">
<!ENTITY e2fsprogs-ch6-du "58 MB"> <!ENTITY e2fsprogs-ch6-du "58 MB">
<!ENTITY e2fsprogs-ch6-sbu "3.3 SBU"> <!ENTITY e2fsprogs-ch6-sbu "3.3 SBU">
@ -416,12 +416,12 @@
<!ENTITY linux-major-version "4"> <!ENTITY linux-major-version "4">
<!ENTITY linux-minor-version "15"> <!ENTITY linux-minor-version "15">
<!ENTITY linux-patch-version "1"> <!ENTITY linux-patch-version "2">
<!-- <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> --> <!-- <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> -->
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
<!ENTITY linux-size "99,782 KB"> <!ENTITY linux-size "99,788 KB">
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
<!ENTITY linux-md5 "e1a0defed7a7333ecb5715d63e9161a7"> <!ENTITY linux-md5 "a9b1ca74ab5bc308dd2f1a57408122fd">
<!ENTITY linux-home "http://www.kernel.org/"> <!ENTITY linux-home "http://www.kernel.org/">
<!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is <!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is
allnoconfig extended for a hopefully-bootable build on desktop machine, allnoconfig extended for a hopefully-bootable build on desktop machine,
@ -486,10 +486,10 @@
<!ENTITY mpc-ch6-du "17 MB"> <!ENTITY mpc-ch6-du "17 MB">
<!ENTITY mpc-ch6-sbu "0.3 SBU"> <!ENTITY mpc-ch6-sbu "0.3 SBU">
<!ENTITY mpfr-version "4.0.0"> <!ENTITY mpfr-version "4.0.1">
<!ENTITY mpfr-size "1,374 KB"> <!ENTITY mpfr-size "1,380 KB">
<!ENTITY mpfr-url "http://www.mpfr.org/mpfr-&mpfr-version;/mpfr-&mpfr-version;.tar.xz"> <!ENTITY mpfr-url "http://www.mpfr.org/mpfr-&mpfr-version;/mpfr-&mpfr-version;.tar.xz">
<!ENTITY mpfr-md5 "94c67b3cfbee10605a5e59d0ed9161db"> <!ENTITY mpfr-md5 "b8dd19bd9bb1ec8831a6a582a7308073">
<!ENTITY mpfr-home "http://www.mpfr.org/"> <!ENTITY mpfr-home "http://www.mpfr.org/">
<!ENTITY mpfr-ch6-du "45 MB"> <!ENTITY mpfr-ch6-du "45 MB">
<!ENTITY mpfr-ch6-sbu "0.8 SBU"> <!ENTITY mpfr-ch6-sbu "0.8 SBU">
@ -512,10 +512,18 @@
<!ENTITY ninja-ch6-du "58.0 MB"> <!ENTITY ninja-ch6-du "58.0 MB">
<!ENTITY ninja-ch6-sbu "0.2 SBU"> <!ENTITY ninja-ch6-sbu "0.2 SBU">
<!ENTITY patch-version "2.7.5"> <!ENTITY openssl-version "1.1.0g">
<!ENTITY patch-size "711 KB"> <!ENTITY openssl-size "5.1 MB">
<!ENTITY openssl-url "https://openssl.org/source/openssl-&openssl-version;.tar.gz">
<!ENTITY openssl-md5 "ba5f1b8b835b88cadbce9b35ed9531a6">
<!ENTITY openssl-home "https://www.openssl.org/">
<!ENTITY openssl-ch6-du "73 MB">
<!ENTITY openssl-ch6-sbu "1.4 SBU">
<!ENTITY patch-version "2.7.6">
<!ENTITY patch-size "766 KB">
<!ENTITY patch-url "&gnu;patch/patch-&patch-version;.tar.xz"> <!ENTITY patch-url "&gnu;patch/patch-&patch-version;.tar.xz">
<!ENTITY patch-md5 "e3da7940431633fb65a01b91d3b7a27a"> <!ENTITY patch-md5 "78ad9937e4caadcba1526ef1853730d5">
<!ENTITY patch-home "http://savannah.gnu.org/projects/patch/"> <!ENTITY patch-home "http://savannah.gnu.org/projects/patch/">
<!ENTITY patch-ch5-du "11 MB"> <!ENTITY patch-ch5-du "11 MB">
<!ENTITY patch-ch5-sbu "0.2 SBU"> <!ENTITY patch-ch5-sbu "0.2 SBU">