source: postlfs/security/volume_key.xml@ 3947fa9

11.3 12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 3947fa9 was a476c5de, checked in by Xi Ruoyao <xry111@…>, 2 years ago

volume_key: find gpgme and gpg correctly

  • Property mode set to 100644
File size: 6.1 KB
Line 
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 volume_key-download-http "https://github.com/felixonmars/volume_key/archive/volume_key-&volume_key-version;.tar.gz">
8 <!ENTITY volume_key-download-ftp " ">
9 <!ENTITY volume_key-md5sum "d1c76f24e08ddd8c1787687d0af5a814">
10 <!ENTITY volume_key-size "196 KB">
11 <!ENTITY volume_key-buildsize "11 MB">
12 <!ENTITY volume_key-time "0.2 SBU">
13]>
14
15<sect1 id="volume_key" xreflabel="volume_key-&volume_key-version;">
16 <?dbhtml filename="volume_key.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>volume_key-&volume_key-version;</title>
23
24 <indexterm zone="volume_key">
25 <primary sortas="a-volume_key">volume_key</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to volume_key</title>
30
31 <para>
32 The <application>volume_key</application> package provides
33 a library for manipulating storage volume encryption keys and storing
34 them separately from volumes to handle forgotten passphrases.
35 </para>
36
37 &lfs112_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&volume_key-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&volume_key-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &volume_key-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &volume_key-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &volume_key-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &volume_key-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">volume_key Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="cryptsetup"/>,
78 <xref linkend="glib2"/>,
79 <!-- To editors: if GnuPG is not installed, a wrong path to gpg will
80 be hard-coded into the library. Even if GnuPG is installed, we
81 still need the 's/gpg2/gpg/' sed below. I can't find an elegant
82 way to specify the path manually (so I can't make it a runtime
83 dependency). -->
84 <xref linkend="gnupg2"/>,
85 <xref linkend="gpgme"/>, and
86 <xref linkend="nss"/>
87 </para>
88
89 <bridgehead renderas="sect4">Recommended</bridgehead>
90 <para role="recommended">
91 <xref linkend="swig"/>
92 </para>
93<!-- We prevent using Python2, so do not advertise it
94 <bridgehead renderas="sect4">Optional</bridgehead>
95 <para role="optional">
96 <xref linkend="python2"/>
97 </para>
98-->
99 <para condition="html" role="usernotes">User Notes:
100 <ulink url="&blfs-wiki;/volume_key"/>
101 </para>
102 </sect2>
103
104 <sect2 role="installation">
105 <title>Installation of volume_key</title>
106
107 <note>
108 <para>
109 This package expands to the directory
110 volume_key-volume_key-&volume_key-version;.
111 </para>
112 </note>
113
114 <para>
115 Tell the building system how to locate GPGME and GnuPG correctly:
116 </para>
117
118<screen><userinput remap='pre'>sed -e '/AM_PATH_GPGME/iAM_PATH_GPG_ERROR' \
119 -e 's/gpg2/gpg/' -i configure.ac</userinput></screen>
120
121 <para>
122 Install <application>volume_key</application> by running the following
123 commands:
124 </para>
125
126<screen><userinput>autoreconf -fiv &amp;&amp;
127./configure --prefix=/usr \
128 --without-python &amp;&amp;
129make</userinput></screen>
130
131 <para>
132 To test the results, issue: <command>make check</command>.
133 </para>
134
135 <para>
136 Now, as the <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>make install</userinput></screen>
140
141 </sect2>
142
143 <sect2 role="commands">
144 <title>Command Explanations</title>
145
146 <para>
147 <parameter>--without-python</parameter>: This parameter prevents building
148 the <application>Python 2</application> bindings, if <xref
149 linkend="python2"/> is installed.
150 </para>
151
152 <para>
153 <option>--without-python3</option>: Use this option if you do not want
154 to build the <application>Python 3</application> bindings. In this case,
155 <xref linkend="swig"/> is not needed.
156 </para>
157
158 </sect2>
159 <sect2 role="content">
160 <title>Contents</title>
161
162 <segmentedlist>
163 <segtitle>Installed Program</segtitle>
164 <segtitle>Installed Library</segtitle>
165 <segtitle>Installed Directory</segtitle>
166
167 <seglistitem>
168 <seg>
169 volume_key
170 </seg>
171 <seg>
172 libvolume_key.so
173 </seg>
174 <seg>
175 /usr/include/volume_key
176 </seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="volume_key-prog">
186 <term><command>volume_key</command></term>
187 <listitem>
188 <para>
189 manages encrypted volume keys and passphrases
190 </para>
191 <indexterm zone="volume_key volume_key-prog">
192 <primary sortas="b-volume_key">volume_key</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="volume_key-lib">
198 <term><filename class="libraryfile">volume_key.so</filename></term>
199 <listitem>
200 <para>
201 contains API functions for managing encrypted volume keys
202 </para>
203 <indexterm zone="volume_key volume_key-lib">
204 <primary sortas="c-volume_key">volume_key.so</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 </variablelist>
210
211 </sect2>
212
213</sect1>
Note: See TracBrowser for help on using the repository browser.