source: general/genlib/libgcrypt.xml@ ba6b00b

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since ba6b00b was 1241ea19, checked in by Bruce Dubbs <bdubbs@…>, 5 months ago

Tag xfce and dependencies

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