source: general/genlib/libgcrypt.xml

trunk
Last change on this file was 1241ea19, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Tag xfce and dependencies

  • Property mode set to 100644
File size: 7.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 &lfs121_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="texlive"/> (or <xref linkend="tl-installer"/>)
83 </para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of libgcrypt</title>
89
90 <para>
91 Install <application>libgcrypt</application> by running the
92 following commands:
93 </para>
94
95<screen><userinput>./configure --prefix=/usr &amp;&amp;
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>
101
102<!-- The commands for building the pdf and ps formats are broken.
103 <para>
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:
108 </para>
109
110<screen remap="doc"><userinput>make -C doc pdf</userinput></screen>
111-->
112 <para>
113 To test the results, issue: <command>make check</command>.
114 </para>
115
116 <para>
117 Now, as the <systemitem class="username">root</systemitem> user:
118 </para>
119
120<screen role="root"><userinput>make install &amp;&amp;
121install -v -dm755 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
122install -v -m644 README doc/{README.apichanges,fips*,libgcrypt*} \
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} \
131 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
132<!--
133 <para>
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:
137 </para>
138
139<screen role="root"
140 remap="doc"><userinput>install -v -m644 doc/gcrypt.{pdf,ps,dvi} \
141 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
142-->
143 </sect2>
144
145 <sect2 role="commands">
146 <title>Command Explanations</title>
147
148 <para>
149 <option>--with-capabilities</option>: This option enables libcap2 support.
150 Note that this breaks <xref linkend="cryptsetup"/>
151 </para>
152
153 </sect2>
154
155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
159 <segtitle>Installed Programs</segtitle>
160 <segtitle>Installed Library</segtitle>
161 <segtitle>Installed Directory</segtitle>
162
163 <seglistitem>
164 <seg>
165 dumpsexp, hmac256, libgcrypt-config, and mpicalc
166 </seg>
167 <seg>
168 libgcrypt.so
169 </seg>
170 <seg>
171 /usr/share/doc/libgcrypt-&libgcrypt-version;
172 </seg>
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
181 <varlistentry id="dumpsexp">
182 <term><command>dumpsexp</command></term>
183 <listitem>
184 <para>
185 is a debug tool for S-expressions
186 </para>
187 <indexterm zone="libgcrypt dumpsexp">
188 <primary sortas="b-dumpsexp">dumpsexp</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
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
198 an HMAC-SHA-256 authentication code
199 </para>
200 <indexterm zone="libgcrypt hmac256">
201 <primary sortas="b-hmac256">hmac256</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
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
211 compile and link programs that use <filename class="libraryfile">libgcrypt</filename>
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>
223 is a RPN (Reverse Polish Notation) calculator
224 </para>
225 <indexterm zone="libgcrypt mpicalc">
226 <primary sortas="b-mpicalc">mpicalc</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="libgcrypt-lib">
232 <term><filename class="libraryfile">libgcrypt.so</filename></term>
233 <listitem>
234 <para>
235 contains the cryptographic API functions
236 </para>
237 <indexterm zone="libgcrypt libgcrypt-lib">
238 <primary sortas="c-libgcrypt">libgcrypt.so</primary>
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.