source: postlfs/security/nss.xml@ 1adf07d

systemd-13485
Last change on this file since 1adf07d was cb0bbd2, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Update to gjs-1.43.3
Update to libsecret-0.18.3
Update to sqlite-3.8.11.1
Update to nss-3.19.3
Update to gsettings-desktop-schemas-3.16.1
Update to firefox-40.0.2
Added some short descriptions by Denis.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16346 af4574ff-66df-0310-9fd7-8a98e5e911e0

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