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 pinentry-download-http " ">
|
---|
8 | <!ENTITY pinentry-download-ftp "ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-&pinentry-version;.tar.bz2">
|
---|
9 | <!ENTITY pinentry-md5sum "b81321407466a6263ebbfd34145cd6e8">
|
---|
10 | <!ENTITY pinentry-size "500 KB">
|
---|
11 | <!ENTITY pinentry-buildsize "15 MB (with <command>pinentry-qt4</command>)">
|
---|
12 | <!ENTITY pinentry-time "less than 0.1 SBU (with <command>pinentry-qt4</command>)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="pinentry" xreflabel="PIN-Entry-&pinentry-version;">
|
---|
16 | <?dbhtml filename="pinentry.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>PIN-Entry-&pinentry-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="pinentry">
|
---|
26 | <primary sortas="a-PIN-Entry">PIN-Entry</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to PIN-Entry</title>
|
---|
31 |
|
---|
32 | <para>The <application>PIN-Entry</application> package contains a
|
---|
33 | collection of simple PIN or pass-phrase entry dialogs which utilize the
|
---|
34 | Assuan protocol as described by the
|
---|
35 | <ulink url="http://www.gnupg.org/aegypten/">Ägypten project</ulink>.
|
---|
36 | <application>PIN-Entry</application> programs are usually invoked by
|
---|
37 | the <command>gpg-agent</command> daemon, but can be run from the command
|
---|
38 | line as well. There are programs for various text-based and GUI
|
---|
39 | environments, including interfaces designed for
|
---|
40 | <application>Ncurses</application> (text-based), and for the common
|
---|
41 | <application>GTK</application> and <application>Qt</application>
|
---|
42 | toolkits.</para>
|
---|
43 |
|
---|
44 | &lfs77_checked; &gcc5_checked;
|
---|
45 |
|
---|
46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
47 | <itemizedlist spacing="compact">
|
---|
48 | <listitem>
|
---|
49 | <para>Download (HTTP): <ulink url="&pinentry-download-http;"/></para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download (FTP): <ulink url="&pinentry-download-ftp;"/></para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Download MD5 sum: &pinentry-md5sum;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Download size: &pinentry-size;</para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>Estimated disk space required: &pinentry-buildsize;</para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>Estimated build time: &pinentry-time;</para>
|
---|
65 | </listitem>
|
---|
66 | </itemizedlist>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect3">PIN-Entry Dependencies</bridgehead>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
71 | <para role="optional">
|
---|
72 | <xref linkend="gtk2"/>,
|
---|
73 | <xref linkend="libcap-pam"/>,
|
---|
74 | <xref linkend="libsecret"/> and
|
---|
75 | <xref linkend="qt4"/>
|
---|
76 | </para>
|
---|
77 |
|
---|
78 | <para condition="html" role="usernotes">User Notes:
|
---|
79 | <ulink url="&blfs-wiki;/pinentry"/></para>
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2 role="installation">
|
---|
84 | <title>Installation of PIN-Entry</title>
|
---|
85 |
|
---|
86 | <para>Install <application>PIN-Entry</application> by running the following
|
---|
87 | commands:</para>
|
---|
88 |
|
---|
89 | <screen><userinput>sed -i 's:ncursesw/::' pinentry/pinentry-curses.c &&
|
---|
90 |
|
---|
91 | ./configure --prefix=/usr &&
|
---|
92 | make</userinput></screen><!-- &&
|
---|
93 |
|
---|
94 | makeinfo - -html - -no-split -o doc/pinentry_nochunks.html doc/pinentry.texi &&
|
---|
95 | makeinfo - -plaintext -o doc/pinentry.txt doc/pinentry.texi</userinput></screen>
|
---|
96 |
|
---|
97 | <para>If you wish to build alternate formats of the documentation, you
|
---|
98 | must have <xref linkend="texlive"/> installed,
|
---|
99 | then issue the following command:</para>
|
---|
100 |
|
---|
101 | <screen><userinput>make -k -C doc pdf ps html</userinput></screen> -->
|
---|
102 |
|
---|
103 | <para>This package does not come with a test suite.</para>
|
---|
104 |
|
---|
105 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>make install</userinput></screen><!-- &&
|
---|
108 |
|
---|
109 | install -v -m755 -d /usr/share/doc/pinentry-&pinentry-version;/html &&
|
---|
110 | install -v -m644 README doc/pinentry{_*.html,.txt,.texi} \
|
---|
111 | /usr/share/doc/pinentry-&pinentry-version;</userinput></screen>
|
---|
112 |
|
---|
113 | <para>If you built the additional documentation, install it by issuing the
|
---|
114 | following commands as the <systemitem class="username">root</systemitem>
|
---|
115 | user:</para>
|
---|
116 |
|
---|
117 | <screen role="root"><userinput>install -v -m644 doc/pinentry.html/* \
|
---|
118 | /usr/share/doc/pinentry-&pinentry-version;/html &&
|
---|
119 | install -v -m644 doc/pinentry.{pdf,ps,dvi} \
|
---|
120 | /usr/share/doc/pinentry-&pinentry-version;</userinput></screen> -->
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="commands">
|
---|
125 | <title>Command Explanations</title>
|
---|
126 |
|
---|
127 | <para>
|
---|
128 | <command>sed -i ... pinentry/pinentry-curses.c</command>: Help
|
---|
129 | <command>configure</command> script to find
|
---|
130 | <application>ncursesw</application> headers -
|
---|
131 | <application>ncursesw</application> is the default in LFS/BLFS.
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | <option>--enable-pinentry-qt4</option>: Use this switch if ypu wish to
|
---|
136 | install <command>pinentry-qt4</command>. If both <xref linkend="qt4"/>
|
---|
137 | and <xref linkend="qt5"/> are installed, use <command>source
|
---|
138 | setqt4</command>, before starting. Also, you need to modify the
|
---|
139 | configuration step, using <command>CXX="g++ -std=c++11"
|
---|
140 | MOC="$QT4DIR/bin/moc" ./configure ...</command>, to fix building with
|
---|
141 | gcc-5 and for Qt4 <command>moc</command> (Qt4 meta object compiler)
|
---|
142 | detection.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | <sect2 role="content">
|
---|
148 | <title>Contents</title>
|
---|
149 |
|
---|
150 | <segmentedlist>
|
---|
151 | <segtitle>Installed Programs</segtitle>
|
---|
152 | <segtitle>Installed Libraries</segtitle>
|
---|
153 | <segtitle>Installed Directory</segtitle>
|
---|
154 |
|
---|
155 | <seglistitem>
|
---|
156 | <seg>
|
---|
157 | pinentry (symlink), pinentry-curses, pinentry-gnome3, pinentry-gtk-2,
|
---|
158 | pinentry-qt4, and pinentry-tty
|
---|
159 | </seg>
|
---|
160 | <seg>None</seg>
|
---|
161 | <seg>None</seg>
|
---|
162 | </seglistitem>
|
---|
163 | </segmentedlist>
|
---|
164 |
|
---|
165 | <variablelist>
|
---|
166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
167 | <?dbfo list-presentation="list"?>
|
---|
168 | <?dbhtml list-presentation="table"?>
|
---|
169 |
|
---|
170 | <varlistentry id="pinentry-prog">
|
---|
171 | <term><command>pinentry</command></term>
|
---|
172 | <listitem>
|
---|
173 | <para>is a symbolic link to the default
|
---|
174 | <application>PIN-Entry</application> program.</para>
|
---|
175 | <indexterm zone="pinentry pinentry-prog">
|
---|
176 | <primary sortas="b-pinentry">pinentry</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 | <varlistentry id="pinentry-curses">
|
---|
182 | <term><command>pinentry-curses</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para> is an <application>Ncurses</application> text-based
|
---|
185 | <application>PIN-Entry</application> ihelper program.</para>
|
---|
186 | <indexterm zone="pinentry pinentry-curses">
|
---|
187 | <primary sortas="b-pinentry-curses">pinentry-curses</primary>
|
---|
188 | </indexterm>
|
---|
189 | </listitem>
|
---|
190 | </varlistentry>
|
---|
191 |
|
---|
192 | <varlistentry id="pinentry-gnome3">
|
---|
193 | <term><command>pinentry-gnome3</command></term>
|
---|
194 | <listitem>
|
---|
195 | <para> is a <application>GNOME-3</application>
|
---|
196 | <application>PIN-Entry</application> helper program.</para>
|
---|
197 | <indexterm zone="pinentry pinentry-gnome3">
|
---|
198 | <primary sortas="b-pinentry-gnome3">pinentry-gnome3</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 |
|
---|
203 | <varlistentry id="pinentry-gtk-2">
|
---|
204 | <term><command>pinentry-gtk-2</command></term>
|
---|
205 | <listitem>
|
---|
206 | <para> is a <application>GTK+2</application>
|
---|
207 | <application>PIN-Entry</application> program program.</para>
|
---|
208 | <indexterm zone="pinentry pinentry-gtk-2">
|
---|
209 | <primary sortas="b-pinentry-gtk-2">pinentry-gtk-2</primary>
|
---|
210 | </indexterm>
|
---|
211 | </listitem>
|
---|
212 | </varlistentry>
|
---|
213 |
|
---|
214 | <varlistentry id="pinentry-qt4">
|
---|
215 | <term><command>pinentry-qt4</command></term>
|
---|
216 | <listitem>
|
---|
217 | <para> is a <application>Qt4</application>
|
---|
218 | <application>PIN-Entry</application> helper program.</para>
|
---|
219 | <indexterm zone="pinentry pinentry-qt4">
|
---|
220 | <primary sortas="b-pinentry-qt4">pinentry-qt4</primary>
|
---|
221 | </indexterm>
|
---|
222 | </listitem>
|
---|
223 | </varlistentry>
|
---|
224 |
|
---|
225 | <varlistentry id="pinentry-tty">
|
---|
226 | <term><command>pinentry-tty</command></term>
|
---|
227 | <listitem>
|
---|
228 | <para> is a <application>tty</application>
|
---|
229 | <application>PIN-Entry</application> helper program.</para>
|
---|
230 | <indexterm zone="pinentry pinentry-tty">
|
---|
231 | <primary sortas="b-pinentry-tty">pinentry-tty</primary>
|
---|
232 | </indexterm>
|
---|
233 | </listitem>
|
---|
234 | </varlistentry>
|
---|
235 |
|
---|
236 | </variablelist>
|
---|
237 |
|
---|
238 | </sect2>
|
---|
239 |
|
---|
240 | </sect1>
|
---|