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