source: general/genlib/libgcrypt.xml@ 427b46a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 427b46a was 9029db2, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag most of General Libraries and dependencies

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

  • Property mode set to 100644
File size: 8.0 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 "&gnupg-http;/libgcrypt/libgcrypt-&libgcrypt-version;.tar.bz2">
8 <!ENTITY libgcrypt-download-ftp "&gnupg-ftp;/libgcrypt/libgcrypt-&libgcrypt-version;.tar.bz2">
9 <!ENTITY libgcrypt-download-ftp " ">
10 <!ENTITY libgcrypt-md5sum "00121b05e1ff4cc85a4a6503e0a7d9fb">
11 <!ENTITY libgcrypt-size "3.1 MB">
12 <!ENTITY libgcrypt-buildsize "138 MB (with tests; add 4 MB for documentation)">
13 <!ENTITY libgcrypt-time "0.3 SBU (with documentation; add 0.5 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 &lfs101_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"/> -->
87 <xref linkend="pth"/> and
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 &amp;&amp;
106
107make -C doc html &amp;&amp;
108makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &amp;&amp;
109makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi</userinput></screen>
110
111 <para>
112 The above commands build the documentation in html and plaintext
113 formats. If you wish to build alternate formats of the documentation, you
114 need <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>). Issue
115 the following command:
116 </para>
117
118<screen remap="doc"><userinput>make -C doc pdf ps</userinput></screen>
119
120 <para>
121 To test the results, issue: <command>make check</command>.
122 </para>
123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>make install &amp;&amp;
129install -v -dm755 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
130install -v -m644 README doc/{README.apichanges,fips*,libgcrypt*} \
131 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
132
133install -v -dm755 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
134install -v -m644 doc/gcrypt.html/* \
135 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
136install -v -m644 doc/gcrypt_nochunks.html \
137 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
138install -v -m644 doc/gcrypt.{txt,texi} \
139 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
140
141 <para>
142 If you built alternate formats of the documentation, install them by
143 issuing the following command as the
144 <systemitem class="username">root</systemitem> user:
145 </para>
146
147<screen role="root"
148 remap="doc"><userinput>install -v -m644 doc/gcrypt.{pdf,ps,dvi} \
149 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
150
151 </sect2>
152
153 <sect2 role="commands">
154 <title>Command Explanations</title>
155
156 <para>
157 <option>--with-capabilities</option>: This option enables libcap2 support.
158 Note that this breaks <xref linkend="cryptsetup"/>
159 </para>
160
161 </sect2>
162
163 <sect2 role="content">
164 <title>Contents</title>
165
166 <segmentedlist>
167 <segtitle>Installed Programs</segtitle>
168 <segtitle>Installed Library</segtitle>
169 <segtitle>Installed Directory</segtitle>
170
171 <seglistitem>
172 <seg>
173 dumpsexp, hmac256, libgcrypt-config, and mpicalc
174 </seg>
175 <seg>
176 libgcrypt.so
177 </seg>
178 <seg>
179 /usr/share/doc/libgcrypt-&libgcrypt-version;
180 </seg>
181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
189 <varlistentry id="dumpsexp">
190 <term><command>dumpsexp</command></term>
191 <listitem>
192 <para>
193 is a debug tool for S-expressions
194 </para>
195 <indexterm zone="libgcrypt dumpsexp">
196 <primary sortas="b-dumpsexp">dumpsexp</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="hmac256">
202 <term><command>hmac256</command></term>
203 <listitem>
204 <para>
205 is a standalone HMAC-SHA-256 implementation used to compute
206 an HMAC-SHA-256 authentication code
207 </para>
208 <indexterm zone="libgcrypt hmac256">
209 <primary sortas="b-hmac256">hmac256</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libgcrypt-config">
215 <term><command>libgcrypt-config</command></term>
216 <listitem>
217 <para>
218 determines the compile and linker flags that should be used to
219 compile and link programs that use <filename class="libraryfile">libgcrypt</filename>
220 </para>
221 <indexterm zone="libgcrypt libgcrypt-config">
222 <primary sortas="b-libgcrypt-config">libgcrypt-config</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="mpicalc">
228 <term><command>mpicalc</command></term>
229 <listitem>
230 <para>
231 is a RPN (Reverse Polish Notation) calculator
232 </para>
233 <indexterm zone="libgcrypt mpicalc">
234 <primary sortas="b-mpicalc">mpicalc</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="libgcrypt-lib">
240 <term><filename class="libraryfile">libgcrypt.so</filename></term>
241 <listitem>
242 <para>
243 contains the cryptographic API functions
244 </para>
245 <indexterm zone="libgcrypt libgcrypt-lib">
246 <primary sortas="c-libgcrypt">libgcrypt.so</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 </variablelist>
252
253 </sect2>
254
255</sect1>
Note: See TracBrowser for help on using the repository browser.