source: general/genlib/libgcrypt.xml@ 8e761d12

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 8e761d12 was 8e761d12, checked in by Randy McMurchy <randy@…>, 14 years ago

Minor tweaks to the libgcrypt instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8271 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"><xref linkend="pth"/> and
70 <ulink url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/">
71 Linux Capabilities (libcap)</ulink></para>
72
73 <para condition="html" role="usernotes">User Notes:
74 <ulink url="&blfs-wiki;/libgcrypt"/></para>
75
76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of Libgcrypt</title>
80
81 <para>Install <application>Libgcrypt</application> by running the
82 following commands:</para>
83
84<screen><userinput>./configure --prefix=/usr &amp;&amp;
85make</userinput></screen>
86
87 <para>Only <command>info</command> documentation is shipped in the package
88 tarball. If you wish to build alternate formats of the documentation,
89 (you must have <xref linkend="tetex"/> installed to build the PDF and
90 PostScript), then issue the following commands:</para>
91
92<screen><userinput>make -C doc pdf ps html &amp;&amp;
93makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &amp;&amp;
94makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi</userinput></screen>
95
96 <para>To test the results, issue: <command>make check</command>.</para>
97
98 <para>Now, as the <systemitem class="username">root</systemitem>
99 user:</para>
100
101<screen role="root"><userinput>make install &amp;&amp;
102install -v -m644 -D README /usr/share/doc/libgcrypt-&libgcrypt-version;/README</userinput></screen>
103
104 <para>If you built the additional documentation, install it by issuing the
105 following commands as the <systemitem class="username">root</systemitem>
106 user:</para>
107
108<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
109install -v -m644 doc/gcrypt.html/* \
110 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
111install -v -m644 doc/gcrypt_nochunks.html \
112 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
113install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
114 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="content">
119 <title>Contents</title>
120
121 <segmentedlist>
122 <segtitle>Installed Programs</segtitle>
123 <segtitle>Installed Library</segtitle>
124 <segtitle>Installed Directory</segtitle>
125
126 <seglistitem>
127 <seg>dumpsexp, hmac256 and libgcrypt-config</seg>
128 <seg>libgcrypt.{so,a}</seg>
129 <seg>/usr/share/doc/libgcrypt-&libgcrypt-version;</seg>
130 </seglistitem>
131 </segmentedlist>
132
133 <variablelist>
134 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
135 <?dbfo list-presentation="list"?>
136 <?dbhtml list-presentation="table"?>
137
138 <varlistentry id="libgcrypt-config">
139 <term><command>libgcrypt-config</command></term>
140 <listitem>
141 <para>is a utility used to configure and build applications based on
142 the libgcrypt(3) library. It can be used to query the C compiler and
143 linker flags which are required to correctly compile and link the
144 application against the libgcrypt(3) library.</para>
145 <indexterm zone="libgcrypt libgcrypt-config">
146 <primary sortas="b-libgcrypt-config">libgcrypt-config</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="libgcrypt-lib">
152 <term><filename class='libraryfile'>libgcrypt.{so,a}</filename></term>
153 <listitem>
154 <para>contains the cryptographic API functions.</para>
155 <indexterm zone="libgcrypt libgcrypt-lib">
156 <primary sortas="c-libgcrypt">libgcrypt.{so,a}</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 </variablelist>
162
163 </sect2>
164
165</sect1>
Note: See TracBrowser for help on using the repository browser.