source: chapter06/openssl.xml@ e5474751

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since e5474751 was e5474751, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Move OpenSSL-1.1.0g from BLFS to LFS
to support wireless operations in the linux kernel.

Update to e2fsprogs-1.43.9.
Update to dbus-1.12.4.
Update to mpfr-4.0.1.
Update to linux-4.15.2.
Update to patch-2.7.6.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11363 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 5.3 KB
RevLine 
[e5474751]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
8<sect1 id="ch-system-openssl" role="wrap">
9 <?dbhtml filename="openssl.html"?>
10
11 <sect1info condition="script">
12 <productname>openssl</productname>
13 <productnumber>&openssl-version;</productnumber>
14 <address>&openssl-url;</address>
15 </sect1info>
16
17 <title>OpenSSL-&openssl-version;</title>
18
19 <indexterm zone="ch-system-openssl">
20 <primary sortas="a-OpenSSL">OpenSSL</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The OpenSSL package contains management tools and libraries relating
27 to cryptography. These are useful for providing cryptographic functions
28 to other packages, such as OpenSSH, email applications and web browsers
29 (for accessing HTTPS sites). </para>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&openssl-ch6-sbu;</seg>
37 <seg>&openssl-ch6-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of OpenSSL</title>
45
46 <para>Prepare OpenSSL for compilation:</para>
47
48<screen><userinput remap="configure">./config --prefix=/usr \
49 --openssldir=/etc/ssl \
50 --libdir=lib \
51 shared \
52 zlib-dynamic</userinput></screen>
53
54 <para>Compile the package:</para>
55
56<screen><userinput remap="make">make</userinput></screen>
57
58 <para>To test the results, issue:</para>
59
60<screen><userinput remap="test">make test</userinput></screen>
61
62 <para>Install the package:</para>
63
64<screen><userinput remap="install">sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
65make MANSUFFIX=ssl install</userinput></screen>
66
67 <para>If desired, install the documentation:</para>
68
69<screen><userinput remap="install">mv -v /usr/share/doc/openssl /usr/share/doc/openssl-&openssl-version;
70cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
71
72 </sect2>
73
74 <sect2 id="contents-openssl" role="content">
75 <title>Contents of OpenSSL</title>
76
77 <segmentedlist>
78 <segtitle>Installed programs</segtitle>
79 <segtitle>Installed libraries</segtitle>
80 <segtitle>Installed directories</segtitle>
81
82 <seglistitem>
83 <seg>
84 c_rehash and openssl
85 </seg>
86 <seg>
87 libcrypto.{so,a} and libssl.{so,a}
88 </seg>
89 <seg>
90 /etc/ssl,
91 /usr/include/openssl,
92 /usr/lib/engines and
93 /usr/share/doc/openssl-&openssl-version;
94 </seg>
95 </seglistitem>
96 </segmentedlist>
97
98 <variablelist>
99 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
100 <?dbfo list-presentation="list"?>
101 <?dbhtml list-presentation="table"?>
102
103 <varlistentry id="c_rehash">
104 <term><command>c_rehash</command></term>
105 <listitem>
106 <para>
107 is a <application>Perl</application> script that scans all files in
108 a directory and adds symbolic links to their hash values.
109 </para>
110 <indexterm zone="ch-system-openssl c_rehash">
111 <primary sortas="b-c_rehash">c_rehash</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry id="openssl-prog">
117 <term><command>openssl</command></term>
118 <listitem>
119 <para>
120 is a command-line tool for using the various cryptography functions
121 of <application>OpenSSL</application>'s crypto library from the
122 shell. It can be used for various functions which are documented in
123 <command>man 1 openssl</command>.
124 </para>
125 <indexterm zone="ch-system-openssl openssl-prog">
126 <primary sortas="b-openssl">openssl</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="libcrypto">
132 <term><filename class="libraryfile">libcrypto.so</filename></term>
133 <listitem>
134 <para>
135 implements a wide range of cryptographic algorithms used in various
136 Internet standards. The services provided by this library are used
137 by the <application>OpenSSL</application> implementations of SSL,
138 TLS and S/MIME, and they have also been used to implement
139 <application>OpenSSH</application>,
140 <application>OpenPGP</application>, and other cryptographic
141 standards.
142 </para>
143 <indexterm zone="ch-system-openssl libcrypto">
144 <primary sortas="c-libcrypto">libcrypto.so</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="libssl">
150 <term><filename class="libraryfile">libssl.so</filename></term>
151 <listitem>
152 <para>
153 implements the Transport Layer Security (TLS v1) protocol.
154 It provides a rich API, documentation
155 on which can be found by running <command>man 3 ssl</command>.
156 </para>
157 <indexterm zone="ch-system-openssl libssl">
158 <primary sortas="c-libssl">libssl.so</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 </variablelist>
164
165 </sect2>
166
167</sect1>
Note: See TracBrowser for help on using the repository browser.