source: general/genlib/libgcrypt.xml@ 41b674d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 41b674d was 3284a283, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Updates to libgcrypt-1.6.1, libusbx 1.0.18 and Pidgin 2.10.8.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12651 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.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
[4af8cb5]7 <!ENTITY libgcrypt-download-http " ">
[8250d8e]8 <!ENTITY libgcrypt-download-ftp "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-&libgcrypt-version;.tar.bz2">
[3284a283]9 <!ENTITY libgcrypt-md5sum "a5a5060dc2f80bcac700ab0236ea47dc">
[9a19f1b]10 <!ENTITY libgcrypt-size "2.4 MB">
[3284a283]11 <!ENTITY libgcrypt-buildsize "32 MB (additional 7 MB SBU for docs)">
12 <!ENTITY libgcrypt-time "0.3 SBU (additional 0.1 SBU for docs and
13 0.8 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 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
[e79ed72]24 <title>libgcrypt-&libgcrypt-version;</title>
[8250d8e]25
26 <indexterm zone="libgcrypt">
[e79ed72]27 <primary sortas="a-libgcrypt">libgcrypt</primary>
[8250d8e]28 </indexterm>
29
30 <sect2 role="package">
[e79ed72]31 <title>Introduction to libgcrypt</title>
[8250d8e]32
[6d8f6dc]33 <para>
34 The <application>libgcrypt</application> package contains a general
35 purpose crypto library based on the code used in
36 <application>GnuPG</application>. The library provides a high level
37 interface to cryptographic building blocks using an extendable and flexible
38 API.
39 </para>
[8250d8e]40
[15fc6d6]41 &lfs74_checked;
[43c1385]42
[8250d8e]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
[6d8f6dc]46 <para>
47 Download (HTTP): <ulink url="&libgcrypt-download-http;"/>
48 </para>
[8250d8e]49 </listitem>
50 <listitem>
[6d8f6dc]51 <para>
52 Download (FTP): <ulink url="&libgcrypt-download-ftp;"/>
53 </para>
[8250d8e]54 </listitem>
55 <listitem>
[6d8f6dc]56 <para>
57 Download MD5 sum: &libgcrypt-md5sum;
58 </para>
[8250d8e]59 </listitem>
60 <listitem>
[6d8f6dc]61 <para>
62 Download size: &libgcrypt-size;
63 </para>
[8250d8e]64 </listitem>
65 <listitem>
[6d8f6dc]66 <para>
67 Estimated disk space required: &libgcrypt-buildsize;
68 </para>
[8250d8e]69 </listitem>
70 <listitem>
[6d8f6dc]71 <para>
72 Estimated build time: &libgcrypt-time;
73 </para>
[8250d8e]74 </listitem>
75 </itemizedlist>
76
[e79ed72]77 <bridgehead renderas="sect3">libgcrypt Dependencies</bridgehead>
[8250d8e]78
79 <bridgehead renderas="sect4">Required</bridgehead>
[6d8f6dc]80 <para role="required">
81 <xref linkend="libgpg-error"/>
82 </para>
[8250d8e]83
[390e0d7]84 <bridgehead renderas="sect4">Optional</bridgehead>
[6d8f6dc]85 <para role="optional">
[68876b7]86 <xref linkend="libcap"/> and
[6d8f6dc]87 <xref linkend="pth"/>
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;
[8250d8e]104make</userinput></screen>
105
[6d8f6dc]106 <para>
107 Only <command>info</command> documentation is shipped in the package
108 tarball. If you wish to build alternate formats of the documentation,
109 (you must have <xref linkend="texlive"/> installed to build the PDF
110 and PostScript documentation), then issue the following commands:
111 </para>
[8250d8e]112
[d9d862d]113<screen><userinput>make -C doc pdf ps html &amp;&amp;
[8250d8e]114makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &amp;&amp;
115makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi</userinput></screen>
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*} \
128 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
[8250d8e]129
[6d8f6dc]130 <para>
131 If you built the additional documentation, install it by issuing the
132 following commands as the <systemitem class="username">root</systemitem>
133 user:
134 </para>
[8250d8e]135
[6d8f6dc]136<screen role="root"><userinput>install -v -dm755 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
[8250d8e]137install -v -m644 doc/gcrypt.html/* \
138 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
[390e0d7]139install -v -m644 doc/gcrypt_nochunks.html \
[8250d8e]140 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
141install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
142 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
143
144 </sect2>
145
[1bac96e3]146 <sect2 role="commands">
147 <title>Command Explanations</title>
148
149 <para>
150 <option>--with-capabilities</option>: This option enables libcap2 support.
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
181 <varlistentry id="libgcrypt-lib">
[6d8f6dc]182 <term><filename class="libraryfile">libgcrypt.so</filename></term>
[8250d8e]183 <listitem>
[6d8f6dc]184 <para>
185 contains the cryptographic API functions.
186 </para>
[8250d8e]187 <indexterm zone="libgcrypt libgcrypt-lib">
[6d8f6dc]188 <primary sortas="c-libgcrypt">libgcrypt.so</primary>
[8250d8e]189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.