source: postlfs/security/gpgme.xml@ 14f0ab29

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 14f0ab29 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
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">
[14d673a2]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 " ">
[b13548d]11 <!ENTITY gpgme-md5sum "78b1533c593478982ee2fc548260c563">
[10dd522f]12 <!ENTITY gpgme-size "1.3 MB">
[b13548d]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)">
[b358845]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
[d6da5da]34 <para>
[200bab29]35 The <application>GPGME</application> package is a C library
[bbacc9a]36 that allows cryptography support to be added to a
[d6da5da]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>
[b358845]43
[14f0ab29]44 &lfs82_checked;
[b358845]45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
[d6da5da]49 <para>
50 Download (HTTP): <ulink url="&gpgme-download-http;"/>
51 </para>
[b358845]52 </listitem>
53 <listitem>
[d6da5da]54 <para>
55 Download (FTP): <ulink url="&gpgme-download-ftp;"/>
56 </para>
[b358845]57 </listitem>
58 <listitem>
[d6da5da]59 <para>
60 Download MD5 sum: &gpgme-md5sum;
61 </para>
[b358845]62 </listitem>
63 <listitem>
[d6da5da]64 <para>
65 Download size: &gpgme-size;
66 </para>
[b358845]67 </listitem>
68 <listitem>
[d6da5da]69 <para>
70 Estimated disk space required: &gpgme-buildsize;
71 </para>
[b358845]72 </listitem>
73 <listitem>
[d6da5da]74 <para>
75 Estimated build time: &gpgme-time;
76 </para>
[b358845]77 </listitem>
78 </itemizedlist>
[150992ab]79
[b358845]80 <bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
[d6da5da]83 <para role="required">
84 <xref linkend="libassuan"/>
85 </para>
[b358845]86
87 <bridgehead renderas="sect4">Optional</bridgehead>
[289d262f]88 <para role="optional">
[30d6b736]89 <xref linkend="doxygen"/> (for API documentation),
[fdaae04]90 <xref linkend="gnupg2"/> (used during the testsuite), and
[30d6b736]91 <xref linkend="clisp"/>,
92 <xref linkend="python2"/>,
93 <xref linkend="qt5"/>, and/or
94 <xref linkend="swig"/> (for language bindings)
[d6da5da]95 </para>
[b358845]96
97 <para condition="html" role="usernotes">User Notes:
[d6da5da]98 <ulink url="&blfs-wiki;/gpgme"/>
99 </para>
[b358845]100 </sect2>
101
102 <sect2 role="installation">
103 <title>Installation of GPGME</title>
104
[d6da5da]105 <para>
106 Install <application>GPGME</application> by running the following
107 commands:
108 </para>
[b358845]109
[14f0ab29]110<screen><userinput>./configure --prefix=/usr --disable-gpg-test &amp;&amp;
[b358845]111make</userinput></screen>
[150992ab]112
[d6da5da]113 <para>
[14f0ab29]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>.
[d6da5da]117 </para>
[b358845]118
[d6da5da]119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
[b358845]122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 </sect2>
[f7ac7b2]126
[14f0ab29]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
[b358845]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>
[d6da5da]148 <seg>
[150992ab]149 gpgme-config and gpgme-tool
[d6da5da]150 </seg>
151 <seg>
152 libgpgme-pthread.so and libgpgme.so
153 </seg>
154 <seg>
155 /usr/share/common-lisp/source/gpgme
156 </seg>
[b358845]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
[385b822]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
[150992ab]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
[b358845]190 <varlistentry id="libgpgme-pthread">
[d6da5da]191 <term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
[b358845]192 <listitem>
[d6da5da]193 <para>
194 contains the <application>GPGME</application> API functions for
195 applications using pthread.
196 </para>
[b358845]197 <indexterm zone="gpgme libgpgme-pthread">
[d6da5da]198 <primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
[b358845]199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libgpgme">
[d6da5da]204 <term><filename class="libraryfile">libgpgme.so</filename></term>
[b358845]205 <listitem>
[d6da5da]206 <para>
207 contains the <application>GPGME</application> API functions.
208 </para>
[b358845]209 <indexterm zone="gpgme libgpgme">
[d6da5da]210 <primary sortas="c-libgpgme">libgpgme.so</primary>
[b358845]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.