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">
|
---|
9 | <!ENTITY gpgme-md5sum "feafa03ea064e1d1dc11bc2b88404623">
|
---|
10 | <!ENTITY gpgme-size "956 KB">
|
---|
11 | <!ENTITY gpgme-buildsize "20 MB">
|
---|
12 | <!ENTITY gpgme-time "0.1 SBU">
|
---|
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 |
|
---|
32 | <para>
|
---|
33 | The <application>GPGME</application> package is a C library
|
---|
34 | 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>
|
---|
41 |
|
---|
42 | &lfs77_checked; &gcc5_checked;
|
---|
43 |
|
---|
44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
45 | <itemizedlist spacing="compact">
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (HTTP): <ulink url="&gpgme-download-http;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download (FTP): <ulink url="&gpgme-download-ftp;"/>
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download MD5 sum: &gpgme-md5sum;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Download size: &gpgme-size;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated disk space required: &gpgme-buildsize;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | <listitem>
|
---|
72 | <para>
|
---|
73 | Estimated build time: &gpgme-time;
|
---|
74 | </para>
|
---|
75 | </listitem>
|
---|
76 | </itemizedlist>
|
---|
77 | <!--
|
---|
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>
|
---|
86 | </itemizedlist>-->
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
91 | <para role="required">
|
---|
92 | <xref linkend="libassuan"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
96 | <para role="optional">
|
---|
97 | <xref linkend="gnupg2"/> (used during the testsuite)
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <para condition="html" role="usernotes">User Notes:
|
---|
101 | <ulink url="&blfs-wiki;/gpgme"/>
|
---|
102 | </para>
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="installation">
|
---|
106 | <title>Installation of GPGME</title>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | Install <application>GPGME</application> by running the following
|
---|
110 | commands:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen><userinput>./configure --prefix=/usr \
|
---|
114 | --disable-fd-passing \
|
---|
115 | --disable-gpgsm-test &&
|
---|
116 | make</userinput></screen>
|
---|
117 | <!--
|
---|
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 |
|
---|
124 | <screen><userinput>patch -Np1 -i ../gpgme-&gpgme-version;-tests-1.patch</userinput></screen>-->
|
---|
125 |
|
---|
126 | <para>
|
---|
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>.-->
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
135 |
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2 role="commands">
|
---|
139 | <title>Command Explanations</title>
|
---|
140 |
|
---|
141 | <para><option>--disable-fd-passing</option>: This option disables
|
---|
142 | a problem causing a hang for some operations on some systems.</para>
|
---|
143 |
|
---|
144 | <para><option>--disable-gpgsm-test</option>: This option disables
|
---|
145 | a test with gpgsm in some systems breaking make.</para>
|
---|
146 | </sect2>
|
---|
147 |
|
---|
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>
|
---|
157 | <seg>
|
---|
158 | gpgme-config and gpgme-tool
|
---|
159 | </seg>
|
---|
160 | <seg>
|
---|
161 | libgpgme-pthread.so and libgpgme.so
|
---|
162 | </seg>
|
---|
163 | <seg>
|
---|
164 | /usr/share/common-lisp/source/gpgme
|
---|
165 | </seg>
|
---|
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 |
|
---|
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 |
|
---|
186 | <varlistentry id="libgpgme-pthread">
|
---|
187 | <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
|
---|
188 | <listitem>
|
---|
189 | <para>
|
---|
190 | contains the <application>GPGME</application> API functions for
|
---|
191 | applications using pthread.
|
---|
192 | </para>
|
---|
193 | <indexterm zone="gpgme libgpgme-pthread">
|
---|
194 | <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 |
|
---|
199 | <varlistentry id="libgpgme">
|
---|
200 | <term><filename class="libraryfile">libgpgme.so</filename></term>
|
---|
201 | <listitem>
|
---|
202 | <para>
|
---|
203 | contains the <application>GPGME</application> API functions.
|
---|
204 | </para>
|
---|
205 | <indexterm zone="gpgme libgpgme">
|
---|
206 | <primary sortas="c-libgpgme">libgpgme.so</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | </variablelist>
|
---|
212 |
|
---|
213 | </sect2>
|
---|
214 |
|
---|
215 | </sect1>
|
---|