source: postlfs/security/nettle.xml@ f37eef8b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 f37eef8b was f37eef8b, checked in by Ken Moffat <ken@…>, 12 years ago

Allow people to use shared nettle libraries - our way of showing the dependencies means that most users would not know that glib-networking uses the nettle libs.

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

  • Property mode set to 100644
File size: 5.6 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 nettle-download-http "http://www.lysator.liu.se/~nisse/archive/nettle-&nettle-version;.tar.gz">
8 <!ENTITY nettle-download-ftp "ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-&nettle-version;.tar.gz">
9 <!ENTITY nettle-md5sum "450be8c4886d46c09f49f568ad6fa013">
10 <!ENTITY nettle-size "1.0 MB">
11 <!ENTITY nettle-buildsize "121 MB">
12 <!ENTITY nettle-time "0.2 SBU">
13]>
14
15<sect1 id="nettle" xreflabel="nettle-&nettle-version;">
16 <?dbhtml filename="nettle.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>nettle-&nettle-version;</title>
24
25 <indexterm zone="nettle">
26 <primary sortas="a-nettle">nettle</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to nettle</title>
31
32 <para>The <application>nettle</application> package is a low-level
33 cryptographic library that is designed to fit easily in many contexts.
34 </para>
35
36 &lfs70_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&nettle-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&nettle-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &nettle-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &nettle-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &nettle-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &nettle-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <para condition="html" role="usernotes">User Notes:
61 <ulink url="&blfs-wiki;/nettle"/></para>
62
63 </sect2>
64
65 <sect2 role="installation">
66 <title>Installation of nettle</title>
67
68 <para>Install <application>nettle</application> by running the following
69 commands:</para>
70
71<screen><userinput>./configure --prefix=/usr &amp;&amp;
72make</userinput></screen>
73
74 <para>To test the results, issue: <command>make check</command>.</para>
75
76 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
77
78<screen role="root"><userinput>make install &amp;&amp;
79install -v -m755 -d /usr/share/doc/nettle-&nettle-version; &amp;&amp;
80install -v -m644 nettle.html /usr/share/doc/nettle-&nettle-version;</userinput></screen>
81
82 </sect2>
83
84 <sect2 role="commands">
85 <title>Command Explanations</title>
86
87 <para><option>--enable-shared</option>: This switch will ensure
88 that shared, as well as static, libraries will be built. If you
89 have linked the packages which use these libraries
90 (<application>gnutls</application> and
91 <application>glib-networking</application>, perhaps others) to the
92 shared libraries, and ever have to rebuild
93 <application>libnettle</application> to fix a vulnerability, you
94 will not have to recompile those other applications.</para>
95
96 </sect2>
97
98 <sect2 role="content">
99 <title>Contents</title>
100
101 <segmentedlist>
102 <segtitle>Installed Programs</segtitle>
103 <segtitle>Installed Library</segtitle>
104 <segtitle>Installed Directories</segtitle>
105
106 <seglistitem>
107 <seg>nettle-hash, nettle-lfib-stream, pkcs1-conv, and sexp-conv</seg>
108 <seg>libhogweed.a and libnettle.a : optionally, libhogweed.so and
109 libnettle.so</seg>
110 <seg>/usr/include/nettle</seg>
111 </seglistitem>
112 </segmentedlist>
113
114 <variablelist>
115 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
116 <?dbfo list-presentation="list"?>
117 <?dbhtml list-presentation="table"?>
118
119 <varlistentry id="nettle-hash">
120 <term><command>nettle-hash</command></term>
121 <listitem>
122 <para>calulates a hash value using a specified algorithm.</para>
123 <indexterm zone="nettle nettle-hash">
124 <primary sortas="b-nettle-hash">nettle-hash</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry id="nettle-lfib-stream">
130 <term><command>nettle-lfib-stream</command></term>
131 <listitem>
132 <para>outputs a sequence of pseudorandom (non-cryptographic) bytes,
133 using Knuth's lagged fibonacci generator. The stream is useful for
134 testing, but should not be used to generate cryptographic keys or anything
135 else that needs real randomness.</para>
136 <indexterm zone="nettle nettle-lfib-stream">
137 <primary sortas="b-nettle-lfib-stream">nettle-lfib-stream</primary>
138 </indexterm>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry id="pkcs1-conv">
143 <term><command>pkcs1-conv</command></term>
144 <listitem>
145 <para>converts private and public RSA keys from PKCS #1 format to
146 sexp format.</para>
147 <indexterm zone="nettle pkcs1-conv">
148 <primary sortas="b-pkcs1-conv">pkcs1-conv</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="sexp-conv">
154 <term><command>sexp-conv</command></term>
155 <listitem>
156 <para>converts an s-expression to a different encoding.</para>
157 <indexterm zone="nettle sexp-conv">
158 <primary sortas="b-sexp-conv">sexp-conv</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.