source: general/genlib/libgcrypt.xml@ 4af8cb5

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 4af8cb5 was 4af8cb5, checked in by Ag Hatzimanikas <ag@…>, 14 years ago

Updated to libgcrypt-1.4.5

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

  • Property mode set to 100644
File size: 6.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 "&sources-anduin-http;/l/libgcrypt-&libgcrypt-version;.tar.bz2"> -->
8 <!ENTITY libgcrypt-download-http " ">
9 <!ENTITY libgcrypt-download-ftp "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-&libgcrypt-version;.tar.bz2">
10 <!ENTITY libgcrypt-md5sum "cc2017ad09b4543f8b3b5e9a53cfd89d">
11 <!ENTITY libgcrypt-size "1.1 MB">
12 <!ENTITY libgcrypt-buildsize "23 MB">
13 <!ENTITY libgcrypt-time "0.4 SBU (additional 0.8 SBU to run the test suite)">
14]>
15
16<sect1 id="libgcrypt" xreflabel="Libgcrypt-&libgcrypt-version;">
17 <?dbhtml filename="libgcrypt.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Libgcrypt-&libgcrypt-version;</title>
25
26 <indexterm zone="libgcrypt">
27 <primary sortas="a-Libgcrypt">Libgcrypt</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Libgcrypt</title>
32
33 <para>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.</para>
38
39 &lfs65_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&libgcrypt-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&libgcrypt-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &libgcrypt-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &libgcrypt-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &libgcrypt-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &libgcrypt-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">Libgcrypt Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required</bridgehead>
66 <para role="required"><xref linkend="libgpg-error"/></para>
67
68 <bridgehead renderas="sect4">Optional</bridgehead>
69 <para role="optional"><ulink url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/">
70 Linux Capabilities (libcap)</ulink></para>
71
72 <para condition="html" role="usernotes">User Notes:
73 <ulink url="&blfs-wiki;/libgcrypt"/></para>
74
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of Libgcrypt</title>
79
80 <para>Install <application>Libgcrypt</application> by running the
81 following commands:</para>
82
83<screen><userinput>./configure --prefix=/usr &amp;&amp;
84make</userinput></screen>
85
86 <para>Only <command>info</command> documentation is shipped in the package
87 tarball. If you wish to build alternate formats of the documentation, you
88 must have <xref linkend="tetex"/> installed (to build the PDF, PostScript
89 and chunked HTML docs), then issue the following commands:</para>
90
91<screen><userinput>make -C doc pdf ps html &amp;&amp;
92makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &amp;&amp;
93makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi</userinput></screen>
94
95 <para>To test the results, issue: <command>make check</command>.</para>
96
97 <para>Now, as the <systemitem class="username">root</systemitem>
98 user:</para>
99
100<screen role="root"><userinput>make install &amp;&amp;
101install -v -m644 -D README /usr/share/doc/libgcrypt-&libgcrypt-version;/README</userinput></screen>
102
103 <para>If you built the additional documentation, install it by issuing the
104 following commands as the <systemitem class="username">root</systemitem>
105 user:</para>
106
107<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
108install -v -m644 doc/gcrypt.html/* \
109 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
110install -v -m644 doc/gcrypt_nochunks.html \
111 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
112install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
113 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="content">
118 <title>Contents</title>
119
120 <segmentedlist>
121 <segtitle>Installed Programs</segtitle>
122 <segtitle>Installed Library</segtitle>
123 <segtitle>Installed Directory</segtitle>
124
125 <seglistitem>
126 <seg>dumpsexp, hmac256 and libgcrypt-config</seg>
127 <seg>libgcrypt.{so,a}</seg>
128 <seg>/usr/share/doc/libgcrypt-&libgcrypt-version;</seg>
129 </seglistitem>
130 </segmentedlist>
131
132 <variablelist>
133 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
134 <?dbfo list-presentation="list"?>
135 <?dbhtml list-presentation="table"?>
136
137 <varlistentry id="libgcrypt-config">
138 <term><command>libgcrypt-config</command></term>
139 <listitem>
140 <para>is a utility used to configure and build applications based on
141 the libgcrypt(3) library. It can be used to query the C compiler and
142 linker flags which are required to correctly compile and link the
143 application against the libgcrypt(3) library.</para>
144 <indexterm zone="libgcrypt libgcrypt-config">
145 <primary sortas="b-libgcrypt-config">libgcrypt-config</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="libgcrypt-lib">
151 <term><filename class='libraryfile'>libgcrypt.{so,a}</filename></term>
152 <listitem>
153 <para>contains the cryptographic API functions.</para>
154 <indexterm zone="libgcrypt libgcrypt-lib">
155 <primary sortas="c-libgcrypt">libgcrypt.{so,a}</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 </variablelist>
161
162 </sect2>
163
164</sect1>
Note: See TracBrowser for help on using the repository browser.