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 "f85123cd390e864dfbe517e7616e6566">
|
---|
12 | <!ENTITY openssl10-size "5.2 MB">
|
---|
13 | <!ENTITY openssl10-buildsize "58 MB (with tests)">
|
---|
14 | <!ENTITY openssl10-time "1.6 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 <xref linkend="openssl"/>.
|
---|
41 | </para>
|
---|
42 |
|
---|
43 | &lfs80_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 &&
|
---|
115 |
|
---|
116 | ./config --prefix=/usr \
|
---|
117 | --openssldir=/etc/ssl \
|
---|
118 | --libdir=lib/openssl-1.0 \
|
---|
119 | shared \
|
---|
120 | zlib-dynamic &&
|
---|
121 |
|
---|
122 | make depend &&
|
---|
123 | make -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 &&
|
---|
135 |
|
---|
136 | install -vdm755 /usr/lib/openssl-1.0 &&
|
---|
137 | cp -Rv Dest/usr/lib/openssl-1.0/* /usr/lib/openssl-1.0 &&
|
---|
138 |
|
---|
139 | mv -v /usr/lib/openssl-1.0/lib{crypto,ssl}.so.1.0.0 /usr/lib &&
|
---|
140 | ln -sv ../libssl.so.1.0.0 /usr/lib/openssl-1.0 &&
|
---|
141 | ln -sv ../libcrypto.so.1.0.0 /usr/lib/openssl-1.0 &&
|
---|
142 |
|
---|
143 | install -vdm755 /usr/include/openssl-1.0 &&
|
---|
144 | cp -Rv Dest/usr/include/openssl /usr/include/openssl-1.0 &&
|
---|
145 |
|
---|
146 | sed 's@/include$@/include/openssl-1.0@' -i /usr/lib/openssl-1.0/pkgconfig/*.pc</userinput></screen>
|
---|
147 |
|
---|
148 | </sect2>
|
---|
149 |
|
---|
150 | <sect2 role="commands">
|
---|
151 | <title>Command Explanations</title>
|
---|
152 |
|
---|
153 | <para>
|
---|
154 | <parameter>shared</parameter>: This parameter forces the creation of
|
---|
155 | shared libraries along with the static libraries.
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <para>
|
---|
159 | <parameter>zlib-dynamic</parameter>: This parameter adds
|
---|
160 | compression/decompression functionality using the
|
---|
161 | <filename class="libraryfile">libz</filename> library.
|
---|
162 | </para>
|
---|
163 |
|
---|
164 | </sect2>
|
---|
165 |
|
---|
166 | <sect2 role="content">
|
---|
167 | <title>Contents</title>
|
---|
168 |
|
---|
169 | <segmentedlist>
|
---|
170 | <segtitle>Installed Libraries</segtitle>
|
---|
171 | <segtitle>Installed Directories</segtitle>
|
---|
172 |
|
---|
173 | <seglistitem>
|
---|
174 | <seg>
|
---|
175 | libcrypto.so.1.0.0 and libssl.so.1.0.0
|
---|
176 | </seg>
|
---|
177 | <seg>
|
---|
178 | /usr/lib/openssl-1.0 and /usr/include/openssl-1.0
|
---|
179 | </seg>
|
---|
180 | </seglistitem>
|
---|
181 | </segmentedlist>
|
---|
182 |
|
---|
183 | <variablelist>
|
---|
184 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
185 | <?dbfo list-presentation="list"?>
|
---|
186 | <?dbhtml list-presentation="table"?>
|
---|
187 |
|
---|
188 | <varlistentry id="libcrypto10">
|
---|
189 | <term><filename class="libraryfile">libcrypto.so.1.0.0</filename></term>
|
---|
190 | <listitem>
|
---|
191 | <para>
|
---|
192 | implements a wide range of cryptographic algorithms used in various
|
---|
193 | Internet standards. The services provided by this library are used
|
---|
194 | by the <application>OpenSSL</application> implementations of SSL,
|
---|
195 | TLS and S/MIME, and they have also been used to implement
|
---|
196 | <application>OpenSSH</application>,
|
---|
197 | <application>OpenPGP</application>, and other cryptographic
|
---|
198 | standards.
|
---|
199 | </para>
|
---|
200 | <indexterm zone="openssl10 libcrypto10">
|
---|
201 | <primary sortas="c-libcrypto10">libcrypto.so.1.0.0</primary>
|
---|
202 | </indexterm>
|
---|
203 | </listitem>
|
---|
204 | </varlistentry>
|
---|
205 |
|
---|
206 | <varlistentry id="libssl10">
|
---|
207 | <term><filename class="libraryfile">libssl.so.1.0.0</filename></term>
|
---|
208 | <listitem>
|
---|
209 | <para>
|
---|
210 | implements the Transport Layer Security (TLS v1) protocol.
|
---|
211 | It provides a rich API, documentation
|
---|
212 | on which can be found by running <command>man 3 ssl</command>.
|
---|
213 | </para>
|
---|
214 | <indexterm zone="openssl10 libssl10">
|
---|
215 | <primary sortas="c-libssl10">libssl.so.1.0.0</primary>
|
---|
216 | </indexterm>
|
---|
217 | </listitem>
|
---|
218 | </varlistentry>
|
---|
219 |
|
---|
220 | </variablelist>
|
---|
221 |
|
---|
222 | </sect2>
|
---|
223 |
|
---|
224 | </sect1>
|
---|