source: general/genlib/libgcrypt-systemd.xml@ df72afb4

systemd-13485
Last change on this file since df72afb4 was df72afb4, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Update to pixman-0.32.8
Update to xterm-320
Update to ATK-2.18.0
Update to libjpeg-turbo-1.4.2
Update to tiff-4.0.6
Update to gdk-pixbuf-2.32.1
Update to pango-1.38.0
Update to at-spi2-core-2.18.0
Update to at-spi2-atk-2.18.0
Update to adwaita-icon-theme-3.18.0
Update to GTK+-3.18.0
LFS 7.8-systemd Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16513 af4574ff-66df-0310-9fd7-8a98e5e911e0

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