1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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 "c34736eb7cb687f9e5b6d4df48aaf7c8">
|
---|
10 | <!ENTITY gnupg-size "2.9 MB">
|
---|
11 | <!ENTITY gnupg-buildsize "34.2 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 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">gnupg-&gnupg-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">gnupg</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>GnuPG-&gnupg-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="gnupg">
|
---|
30 | <primary sortas="a-GnuPG">GnuPG</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to GnuPG</title>
|
---|
35 |
|
---|
36 | <para>The <application>GnuPG</application> package contains a
|
---|
37 | public/private key encryptor. This is becoming useful for signing
|
---|
38 | files or emails as proof of identity and preventing tampering with
|
---|
39 | the contents of the file or email.</para>
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>Download (HTTP): <ulink url="&gnupg-download-http;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download (FTP): <ulink url="&gnupg-download-ftp;"/></para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download MD5 sum: &gnupg-md5sum;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Download size: &gnupg-size;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated disk space required: &gnupg-buildsize;</para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Estimated build time: &gnupg-time;</para>
|
---|
60 | </listitem>
|
---|
61 | </itemizedlist>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
64 | <itemizedlist spacing='compact'>
|
---|
65 | <listitem>
|
---|
66 | <para>Required Patch: <ulink
|
---|
67 | url="&patch-root;/gnupg-&gnupg-version;-curl_LDAP-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"/>,
|
---|
78 | <xref linkend="curl"/>,
|
---|
79 | <ulink url="../server/mail.html">an MTA</ulink>,
|
---|
80 | <xref linkend="docbook-utils"/>, and <ulink
|
---|
81 | url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink></para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="installation">
|
---|
86 | <title>Installation of GnuPG</title>
|
---|
87 |
|
---|
88 | <para>Install <application>GnuPG</application> by running the following
|
---|
89 | commands:</para>
|
---|
90 |
|
---|
91 | <screen><userinput>patch -Np1 -i ../gnupg-&gnupg-version;-curl_LDAP-1.patch &&
|
---|
92 | ./configure --prefix=/usr --libexecdir=/usr/lib &&
|
---|
93 | make</userinput></screen>
|
---|
94 |
|
---|
95 | <para>If you have <xref linkend="tex"/> installed and you wish to create
|
---|
96 | documentation in alternate formats, issue the following commands:</para>
|
---|
97 |
|
---|
98 | <screen><userinput>make -C doc pdf ps html &&
|
---|
99 | makeinfo --plaintext -o doc/gpg.txt doc/gpg.texi &&
|
---|
100 | makeinfo --plaintext -o doc/gpgv.txt doc/gpgv.texi</userinput></screen>
|
---|
101 |
|
---|
102 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
103 |
|
---|
104 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
105 |
|
---|
106 | <screen role="root"><userinput>make install &&
|
---|
107 | chmod -v 4755 /usr/bin/gpg &&
|
---|
108 | install -v -m755 -d /usr/share/doc/gnupg-&gnupg-version; &&
|
---|
109 | mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-&gnupg-version; &&
|
---|
110 | install -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/gpg{,v}.{dvi,html,pdf,ps,txt} /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, 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>
|
---|