source: postlfs/security/polkit-gnome.xml

trunk
Last change on this file was 1241ea19, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Tag xfce and dependencies

  • Property mode set to 100644
File size: 5.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 polkit-gnome-download-http
8 "&gnome-download-http;/polkit-gnome/&polkit-gnome-version;/polkit-gnome-&polkit-gnome-version;.tar.xz">
9 <!ENTITY polkit-gnome-download-ftp " ">
10 <!ENTITY polkit-gnome-md5sum "50ecad37c8342fb4a52f590db7530621">
11 <!ENTITY polkit-gnome-size "305 KB">
12 <!ENTITY polkit-gnome-buildsize "5.0 MB">
13 <!ENTITY polkit-gnome-time "0.1 SBU">
14]>
15
16<sect1 id="polkit-gnome" xreflabel="polkit-gnome-&polkit-gnome-version;">
17 <?dbhtml filename="polkit-gnome.html"?>
18
19
20 <title>polkit-gnome-&polkit-gnome-version;</title>
21
22 <indexterm zone="polkit-gnome">
23 <primary sortas="a-polkit-gnome">polkit-gnome</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to Polkit GNOME</title>
28
29 <para>
30 The <application>Polkit GNOME</application> package provides an
31 Authentication Agent for <application>Polkit</application> that integrates
32 well with the <application>GNOME</application> Desktop environment.
33 </para>
34
35 &lfs121_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&polkit-gnome-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&polkit-gnome-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &polkit-gnome-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &polkit-gnome-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &polkit-gnome-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &polkit-gnome-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
72 <itemizedlist spacing="compact">
73 <listitem>
74 <para>
75 Required patch:
76 <ulink url="&patch-root;/polkit-gnome-&polkit-gnome-version;-consolidated_fixes-1.patch"/>
77 </para>
78 </listitem>
79 </itemizedlist>
80
81 <bridgehead renderas="sect3">Polkit GNOME Dependencies</bridgehead>
82
83 <bridgehead renderas="sect4">Required</bridgehead>
84 <para role="required">
85 <!-- due to the patch -->
86 <xref linkend="accountsservice"/>,
87 <xref linkend="gtk3"/>, and
88 <xref linkend="polkit"/>
89 </para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of Polkit GNOME</title>
95
96 <para>
97 First, apply some fixes that allow for the proper user icon to be used,
98 as well as some security fixes:
99 </para>
100
101<screen><userinput remap="pre">patch -Np1 -i ../polkit-gnome-&polkit-gnome-version;-consolidated_fixes-1.patch</userinput></screen>
102
103 <para>
104 Install <application>Polkit GNOME</application> by running the following
105 commands:
106 </para>
107
108<screen><userinput>./configure --prefix=/usr &amp;&amp;
109make</userinput></screen>
110
111 <para>
112 This package does not come with a test suite.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install</userinput></screen>
120
121 </sect2>
122
123 <sect2 role="configuration">
124 <title>Configuring Polkit GNOME</title>
125
126 <sect3>
127
128 <title>Automatic Startup</title>
129
130 <para>
131 For the authentication framework to work,
132 <command>polkit-gnome-authentication-agent-1</command> needs to be
133 started. However, <command>make install</command> did not
134 install a startup file for the <application>Polkit GNOME</application>
135 so you have to create it by yourself.
136 </para>
137
138 <para>
139 Issue the following commands as the
140 <systemitem class="username">root</systemitem> user to create
141 a startup file for <application>Polkit GNOME</application>:
142 </para>
143
144<screen role="root"><userinput>mkdir -p /etc/xdg/autostart &amp;&amp;
145cat &gt; /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop &lt;&lt; "EOF"
146<literal>[Desktop Entry]
147Name=PolicyKit Authentication Agent
148Comment=PolicyKit Authentication Agent
149Exec=/usr/libexec/polkit-gnome-authentication-agent-1
150Terminal=false
151Type=Application
152Categories=
153NoDisplay=true
154OnlyShowIn=GNOME;XFCE;Unity;
155AutostartCondition=GNOME3 unless-session gnome</literal>
156EOF</userinput></screen>
157
158 </sect3>
159
160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Program</segtitle>
167 <segtitle>Installed Libraries</segtitle>
168 <segtitle>Installed Directory</segtitle>
169
170 <seglistitem>
171 <seg>
172 polkit-gnome-authentication-agent-1
173 </seg>
174 <seg>
175 None
176 </seg>
177 <seg>
178 None
179 </seg>
180 </seglistitem>
181 </segmentedlist>
182
183 <variablelist>
184 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
185 <?dbfo list-presentation="list"?>
186 <?dbhtml list-presentation="table"?>
187
188 <varlistentry id="polkit-gnome-authentication-agent-1">
189 <term><command>polkit-gnome-authentication-agent-1</command></term>
190 <listitem>
191 <para>
192 is the <application>Polkit</application> authentication agent
193 </para>
194 <indexterm zone="polkit-gnome polkit-gnome-authentication-agent-1">
195 <primary sortas="b-polkit-gnome-authentication-agent-1">polkit-gnome-authentication-agent-1</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 </variablelist>
201
202 </sect2>
203
204</sect1>
Note: See TracBrowser for help on using the repository browser.