source: general/genlib/openssl.xml@ da4aff6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since da4aff6 was da4aff6, checked in by Randy McMurchy <randy@…>, 20 years ago

Removed erroneously added optional dependency 'pkgconfig' from various packages

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

  • Property mode set to 100644
File size: 9.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7
8<!ENTITY openssl-download-http "http://www.openssl.org/source/openssl-&openssl-version;.tar.gz">
9<!ENTITY openssl-download-ftp "ftp://ftp.openssl.org/source/openssl-&openssl-version;.tar.gz">
10<!ENTITY openssl-size "2.7 MB">
11<!ENTITY openssl-buildsize "25 MB">
12<!ENTITY openssl-time "1.16 SBU">
13
14]>
15
16
17<sect1 id="openssl" xreflabel="OpenSSL-&openssl-version;">
18<?dbhtml filename="openssl.html"?>
19<title>OpenSSL-&openssl-version;</title>
20
21
22<sect2>
23<title>Introduction to <application>Open<acronym>SSL</acronym></application>
24</title>
25
26<para>The <application>Open<acronym>SSL</acronym></application> package contains
27management tools and libraries relating to cryptography. These are useful for
28providing cryptography functions to other packages, notably
29<application>OpenSSH</application>, email applications and web browsers (for
30accessing secure https sites).</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Download (HTTP): <ulink url="&openssl-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink url="&openssl-download-ftp;"/></para></listitem>
36<listitem><para>Download size: &openssl-size;</para></listitem>
37<listitem><para>Estimated Disk space required: &openssl-buildsize;</para></listitem>
38<listitem><para>Estimated build time: &openssl-time;</para></listitem></itemizedlist>
39</sect3>
40
41<sect3><title><application>Open<acronym>SSL</acronym></application>
42dependencies</title>
43<sect4><title>Optional</title>
44<para><xref linkend="bc"/> (recommended
45if you run the test suite during the build)</para></sect4>
46</sect3>
47
48</sect2>
49
50<sect2>
51<title>Installation of <application>Open<acronym>SSL</acronym></application>
52</title>
53
54<para>Install <application>Open<acronym>SSL</acronym></application> by running
55the following commands:</para>
56
57<screen><userinput><command>sed 's/^passwd/openssl-passwd/' doc/apps/passwd.pod \
58 > doc/apps/openssl-passwd.pod &amp;&amp;
59rm doc/apps/passwd.pod &amp;&amp;
60mv doc/crypto/{,openssl_}threads.pod &amp;&amp;
61sed -i -e 's/-m486/-march=i486/' Configure &amp;&amp;
62./config --openssldir=/etc/ssl --prefix=/usr shared &amp;&amp;
63make MANDIR=/usr/share/man &amp;&amp;
64make MANDIR=/usr/share/man install &amp;&amp;
65cp -r certs /etc/ssl &amp;&amp;
66rmdir /etc/ssl/lib</command></userinput></screen>
67
68</sect2>
69
70<sect2>
71<title>Command explanations</title>
72
73<para><option>no-rc5 no-idea</option>: When added to the
74<command>./config</command> command, this will eliminate the building of those
75encryption methods. Patent licenses may be needed for you to utilize either of
76those methods in your projects.</para>
77
78<para><command>rm doc/apps/passwd.pod</command>: This command prevents
79<application>Open<acronym>SSL</acronym></application> from installing its
80passwd man page over an existing man page with the same name.</para>
81
82<para><command>mv doc/crypto/{,openssl_}threads.pod</command>: This
83commands prevents <application>Open<acronym>SSL</acronym></application> from
84overwriting an existing man page from <application>Perl</application>.</para>
85
86<para><command>sed -i -e 's/-m486/-march=i486/' Configure</command>:
87<application>GCC</application> issues a warning on every
88compilation because the <command>Configure</command>
89command uses deprecated <parameter>-m486</parameter> instead of
90<parameter>-march=i486</parameter>.</para>
91
92<para><screen><command>make MANDIR=/usr/share/man
93make MANDIR=/usr/share/man install</command></screen> These
94commands install <application>Open<acronym>SSL</acronym></application> with the
95man pages in <filename class='directory'>/usr/share/man</filename> instead of
96the default which is <filename class='directory'>/etc/ssl/man</filename>.</para>
97
98<para><command>cp -r certs /etc/ssl</command>: The certificates must be copied
99manually since the install script skips this step.</para>
100
101<para><command>rmdir /etc/ssl/lib</command>: This is simply a tidy-up command.
102For some reason, the <application>Open<acronym>SSL</acronym></application>
103install routine creates the <filename class='directory'>/etc/ssl/lib</filename>
104directory even though the libraries have been installed in
105<filename class='directory'>/usr/lib</filename>. This directory is removed to
106keep things nice and tidy!</para>
107
108</sect2>
109
110<sect2>
111<title>Configuring <application>OpenSSL</application></title>
112
113<sect3><title>Config files</title>
114<para><filename>/etc/ssl/openssl.cnf</filename></para>
115</sect3>
116
117<sect3><title>Configuration Information</title>
118
119<para>Most people who just want to use
120<application>Open<acronym>SSL</acronym></application> for providing functions
121to other programs such as <application>Open<acronym>SSH</acronym></application>
122and web browsers won't need to worry about configuring
123<application>Open<acronym>SSL</acronym></application>. Configuring
124<application>Open<acronym>SSL</acronym></application> is an advanced topic and
125so those who do would normally be expected to either know how to do it
126or to be able to find out how to do it.</para>
127</sect3>
128
129</sect2>
130
131<sect2>
132<title>Contents</title>
133
134<para>The <application>Open<acronym>SSL</acronym></application> package
135contains <command>c_rehash</command>, <command>openssl</command>,
136<filename class='libraryfile'>libcrypto</filename> libraries and
137<filename class='libraryfile'>libssl</filename> libraries.</para>
138
139</sect2>
140
141<sect2><title>Description</title>
142
143<sect3><title>c_rehash</title>
144
145<para><command>c_rehash</command> is a <application>Perl</application> script
146that scans all files in a directory and adds symbolic links to their hash
147values.</para>
148
149</sect3>
150
151<sect3><title>openssl</title>
152
153<para>The <command>openssl</command> program is a command-line tool for using
154the various cryptography functions of
155<application>Open<acronym>SSL</acronym></application>'s
156crypto library from the shell. It can be used for various functions which are
157documented in <command>man 1 openssl</command>.</para>
158
159</sect3>
160
161<sect3><title>libcrypto</title>
162
163<para>The <application>Open<acronym>SSL</acronym></application> crypto library
164implements a wide range of cryptographic algorithms used in various Internet
165standards. The services provided by this library are used by the
166<application>Open<acronym>SSL</acronym></application> implementations of
167<acronym>SSL</acronym>, <acronym>TLS</acronym> and <acronym>S/MIME</acronym>,
168and they have also been used to implement
169<application>Open<acronym>SSH</acronym></application>,
170<application>Open<acronym>PGP</acronym></application>, and other cryptographic
171standards.</para>
172
173</sect3>
174
175<sect3><title>libssl</title>
176
177<para>The <application>Open<acronym>SSL</acronym></application>
178<acronym>SSL</acronym> library implements the Secure Sockets Layer
179(<acronym>SSL</acronym> v2/v3) and Transport Layer Security
180(<acronym>TLS</acronym> v1) protocols. It provides a rich
181<acronym>API</acronym>, documentation on which can be found by running
182<command>man 3 ssl</command>.</para>
183
184</sect3>
185
186</sect2>
187
188</sect1>
189
Note: See TracBrowser for help on using the repository browser.