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
RevLine 
[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
[8dfc5c3]7 <!ENTITY gpgme-download-http "&gnupg-http;/gpgme/gpgme-&gpgme-version;.tar.bz2">
[d4e8cd93]8 <!ENTITY gpgme-download-ftp "&gnupg-ftp;/gpgme/gpgme-&gpgme-version;.tar.bz2">
[14d673a2]9 <!ENTITY gpgme-download-ftp " ">
[d5f6e8e]10 <!ENTITY gpgme-md5sum "e086c4575fe4d7840864fb7dfe97f692">
[8d97143c]11 <!ENTITY gpgme-size "1.6 MB">
[d5f6e8e]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)">
[b358845]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
[d6da5da]33 <para>
[200bab29]34 The <application>GPGME</application> package is a C library
[bbacc9a]35 that allows cryptography support to be added to a
[d6da5da]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>
[b358845]42
[9029db2]43 &lfs101_checked;
[b358845]44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
[d6da5da]48 <para>
49 Download (HTTP): <ulink url="&gpgme-download-http;"/>
50 </para>
[b358845]51 </listitem>
52 <listitem>
[d6da5da]53 <para>
54 Download (FTP): <ulink url="&gpgme-download-ftp;"/>
55 </para>
[b358845]56 </listitem>
57 <listitem>
[d6da5da]58 <para>
59 Download MD5 sum: &gpgme-md5sum;
60 </para>
[b358845]61 </listitem>
62 <listitem>
[d6da5da]63 <para>
64 Download size: &gpgme-size;
65 </para>
[b358845]66 </listitem>
67 <listitem>
[d6da5da]68 <para>
69 Estimated disk space required: &gpgme-buildsize;
70 </para>
[b358845]71 </listitem>
72 <listitem>
[d6da5da]73 <para>
74 Estimated build time: &gpgme-time;
75 </para>
[b358845]76 </listitem>
77 </itemizedlist>
[150992ab]78
[b358845]79 <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
[d6da5da]82 <para role="required">
83 <xref linkend="libassuan"/>
84 </para>
[b358845]85
86 <bridgehead renderas="sect4">Optional</bridgehead>
[289d262f]87 <para role="optional">
[33690a1]88 <xref linkend="doxygen"/> and
[cd074c2]89 <xref linkend="graphviz"/> (for API documentation),
[33690a1]90 <xref linkend="gnupg2"/> (required if Qt or SWIG are installed;
[356a7a9]91 used during the testsuite),
[33690a1]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"/>,-->
[30d6b736]96 <xref linkend="qt5"/>, and/or
97 <xref linkend="swig"/> (for language bindings)
[d6da5da]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
[14f0ab29]113<screen><userinput>./configure --prefix=/usr --disable-gpg-test &amp;&amp;
[b358845]114make</userinput></screen>
[150992ab]115
[d6da5da]116 <para>
[14f0ab29]117 To test the results, you should have <xref linkend="gnupg2"/> installed
118 and remove the <command>--disable-gpg-test</command> above. Issue:
[0b5fa18]119 <command>make -k check</command>.
[d6da5da]120 </para>
[b358845]121
[d6da5da]122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
[b358845]125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
[f7ac7b2]129
[14f0ab29]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
[b358845]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>
[d6da5da]151 <seg>
[cd074c2]152 gpgme-config, gpgme-json, and gpgme-tool
[d6da5da]153 </seg>
154 <seg>
[cd074c2]155 libgpgme, libgpgmepp.so, and libqgpgme.so
[d6da5da]156 </seg>
157 <seg>
[cd074c2]158 /usr/include/{gpgme++,qgpgme,QGpgME},
159 /usr/lib/cmake/{Gpgmepp,QGpgme}.
[90691c2]160 /usr/lib/python{2.7,3.9}/site-packages/gpg, and
[d6da5da]161 /usr/share/common-lisp/source/gpgme
162 </seg>
[b358845]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
[385b822]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
[4c24eb0a]176 linking information
[385b822]177 </para>
178 <indexterm zone="gpgme gpgme-config">
179 <primary sortas="b-gpgme-config">gpgme-config</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
[cd074c2]184 <varlistentry id="gpgme-json">
185 <term><command>gpgme-json</command></term>
186 <listitem>
187 <para>
[4c24eb0a]188 outputs <application>GPGME</application> commands in JSON format
[cd074c2]189 </para>
190 <indexterm zone="gpgme gpgme-json">
191 <primary sortas="b-gpgme-json">gpgme-json</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
[150992ab]196 <varlistentry id="gpgme-tool">
197 <term><command>gpgme-tool</command></term>
198 <listitem>
199 <para>
[d5f6e8e]200 is an assuan server exposing <application>GPGME</application>
201 operations, such as printing fingerprints and keyids with
[4c24eb0a]202 keyservers
[150992ab]203 </para>
204 <indexterm zone="gpgme gpgme-tool">
205 <primary sortas="b-gpgme-tool">gpgme-tool</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
[cd074c2]210 <!-- As of 1.13.1, this library isn't present anymore.
[b358845]211 <varlistentry id="libgpgme-pthread">
[d6da5da]212 <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
[b358845]213 <listitem>
[d6da5da]214 <para>
215 contains the <application>GPGME</application> API functions for
216 applications using pthread.
217 </para>
[b358845]218 <indexterm zone="gpgme libgpgme-pthread">
[d6da5da]219 <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
[b358845]220 </indexterm>
221 </listitem>
222 </varlistentry>
[cd074c2]223 -->
[b358845]224
225 <varlistentry id="libgpgme">
[d6da5da]226 <term><filename class="libraryfile">libgpgme.so</filename></term>
[b358845]227 <listitem>
[d6da5da]228 <para>
[4c24eb0a]229 contains the <application>GPGME</application> API functions
[d6da5da]230 </para>
[b358845]231 <indexterm zone="gpgme libgpgme">
[d6da5da]232 <primary sortas="c-libgpgme">libgpgme.so</primary>
[b358845]233 </indexterm>
234 </listitem>
235 </varlistentry>
236
[48ad7d9]237 <varlistentry id="libgpgmepp">
238 <term><filename class="libraryfile">libgpgmepp.so</filename></term>
239 <listitem>
240 <para>
[4c24eb0a]241 contains the C++ <application>GPGME</application> API functions
[48ad7d9]242 </para>
243 <indexterm zone="gpgme libgpgmepp">
244 <primary sortas="c-libgpgmepp">libgpgmepp.so</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
[cd074c2]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
[4c24eb0a]254 <application>Qt</application> applications
[cd074c2]255 </para>
256 <indexterm zone="gpgme libqgpgme">
257 <primary sortas="c-libqgpgme">libqgpgme.so</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
[b358845]262 </variablelist>
263
264 </sect2>
265
266</sect1>
Note: See TracBrowser for help on using the repository browser.