[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[dabe4b0] | 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">
|
---|
[f4ac7141] | 9 | <!ENTITY polkit-gnome-download-ftp " ">
|
---|
[dabe4b0] | 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 |
|
---|
[42f164e] | 35 | &lfs122_checked;
|
---|
[dabe4b0] | 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 |
|
---|
[e713e66c] | 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 |
|
---|
[dabe4b0] | 81 | <bridgehead renderas="sect3">Polkit GNOME Dependencies</bridgehead>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 84 | <para role="required">
|
---|
[e713e66c] | 85 | <!-- due to the patch -->
|
---|
| 86 | <xref linkend="accountsservice"/>,
|
---|
| 87 | <xref linkend="gtk3"/>, and
|
---|
[dabe4b0] | 88 | <xref linkend="polkit"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of Polkit GNOME</title>
|
---|
| 95 |
|
---|
[e713e66c] | 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 |
|
---|
[dabe4b0] | 103 | <para>
|
---|
| 104 | Install <application>Polkit GNOME</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[682f45b2] | 108 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[dabe4b0] | 109 | make</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>
|
---|
[96923ef] | 131 | For the authentication framework to work,
|
---|
[4bd0323e] | 132 | <command>polkit-gnome-authentication-agent-1</command> needs to be
|
---|
[dabe4b0] | 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 &&
|
---|
| 145 | cat > /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop << "EOF"
|
---|
| 146 | <literal>[Desktop Entry]
|
---|
| 147 | Name=PolicyKit Authentication Agent
|
---|
| 148 | Comment=PolicyKit Authentication Agent
|
---|
[3eadb03d] | 149 | Exec=/usr/libexec/polkit-gnome-authentication-agent-1
|
---|
[dabe4b0] | 150 | Terminal=false
|
---|
| 151 | Type=Application
|
---|
| 152 | Categories=
|
---|
| 153 | NoDisplay=true
|
---|
| 154 | OnlyShowIn=GNOME;XFCE;Unity;
|
---|
| 155 | AutostartCondition=GNOME3 unless-session gnome</literal>
|
---|
| 156 | EOF</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>
|
---|
[682f45b2] | 178 | None
|
---|
[dabe4b0] | 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>
|
---|
[4c24eb0a] | 192 | is the <application>Polkit</application> authentication agent
|
---|
[dabe4b0] | 193 | </para>
|
---|
| 194 | <indexterm zone="polkit-gnome polkit-gnome-authentication-agent-1">
|
---|
[4c24eb0a] | 195 | <primary sortas="b-polkit-gnome-authentication-agent-1">polkit-gnome-authentication-agent-1</primary>
|
---|
[dabe4b0] | 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | </variablelist>
|
---|
| 201 |
|
---|
| 202 | </sect2>
|
---|
| 203 |
|
---|
| 204 | </sect1>
|
---|