source: general/genlib/libgcrypt.xml@ fa559f1

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since fa559f1 was a9779b9, checked in by Xi Ruoyao <xry111@…>, 10 months ago

Tag UEFI and dependencies

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