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