source: postlfs/security/gnupg.xml@ 618aef19

10.0 10.1 11.0 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 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 618aef19 was 618aef19, checked in by Randy McMurchy <randy@…>, 14 years ago

Added new package GnuPG-2.0.8

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

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