[b4b71892] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[b4b71892] | 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">
|
---|
[0bca3f3e] | 9 | <!ENTITY gnupg-md5sum "c34736eb7cb687f9e5b6d4df48aaf7c8">
|
---|
| 10 | <!ENTITY gnupg-size "2.9 MB">
|
---|
| 11 | <!ENTITY gnupg-buildsize "34.2 MB">
|
---|
[14bc4fa] | 12 | <!ENTITY gnupg-time "0.4 SBU">
|
---|
[b4b71892] | 13 | ]>
|
---|
| 14 |
|
---|
[79f87f94] | 15 | <sect1 id="gnupg" xreflabel="GnuPG-&gnupg-version;">
|
---|
[07d11f5] | 16 | <?dbhtml filename="gnupg.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[e19ad480] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">gnupg-&gnupg-version;.tar</keyword>
|
---|
[9084c2eb] | 23 | <keyword role="ftpdir">gnupg</keyword>
|
---|
[e19ad480] | 24 | </keywordset>
|
---|
[07d11f5] | 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 |
|
---|
[0afcfa88] | 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
|
---|
[0bc6cf76] | 39 | the contents of the file or email.</para>
|
---|
[07d11f5] | 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>
|
---|
[0afcfa88] | 66 | <para>Required Patch: <ulink
|
---|
[5d7bbdde] | 67 | url="&patch-root;/gnupg-&gnupg-version;-curl_LDAP-1.patch"/>
|
---|
[07d11f5] | 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">GnuPG Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e19ad480] | 75 | <para role="optional"><xref linkend="openssl"/>,
|
---|
[d3b5b43] | 76 | <xref linkend="openldap"/>,
|
---|
[0afcfa88] | 77 | <xref linkend="libusb"/>,
|
---|
| 78 | <xref linkend="curl"/>,
|
---|
[2a71e25f] | 79 | <ulink url="../server/mail.html">an MTA</ulink>,
|
---|
[5ad3a6c] | 80 | <xref linkend="docbook-utils"/>, and <ulink
|
---|
[07d11f5] | 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 |
|
---|
[0afcfa88] | 88 | <para>Install <application>GnuPG</application> by running the following
|
---|
[07d11f5] | 89 | commands:</para>
|
---|
| 90 |
|
---|
[5d7bbdde] | 91 | <screen><userinput>patch -Np1 -i ../gnupg-&gnupg-version;-curl_LDAP-1.patch &&
|
---|
| 92 | ./configure --prefix=/usr --libexecdir=/usr/lib &&
|
---|
[07d11f5] | 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
[5ad3a6c] | 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 |
|
---|
[07d11f5] | 104 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 105 |
|
---|
| 106 | <screen role="root"><userinput>make install &&
|
---|
[5ad3a6c] | 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>
|
---|
[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>
|
---|
| 146 | <seg>gpg, gpgsplit, and gpgv</seg>
|
---|
| 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>
|
---|