source: postlfs/security/gnupg.xml@ df1e8e6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since df1e8e6 was df1e8e6, checked in by Chris Staub <chris@…>, 15 years ago

Added description for gpg-zip

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

  • Property mode set to 100644
File size: 7.3 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 "cc52393087480ac8d245625004a6a30c">
11 <!ENTITY gnupg-size "3.250 MB">
12 <!ENTITY gnupg-buildsize "40 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 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&gnupg-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&gnupg-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &gnupg-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &gnupg-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &gnupg-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &gnupg-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing='compact'>
64 <listitem>
65 <para>Required Patch (if you have <application>Curl</application>
66 already installed and is linked against a SSL/TLS library): <ulink
67 url="&patch-root;/gnupg-&gnupg-version;-curl_fix-1.patch"/>
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">GnuPG Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Optional</bridgehead>
75 <para role="optional"><xref linkend="openssl"/>,
76 <xref linkend="openldap"/>,
77 <xref linkend="libusb-compat"/>,
78 <xref linkend="curl"/>,
79 an <xref linkend="server-mail"/>,
80 <xref linkend="docbook-utils"/>, and <ulink
81 url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink></para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/gnupg"/></para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of GnuPG</title>
90
91 <para>If <application>Curl</application> is already installed,
92 apply the patch:</para>
93
94<screen><userinput>patch -Np1 -i ../gnupg-&gnupg-version;-curl_fix-1.patch
95</userinput></screen>
96
97 <para>Install <application>GnuPG</application> by running the following
98 commands:</para>
99
100<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
101make</userinput></screen>
102
103 <para>If you have <xref linkend="tetex"/> installed and you wish to create
104 documentation in alternate formats, issue the following command:</para>
105
106<screen><userinput>make -C doc pdf html</userinput></screen>
107
108 <para>To test the results, issue: <command>make check</command>.</para>
109
110 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
111
112<screen role="root"><userinput>make install &amp;&amp;
113
114install -v -m755 -d /usr/share/doc/gnupg-&gnupg-version; &amp;&amp;
115mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-&gnupg-version; &amp;&amp;
116install -v -m644 \
117 doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
118 /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
119
120 <para>If you created alternate formats of the documentation, install it
121 using the following command as the
122 <systemitem class="username">root</systemitem> user:</para>
123
124 <!-- (ag) Comment out. See #2687. Remove comments in the next update.
125 chmod -v 4755 /usr/bin/gpg &amp;&amp;
126 -->
127
128<screen role="root"><userinput>cp -v -R doc/gnupg1.{html,pdf} /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
129
130 </sect2>
131
132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135 <para><parameter>--libexecdir=/usr/lib</parameter>: This command
136 creates a <filename class="directory">gnupg</filename> directory in
137 <filename class="directory">/usr/lib</filename> instead of
138 <filename class="directory">/usr/libexec</filename>.</para>
139
140 <!-- (ag) See above comment
141 <para><command>chmod -v 4755 /usr/bin/gpg</command>:
142 <command>gpg</command> is installed setuid
143 <systemitem class='username'>root</systemitem> to avoid swapping
144 out sensitive data.</para>
145 -->
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Programs</segtitle>
154 <segtitle>Installed Libraries</segtitle>
155 <segtitle>Installed Directories</segtitle>
156
157 <seglistitem>
158 <seg>gpg, gpg-zip, gpgsplit, and gpgv</seg>
159 <seg>None</seg>
160 <seg>/usr/lib/gnupg, /usr/share/gnupg and
161 /usr/share/doc/gnupg-&gnupg-version;</seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="gpg">
171 <term><command>gpg</command></term>
172 <listitem>
173 <para>is the backend (command-line interface) for
174 this OpenPGP implementation.</para>
175 <indexterm zone="gnupg gpg">
176 <primary sortas="b-gpg">gpg</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="gpg-zip">
182 <term><command>gpg-zip</command></term>
183 <listitem>
184 <para>shell script that implements a gpg-ized version of
185 <command>tar</command>.</para>
186 <indexterm zone="gnupg gpg-zip">
187 <primary sortas="b-gpg-zip">gpg-zip</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="gpgsplit">
193 <term><command>gpgsplit</command></term>
194 <listitem>
195 <para>separates key rings.</para>
196 <indexterm zone="gnupg gpgsplit">
197 <primary sortas="b-gpgsplit">gpgsplit</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="gpgv">
203 <term><command>gpgv</command></term>
204 <listitem>
205 <para>is a verify only version of <command>gpg</command>.</para>
206 <indexterm zone="gnupg gpgv">
207 <primary sortas="b-gpgv">gpgv</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 </variablelist>
213
214 </sect2>
215
216</sect1>
Note: See TracBrowser for help on using the repository browser.