source: postlfs/security/nss.xml@ 66c47415

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 66c47415 was 731d374, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to nss-3.15
Update to nspr-4.10
Update to libgpg-error-1.12
Update to libassuan-2.1.1
Update to iso-codes-3.43

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

  • Property mode set to 100644
File size: 8.0 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 nss-download-http
8 "http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_&nss-major-version;_RTM/src/nss-&nss-version;.tar.gz">
9 <!ENTITY nss-download-ftp
10 "ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_&nss-major-version;_RTM/src/nss-&nss-version;.tar.gz">
11 <!ENTITY nss-md5sum "391fd6ef006f59ddc440054cad33d259">
12 <!ENTITY nss-size "6.0 MB">
13 <!ENTITY nss-buildsize "72 MB">
14 <!ENTITY nss-time "0.8 SBU">
15]>
16
17<sect1 id="nss" xreflabel="NSS-&nss-version;">
18 <?dbhtml filename="nss.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>NSS-&nss-version;</title>
26
27 <indexterm zone="nss">
28 <primary sortas="a-NSS">NSS</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to NSS</title>
33
34 <para>
35 The Network Security Services (<application>NSS</application>) package is
36 a set of libraries designed to support cross-platform development of
37 security-enabled client and server applications. Applications built with
38 NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12,
39 S/MIME, X.509 v3 certificates, and other security standards. This is
40 useful for implementing SSL and S/MIME or other Internet security
41 standards into an application.
42 </para>
43
44 &lfs73_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&nss-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&nss-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &nss-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &nss-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &nss-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &nss-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">NSS Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="nspr"/>
85 </para>
86
87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
89 <xref linkend="sqlite"/>
90 </para>
91
92 <para condition="html" role="usernotes">
93 User Notes: <ulink url="&blfs-wiki;/nss"/>
94 </para>
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of NSS</title>
99
100 <note>
101 <para>
102 This package does not support parallel build.
103 </para>
104 </note>
105
106 <para>
107 Install <application>NSS</application> by running the following commands:
108 </para>
109
110<screen><userinput>cd nss &amp;&amp;
111make BUILD_OPT=1 \
112 NSPR_INCLUDE_DIR=/usr/include/nspr \
113 USE_SYSTEM_ZLIB=1 \
114 ZLIB_LIBS=-lz \
115 $([ $(uname -m) = x86_64 ] &amp;&amp; echo USE_64=1) \
116 $([ -f /usr/include/sqlite3.h ] &amp;&amp; echo NSS_USE_SYSTEM_SQLITE=1)</userinput></screen>
117
118 <para>
119 This package does not come with a test suite.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>cd ../dist &amp;&amp;
127install -v -m755 Linux*/lib/*.so /usr/lib &amp;&amp;
128install -v -m644 Linux*/lib/{*.chk,libcrmf.a} /usr/lib &amp;&amp;
129install -v -m755 -d /usr/include/nss &amp;&amp;
130cp -v -RL {public,private}/nss/* /usr/include/nss &amp;&amp;
131chmod 644 /usr/include/nss/* &amp;&amp;
132install -v -m755 Linux*/bin/{certutil,pk12util} /usr/bin</userinput></screen>
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <para>
139 <parameter>BUILD_OPT=1</parameter>: This option is passed to
140 <command>make</command> so that the build is performed with no debugging
141 symbols built into the binaries and the default compiler optimizations are
142 used.
143 </para>
144
145 <para>
146 <parameter>NSPR_INCLUDE_DIR=/usr/include/nspr</parameter>: This option
147 sets the location of the nspr headers.
148 </para>
149
150 <para>
151 <parameter>USE_SYSTEM_ZLIB=1</parameter>: This option is passed to
152 <command>make</command> to ensure that the
153 <filename class="libraryfile">libssl3.so</filename> library is linked to
154 the system installed <application>zlib</application> instead of the
155 in-tree version.
156 </para>
157
158 <para>
159 <parameter>ZLIB_LIBS=-lz</parameter>: This option provides the
160 linker flags needed to link to the system <application>zlib</application>.
161 </para>
162
163 <para>
164 <command>$([ $(uname -m) = x86_64 ] &amp;&amp; echo USE_64=1)</command>:
165 The <parameter>USE_64=1</parameter> option is <emphasis>required on
166 x86_64</emphasis>, otherwise <command>make</command> will try (and fail)
167 to create 32-bit objects. The [ $(uname -m) = x86_64 ] test ensures it
168 has no effect on a 32 bit system.
169 </para>
170
171 <para>
172 <command>([ -f /usr/include/sqlite3.h ] &amp;&amp; echo
173 NSS_USE_SYSTEM_SQLITE=1)</command>: This tests if
174 <application>sqlite</application> is installed and if so it
175 <command>echo</command>s the option NSS_USE_SYSTEM_SQLITE=1 to
176 <command>make</command> so that
177 <filename class="libraryfile">libsoftokn3.so</filename> will link against
178 the system version of sqlite.
179 </para>
180 </sect2>
181
182 <sect2 role="content">
183 <title>Contents</title>
184
185 <segmentedlist>
186 <segtitle>Installed Programs</segtitle>
187 <segtitle>Installed Libraries</segtitle>
188 <segtitle>Installed Directories</segtitle>
189
190 <seglistitem>
191 <seg>
192 certutil and pk12util
193 </seg>
194 <seg>
195 libcrmf.a, libfreebl3.so, libnss3.so, libnssckbi.so,
196 libnssdbm3.so, libnsssysinit.so, libnssutil3.so,
197 libsmime3.so, libsoftokn3.so, and libssl3.so
198 </seg>
199 <seg>
200 /usr/include/nss
201 </seg>
202 </seglistitem>
203 </segmentedlist>
204
205 <variablelist>
206 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
207 <?dbfo list-presentation="list"?>
208 <?dbhtml list-presentation="table"?>
209
210 <varlistentry id="certutil">
211 <term><command>certutil</command></term>
212 <listitem>
213 <para>
214 is the Mozilla Certificate Database Tool. It is a command-line
215 utility that can create and modify the Netscape Communicator
216 cert8.db and key3.db database files. It can also list, generate,
217 modify, or delete certificates within the cert8.db file and create
218 or change the password, generate new public and private key pairs,
219 display the contents of the key database, or delete key pairs within
220 the key3.db file.
221 </para>
222 <indexterm zone="nss certutil">
223 <primary sortas="b-certutil">certutil</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="pk12util">
229 <term><command>pk12util</command></term>
230 <listitem>
231 <para>
232 is a tool for importing certificates and keys from pkcs #12 files
233 into NSS or exporting them. It can also list certificates and keys
234 in such files.
235 </para>
236 <indexterm zone="nss pk12util">
237 <primary sortas="b-pk12util">pk12util</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 </variablelist>
243
244 </sect2>
245
246</sect1>
Note: See TracBrowser for help on using the repository browser.