source: postlfs/security/gnupg.xml@ 520f6b4f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 520f6b4f was 520f6b4f, checked in by Randy McMurchy <randy@…>, 18 years ago

Renamed the TeX package to its proper name - teTeX

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6042 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.6 KB
Line 
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 "d237d8fe1c4afa379f56dbda0e0b40e4">
10 <!ENTITY gnupg-size "3.1 MB">
11 <!ENTITY gnupg-buildsize "38.1 MB">
12 <!ENTITY gnupg-time "0.5 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 <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>Install <application>GnuPG</application> by running the following
92 commands:</para>
93
94<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
95make</userinput></screen>
96
97 <para>If you have <xref linkend="tetex"/> installed and you wish to create
98 documentation in alternate formats, issue the following commands:</para>
99
100<screen><userinput>make -C doc pdf ps html &amp;&amp;
101makeinfo --plaintext -o doc/gpg.txt doc/gpg.texi &amp;&amp;
102makeinfo --plaintext -o doc/gpgv.txt doc/gpgv.texi</userinput></screen>
103
104 <para>To test the results, issue: <command>make check</command>.</para>
105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
108<screen role="root"><userinput>make install &amp;&amp;
109chmod -v 4755 /usr/bin/gpg &amp;&amp;
110install -v -m755 -d /usr/share/doc/gnupg-&gnupg-version; &amp;&amp;
111mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-&gnupg-version; &amp;&amp;
112install -v -m644 \
113 doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
114 /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
115
116 <para>If you created alternate formats of the documentation, install it
117 using the following command as the
118 <systemitem class="username">root</systemitem> user:</para>
119
120<screen role="root"><userinput>cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-&gnupg-version;</userinput></screen>
121
122 </sect2>
123
124 <sect2 role="commands">
125 <title>Command Explanations</title>
126
127 <para><parameter>--libexecdir=/usr/lib</parameter>: This command
128 creates a <filename class="directory">gnupg</filename> directory in
129 <filename class="directory">/usr/lib</filename> instead of
130 <filename class="directory">/usr/libexec</filename>.</para>
131
132 <para><command>chmod -v 4755 /usr/bin/gpg</command>:
133 <command>gpg</command> is installed setuid
134 <systemitem class='username'>root</systemitem> to avoid swapping
135 out sensitive data.</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="gpgsplit">
172 <term><command>gpgsplit</command></term>
173 <listitem>
174 <para>separates key rings.</para>
175 <indexterm zone="gnupg gpgsplit">
176 <primary sortas="b-gpgsplit">gpgsplit</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="gpgv">
182 <term><command>gpgv</command></term>
183 <listitem>
184 <para>is a verify only version of <command>gpg</command>.</para>
185 <indexterm zone="gnupg gpgv">
186 <primary sortas="b-gpgv">gpgv</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.