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 haveged-download-http "https://github.com/jirka-h/haveged/archive/v&haveged-version;/haveged-&haveged-version;.tar.gz">
|
---|
8 | <!ENTITY haveged-download-ftp " ">
|
---|
9 | <!ENTITY haveged-md5sum "5391978794208b6cca6f53d7a6211c04">
|
---|
10 | <!ENTITY haveged-size "488 KB">
|
---|
11 | <!ENTITY haveged-buildsize "21 MB (with tests)">
|
---|
12 | <!ENTITY haveged-time "0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="haveged" xreflabel="Haveged-&haveged-version;">
|
---|
16 | <?dbhtml filename="haveged.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Haveged-&haveged-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="haveged">
|
---|
26 | <primary sortas="a-Haveged">Haveged</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Haveged</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>Haveged</application> package contains a daemon
|
---|
34 | that generates an unpredictable stream of random numbers
|
---|
35 | and feeds the /dev/random device.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs10_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&haveged-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&haveged-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &haveged-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &haveged-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &haveged-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &haveged-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <para condition="html" role="usernotes">User Notes:
|
---|
75 | <ulink url="&blfs-wiki;/haveged"/>
|
---|
76 | </para>
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2 role="installation">
|
---|
80 | <title>Installation of Haveged</title>
|
---|
81 |
|
---|
82 | <para>
|
---|
83 | Install <application>Haveged</application> by running the following
|
---|
84 | commands:
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <screen><userinput>./configure --prefix=/usr &&
|
---|
88 | make</userinput></screen>
|
---|
89 |
|
---|
90 | <para>
|
---|
91 | To test the results, issue: <command>make check</command>.
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <para>
|
---|
95 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <screen role="root"><userinput>make install &&
|
---|
99 | mkdir -pv /usr/share/doc/haveged-&haveged-version; &&
|
---|
100 | cp -v README /usr/share/doc/haveged-&haveged-version;</userinput></screen>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 role="configuration">
|
---|
105 | <title>Configuring haveged</title>
|
---|
106 |
|
---|
107 | <sect3 id="haveged-init">
|
---|
108 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
109 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
110 |
|
---|
111 | <para revision="sysv">
|
---|
112 | If you want the <application>Haveged</application> daemon to
|
---|
113 | start automatically when the system is booted, install the
|
---|
114 | <filename>/etc/rc.d/init.d/haveged</filename> init script included
|
---|
115 | in the <xref linkend="bootscripts"/> package (as the
|
---|
116 | <systemitem class="username">root</systemitem> user):
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <para revision="systemd">
|
---|
120 | If you want the <application>Haveged</application> daemon to
|
---|
121 | start automatically when the system is booted, install the
|
---|
122 | <filename>haveged.service</filename> unit included in the
|
---|
123 | <xref linkend="systemd-units"/> package (as the
|
---|
124 | <systemitem class="username">root</systemitem> user):
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <indexterm zone="haveged haveged-init">
|
---|
128 | <primary sortas="f-haveged">haveged</primary>
|
---|
129 | </indexterm>
|
---|
130 |
|
---|
131 | <screen role="root"><userinput>make install-haveged</userinput></screen>
|
---|
132 |
|
---|
133 | </sect3>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2 role="content">
|
---|
138 | <title>Contents</title>
|
---|
139 |
|
---|
140 | <segmentedlist>
|
---|
141 | <segtitle>Installed Programs</segtitle>
|
---|
142 | <segtitle>Installed Libraries</segtitle>
|
---|
143 | <segtitle>Installed Directory</segtitle>
|
---|
144 |
|
---|
145 | <seglistitem>
|
---|
146 | <seg>
|
---|
147 | haveged
|
---|
148 | </seg>
|
---|
149 | <seg>
|
---|
150 | libhavege.so
|
---|
151 | </seg>
|
---|
152 | <seg>
|
---|
153 | /usr/include/haveged and
|
---|
154 | /usr/share/doc/haveged-&haveged-version;
|
---|
155 | </seg>
|
---|
156 | </seglistitem>
|
---|
157 | </segmentedlist>
|
---|
158 |
|
---|
159 | <variablelist>
|
---|
160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
161 | <?dbfo list-presentation="list"?>
|
---|
162 | <?dbhtml list-presentation="table"?>
|
---|
163 |
|
---|
164 | <varlistentry id="haveged-prog">
|
---|
165 | <term><command>haveged</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>
|
---|
168 | is a daemon that generates an unpredictable stream of random
|
---|
169 | numbers harvested from the indirect effects of hardware events
|
---|
170 | based on hidden processor states (caches, branch predictors, memory
|
---|
171 | translation tables, etc).
|
---|
172 | </para>
|
---|
173 | <indexterm zone="haveged haveged-prog">
|
---|
174 | <primary sortas="b-haveged-prog">haveged</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | </variablelist>
|
---|
180 |
|
---|
181 | </sect2>
|
---|
182 |
|
---|
183 | </sect1>
|
---|