source: postlfs/security/openssl10.xml@ 2e0d6b9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2e0d6b9 was 2e0d6b9, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update sshfs instructions fo rmeson/ninja.
Tags and cleanup.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19847 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.6 KB
RevLine 
[a4f37269]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY openssl10-download-http
8 "https://openssl.org/source/openssl-&openssl10-version;.tar.gz">
9 <!ENTITY openssl10-download-ftp
10 "ftp://openssl.org/source/openssl-&openssl10-version;.tar.gz">
[e8c6baa]11 <!ENTITY openssl10-md5sum "13bdc1b1d1ff39b6fd42a255e74676a4">
[a4f37269]12 <!ENTITY openssl10-size "5.2 MB">
[0e7a9e9]13 <!ENTITY openssl10-buildsize "72 MB (with tests)">
[e8c6baa]14 <!ENTITY openssl10-time "1.2 SBU (with tests)">
[a4f37269]15]>
16
17<sect1 id="openssl10" xreflabel="OpenSSL-&openssl10-version; Libraries">
18 <?dbhtml filename="openssl10.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>OpenSSL-&openssl10-version;</title>
26
27 <indexterm zone="openssl10">
28 <primary sortas="a-OpenSSL10">OpenSSL-&openssl10-version;</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to OpenSSL-&openssl10-version; Libraries</title>
33
34 <para>
35 The <application>OpenSSL-&openssl10-version;</application> package
36 contains libraries relating to cryptography. These are useful for
37 providing cryptographic functions to other packages, such as
38 email applications and web browsers (for accessing HTTPS sites). This
39 package provides only the libraries and headers for packages that have
[94b42903]40 not yet been ported to openssl-1.1.x or later.
[a4f37269]41 </para>
42
[2e0d6b9]43 &lfs82_checked;
[a4f37269]44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&openssl10-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&openssl10-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &openssl10-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &openssl10-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &openssl10-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &openssl10-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
80
81 <itemizedlist spacing="compact">
82 <listitem>
83 <para>Required patch: <ulink url="&patch-root;/openssl-&openssl10-version;-compat_versioned_symbols-1.patch"/></para>
84 </listitem>
85 </itemizedlist>
86
87 <bridgehead renderas="sect3">OpenSSL-&openssl10-version; Dependencies</bridgehead>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="mitkrb"/>
92 </para>
93
94 <para condition="html" role="usernotes">
95 User Notes: <ulink url='&blfs-wiki;/OpenSSL'/>
96 </para>
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of OpenSSL-&openssl10-version; Libraries</title>
101
102 <note>
103 <para>
104 This package does not support parallel build.
105 </para>
106 </note>
107
108 <para>
109 Install <application>OpenSSL-&openssl10-version; Libraries</application>
110 with the following commands:
111 </para>
112
113
114<screen><userinput> patch -Np1 -i ../openssl-&openssl10-version;-compat_versioned_symbols-1.patch &amp;&amp;
115
116./config --prefix=/usr \
117 --openssldir=/etc/ssl \
118 --libdir=lib/openssl-1.0 \
119 shared \
120 zlib-dynamic &amp;&amp;
121
122make depend &amp;&amp;
123make -j1</userinput></screen>
124
125 <para>
126 To test the results, issue: <command>make -j1 test</command>. The
127 test suite does not support parallel jobs.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>make INSTALL_PREFIX=$PWD/Dest install_sw &amp;&amp;
[2de449e3]135
[0e7a9e9]136rm -rf /usr/lib/openssl-1.0 &amp;&amp;
[2de449e3]137install -vdm755 /usr/lib/openssl-1.0 &amp;&amp;
[a4f37269]138cp -Rv Dest/usr/lib/openssl-1.0/* /usr/lib/openssl-1.0 &amp;&amp;
[2de449e3]139
[a4f37269]140mv -v /usr/lib/openssl-1.0/lib{crypto,ssl}.so.1.0.0 /usr/lib &amp;&amp;
[2de449e3]141ln -sv ../libssl.so.1.0.0 /usr/lib/openssl-1.0 &amp;&amp;
142ln -sv ../libcrypto.so.1.0.0 /usr/lib/openssl-1.0 &amp;&amp;
143
144install -vdm755 /usr/include/openssl-1.0 &amp;&amp;
145cp -Rv Dest/usr/include/openssl /usr/include/openssl-1.0 &amp;&amp;
146
[a4f37269]147sed 's@/include$@/include/openssl-1.0@' -i /usr/lib/openssl-1.0/pkgconfig/*.pc</userinput></screen>
148
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <para>
155 <parameter>shared</parameter>: This parameter forces the creation of
156 shared libraries along with the static libraries.
157 </para>
158
159 <para>
160 <parameter>zlib-dynamic</parameter>: This parameter adds
161 compression/decompression functionality using the
162 <filename class="libraryfile">libz</filename> library.
163 </para>
164
[0e7a9e9]165 <para>
166 <parameter>rm -rf /usr/lib/openssl-1.0</parameter>: This will do
167 nothing on a first install, but enables a later update. During the
168 install the libraries are moved and replaced by symlinks. If you later
169 upgrade to a future release of <application>openssl-1.0.2</application>
170 to fix newly discovered vulnerabilities, without this command the move
171 would fail because the symlinks mean the source and destination files
172 are identical.
173 </para>
174
[a4f37269]175 </sect2>
176
177 <sect2 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Libraries</segtitle>
182 <segtitle>Installed Directories</segtitle>
183
184 <seglistitem>
185 <seg>
186 libcrypto.so.1.0.0 and libssl.so.1.0.0
187 </seg>
188 <seg>
189 /usr/lib/openssl-1.0 and /usr/include/openssl-1.0
190 </seg>
191 </seglistitem>
192 </segmentedlist>
193
194 <variablelist>
195 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
196 <?dbfo list-presentation="list"?>
197 <?dbhtml list-presentation="table"?>
198
199 <varlistentry id="libcrypto10">
200 <term><filename class="libraryfile">libcrypto.so.1.0.0</filename></term>
201 <listitem>
202 <para>
203 implements a wide range of cryptographic algorithms used in various
204 Internet standards. The services provided by this library are used
205 by the <application>OpenSSL</application> implementations of SSL,
206 TLS and S/MIME, and they have also been used to implement
207 <application>OpenSSH</application>,
208 <application>OpenPGP</application>, and other cryptographic
209 standards.
210 </para>
211 <indexterm zone="openssl10 libcrypto10">
212 <primary sortas="c-libcrypto10">libcrypto.so.1.0.0</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="libssl10">
218 <term><filename class="libraryfile">libssl.so.1.0.0</filename></term>
219 <listitem>
220 <para>
221 implements the Transport Layer Security (TLS v1) protocol.
222 It provides a rich API, documentation
223 on which can be found by running <command>man 3 ssl</command>.
224 </para>
225 <indexterm zone="openssl10 libssl10">
226 <primary sortas="c-libssl10">libssl.so.1.0.0</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 </variablelist>
232
233 </sect2>
234
235</sect1>
Note: See TracBrowser for help on using the repository browser.