Author: rthomsen
Date: 2012-03-04 13:26:22 -0700 (Sun, 04 Mar 2012)
New Revision: 9593
Modified:
trunk/BOOK/general.ent
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/kde4/core/akonadi.xml
trunk/BOOK/postlfs/security/polkit.xml
trunk/BOOK/postlfs/security/shadow.xml
Log:
Updated akonadi. Configuration polkit. Typo.
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2012-03-04 17:22:49 UTC (rev 9592)
+++ trunk/BOOK/general.ent 2012-03-04 20:26:22 UTC (rev 9593)
@@ -3,13 +3,13 @@
$Date$
-->
-<!ENTITY day "03"> <!-- Always 2 digits -->
+<!ENTITY day "04"> <!-- Always 2 digits -->
<!ENTITY month "03"> <!-- Always 2 digits -->
<!ENTITY year "2012">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
-<!ENTITY releasedate "March 3rd, &year;">
+<!ENTITY releasedate "March 4th, &year;">
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
@@ -661,7 +661,7 @@
<!ENTITY phonon-backend-gstreamer-version "&phonon-version;">
<!ENTITY phonon-backend-vlc-version "0.5.0">
<!ENTITY attica-version "0.3.0">
-<!ENTITY akonadi-version "1.7.0">
+<!ENTITY akonadi-version "1.7.1">
<!ENTITY qimageblitz-version "0.0.6">
<!ENTITY shared-desktop-ontologies-version "0.9.0">
<!ENTITY polkit-qt-version "0.103.0">
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2012-03-04 17:22:49 UTC
(rev 9592)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2012-03-04 20:26:22 UTC
(rev 9593)
@@ -42,9 +42,22 @@
-->
<listitem>
- <para>March 3nd, 2012</para>
+ <para>March 4th, 2012</para>
<itemizedlist>
<listitem>
+ <para>[rthomsen] - Modified configuration of polkit. Thanks to Armin
K. for creating the patch.</para>
+ </listitem>
+ <listitem>
+ <para>[rthomsen] - Updated to akonadi 1.7.1.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+
+ <listitem>
+ <para>March 3rd, 2012</para>
+ <itemizedlist>
+ <listitem>
<para>[rthomsen] - Updated to polkit-0.104.</para>
</listitem>
<listitem>
Modified: trunk/BOOK/kde4/core/akonadi.xml
===================================================================
--- trunk/BOOK/kde4/core/akonadi.xml 2012-03-04 17:22:49 UTC (rev 9592)
+++ trunk/BOOK/kde4/core/akonadi.xml 2012-03-04 20:26:22 UTC (rev 9593)
@@ -6,10 +6,10 @@
<!ENTITY akonadi-download-http
"http://mirrors.isc.org/pub/kde/stable/akonadi/src/akonadi-&akonadi-version;.tar.bz2">
<!ENTITY akonadi-download-ftp
"ftp://ftp.kde.org/pub/kde/stable/akonadi/src/akonadi-&akonadi-version;.tar.bz2">
- <!ENTITY akonadi-md5sum "804309dca70ede35b4a654ab764e9079">
+ <!ENTITY akonadi-md5sum "54e0556d73c22c7b3393069071e0b717">
<!ENTITY akonadi-size "206 KB">
- <!ENTITY akonadi-buildsize "31 MB">
- <!ENTITY akonadi-time "2.0 SBU">
+ <!ENTITY akonadi-buildsize "34 MB">
+ <!ENTITY akonadi-time "1.9 SBU">
]>
<sect1 id="akonadi" xreflabel="akonadi-&akonadi-version;">
@@ -73,16 +73,12 @@
<xref linkend="automoc4"/>,
<xref linkend="shared-mime-info"/>,
<xref linkend="boost"/>,
- <xref linkend="soprano"/>
- </para>
-
- <bridgehead renderas="sect4">Optional</bridgehead>
- <para role="optional">
+ <xref linkend="soprano"/> and one of:
<xref linkend="sqlite"/>,
- <xref linkend="mysql"/> and
+ <xref linkend="mysql"/> and
<xref linkend="postgresql"/>
</para>
-
+
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/akonadi"/></para>
@@ -91,16 +87,16 @@
<sect2 role="installation">
<title>Installation of Akonadi</title>
- <para>Install <application>akonadi</application> by running the following
- commands:</para>
+ <para>Create a build directory:</para>
<screen><userinput>mkdir build &&
cd build</userinput></screen>
- <para>Prepare the package for compilation:</para>
+ <para>Install <application>akonadi</application> by running the following
+ commands:</para>
<screen><userinput>CMAKE_PREFIX_PATH=$QT4DIR \
- cmake -DCMAKE_INSTALL_PREFIX=&kde4-dir; .. &&
+ cmake -DCMAKE_INSTALL_PREFIX=&kde4-dir; .. &&
make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
Modified: trunk/BOOK/postlfs/security/polkit.xml
===================================================================
--- trunk/BOOK/postlfs/security/polkit.xml 2012-03-04 17:22:49 UTC (rev
9592)
+++ trunk/BOOK/postlfs/security/polkit.xml 2012-03-04 20:26:22 UTC (rev
9593)
@@ -86,7 +86,7 @@
<sect2 role="installation">
<title>Installation of polkit</title>
-
+<!--
<para>It is a requirement to have a dedicated user and group for
<application>polkit</application> to function correctly. Issue the
following commands as the <systemitem class="username">root</systemitem>
@@ -95,6 +95,7 @@
<screen role="root"><userinput>groupadd -fg 27 polkituser &&
useradd -c "Policy Kit Daemon User" -d /dev/null -u 27 \
-g polkituser -s /bin/false polkituser || [ $? == 9 ]</userinput></screen>
+-->
<para>Install <application>polkit</application> by running the following
commands as an unprivileged user:</para>
@@ -129,6 +130,48 @@
</sect2>
+ <sect2 role="configuration">
+ <title>Configuring polkit</title>
+
+ <sect3 id="polkit-config">
+ <title>Config Files</title>
+
+ <para><filename>/etc/polkit-1/localauthority.conf.d/*</filename></para>
+ </sect3>
+
+ <sect3>
+ <title>PAM Configuration</title>
+
+ <note>
+ <para>If you did not build <application>polkit</application> with
+ <application>Linux PAM</application> support, you can skip this
section.
+ </para>
+ </note>
+
+ <para>If you built <application>polkit</application> with
+ <application>Linux PAM</application> support, you will need to modify
+ the pam configuration file which was installed by default to get
+ <application>polkit</application> to work correctly with BLFS.</para>
+
+ <para>Issue the following commands as the <systemitem
class="username">root</systemitem>
+ user to create the configuration file for <application>Linux
PAM</application>:
+ </para>
+
+<screen role="root"><userinput>cat > /etc/pam.d/polkit-1 << "EOF"
+<literal># Begin /etc/pam.d/polkit-1
+
+auth include system-auth
+account include system-account
+password include system-password
+session include system-session
+
+# End /etc/pam.d/polkit-1</literal>
+EOF</userinput></screen>
+
+ </sect3>
+
+ </sect2>
+
<sect2 role="content">
<title>Contents</title>
@@ -216,7 +259,7 @@
<varlistentry id="libnullbackend">
<term><filename
class='libraryfile'>libnullbackend.{so,a}</filename></term>
<listitem>
- <para>contains functions that .....</para>
+ <para>PolicyKit null backend</para>
<indexterm zone="polkit libnullbackend">
<primary sortas="c-libnullbackend">libnullbackend.{so,a}</primary>
</indexterm>
Modified: trunk/BOOK/postlfs/security/shadow.xml
===================================================================
--- trunk/BOOK/postlfs/security/shadow.xml 2012-03-04 17:22:49 UTC (rev
9592)
+++ trunk/BOOK/postlfs/security/shadow.xml 2012-03-04 20:26:22 UTC (rev
9593)
@@ -355,7 +355,7 @@
<screen role="root"><userinput>cat > /etc/pam.d/system-password <<
"EOF"
<literal># Begin /etc/pam.d/system-password
-# use sha512 hash for encryption, use shadow, and try to use any perviously
+# use sha512 hash for encryption, use shadow, and try to use any previously
# defined authentication token (chosen password) set by any prior module
password required pam_unix.so sha512 shadow try_first_pass
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page