[b358845] | 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 gpgme-download-http " ">
|
---|
| 8 | <!ENTITY gpgme-download-ftp "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-&gpgme-version;.tar.bz2">
|
---|
[c647e6d] | 9 | <!ENTITY gpgme-md5sum "29e90462b29d445665e8728c66464a4f">
|
---|
| 10 | <!ENTITY gpgme-size "944 KB">
|
---|
| 11 | <!ENTITY gpgme-buildsize "17 MB (additional 1 MB for the tests)">
|
---|
| 12 | <!ENTITY gpgme-time "0.2 SBU (additional 0.1 SBU for the tests)">
|
---|
[b358845] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gpgme" xreflabel="GPGME-&gpgme-version;">
|
---|
| 16 | <?dbhtml filename="gpgme.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GPGME-&gpgme-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gpgme">
|
---|
| 26 | <primary sortas="a-GPGME">GPGME</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GPGME</title>
|
---|
| 31 |
|
---|
[d6da5da] | 32 | <para>
|
---|
| 33 | The <application>GPGME</application> package is a C language
|
---|
| 34 | library that allows to add support for cryptography to a
|
---|
| 35 | program. It is designed to make access to public key crypto
|
---|
| 36 | engines like <application>GnuPG</application> or GpgSM easier
|
---|
| 37 | for applications. <application>GPGME</application> provides
|
---|
| 38 | a high-level crypto API for encryption, decryption, signing,
|
---|
| 39 | signature verification and key management.
|
---|
| 40 | </para>
|
---|
[b358845] | 41 |
|
---|
[9598e9fd] | 42 | &lfs75_checked;
|
---|
[b358845] | 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[d6da5da] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&gpgme-download-http;"/>
|
---|
| 49 | </para>
|
---|
[b358845] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[d6da5da] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&gpgme-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[b358845] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[d6da5da] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &gpgme-md5sum;
|
---|
| 59 | </para>
|
---|
[b358845] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[d6da5da] | 62 | <para>
|
---|
| 63 | Download size: &gpgme-size;
|
---|
| 64 | </para>
|
---|
[b358845] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[d6da5da] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &gpgme-buildsize;
|
---|
| 69 | </para>
|
---|
[b358845] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[d6da5da] | 72 | <para>
|
---|
| 73 | Estimated build time: &gpgme-time;
|
---|
| 74 | </para>
|
---|
[b358845] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d6da5da] | 81 | <para role="required">
|
---|
| 82 | <xref linkend="libassuan"/>
|
---|
| 83 | </para>
|
---|
[b358845] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[289d262f] | 86 | <para role="optional">
|
---|
[d6da5da] | 87 | <xref linkend="gnupg2"/> (used during the testsuite)
|
---|
| 88 | </para>
|
---|
[b358845] | 89 |
|
---|
| 90 | <para condition="html" role="usernotes">User Notes:
|
---|
[d6da5da] | 91 | <ulink url="&blfs-wiki;/gpgme"/>
|
---|
| 92 | </para>
|
---|
[b358845] | 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of GPGME</title>
|
---|
| 97 |
|
---|
[d6da5da] | 98 | <para>
|
---|
| 99 | Install <application>GPGME</application> by running the following
|
---|
| 100 | commands:
|
---|
| 101 | </para>
|
---|
[b358845] | 102 |
|
---|
[c647e6d] | 103 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 104 | --disable-fd-passing \
|
---|
| 105 | --disable-gpgsm-test &&
|
---|
[b358845] | 106 | make</userinput></screen>
|
---|
| 107 |
|
---|
[d6da5da] | 108 | <para>
|
---|
| 109 | To test the results, issue: <command>make check</command>.
|
---|
| 110 | </para>
|
---|
[b358845] | 111 |
|
---|
[d6da5da] | 112 | <para>
|
---|
| 113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
[b358845] | 115 |
|
---|
| 116 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
[f7ac7b2] | 120 | <sect2 role="commands">
|
---|
| 121 | <title>Command Explanations</title>
|
---|
| 122 |
|
---|
[fdc7fb69] | 123 | <para><option>--disable-fd-passing</option>: This option disables
|
---|
[f7ac7b2] | 124 | a problem causing a hang for some operations on some systems.</para>
|
---|
[9598e9fd] | 125 |
|
---|
| 126 | <para><option>--disable-gpgsm-test</option>: This option disables
|
---|
| 127 | a test with gpgsm in some systems breaking make.</para>
|
---|
[f7ac7b2] | 128 | </sect2>
|
---|
| 129 |
|
---|
[b358845] | 130 | <sect2 role="content">
|
---|
| 131 | <title>Contents</title>
|
---|
| 132 |
|
---|
| 133 | <segmentedlist>
|
---|
| 134 | <segtitle>Installed Program</segtitle>
|
---|
| 135 | <segtitle>Installed Libraries</segtitle>
|
---|
| 136 | <segtitle>Installed Directory</segtitle>
|
---|
| 137 |
|
---|
| 138 | <seglistitem>
|
---|
[d6da5da] | 139 | <seg>
|
---|
| 140 | gpgme-config
|
---|
| 141 | </seg>
|
---|
| 142 | <seg>
|
---|
| 143 | libgpgme-pthread.so and libgpgme.so
|
---|
| 144 | </seg>
|
---|
| 145 | <seg>
|
---|
| 146 | /usr/share/common-lisp/source/gpgme
|
---|
| 147 | </seg>
|
---|
[b358845] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="libgpgme-pthread">
|
---|
[d6da5da] | 157 | <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
|
---|
[b358845] | 158 | <listitem>
|
---|
[d6da5da] | 159 | <para>
|
---|
| 160 | contains the <application>GPGME</application> API functions for
|
---|
| 161 | applications using pthread.
|
---|
| 162 | </para>
|
---|
[b358845] | 163 | <indexterm zone="gpgme libgpgme-pthread">
|
---|
[d6da5da] | 164 | <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
|
---|
[b358845] | 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="libgpgme">
|
---|
[d6da5da] | 170 | <term><filename class="libraryfile">libgpgme.so</filename></term>
|
---|
[b358845] | 171 | <listitem>
|
---|
[d6da5da] | 172 | <para>
|
---|
| 173 | contains the <application>GPGME</application> API functions.
|
---|
| 174 | </para>
|
---|
[b358845] | 175 | <indexterm zone="gpgme libgpgme">
|
---|
[d6da5da] | 176 | <primary sortas="c-libgpgme">libgpgme.so</primary>
|
---|
[b358845] | 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | </variablelist>
|
---|
| 182 |
|
---|
| 183 | </sect2>
|
---|
| 184 |
|
---|
| 185 | </sect1>
|
---|