source: archive/openssl10.xml@ b51c6f5c

10.0 10.1 11.0 8.4 9.0 9.1 bdubbs/svn elogind ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since b51c6f5c was b51c6f5c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Archive openssl10 and add qca patch.

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

  • Property mode set to 100644
File size: 7.6 KB
Line 
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">
11 <!ENTITY openssl10-md5sum "7563e1ce046cb21948eeb6ba1a0eb71c">
12 <!ENTITY openssl10-size "5.1 MB">
13 <!ENTITY openssl10-buildsize "74 MB (with tests)">
14 <!ENTITY openssl10-time "1.2 SBU (with tests)">
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
40 not yet been ported to openssl-1.1.x or later.
41 </para>
42
43 &lfs83_checked;
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;
135
136rm -rf /usr/lib/openssl-1.0 &amp;&amp;
137install -vdm755 /usr/lib/openssl-1.0 &amp;&amp;
138cp -Rv Dest/usr/lib/openssl-1.0/* /usr/lib/openssl-1.0 &amp;&amp;
139
140mv -v /usr/lib/openssl-1.0/lib{crypto,ssl}.so.1.0.0 /usr/lib &amp;&amp;
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
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
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
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.