[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">
|
---|
[acac7412] | 10 | <!ENTITY gnupg-md5sum "b06a141cca5cd1a55bbdd25ab833303c">
|
---|
| 11 | <!ENTITY gnupg-size "3.2 MB">
|
---|
| 12 | <!ENTITY gnupg-buildsize "40 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 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&gnupg-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&gnupg-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &gnupg-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &gnupg-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &gnupg-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &gnupg-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
[7a1d446f] | 62 | <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[07d11f5] | 63 | <itemizedlist spacing='compact'>
|
---|
| 64 | <listitem>
|
---|
[0afcfa88] | 65 | <para>Required Patch: <ulink
|
---|
[5d7bbdde] | 66 | url="&patch-root;/gnupg-&gnupg-version;-curl_LDAP-1.patch"/>
|
---|
[07d11f5] | 67 | </para>
|
---|
| 68 | </listitem>
|
---|
[7a1d446f] | 69 | </itemizedlist> -->
|
---|
[07d11f5] | 70 |
|
---|
| 71 | <bridgehead renderas="sect3">GnuPG Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e19ad480] | 74 | <para role="optional"><xref linkend="openssl"/>,
|
---|
[d3b5b43] | 75 | <xref linkend="openldap"/>,
|
---|
[0afcfa88] | 76 | <xref linkend="libusb"/>,
|
---|
| 77 | <xref linkend="curl"/>,
|
---|
[7f5c97e] | 78 | an <xref linkend="server-mail"/>,
|
---|
[5ad3a6c] | 79 | <xref linkend="docbook-utils"/>, and <ulink
|
---|
[07d11f5] | 80 | url="http://www.oasis-open.org/docbook/tools/dtm/">docbook-to-man</ulink></para>
|
---|
| 81 |
|
---|
[3597eb6] | 82 | <para condition="html" role="usernotes">User Notes:
|
---|
| 83 | <ulink url="&blfs-wiki;/gnupg"/></para>
|
---|
| 84 |
|
---|
[07d11f5] | 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of GnuPG</title>
|
---|
| 89 |
|
---|
[0afcfa88] | 90 | <para>Install <application>GnuPG</application> by running the following
|
---|
[07d11f5] | 91 | commands:</para>
|
---|
| 92 |
|
---|
[7a1d446f] | 93 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &&
|
---|
[07d11f5] | 94 | make</userinput></screen>
|
---|
| 95 |
|
---|
[520f6b4f] | 96 | <para>If you have <xref linkend="tetex"/> installed and you wish to create
|
---|
[acac7412] | 97 | documentation in alternate formats, issue the following command:</para>
|
---|
[5ad3a6c] | 98 |
|
---|
[acac7412] | 99 | <screen><userinput>make -C doc pdf html</userinput></screen>
|
---|
[5ad3a6c] | 100 |
|
---|
| 101 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 102 |
|
---|
[07d11f5] | 103 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 104 |
|
---|
| 105 | <screen role="root"><userinput>make install &&
|
---|
[5ad3a6c] | 106 | chmod -v 4755 /usr/bin/gpg &&
|
---|
[acac7412] | 107 |
|
---|
[5ad3a6c] | 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 |
|
---|
[acac7412] | 118 | <screen role="root"><userinput>cp -v -R doc/gnupg1.{html,pdf} /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
|
---|
[07d11f5] | 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 |
|
---|
[0afcfa88] | 130 | <para><command>chmod -v 4755 /usr/bin/gpg</command>:
|
---|
[0bc6cf76] | 131 | <command>gpg</command> is installed setuid
|
---|
| 132 | <systemitem class='username'>root</systemitem> to avoid swapping
|
---|
[07d11f5] | 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>
|
---|
[7a1d446f] | 146 | <seg>gpg, gpg-zip, gpgsplit, and gpgv</seg>
|
---|
[07d11f5] | 147 | <seg>None</seg>
|
---|
[5ad3a6c] | 148 | <seg>/usr/lib/gnupg, /usr/share/gnupg and
|
---|
| 149 | /usr/share/doc/gnupg-&gnupg-version;</seg>
|
---|
[07d11f5] | 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>
|
---|
[eb7ab87b] | 192 |
|
---|
| 193 | </sect1>
|
---|