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