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 "http://ftp.gnupg.org/gcrypt/libgcrypt/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 "3675d3e74c3a44aed629d9b12a30bb51">
|
---|
10 | <!ENTITY libgcrypt-size "799 KB">
|
---|
11 | <!ENTITY libgcrypt-buildsize "19 MB">
|
---|
12 | <!ENTITY libgcrypt-time "0.3 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>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 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&libgcrypt-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&libgcrypt-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &libgcrypt-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &libgcrypt-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &libgcrypt-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &libgcrypt-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect3">Libgcrypt Dependencies</bridgehead>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
63 | <para role="required"><xref linkend="libgpg-error"/></para>
|
---|
64 |
|
---|
65 | <para condition="html" role="usernotes">User Notes:
|
---|
66 | <ulink url="&blfs-wiki;/libgcrypt"/></para>
|
---|
67 |
|
---|
68 | </sect2>
|
---|
69 |
|
---|
70 | <sect2 role="installation">
|
---|
71 | <title>Installation of Libgcrypt</title>
|
---|
72 |
|
---|
73 | <para>Install <application>Libgcrypt</application> by running the
|
---|
74 | following commands:</para>
|
---|
75 |
|
---|
76 | <screen><userinput>./configure --prefix=/usr &&
|
---|
77 | make</userinput></screen>
|
---|
78 |
|
---|
79 | <para>Only <command>info</command> documentation is shipped in the package
|
---|
80 | tarball. If you wish to build alternate formats of the documentation, you
|
---|
81 | must have <xref linkend="tetex"/> installed, then issue the following
|
---|
82 | commands:</para>
|
---|
83 |
|
---|
84 | <screen><userinput>make -C doc pdf ps html &&
|
---|
85 | makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &&
|
---|
86 | makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi</userinput></screen>
|
---|
87 |
|
---|
88 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
89 |
|
---|
90 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
91 | user:</para>
|
---|
92 |
|
---|
93 | <screen role="root"><userinput>make install &&
|
---|
94 | install -v -m644 -D README /usr/share/doc/libgcrypt-&libgcrypt-version;/README</userinput></screen>
|
---|
95 |
|
---|
96 | <para>If you built the additional documentation, install it by issuing the
|
---|
97 | following commands as the <systemitem class="username">root</systemitem>
|
---|
98 | user:</para>
|
---|
99 |
|
---|
100 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/libgcrypt-&libgcrypt-version;/html &&
|
---|
101 | install -v -m644 doc/gcrypt.html/* \
|
---|
102 | /usr/share/doc/libgcrypt-&libgcrypt-version;/html &&
|
---|
103 | install -v -m644 doc/gcrypt_*.html \
|
---|
104 | /usr/share/doc/libgcrypt-&libgcrypt-version; &&
|
---|
105 | install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
|
---|
106 | /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="content">
|
---|
111 | <title>Contents</title>
|
---|
112 |
|
---|
113 | <segmentedlist>
|
---|
114 | <segtitle>Installed Program</segtitle>
|
---|
115 | <segtitle>Installed Libraries</segtitle>
|
---|
116 | <segtitle>Installed Directory</segtitle>
|
---|
117 |
|
---|
118 | <seglistitem>
|
---|
119 | <seg>libgcrypt-config</seg>
|
---|
120 | <seg>libgcrypt.{so,a}</seg>
|
---|
121 | <seg>/usr/share/doc/libgcrypt-&libgcrypt-version;</seg>
|
---|
122 | </seglistitem>
|
---|
123 | </segmentedlist>
|
---|
124 |
|
---|
125 | <variablelist>
|
---|
126 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
127 | <?dbfo list-presentation="list"?>
|
---|
128 | <?dbhtml list-presentation="table"?>
|
---|
129 |
|
---|
130 | <varlistentry id="libgcrypt-config">
|
---|
131 | <term><command>libgcrypt-config</command></term>
|
---|
132 | <listitem>
|
---|
133 | <para>is a utility used to configure and build applications based on
|
---|
134 | the libgcrypt(3) library. It can be used to query the C compiler and
|
---|
135 | linker flags which are required to correctly compile and link the
|
---|
136 | application against the libgcrypt(3) library.</para>
|
---|
137 | <indexterm zone="libgcrypt libgcrypt-config">
|
---|
138 | <primary sortas="b-libgcrypt-config">libgcrypt-config</primary>
|
---|
139 | </indexterm>
|
---|
140 | </listitem>
|
---|
141 | </varlistentry>
|
---|
142 |
|
---|
143 | <varlistentry id="libgcrypt-lib">
|
---|
144 | <term><filename class='libraryfile'>libgcrypt.{so,a}</filename></term>
|
---|
145 | <listitem>
|
---|
146 | <para>contains the cryptographic API functions.</para>
|
---|
147 | <indexterm zone="libgcrypt libgcrypt-lib">
|
---|
148 | <primary sortas="c-libgcrypt">libgcrypt.{so,a}</primary>
|
---|
149 | </indexterm>
|
---|
150 | </listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | </variablelist>
|
---|
154 |
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | </sect1>
|
---|