source: postlfs/security/gpgme.xml@ d5cc78a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d5cc78a was 33690a1, checked in by Pierre Labastie <pieere@…>, 3 years ago

Python cannot be used by cryptsetup anymore
do not advertise python2 for gpgme, that can use python3 as well.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24328 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.2 KB
Line 
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 "&gnupg-http;/gpgme/gpgme-&gpgme-version;.tar.bz2">
8 <!ENTITY gpgme-download-ftp "&gnupg-ftp;/gpgme/gpgme-&gpgme-version;.tar.bz2">
9 <!ENTITY gpgme-download-ftp " ">
10 <!ENTITY gpgme-md5sum "e086c4575fe4d7840864fb7dfe97f692">
11 <!ENTITY gpgme-size "1.6 MB">
12 <!ENTITY gpgme-buildsize "243 MB">
13 <!ENTITY gpgme-time "0.8 SBU (with parallelism=4; with all bindings, add 0.6 SBU for tests)">
14]>
15
16<sect1 id="gpgme" xreflabel="GPGME-&gpgme-version;">
17 <?dbhtml filename="gpgme.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>GPGME-&gpgme-version;</title>
25
26 <indexterm zone="gpgme">
27 <primary sortas="a-GPGME">GPGME</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to GPGME</title>
32
33 <para>
34 The <application>GPGME</application> package is a C library
35 that allows cryptography support to be added to a
36 program. It is designed to make access to public key crypto
37 engines like <application>GnuPG</application> or GpgSM easier
38 for applications. <application>GPGME</application> provides
39 a high-level crypto API for encryption, decryption, signing,
40 signature verification and key management.
41 </para>
42
43 &lfs101_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&gpgme-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&gpgme-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &gpgme-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &gpgme-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &gpgme-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &gpgme-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="libassuan"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="doxygen"/> and
89 <xref linkend="graphviz"/> (for API documentation),
90 <xref linkend="gnupg2"/> (required if Qt or SWIG are installed;
91 used during the testsuite),
92 <xref linkend="clisp"/>,<!--
93gpgme can still use python 2.7, but can use python3 as well,
94so do not advertise python2
95 <xref linkend="python2"/>,-->
96 <xref linkend="qt5"/>, and/or
97 <xref linkend="swig"/> (for language bindings)
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 --disable-gpg-test &amp;&amp;
114make</userinput></screen>
115
116 <para>
117 To test the results, you should have <xref linkend="gnupg2"/> installed
118 and remove the <command>--disable-gpg-test</command> above. Issue:
119 <command>make -k check</command>.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para>
134 <parameter>--disable-gpg-test</parameter>: if this parameter is not
135 passed to configure, the test programs are built during
136 <command>make</command> stage, which requires <xref linkend="gnupg2"/>.
137 This parameter is not needed if <xref linkend="gnupg2"/> is installed.
138 </para>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Program</segtitle>
147 <segtitle>Installed Libraries</segtitle>
148 <segtitle>Installed Directory</segtitle>
149
150 <seglistitem>
151 <seg>
152 gpgme-config, gpgme-json, and gpgme-tool
153 </seg>
154 <seg>
155 libgpgme, libgpgmepp.so, and libqgpgme.so
156 </seg>
157 <seg>
158 /usr/include/{gpgme++,qgpgme,QGpgME},
159 /usr/lib/cmake/{Gpgmepp,QGpgme}.
160 /usr/lib/python{2.7,3.9}/site-packages/gpg, and
161 /usr/share/common-lisp/source/gpgme
162 </seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="gpgme-config">
172 <term><command>gpgme-config</command></term>
173 <listitem>
174 <para>
175 is used to obtain <application>GPGME</application> compilation and
176 linking information
177 </para>
178 <indexterm zone="gpgme gpgme-config">
179 <primary sortas="b-gpgme-config">gpgme-config</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="gpgme-json">
185 <term><command>gpgme-json</command></term>
186 <listitem>
187 <para>
188 outputs <application>GPGME</application> commands in JSON format
189 </para>
190 <indexterm zone="gpgme gpgme-json">
191 <primary sortas="b-gpgme-json">gpgme-json</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="gpgme-tool">
197 <term><command>gpgme-tool</command></term>
198 <listitem>
199 <para>
200 is an assuan server exposing <application>GPGME</application>
201 operations, such as printing fingerprints and keyids with
202 keyservers
203 </para>
204 <indexterm zone="gpgme gpgme-tool">
205 <primary sortas="b-gpgme-tool">gpgme-tool</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <!-- As of 1.13.1, this library isn't present anymore.
211 <varlistentry id="libgpgme-pthread">
212 <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
213 <listitem>
214 <para>
215 contains the <application>GPGME</application> API functions for
216 applications using pthread.
217 </para>
218 <indexterm zone="gpgme libgpgme-pthread">
219 <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223 -->
224
225 <varlistentry id="libgpgme">
226 <term><filename class="libraryfile">libgpgme.so</filename></term>
227 <listitem>
228 <para>
229 contains the <application>GPGME</application> API functions
230 </para>
231 <indexterm zone="gpgme libgpgme">
232 <primary sortas="c-libgpgme">libgpgme.so</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="libgpgmepp">
238 <term><filename class="libraryfile">libgpgmepp.so</filename></term>
239 <listitem>
240 <para>
241 contains the C++ <application>GPGME</application> API functions
242 </para>
243 <indexterm zone="gpgme libgpgmepp">
244 <primary sortas="c-libgpgmepp">libgpgmepp.so</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="libqgpgme">
250 <term><filename class="libraryfile">libqgpgme.so</filename></term>
251 <listitem>
252 <para>
253 contains API functions for handling GPG operations in
254 <application>Qt</application> applications
255 </para>
256 <indexterm zone="gpgme libqgpgme">
257 <primary sortas="c-libqgpgme">libqgpgme.so</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 </variablelist>
263
264 </sect2>
265
266</sect1>
Note: See TracBrowser for help on using the repository browser.