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