source: general/genlib/libgcrypt-systemd.xml@ ad6910d

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

Import back into SVN from Github

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

  • Property mode set to 100644
File size: 8.2 KB
RevLine 
[8250d8e]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
[4af8cb5]7 <!ENTITY libgcrypt-download-http " ">
[8250d8e]8 <!ENTITY libgcrypt-download-ftp "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-&libgcrypt-version;.tar.bz2">
[ac38e9dc]9 <!ENTITY libgcrypt-md5sum "4262c3aadf837500756c2051a5c4ae5e">
[9a19f1b]10 <!ENTITY libgcrypt-size "2.4 MB">
[ac38e9dc]11 <!ENTITY libgcrypt-buildsize "38 MB (additional 7 MB for docs)">
[3284a283]12 <!ENTITY libgcrypt-time "0.3 SBU (additional 0.1 SBU for docs and
[ac38e9dc]13 0.3 SBU for tests)">
[8250d8e]14]>
15
[e79ed72]16<sect1 id="libgcrypt" xreflabel="libgcrypt-&libgcrypt-version;">
[8250d8e]17 <?dbhtml filename="libgcrypt.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
[e79ed72]24 <title>libgcrypt-&libgcrypt-version;</title>
[8250d8e]25
26 <indexterm zone="libgcrypt">
[e79ed72]27 <primary sortas="a-libgcrypt">libgcrypt</primary>
[8250d8e]28 </indexterm>
29
30 <sect2 role="package">
[e79ed72]31 <title>Introduction to libgcrypt</title>
[8250d8e]32
[6d8f6dc]33 <para>
34 The <application>libgcrypt</application> package contains a general
35 purpose crypto library based on the code used in
36 <application>GnuPG</application>. The library provides a high level
37 interface to cryptographic building blocks using an extendable and flexible
38 API.
39 </para>
[8250d8e]40
[ac38e9dc]41 &lfs77_checked;
[43c1385]42
[8250d8e]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
[6d8f6dc]46 <para>
47 Download (HTTP): <ulink url="&libgcrypt-download-http;"/>
48 </para>
[8250d8e]49 </listitem>
50 <listitem>
[6d8f6dc]51 <para>
52 Download (FTP): <ulink url="&libgcrypt-download-ftp;"/>
53 </para>
[8250d8e]54 </listitem>
55 <listitem>
[6d8f6dc]56 <para>
57 Download MD5 sum: &libgcrypt-md5sum;
58 </para>
[8250d8e]59 </listitem>
60 <listitem>
[6d8f6dc]61 <para>
62 Download size: &libgcrypt-size;
63 </para>
[8250d8e]64 </listitem>
65 <listitem>
[6d8f6dc]66 <para>
67 Estimated disk space required: &libgcrypt-buildsize;
68 </para>
[8250d8e]69 </listitem>
70 <listitem>
[6d8f6dc]71 <para>
72 Estimated build time: &libgcrypt-time;
73 </para>
[8250d8e]74 </listitem>
75 </itemizedlist>
76
[e79ed72]77 <bridgehead renderas="sect3">libgcrypt Dependencies</bridgehead>
[8250d8e]78
79 <bridgehead renderas="sect4">Required</bridgehead>
[6d8f6dc]80 <para role="required">
81 <xref linkend="libgpg-error"/>
82 </para>
[8250d8e]83
[390e0d7]84 <bridgehead renderas="sect4">Optional</bridgehead>
[6d8f6dc]85 <para role="optional">
[ac38e9dc]86 <xref linkend="pth"/> and
87 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
[6d8f6dc]88 </para>
[390e0d7]89
[8250d8e]90 <para condition="html" role="usernotes">User Notes:
[6d8f6dc]91 <ulink url="&blfs-wiki;/libgcrypt"/>
92 </para>
[8250d8e]93 </sect2>
94
95 <sect2 role="installation">
[e79ed72]96 <title>Installation of libgcrypt</title>
[8250d8e]97
[6d8f6dc]98 <para>
99 Install <application>libgcrypt</application> by running the
100 following commands:
101 </para>
[8250d8e]102
[9a19f1b]103<screen><userinput>./configure --prefix=/usr &amp;&amp;
[8250d8e]104make</userinput></screen>
105
[6d8f6dc]106 <para>
107 Only <command>info</command> documentation is shipped in the package
108 tarball. If you wish to build alternate formats of the documentation,
109 (you must have <xref linkend="texlive"/> installed to build the PDF
110 and PostScript documentation), then issue the following commands:
111 </para>
[8250d8e]112
[ac38e9dc]113<screen><userinput>make -j1 -C doc pdf ps html &amp;&amp;
[8250d8e]114makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &amp;&amp;
115makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi</userinput></screen>
116
[6d8f6dc]117 <para>
118 To test the results, issue: <command>make check</command>.
119 </para>
[8250d8e]120
[6d8f6dc]121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
[8250d8e]124
125<screen role="root"><userinput>make install &amp;&amp;
[6d8f6dc]126install -v -dm755 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
[acb57a0]127install -v -m644 README doc/{README.apichanges,fips*,libgcrypt*} \
128 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
[8250d8e]129
[1d054a4]130 <para>
131 The shared library needs to be moved to
132 <filename class="directory">/lib</filename>, and as a result the
133 <filename class="extension">.so</filename> file in
134 <filename class="directory">/usr/lib</filename> will need to be
135 recreated. Run the following command as the
136 <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen><userinput remap="install">mv -v /usr/lib/libgcrypt.so.* /lib
140ln -sfv ../../lib/$(readlink /usr/lib/libgcrypt.so) /usr/lib/libgcrypt.so</userinput></screen>
141
[6d8f6dc]142 <para>
143 If you built the additional documentation, install it by issuing the
144 following commands as the <systemitem class="username">root</systemitem>
145 user:
146 </para>
[8250d8e]147
[6d8f6dc]148<screen role="root"><userinput>install -v -dm755 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
[8250d8e]149install -v -m644 doc/gcrypt.html/* \
150 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
[390e0d7]151install -v -m644 doc/gcrypt_nochunks.html \
[8250d8e]152 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
153install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
154 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
155
156 </sect2>
157
[1bac96e3]158 <sect2 role="commands">
159 <title>Command Explanations</title>
160
161 <para>
162 <option>--with-capabilities</option>: This option enables libcap2 support.
163 </para>
164
165 </sect2>
166
[8250d8e]167 <sect2 role="content">
168 <title>Contents</title>
169
170 <segmentedlist>
[390e0d7]171 <segtitle>Installed Programs</segtitle>
[d284bee]172 <segtitle>Installed Library</segtitle>
[8250d8e]173 <segtitle>Installed Directory</segtitle>
174
175 <seglistitem>
[6d8f6dc]176 <seg>
[9a19f1b]177 dumpsexp, hmac256, libgcrypt-config, and mpicalc
[6d8f6dc]178 </seg>
179 <seg>
180 libgcrypt.so
181 </seg>
182 <seg>
183 /usr/share/doc/libgcrypt-&libgcrypt-version;
184 </seg>
[8250d8e]185 </seglistitem>
186 </segmentedlist>
187
188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
192
[ac38e9dc]193 <varlistentry id="dumpsexp">
194 <term><command>dumpsexp</command></term>
195 <listitem>
196 <para>
197 is a debug tool for S-expressions.
198 </para>
199 <indexterm zone="libgcrypt dumpsexp">
200 <primary sortas="b-dumpsexp">dumpsexp</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="hmac256">
206 <term><command>hmac256</command></term>
207 <listitem>
208 <para>
209 is a standalone HMAC-SHA-256 implementation used to compute
210 an HMAC-SHA-256 authentication code.
211 </para>
212 <indexterm zone="libgcrypt hmac256">
213 <primary sortas="b-hmac256">hmac256</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="libgcrypt-config">
219 <term><command>libgcrypt-config</command></term>
220 <listitem>
221 <para>
222 determines the compile and linker flags that should be used to
223 compile and link programs that use <filename class="libraryfile">libgcrypt</filename>.
224 </para>
225 <indexterm zone="libgcrypt libgcrypt-config">
226 <primary sortas="b-libgcrypt-config">libgcrypt-config</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="mpicalc">
232 <term><command>mpicalc</command></term>
233 <listitem>
234 <para>
235 is a RPN (Reverse Polish Notation) calculator.
236 </para>
237 <indexterm zone="libgcrypt mpicalc">
238 <primary sortas="b-mpicalc">mpicalc</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
[8250d8e]243 <varlistentry id="libgcrypt-lib">
[6d8f6dc]244 <term><filename class="libraryfile">libgcrypt.so</filename></term>
[8250d8e]245 <listitem>
[6d8f6dc]246 <para>
247 contains the cryptographic API functions.
248 </para>
[8250d8e]249 <indexterm zone="libgcrypt libgcrypt-lib">
[6d8f6dc]250 <primary sortas="c-libgcrypt">libgcrypt.so</primary>
[8250d8e]251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 </variablelist>
256
257 </sect2>
258
259</sect1>
Note: See TracBrowser for help on using the repository browser.