source: postlfs/security/polkit-gnome.xml@ faa948c

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since faa948c was fbd04125, checked in by Bruce Dubbs <bdubbs@…>, 9 months ago

Tag all of postlfs except gedit and kate

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