source: general/genlib/libgcrypt.xml@ 777a66a

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 777a66a was ef37a4d4, checked in by Bruce Dubbs <bdubbs@…>, 15 months ago

Update to libgcrypt-1.10.2.
Removed the broken instructions for generating ps and pdf documentation.

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