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