glfs/postlfs/security/gpgme.xml
Bruce Dubbs aed3e6ec9c Partial update of KDE to 14.12.2
Lots of tagging


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15561 af4574ff-66df-0310-9fd7-8a98e5e911e0
2015-02-24 05:00:51 +00:00

216 lines
6.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gpgme-download-http " ">
<!ENTITY gpgme-download-ftp "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-&gpgme-version;.tar.bz2">
<!ENTITY gpgme-md5sum "082ab2632e7f051f5c09bafd5c4bfacf">
<!ENTITY gpgme-size "948 KB">
<!ENTITY gpgme-buildsize "17 MB (additional 1 MB for the tests)">
<!ENTITY gpgme-time "0.2 SBU (additional 0.1 SBU for the tests)">
]>
<sect1 id="gpgme" xreflabel="GPGME-&gpgme-version;">
<?dbhtml filename="gpgme.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>GPGME-&gpgme-version;</title>
<indexterm zone="gpgme">
<primary sortas="a-GPGME">GPGME</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to GPGME</title>
<para>
The <application>GPGME</application> package is a C language
library that allows to add support for cryptography to a
program. It is designed to make access to public key crypto
engines like <application>GnuPG</application> or GpgSM easier
for applications. <application>GPGME</application> provides
a high-level crypto API for encryption, decryption, signing,
signature verification and key management.
</para>
&lfs77_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&gpgme-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&gpgme-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &gpgme-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &gpgme-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &gpgme-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &gpgme-time;
</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required if running the test suite:
<ulink url="&patch-root;/gpgme-&gpgme-version;-tests-1.patch"/>
</para>
</listitem>
</itemizedlist>-->
<bridgehead renderas="sect3">GPGME Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libassuan"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gnupg2"/> (used during the testsuite)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/gpgme"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of GPGME</title>
<para>
Install <application>GPGME</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--disable-fd-passing \
--disable-gpgsm-test &amp;&amp;
make</userinput></screen>
<!--
<para>
In <application>gpgme-1.5.2</application>, the test suite was modified
and is close to useless. It you want to run the test suite, first fix it
with:
</para>
<screen><userinput>patch -Np1 -i ../gpgme-&gpgme-version;-tests-1.patch</userinput></screen>-->
<para>
The test suite was modified and is close to useless, with 2/3 of failures.<!--To test the results, issue: <command>make check</command>.-->
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><option>--disable-fd-passing</option>: This option disables
a problem causing a hang for some operations on some systems.</para>
<para><option>--disable-gpgsm-test</option>: This option disables
a test with gpgsm in some systems breaking make.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
gpgme-config and gpgme-tool
</seg>
<seg>
libgpgme-pthread.so and libgpgme.so
</seg>
<seg>
/usr/share/common-lisp/source/gpgme
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="gpgme-tool">
<term><command>gpgme-tool</command></term>
<listitem>
<para>
prints fingerprint and keyid with keyservers.
</para>
<indexterm zone="gpgme gpgme-tool">
<primary sortas="b-gpgme-tool">gpgme-tool</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libgpgme-pthread">
<term><filename class="libraryfile">libgpgme-pthread.so</filename></term>
<listitem>
<para>
contains the <application>GPGME</application> API functions for
applications using pthread.
</para>
<indexterm zone="gpgme libgpgme-pthread">
<primary sortas="c-libgpgme-pthread">libgpgme-pthread.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libgpgme">
<term><filename class="libraryfile">libgpgme.so</filename></term>
<listitem>
<para>
contains the <application>GPGME</application> API functions.
</para>
<indexterm zone="gpgme libgpgme">
<primary sortas="c-libgpgme">libgpgme.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>