source: postlfs/security/nettle.xml@ ecb79c8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 ecb79c8 was ecb79c8, checked in by Igor Živković <igor@…>, 10 years ago

clarify nettle's openssl dependency

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

  • Property mode set to 100644
File size: 5.7 KB
RevLine 
[0c6c35d]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
[5eaf9af8]7 <!ENTITY nettle-download-http "http://ftp.gnu.org/gnu/nettle/nettle-&nettle-version;.tar.gz">
8 <!ENTITY nettle-download-ftp "ftp://ftp.gnu.org/gnu/nettle/nettle-&nettle-version;.tar.gz">
[2955093]9 <!ENTITY nettle-md5sum "003d5147911317931dd453520eb234a5">
[4890200]10 <!ENTITY nettle-size "1.5 MB">
[2955093]11 <!ENTITY nettle-buildsize "94 MB">
12 <!ENTITY nettle-time "0.6 SBU">
[0c6c35d]13]>
14
[5eaf9af8]15<sect1 id="nettle" xreflabel="Nettle-&nettle-version;">
[0c6c35d]16 <?dbhtml filename="nettle.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[5eaf9af8]23 <title>Nettle-&nettle-version;</title>
[0c6c35d]24
25 <indexterm zone="nettle">
[5eaf9af8]26 <primary sortas="a-Nettle">Nettle</primary>
[0c6c35d]27 </indexterm>
28
29 <sect2 role="package">
[5eaf9af8]30 <title>Introduction to Nettle</title>
[0c6c35d]31
[5eaf9af8]32 <para>
33 The <application>Nettle</application> package contains the low-level
34 cryptographic library that is designed to fit easily in many contexts.
[0c6c35d]35 </para>
36
[860737ee]37 &lfs74_checked;
[0c6c35d]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[5eaf9af8]42 <para>
43 Download (HTTP): <ulink url="&nettle-download-http;"/>
44 </para>
[0c6c35d]45 </listitem>
46 <listitem>
[5eaf9af8]47 <para>
48 Download (FTP): <ulink url="&nettle-download-ftp;"/>
49 </para>
[0c6c35d]50 </listitem>
51 <listitem>
[5eaf9af8]52 <para>
53 Download MD5 sum: &nettle-md5sum;
54 </para>
[0c6c35d]55 </listitem>
56 <listitem>
[5eaf9af8]57 <para>
58 Download size: &nettle-size;
59 </para>
[0c6c35d]60 </listitem>
61 <listitem>
[5eaf9af8]62 <para>
63 Estimated disk space required: &nettle-buildsize;
64 </para>
[0c6c35d]65 </listitem>
66 <listitem>
[5eaf9af8]67 <para>
68 Estimated build time: &nettle-time;
69 </para>
[0c6c35d]70 </listitem>
71 </itemizedlist>
72
[4890200]73 <bridgehead renderas="sect3">Nettle Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
[ecb79c8]77 <xref linkend="openssl"/> (for examples)
[4890200]78 </para>
79
[0c6c35d]80 <para condition="html" role="usernotes">User Notes:
[5eaf9af8]81 <ulink url="&blfs-wiki;/nettle"/>
82 </para>
[0c6c35d]83 </sect2>
84
85 <sect2 role="installation">
[5eaf9af8]86 <title>Installation of Nettle</title>
[0c6c35d]87
[5eaf9af8]88 <para>Install <application>Nettle</application> by running the following
[0c6c35d]89 commands:</para>
90
91<screen><userinput>./configure --prefix=/usr &amp;&amp;
92make</userinput></screen>
93
[5eaf9af8]94 <para>
95 To test the results, issue: <command>make check</command>.
96 </para>
[0d7900a]97
[105034a]98 <para>
99 If you want to disable installing the static library, use this sed:
100 </para>
101
102<screen><userinput>sed -i '/^install-here/ s/install-static//' Makefile</userinput></screen>
103
[5eaf9af8]104 <para>
105 Now, as the <systemitem class="username">root</systemitem> user:
106 </para>
[0c6c35d]107
108<screen role="root"><userinput>make install &amp;&amp;
[2955093]109chmod -v 755 /usr/lib/libhogweed.so.2.5 /usr/lib/libnettle.so.4.7 &amp;&amp;
[0c6c35d]110install -v -m755 -d /usr/share/doc/nettle-&nettle-version; &amp;&amp;
111install -v -m644 nettle.html /usr/share/doc/nettle-&nettle-version;</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="content">
116 <title>Contents</title>
117
118 <segmentedlist>
119 <segtitle>Installed Programs</segtitle>
[5eaf9af8]120 <segtitle>Installed Libraries</segtitle>
121 <segtitle>Installed Directory</segtitle>
[0c6c35d]122
123 <seglistitem>
[5eaf9af8]124 <seg>
125 nettle-hash, nettle-lfib-stream, pkcs1-conv and sexp-conv
126 </seg>
127 <seg>
128 libhogweed.{so,a} and libnettle.{so,a}
129 </seg>
130 <seg>
131 /usr/include/nettle
132 </seg>
[0c6c35d]133 </seglistitem>
134 </segmentedlist>
135
136 <variablelist>
137 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
138 <?dbfo list-presentation="list"?>
139 <?dbhtml list-presentation="table"?>
140
141 <varlistentry id="nettle-hash">
142 <term><command>nettle-hash</command></term>
143 <listitem>
[5eaf9af8]144 <para>
145 calulates a hash value using a specified algorithm.
146 </para>
[0c6c35d]147 <indexterm zone="nettle nettle-hash">
148 <primary sortas="b-nettle-hash">nettle-hash</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="nettle-lfib-stream">
154 <term><command>nettle-lfib-stream</command></term>
155 <listitem>
[5eaf9af8]156 <para>
157 outputs a sequence of pseudorandom (non-cryptographic) bytes, using
158 Knuth's lagged fibonacci generator. The stream is useful for testing,
[0d7900a]159 but should not be used to generate cryptographic keys or anything
[5eaf9af8]160 else that needs real randomness.
161 </para>
[0c6c35d]162 <indexterm zone="nettle nettle-lfib-stream">
163 <primary sortas="b-nettle-lfib-stream">nettle-lfib-stream</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="pkcs1-conv">
169 <term><command>pkcs1-conv</command></term>
170 <listitem>
[5eaf9af8]171 <para>
172 converts private and public RSA keys from PKCS #1 format to
173 sexp format.
174 </para>
[0c6c35d]175 <indexterm zone="nettle pkcs1-conv">
176 <primary sortas="b-pkcs1-conv">pkcs1-conv</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="sexp-conv">
182 <term><command>sexp-conv</command></term>
183 <listitem>
[5eaf9af8]184 <para>
185 converts an s-expression to a different encoding.
186 </para>
[0c6c35d]187 <indexterm zone="nettle sexp-conv">
188 <primary sortas="b-sexp-conv">sexp-conv</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.