source: general/genlib/libgcrypt.xml@ 4a1a9d6f

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 4a1a9d6f was b42497a, checked in by Bruce Dubbs <bdubbs@…>, 7 months ago

Update to libgcrypt-1.10.3.

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