source: postlfs/security/gnupg.xml@ 96328d2

10.0 10.1 11.0 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 96328d2 was 96328d2, checked in by Krejzi <krejzi@…>, 9 years ago

Mark gnpg and gpgme LFS 7.2 checked.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10602 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 gnupg-download-http "&sources-anduin-http;/g/gnupg-&gnupg-version;.tar.bz2">
8 <!--<!ENTITY gnupg-download-http "http://public.ftp.planetmirror.com/pub/gnupg/gnupg-&gnupg-version;.tar.bz2"> -->
9 <!ENTITY gnupg-download-ftp "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-&gnupg-version;.tar.bz2">
10 <!ENTITY gnupg-md5sum "ce3742e5c7912559cab7894ad8ba7f6b">
11 <!ENTITY gnupg-size "3.5 MB">
12 <!ENTITY gnupg-buildsize "45 MB">
13 <!ENTITY gnupg-time "0.5 SBU">
14]>
15
16<sect1 id="gnupg" xreflabel="GnuPG-&gnupg-version;">
17 <?dbhtml filename="gnupg.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>GnuPG-&gnupg-version;</title>
25
26 <indexterm zone="gnupg">
27 <primary sortas="a-GnuPG">GnuPG</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to GnuPG</title>
32
33 <para>The <application>GnuPG</application> package contains a
34 public/private key encryptor. This is becoming useful for signing
35 files or emails as proof of identity and preventing tampering with
36 the contents of the file or email. For a more enhanced version of
37 GnuPG which supports S/MIME, see the <xref linkend="gnupg2"/>
38 package.</para>
39
40 &lfs72_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&gnupg-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&gnupg-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &gnupg-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &gnupg-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &gnupg-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &gnupg-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">GnuPG Dependencies</bridgehead>
65
66 <bridgehead renderas="sect4">Optional</bridgehead>
67 <para role="optional"><xref linkend="openldap"/>,
68 <xref linkend="libusb-compat"/>,
69 <xref linkend="curl"/>,
70 an <xref linkend="server-mail"/>, and
71 <ulink url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink></para>
72
73 <para condition="html" role="usernotes">User Notes:
74 <ulink url="&blfs-wiki;/gnupg"/></para>
75
76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of GnuPG</title>
80
81 <!-- <para>If <application>Curl</application> is already installed,
82 apply the patch:</para>
83
84<screen><userinput>patch -Np1 -i ../gnupg-&gnupg-version;-curl_fix-1.patch
85</userinput></screen> -->
86
87 <para>Install <application>GnuPG</application> by running the following
88 commands:</para>
89
90<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
91make</userinput></screen>
92
93 <para>If you have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>
94 installed and you wish to create documentation in alternate formats, issue
95 the following command:</para>
96
97<screen><userinput>make -C doc pdf html</userinput></screen>
98
99 <para>To test the results, issue: <command>make check</command>.</para>
100
101 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
102
103<screen role="root"><userinput>make install &amp;&amp;
104
105install -v -m755 -d /usr/share/doc/gnupg-&gnupg-version; &amp;&amp;
106mv -v /usr/share/gnupg/FAQ /usr/share/doc/gnupg-&gnupg-version; &amp;&amp;
107install -v -m644 \
108 doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
109 /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
110
111 <para>If you created alternate formats of the documentation, install it
112 using the following command as the
113 <systemitem class="username">root</systemitem> user:</para>
114
115<screen role="root"><userinput>cp -v -R doc/gnupg1.{html,pdf} /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para><parameter>--libexecdir=/usr/lib</parameter>: This command
123 creates a <filename class="directory">gnupg</filename> directory in
124 <filename class="directory">/usr/lib</filename> instead of
125 <filename class="directory">/usr/libexec</filename>.</para>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Libraries</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
138 <seg>gpg, gpg-zip, gpgsplit, and gpgv</seg>
139 <seg>None</seg>
140 <seg>/usr/lib/gnupg, /usr/share/gnupg and
141 /usr/share/doc/gnupg-&gnupg-version;</seg>
142 </seglistitem>
143 </segmentedlist>
144
145 <variablelist>
146 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
147 <?dbfo list-presentation="list"?>
148 <?dbhtml list-presentation="table"?>
149
150 <varlistentry id="gpg">
151 <term><command>gpg</command></term>
152 <listitem>
153 <para>is the backend (command-line interface) for
154 this OpenPGP implementation.</para>
155 <indexterm zone="gnupg gpg">
156 <primary sortas="b-gpg">gpg</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="gpg-zip">
162 <term><command>gpg-zip</command></term>
163 <listitem>
164 <para>shell script that implements a gpg-ized version of
165 <command>tar</command>.</para>
166 <indexterm zone="gnupg gpg-zip">
167 <primary sortas="b-gpg-zip">gpg-zip</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="gpgsplit">
173 <term><command>gpgsplit</command></term>
174 <listitem>
175 <para>separates key rings.</para>
176 <indexterm zone="gnupg gpgsplit">
177 <primary sortas="b-gpgsplit">gpgsplit</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="gpgv">
183 <term><command>gpgv</command></term>
184 <listitem>
185 <para>is a verify only version of <command>gpg</command>.</para>
186 <indexterm zone="gnupg gpgv">
187 <primary sortas="b-gpgv">gpgv</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 </variablelist>
193
194 </sect2>
195
196</sect1>
Note: See TracBrowser for help on using the repository browser.