[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">
|
---|
[43c1385] | 11 | <!ENTITY libgcrypt-buildsize "23 MB">
|
---|
| 12 | <!ENTITY libgcrypt-time "0.4 SBU (additional 0.8 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 |
|
---|
[43c1385] | 38 | &lfs65_checked;
|
---|
| 39 |
|
---|
[8250d8e] | 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 |
|
---|
[390e0d7] | 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 |
|
---|
[8250d8e] | 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 &&
|
---|
| 83 | make</userinput></screen>
|
---|
| 84 |
|
---|
[a06ff9a] | 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
|
---|
[390e0d7] | 87 | must have <xref linkend="tetex"/> installed (to build the PDF, PostScript
|
---|
| 88 | and chunked HTML docs), then issue the following commands:</para>
|
---|
[8250d8e] | 89 |
|
---|
[d9d862d] | 90 | <screen><userinput>make -C doc pdf ps html &&
|
---|
[8250d8e] | 91 | makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &&
|
---|
| 92 | makeinfo --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 &&
|
---|
| 100 | install -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 &&
|
---|
| 107 | install -v -m644 doc/gcrypt.html/* \
|
---|
| 108 | /usr/share/doc/libgcrypt-&libgcrypt-version;/html &&
|
---|
[390e0d7] | 109 | install -v -m644 doc/gcrypt_nochunks.html \
|
---|
[8250d8e] | 110 | /usr/share/doc/libgcrypt-&libgcrypt-version; &&
|
---|
| 111 | install -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>
|
---|
[390e0d7] | 120 | <segtitle>Installed Programs</segtitle>
|
---|
[d284bee] | 121 | <segtitle>Installed Library</segtitle>
|
---|
[8250d8e] | 122 | <segtitle>Installed Directory</segtitle>
|
---|
| 123 |
|
---|
| 124 | <seglistitem>
|
---|
[390e0d7] | 125 | <seg>dumpsexp, hmac256 and libgcrypt-config</seg>
|
---|
[8250d8e] | 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>
|
---|