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