source: postlfs/security/gnupg.xml@ 0de6f17

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 0de6f17 was 0de6f17, checked in by Randy McMurchy <randy@…>, 13 years ago

Fixed a broken URL for the GnuPG package

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7568 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 "http://anduin.&lfs-domainname;/sources/BLFS/svn/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 "b06a141cca5cd1a55bbdd25ab833303c">
11 <!ENTITY gnupg-size "3.2 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: <ulink
66 url="&patch-root;/gnupg-&gnupg-version;-curl_LDAP-1.patch"/>
67 </para>
68 </listitem>
69 </itemizedlist> -->
70
71 <bridgehead renderas="sect3">GnuPG Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional"><xref linkend="openssl"/>,
75 <xref linkend="openldap"/>,
76 <xref linkend="libusb"/>,
77 <xref linkend="curl"/>,
78 an <xref linkend="server-mail"/>,
79 <xref linkend="docbook-utils"/>, and <ulink
80 url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink></para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/gnupg"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of GnuPG</title>
89
90 <para>Install <application>GnuPG</application> by running the following
91 commands:</para>
92
93<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
94make</userinput></screen>
95
96 <para>If you have <xref linkend="tetex"/> installed and you wish to create
97 documentation in alternate formats, issue the following command:</para>
98
99<screen><userinput>make -C doc pdf html</userinput></screen>
100
101 <para>To test the results, issue: <command>make check</command>.</para>
102
103 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
104
105<screen role="root"><userinput>make install &amp;&amp;
106chmod -v 4755 /usr/bin/gpg &amp;&amp;
107
108install -v -m755 -d /usr/share/doc/gnupg-&gnupg-version; &amp;&amp;
109mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-&gnupg-version; &amp;&amp;
110install -v -m644 \
111 doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
112 /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
113
114 <para>If you created alternate formats of the documentation, install it
115 using the following command as the
116 <systemitem class="username">root</systemitem> user:</para>
117
118<screen role="root"><userinput>cp -v -R doc/gnupg1.{html,pdf} /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para><parameter>--libexecdir=/usr/lib</parameter>: This command
126 creates a <filename class="directory">gnupg</filename> directory in
127 <filename class="directory">/usr/lib</filename> instead of
128 <filename class="directory">/usr/libexec</filename>.</para>
129
130 <para><command>chmod -v 4755 /usr/bin/gpg</command>:
131 <command>gpg</command> is installed setuid
132 <systemitem class='username'>root</systemitem> to avoid swapping
133 out sensitive data.</para>
134
135 </sect2>
136
137 <sect2 role="content">
138 <title>Contents</title>
139
140 <segmentedlist>
141 <segtitle>Installed Programs</segtitle>
142 <segtitle>Installed Libraries</segtitle>
143 <segtitle>Installed Directories</segtitle>
144
145 <seglistitem>
146 <seg>gpg, gpg-zip, gpgsplit, and gpgv</seg>
147 <seg>None</seg>
148 <seg>/usr/lib/gnupg, /usr/share/gnupg and
149 /usr/share/doc/gnupg-&gnupg-version;</seg>
150 </seglistitem>
151 </segmentedlist>
152
153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="gpg">
159 <term><command>gpg</command></term>
160 <listitem>
161 <para>is the backend (command-line interface) for
162 this OpenPGP implementation.</para>
163 <indexterm zone="gnupg gpg">
164 <primary sortas="b-gpg">gpg</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="gpgsplit">
170 <term><command>gpgsplit</command></term>
171 <listitem>
172 <para>separates key rings.</para>
173 <indexterm zone="gnupg gpgsplit">
174 <primary sortas="b-gpgsplit">gpgsplit</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="gpgv">
180 <term><command>gpgv</command></term>
181 <listitem>
182 <para>is a verify only version of <command>gpg</command>.</para>
183 <indexterm zone="gnupg gpgv">
184 <primary sortas="b-gpgv">gpgv</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190
191 </sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.