source: general/genlib/libgcrypt.xml@ a541e080

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a541e080 was a541e080, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Updates and a security fix

Fix a security issue in apr-1.7.0 (with a sed)
libgcrypt-1.9.4 (security fix)
libcap-2.53
openssh-8.7p1
thunderbird-91.0.3
qemu-6.1.0

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