[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">
|
---|
[e79ed72] | 10 | <!ENTITY libgcrypt-md5sum "693f9c64d50c908bc4d6e01da3ff76d8">
|
---|
| 11 | <!ENTITY libgcrypt-size "1.4 MB">
|
---|
| 12 | <!ENTITY libgcrypt-buildsize "24 MB">
|
---|
| 13 | <!ENTITY libgcrypt-time "0.6 SBU (including 0.5 SBU to run the test suite)">
|
---|
[8250d8e] | 14 | ]>
|
---|
| 15 |
|
---|
[e79ed72] | 16 | <sect1 id="libgcrypt" xreflabel="libgcrypt-&libgcrypt-version;">
|
---|
[8250d8e] | 17 | <?dbhtml filename="libgcrypt.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[e79ed72] | 24 | <title>libgcrypt-&libgcrypt-version;</title>
|
---|
[8250d8e] | 25 |
|
---|
| 26 | <indexterm zone="libgcrypt">
|
---|
[e79ed72] | 27 | <primary sortas="a-libgcrypt">libgcrypt</primary>
|
---|
[8250d8e] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[e79ed72] | 31 | <title>Introduction to libgcrypt</title>
|
---|
[8250d8e] | 32 |
|
---|
[e79ed72] | 33 | <para>The <application>libgcrypt</application> package contains a general
|
---|
[8250d8e] | 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 |
|
---|
[ed3c954] | 39 | &lfs72_checked;
|
---|
[43c1385] | 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 |
|
---|
[e79ed72] | 63 | <bridgehead renderas="sect3">libgcrypt Dependencies</bridgehead>
|
---|
[8250d8e] | 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
|
---|
[e79ed72] | 70 | <xref linkend="libcap2"/></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">
|
---|
[e79ed72] | 78 | <title>Installation of libgcrypt</title>
|
---|
[8250d8e] | 79 |
|
---|
[e79ed72] | 80 | <para>Install <application>libgcrypt</application> by running the
|
---|
[8250d8e] | 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,
|
---|
[27d0323] | 88 | (you must have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>
|
---|
[f1e103a] | 89 | installed to build the PDF and PostScript), then issue the following
|
---|
| 90 | commands:</para>
|
---|
[8250d8e] | 91 |
|
---|
[d9d862d] | 92 | <screen><userinput>make -C doc pdf ps html &&
|
---|
[8250d8e] | 93 | makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &&
|
---|
| 94 | makeinfo --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 &&
|
---|
[acb57a0] | 102 | install -v -m755 -d /usr/share/doc/libgcrypt-&libgcrypt-version; &&
|
---|
| 103 | install -v -m644 README doc/{README.apichanges,fips*,libgcrypt*} \
|
---|
| 104 | /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
|
---|
[8250d8e] | 105 |
|
---|
| 106 | <para>If you built the additional documentation, install it by issuing the
|
---|
| 107 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 108 | user:</para>
|
---|
| 109 |
|
---|
| 110 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/libgcrypt-&libgcrypt-version;/html &&
|
---|
| 111 | install -v -m644 doc/gcrypt.html/* \
|
---|
| 112 | /usr/share/doc/libgcrypt-&libgcrypt-version;/html &&
|
---|
[390e0d7] | 113 | install -v -m644 doc/gcrypt_nochunks.html \
|
---|
[8250d8e] | 114 | /usr/share/doc/libgcrypt-&libgcrypt-version; &&
|
---|
| 115 | install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
|
---|
| 116 | /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
|
---|
| 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="content">
|
---|
| 121 | <title>Contents</title>
|
---|
| 122 |
|
---|
| 123 | <segmentedlist>
|
---|
[390e0d7] | 124 | <segtitle>Installed Programs</segtitle>
|
---|
[d284bee] | 125 | <segtitle>Installed Library</segtitle>
|
---|
[8250d8e] | 126 | <segtitle>Installed Directory</segtitle>
|
---|
| 127 |
|
---|
| 128 | <seglistitem>
|
---|
[390e0d7] | 129 | <seg>dumpsexp, hmac256 and libgcrypt-config</seg>
|
---|
[8250d8e] | 130 | <seg>libgcrypt.{so,a}</seg>
|
---|
| 131 | <seg>/usr/share/doc/libgcrypt-&libgcrypt-version;</seg>
|
---|
| 132 | </seglistitem>
|
---|
| 133 | </segmentedlist>
|
---|
| 134 |
|
---|
| 135 | <variablelist>
|
---|
| 136 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 137 | <?dbfo list-presentation="list"?>
|
---|
| 138 | <?dbhtml list-presentation="table"?>
|
---|
| 139 |
|
---|
| 140 | <varlistentry id="libgcrypt-config">
|
---|
| 141 | <term><command>libgcrypt-config</command></term>
|
---|
| 142 | <listitem>
|
---|
| 143 | <para>is a utility used to configure and build applications based on
|
---|
| 144 | the libgcrypt(3) library. It can be used to query the C compiler and
|
---|
| 145 | linker flags which are required to correctly compile and link the
|
---|
| 146 | application against the libgcrypt(3) library.</para>
|
---|
| 147 | <indexterm zone="libgcrypt libgcrypt-config">
|
---|
| 148 | <primary sortas="b-libgcrypt-config">libgcrypt-config</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="libgcrypt-lib">
|
---|
| 154 | <term><filename class='libraryfile'>libgcrypt.{so,a}</filename></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>contains the cryptographic API functions.</para>
|
---|
| 157 | <indexterm zone="libgcrypt libgcrypt-lib">
|
---|
| 158 | <primary sortas="c-libgcrypt">libgcrypt.{so,a}</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | </variablelist>
|
---|
| 164 |
|
---|
| 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 | </sect1>
|
---|