source: general/genlib/libgcrypt.xml@ 10a9447

10.0 10.1 11.0 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus nosym perl-modules qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 10a9447 was 10a9447, checked in by Pierre Labastie <pieere@…>, 6 years ago

Uniformize runtime dependencies
wget options are not a userinput in plasma5
Warning about --with-capabilities in libgcrypt

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

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