source: general/genlib/libgcrypt.xml@ d284bee

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 d284bee was d284bee, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Minor syntax and grammatical fixes.

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

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