source: postlfs/security/gpgme.xml@ 50cb265e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 50cb265e was 14f0ab29, checked in by Pierre Labastie <pieere@…>, 6 years ago

Fix gpgme build if gnupg is not installed+tag

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

  • Property mode set to 100644
File size: 6.5 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 <!-- Something is wrong with ftp server and it confuses curl when currency runs it -->
9 <!-- <!ENTITY gpgme-download-ftp "&gnupg-ftp;/gpgme/gpgme-&gpgme-version;.tar.bz2"> -->
10 <!ENTITY gpgme-download-ftp " ">
11 <!ENTITY gpgme-md5sum "78b1533c593478982ee2fc548260c563">
12 <!ENTITY gpgme-size "1.3 MB">
13 <!ENTITY gpgme-buildsize "135 MB (with all bindings)">
14 <!ENTITY gpgme-time "0.4 SBU (with parallelism=4; with all bindings, add 0.2 SBU for tests)">
15]>
16
17<sect1 id="gpgme" xreflabel="GPGME-&gpgme-version;">
18 <?dbhtml filename="gpgme.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>GPGME-&gpgme-version;</title>
26
27 <indexterm zone="gpgme">
28 <primary sortas="a-GPGME">GPGME</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to GPGME</title>
33
34 <para>
35 The <application>GPGME</application> package is a C library
36 that allows cryptography support to be added to a
37 program. It is designed to make access to public key crypto
38 engines like <application>GnuPG</application> or GpgSM easier
39 for applications. <application>GPGME</application> provides
40 a high-level crypto API for encryption, decryption, signing,
41 signature verification and key management.
42 </para>
43
44 &lfs82_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&gpgme-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&gpgme-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &gpgme-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &gpgme-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &gpgme-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &gpgme-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="libassuan"/>
85 </para>
86
87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional">
89 <xref linkend="doxygen"/> (for API documentation),
90 <xref linkend="gnupg2"/> (used during the testsuite), and
91 <xref linkend="clisp"/>,
92 <xref linkend="python2"/>,
93 <xref linkend="qt5"/>, and/or
94 <xref linkend="swig"/> (for language bindings)
95 </para>
96
97 <para condition="html" role="usernotes">User Notes:
98 <ulink url="&blfs-wiki;/gpgme"/>
99 </para>
100 </sect2>
101
102 <sect2 role="installation">
103 <title>Installation of GPGME</title>
104
105 <para>
106 Install <application>GPGME</application> by running the following
107 commands:
108 </para>
109
110<screen><userinput>./configure --prefix=/usr --disable-gpg-test &amp;&amp;
111make</userinput></screen>
112
113 <para>
114 To test the results, you should have <xref linkend="gnupg2"/> installed
115 and remove the <command>--disable-gpg-test</command> above. Issue:
116 <command>make check</command>.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130 <para>
131 <parameter>--disable-gpg-test</parameter>: if this parameter is not
132 passed to configure, the test programs are built during
133 <command>make</command> stage, which requires <xref linkend="gnupg2"/>.
134 This parameter is not needed if <xref linkend="gnupg2"/> is installed.
135 </para>
136
137 </sect2>
138
139 <sect2 role="content">
140 <title>Contents</title>
141
142 <segmentedlist>
143 <segtitle>Installed Program</segtitle>
144 <segtitle>Installed Libraries</segtitle>
145 <segtitle>Installed Directory</segtitle>
146
147 <seglistitem>
148 <seg>
149 gpgme-config and gpgme-tool
150 </seg>
151 <seg>
152 libgpgme-pthread.so and libgpgme.so
153 </seg>
154 <seg>
155 /usr/share/common-lisp/source/gpgme
156 </seg>
157 </seglistitem>
158 </segmentedlist>
159
160 <variablelist>
161 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
162 <?dbfo list-presentation="list"?>
163 <?dbhtml list-presentation="table"?>
164
165 <varlistentry id="gpgme-config">
166 <term><command>gpgme-config</command></term>
167 <listitem>
168 <para>
169 is used to obtain <application>GPGME</application> compilation and
170 linking information.
171 </para>
172 <indexterm zone="gpgme gpgme-config">
173 <primary sortas="b-gpgme-config">gpgme-config</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="gpgme-tool">
179 <term><command>gpgme-tool</command></term>
180 <listitem>
181 <para>
182 prints fingerprint and keyid with keyservers.
183 </para>
184 <indexterm zone="gpgme gpgme-tool">
185 <primary sortas="b-gpgme-tool">gpgme-tool</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="libgpgme-pthread">
191 <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
192 <listitem>
193 <para>
194 contains the <application>GPGME</application> API functions for
195 applications using pthread.
196 </para>
197 <indexterm zone="gpgme libgpgme-pthread">
198 <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libgpgme">
204 <term><filename class="libraryfile">libgpgme.so</filename></term>
205 <listitem>
206 <para>
207 contains the <application>GPGME</application> API functions.
208 </para>
209 <indexterm zone="gpgme libgpgme">
210 <primary sortas="c-libgpgme">libgpgme.so</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 </variablelist>
216
217 </sect2>
218
219</sect1>
Note: See TracBrowser for help on using the repository browser.