source: general/genlib/libgcrypt.xml@ 4890200

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 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 4890200 was 4890200, checked in by Krejzi <krejzi@…>, 11 years ago

Packages updates and fixes.

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

  • Property mode set to 100644
File size: 5.7 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 "668aa1a1aae93f5fccb7eda4be403026">
10 <!ENTITY libgcrypt-size "1.5 MB">
11 <!ENTITY libgcrypt-buildsize "30 MB">
12 <!ENTITY libgcrypt-time "0.2 SBU">
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 &lfs73_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="libcap2"/> and
86 <xref linkend="pth"/>
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 --disable-static &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 -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 If you built the additional documentation, install it by issuing the
131 following commands as the <systemitem class="username">root</systemitem>
132 user:
133 </para>
134
135<screen role="root"><userinput>install -v -dm755 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
136install -v -m644 doc/gcrypt.html/* \
137 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
138install -v -m644 doc/gcrypt_nochunks.html \
139 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
140install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
141 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Library</segtitle>
151 <segtitle>Installed Directory</segtitle>
152
153 <seglistitem>
154 <seg>
155 dumpsexp, hmac256 and libgcrypt-config
156 </seg>
157 <seg>
158 libgcrypt.so
159 </seg>
160 <seg>
161 /usr/share/doc/libgcrypt-&libgcrypt-version;
162 </seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="libgcrypt-lib">
172 <term><filename class="libraryfile">libgcrypt.so</filename></term>
173 <listitem>
174 <para>
175 contains the cryptographic API functions.
176 </para>
177 <indexterm zone="libgcrypt libgcrypt-lib">
178 <primary sortas="c-libgcrypt">libgcrypt.so</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 </variablelist>
184
185 </sect2>
186
187</sect1>
Note: See TracBrowser for help on using the repository browser.