source: postlfs/security/openssl10.xml@ a4f37269

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.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 a4f37269 was a4f37269, checked in by DJ Lucas <dj@…>, 7 years ago

Update to OpenSSL-1.1.0f. Fixes #8214.
Update to OpenSSL Libraries 1.0.2l. Fixes #9282.
Remove Re-alpine and raplaced with Alpine-2.21.

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

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