source: postlfs/security/gnupg.xml@ acac7412

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 acac7412 was acac7412, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated to GnuPG-1.4.7

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

  • Property mode set to 100644
File size: 6.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 "http://public.ftp.planetmirror.com/pub/gnupg/gnupg-&gnupg-version;.tar.bz2">
8 <!ENTITY gnupg-download-ftp "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-&gnupg-version;.tar.bz2">
9 <!ENTITY gnupg-md5sum "b06a141cca5cd1a55bbdd25ab833303c">
10 <!ENTITY gnupg-size "3.2 MB">
11 <!ENTITY gnupg-buildsize "40 MB">
12 <!ENTITY gnupg-time "0.5 SBU">
13]>
14
15<sect1 id="gnupg" xreflabel="GnuPG-&gnupg-version;">
16 <?dbhtml filename="gnupg.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>GnuPG-&gnupg-version;</title>
24
25 <indexterm zone="gnupg">
26 <primary sortas="a-GnuPG">GnuPG</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to GnuPG</title>
31
32 <para>The <application>GnuPG</application> package contains a
33 public/private key encryptor. This is becoming useful for signing
34 files or emails as proof of identity and preventing tampering with
35 the contents of the file or email.</para>
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&gnupg-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&gnupg-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &gnupg-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &gnupg-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &gnupg-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &gnupg-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
61 <listitem>
62 <para>Required Patch: <ulink
63 url="&patch-root;/gnupg-&gnupg-version;-curl_LDAP-1.patch"/>
64 </para>
65 </listitem>
66 </itemizedlist> -->
67
68 <bridgehead renderas="sect3">GnuPG Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para role="optional"><xref linkend="openssl"/>,
72 <xref linkend="openldap"/>,
73 <xref linkend="libusb"/>,
74 <xref linkend="curl"/>,
75 an <xref linkend="server-mail"/>,
76 <xref linkend="docbook-utils"/>, and <ulink
77 url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink></para>
78
79 <para condition="html" role="usernotes">User Notes:
80 <ulink url="&blfs-wiki;/gnupg"/></para>
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of GnuPG</title>
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"/> installed and you wish to create
94 documentation in alternate formats, issue the following command:</para>
95
96<screen><userinput>make -C doc pdf html</userinput></screen>
97
98 <para>To test the results, issue: <command>make check</command>.</para>
99
100 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
101
102<screen role="root"><userinput>make install &amp;&amp;
103chmod -v 4755 /usr/bin/gpg &amp;&amp;
104
105install -v -m755 -d /usr/share/doc/gnupg-&gnupg-version; &amp;&amp;
106mv -v /usr/share/gnupg/{FAQ,faq.html} /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 <para><command>chmod -v 4755 /usr/bin/gpg</command>:
128 <command>gpg</command> is installed setuid
129 <systemitem class='username'>root</systemitem> to avoid swapping
130 out sensitive data.</para>
131
132 </sect2>
133
134 <sect2 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
138 <segtitle>Installed Programs</segtitle>
139 <segtitle>Installed Libraries</segtitle>
140 <segtitle>Installed Directories</segtitle>
141
142 <seglistitem>
143 <seg>gpg, gpg-zip, gpgsplit, and gpgv</seg>
144 <seg>None</seg>
145 <seg>/usr/lib/gnupg, /usr/share/gnupg and
146 /usr/share/doc/gnupg-&gnupg-version;</seg>
147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155 <varlistentry id="gpg">
156 <term><command>gpg</command></term>
157 <listitem>
158 <para>is the backend (command-line interface) for
159 this OpenPGP implementation.</para>
160 <indexterm zone="gnupg gpg">
161 <primary sortas="b-gpg">gpg</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="gpgsplit">
167 <term><command>gpgsplit</command></term>
168 <listitem>
169 <para>separates key rings.</para>
170 <indexterm zone="gnupg gpgsplit">
171 <primary sortas="b-gpgsplit">gpgsplit</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="gpgv">
177 <term><command>gpgv</command></term>
178 <listitem>
179 <para>is a verify only version of <command>gpg</command>.</para>
180 <indexterm zone="gnupg gpgv">
181 <primary sortas="b-gpgv">gpgv</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect2>
189
190</sect1>
Note: See TracBrowser for help on using the repository browser.