[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">
|
---|
[200bab29] | 9 | <!ENTITY gpgme-md5sum "feafa03ea064e1d1dc11bc2b88404623">
|
---|
| 10 | <!ENTITY gpgme-size "956 KB">
|
---|
| 11 | <!ENTITY gpgme-buildsize "20 MB">
|
---|
| 12 | <!ENTITY gpgme-time "0.1 SBU">
|
---|
[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>
|
---|
[200bab29] | 33 | The <application>GPGME</application> package is a C library
|
---|
| 34 | that allows to add support for cryptography to a
|
---|
[d6da5da] | 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 |
|
---|
[fa9e03f] | 42 | &lfs77_checked; &gcc5_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>
|
---|
[a0814e3e] | 77 | <!--
|
---|
[150992ab] | 78 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 79 | <itemizedlist spacing="compact">
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>
|
---|
| 82 | Required if running the test suite:
|
---|
| 83 | <ulink url="&patch-root;/gpgme-&gpgme-version;-tests-1.patch"/>
|
---|
| 84 | </para>
|
---|
| 85 | </listitem>
|
---|
[a0814e3e] | 86 | </itemizedlist>-->
|
---|
[150992ab] | 87 |
|
---|
[b358845] | 88 | <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d6da5da] | 91 | <para role="required">
|
---|
| 92 | <xref linkend="libassuan"/>
|
---|
| 93 | </para>
|
---|
[b358845] | 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[289d262f] | 96 | <para role="optional">
|
---|
[d6da5da] | 97 | <xref linkend="gnupg2"/> (used during the testsuite)
|
---|
| 98 | </para>
|
---|
[b358845] | 99 |
|
---|
| 100 | <para condition="html" role="usernotes">User Notes:
|
---|
[d6da5da] | 101 | <ulink url="&blfs-wiki;/gpgme"/>
|
---|
| 102 | </para>
|
---|
[b358845] | 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="installation">
|
---|
| 106 | <title>Installation of GPGME</title>
|
---|
| 107 |
|
---|
[d6da5da] | 108 | <para>
|
---|
| 109 | Install <application>GPGME</application> by running the following
|
---|
| 110 | commands:
|
---|
| 111 | </para>
|
---|
[b358845] | 112 |
|
---|
[c647e6d] | 113 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 114 | --disable-fd-passing \
|
---|
| 115 | --disable-gpgsm-test &&
|
---|
[b358845] | 116 | make</userinput></screen>
|
---|
[a0814e3e] | 117 | <!--
|
---|
[150992ab] | 118 | <para>
|
---|
| 119 | In <application>gpgme-1.5.2</application>, the test suite was modified
|
---|
| 120 | and is close to useless. It you want to run the test suite, first fix it
|
---|
| 121 | with:
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
[a0814e3e] | 124 | <screen><userinput>patch -Np1 -i ../gpgme-&gpgme-version;-tests-1.patch</userinput></screen>-->
|
---|
[150992ab] | 125 |
|
---|
[d6da5da] | 126 | <para>
|
---|
[a0814e3e] | 127 | The test suite was modified and is close to useless, with 2/3 of failures.<!--To test the results, issue: <command>make check</command>.-->
|
---|
[d6da5da] | 128 | </para>
|
---|
[b358845] | 129 |
|
---|
[d6da5da] | 130 | <para>
|
---|
| 131 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 132 | </para>
|
---|
[b358845] | 133 |
|
---|
| 134 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
[f7ac7b2] | 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
| 140 |
|
---|
[fdc7fb69] | 141 | <para><option>--disable-fd-passing</option>: This option disables
|
---|
[f7ac7b2] | 142 | a problem causing a hang for some operations on some systems.</para>
|
---|
[9598e9fd] | 143 |
|
---|
| 144 | <para><option>--disable-gpgsm-test</option>: This option disables
|
---|
| 145 | a test with gpgsm in some systems breaking make.</para>
|
---|
[f7ac7b2] | 146 | </sect2>
|
---|
| 147 |
|
---|
[b358845] | 148 | <sect2 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Program</segtitle>
|
---|
| 153 | <segtitle>Installed Libraries</segtitle>
|
---|
| 154 | <segtitle>Installed Directory</segtitle>
|
---|
| 155 |
|
---|
| 156 | <seglistitem>
|
---|
[d6da5da] | 157 | <seg>
|
---|
[150992ab] | 158 | gpgme-config and gpgme-tool
|
---|
[d6da5da] | 159 | </seg>
|
---|
| 160 | <seg>
|
---|
| 161 | libgpgme-pthread.so and libgpgme.so
|
---|
| 162 | </seg>
|
---|
| 163 | <seg>
|
---|
| 164 | /usr/share/common-lisp/source/gpgme
|
---|
| 165 | </seg>
|
---|
[b358845] | 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
| 170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
[150992ab] | 174 | <varlistentry id="gpgme-tool">
|
---|
| 175 | <term><command>gpgme-tool</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>
|
---|
| 178 | prints fingerprint and keyid with keyservers.
|
---|
| 179 | </para>
|
---|
| 180 | <indexterm zone="gpgme gpgme-tool">
|
---|
| 181 | <primary sortas="b-gpgme-tool">gpgme-tool</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
[b358845] | 186 | <varlistentry id="libgpgme-pthread">
|
---|
[d6da5da] | 187 | <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
|
---|
[b358845] | 188 | <listitem>
|
---|
[d6da5da] | 189 | <para>
|
---|
| 190 | contains the <application>GPGME</application> API functions for
|
---|
| 191 | applications using pthread.
|
---|
| 192 | </para>
|
---|
[b358845] | 193 | <indexterm zone="gpgme libgpgme-pthread">
|
---|
[d6da5da] | 194 | <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
|
---|
[b358845] | 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="libgpgme">
|
---|
[d6da5da] | 200 | <term><filename class="libraryfile">libgpgme.so</filename></term>
|
---|
[b358845] | 201 | <listitem>
|
---|
[d6da5da] | 202 | <para>
|
---|
| 203 | contains the <application>GPGME</application> API functions.
|
---|
| 204 | </para>
|
---|
[b358845] | 205 | <indexterm zone="gpgme libgpgme">
|
---|
[d6da5da] | 206 | <primary sortas="c-libgpgme">libgpgme.so</primary>
|
---|
[b358845] | 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | </variablelist>
|
---|
| 212 |
|
---|
| 213 | </sect2>
|
---|
| 214 |
|
---|
| 215 | </sect1>
|
---|