[b4b71892] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[b4b71892] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[350452c] | 7 | <!ENTITY gnupg-download-http "&sources-anduin-http;/g/gnupg-&gnupg-version;.tar.bz2">
|
---|
[0de6f17] | 8 | <!--<!ENTITY gnupg-download-http "http://public.ftp.planetmirror.com/pub/gnupg/gnupg-&gnupg-version;.tar.bz2"> -->
|
---|
[b4b71892] | 9 | <!ENTITY gnupg-download-ftp "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-&gnupg-version;.tar.bz2">
|
---|
[ae84932] | 10 | <!ENTITY gnupg-md5sum "ce3742e5c7912559cab7894ad8ba7f6b">
|
---|
| 11 | <!ENTITY gnupg-size "3.5 MB">
|
---|
[5d7be300] | 12 | <!ENTITY gnupg-buildsize "45 MB">
|
---|
[7a1d446f] | 13 | <!ENTITY gnupg-time "0.5 SBU">
|
---|
[b4b71892] | 14 | ]>
|
---|
| 15 |
|
---|
[79f87f94] | 16 | <sect1 id="gnupg" xreflabel="GnuPG-&gnupg-version;">
|
---|
[07d11f5] | 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 |
|
---|
[0afcfa88] | 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
|
---|
[618aef19] | 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>
|
---|
[07d11f5] | 39 |
|
---|
[d146ee9] | 40 | &lfs70_checked;
|
---|
| 41 |
|
---|
[07d11f5] | 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">GnuPG Dependencies</bridgehead>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[5d7be300] | 67 | <para role="optional"><xref linkend="openldap"/>,
|
---|
[6d0910f1] | 68 | <xref linkend="libusb-compat"/>,
|
---|
[0afcfa88] | 69 | <xref linkend="curl"/>,
|
---|
[5d7be300] | 70 | an <xref linkend="server-mail"/>, and
|
---|
| 71 | <ulink url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink></para>
|
---|
[07d11f5] | 72 |
|
---|
[3597eb6] | 73 | <para condition="html" role="usernotes">User Notes:
|
---|
| 74 | <ulink url="&blfs-wiki;/gnupg"/></para>
|
---|
| 75 |
|
---|
[07d11f5] | 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of GnuPG</title>
|
---|
| 80 |
|
---|
[5d7be300] | 81 | <!-- <para>If <application>Curl</application> is already installed,
|
---|
[096cbcd] | 82 | apply the patch:</para>
|
---|
| 83 |
|
---|
| 84 | <screen><userinput>patch -Np1 -i ../gnupg-&gnupg-version;-curl_fix-1.patch
|
---|
[5d7be300] | 85 | </userinput></screen> -->
|
---|
[096cbcd] | 86 |
|
---|
[0afcfa88] | 87 | <para>Install <application>GnuPG</application> by running the following
|
---|
[07d11f5] | 88 | commands:</para>
|
---|
| 89 |
|
---|
[7a1d446f] | 90 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &&
|
---|
[07d11f5] | 91 | make</userinput></screen>
|
---|
| 92 |
|
---|
[27d0323] | 93 | <para>If you have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>
|
---|
[f1e103a] | 94 | installed and you wish to create documentation in alternate formats, issue
|
---|
| 95 | the following command:</para>
|
---|
[5ad3a6c] | 96 |
|
---|
[acac7412] | 97 | <screen><userinput>make -C doc pdf html</userinput></screen>
|
---|
[5ad3a6c] | 98 |
|
---|
| 99 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 100 |
|
---|
[07d11f5] | 101 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 102 |
|
---|
| 103 | <screen role="root"><userinput>make install &&
|
---|
[acac7412] | 104 |
|
---|
[5ad3a6c] | 105 | install -v -m755 -d /usr/share/doc/gnupg-&gnupg-version; &&
|
---|
[d146ee9] | 106 | mv -v /usr/share/gnupg/FAQ /usr/share/doc/gnupg-&gnupg-version; &&
|
---|
[5ad3a6c] | 107 | install -v -m644 \
|
---|
| 108 | doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
|
---|
| 109 | /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>If you created alternate formats of the documentation, install it
|
---|
| 112 | using the following command as the
|
---|
| 113 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 114 |
|
---|
[acac7412] | 115 | <screen role="root"><userinput>cp -v -R doc/gnupg1.{html,pdf} /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
|
---|
[07d11f5] | 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
| 122 | <para><parameter>--libexecdir=/usr/lib</parameter>: This command
|
---|
| 123 | creates a <filename class="directory">gnupg</filename> directory in
|
---|
| 124 | <filename class="directory">/usr/lib</filename> instead of
|
---|
| 125 | <filename class="directory">/usr/libexec</filename>.</para>
|
---|
| 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Programs</segtitle>
|
---|
| 134 | <segtitle>Installed Libraries</segtitle>
|
---|
| 135 | <segtitle>Installed Directories</segtitle>
|
---|
| 136 |
|
---|
| 137 | <seglistitem>
|
---|
[7a1d446f] | 138 | <seg>gpg, gpg-zip, gpgsplit, and gpgv</seg>
|
---|
[07d11f5] | 139 | <seg>None</seg>
|
---|
[5ad3a6c] | 140 | <seg>/usr/lib/gnupg, /usr/share/gnupg and
|
---|
| 141 | /usr/share/doc/gnupg-&gnupg-version;</seg>
|
---|
[07d11f5] | 142 | </seglistitem>
|
---|
| 143 | </segmentedlist>
|
---|
| 144 |
|
---|
| 145 | <variablelist>
|
---|
| 146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 147 | <?dbfo list-presentation="list"?>
|
---|
| 148 | <?dbhtml list-presentation="table"?>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="gpg">
|
---|
| 151 | <term><command>gpg</command></term>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>is the backend (command-line interface) for
|
---|
| 154 | this OpenPGP implementation.</para>
|
---|
| 155 | <indexterm zone="gnupg gpg">
|
---|
| 156 | <primary sortas="b-gpg">gpg</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
[df1e8e6] | 161 | <varlistentry id="gpg-zip">
|
---|
| 162 | <term><command>gpg-zip</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>shell script that implements a gpg-ized version of
|
---|
| 165 | <command>tar</command>.</para>
|
---|
| 166 | <indexterm zone="gnupg gpg-zip">
|
---|
| 167 | <primary sortas="b-gpg-zip">gpg-zip</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
[07d11f5] | 172 | <varlistentry id="gpgsplit">
|
---|
| 173 | <term><command>gpgsplit</command></term>
|
---|
| 174 | <listitem>
|
---|
| 175 | <para>separates key rings.</para>
|
---|
| 176 | <indexterm zone="gnupg gpgsplit">
|
---|
| 177 | <primary sortas="b-gpgsplit">gpgsplit</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="gpgv">
|
---|
| 183 | <term><command>gpgv</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>is a verify only version of <command>gpg</command>.</para>
|
---|
| 186 | <indexterm zone="gnupg gpgv">
|
---|
| 187 | <primary sortas="b-gpgv">gpgv</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | </variablelist>
|
---|
| 193 |
|
---|
| 194 | </sect2>
|
---|
[eb7ab87b] | 195 |
|
---|
| 196 | </sect1>
|
---|