Ignore:
Timestamp:
06/27/2019 08:55:17 PM (5 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.0, 9.1, 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, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
ff3264f
Parents:
e77adf7
Message:

Move BLFS/trunk/BOOK and BLFS/trunk/bootscripts to
BLFS/branches/old-trunk-20190627 and BLFS/branches/old-bootscripts-20190627.

Move BLFS/branches/elogind-book and BLFS/branches/elogind-bootscripts
to trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21754 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/polkit.xml

    re77adf7 r51dfb3e  
    7272      </listitem>
    7373    </itemizedlist>
    74 <!--
    75     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    76     <itemizedlist spacing="compact">
    77       <listitem>
    78         <para>
    79           Required patch:
    80           <ulink url="&patch-root;/polkit-&polkit-version;-security_patch-3.patch"/>
     74
     75    <bridgehead renderas="sect3" revision="sysv">Additional Downloads</bridgehead>
     76    <itemizedlist spacing="compact" revision="sysv">
     77      <listitem>
     78        <para>
     79          Recommended patch:
     80          <ulink url="&patch-root;/polkit-&polkit-version;-fix_elogind_detection-1.patch"/>
    8181        </para>
    8282      </listitem>
    8383    </itemizedlist>
    84 -->
     84
    8585    <bridgehead renderas="sect3">Polkit Dependencies</bridgehead>
    8686
     
    9191    </para>
    9292
    93     <bridgehead renderas="sect4" revision="systemd">Recommended</bridgehead>
    94     <para role="recommended" revision="systemd">
    95       <xref linkend="linux-pam"/>
    96     </para>
    97 
    98     <note revision="systemd">
     93    <bridgehead renderas="sect4">Recommended</bridgehead>
     94    <para role="recommended">
     95      <xref linkend="linux-pam"/><phrase revision="sysv"> and
     96      <xref linkend="elogind"/></phrase>
     97    </para>
     98
     99    <note>
    99100      <para>
    100         Since <command>systemd-logind</command> uses PAM to register user
    101         sessions, it is a good idea to build <application>Polkit</application>
    102         with PAM support so <command>systemd-logind</command> can track
    103         <application>Polkit</application> sessions.
     101        Since <phrase revision="sysv"><command>elogind</command></phrase>
     102        <phrase revision="systemd"><command>systemd-logind</command></phrase>
     103        uses PAM to register user sessions, it is a good idea to build
     104        <application>Polkit</application> with PAM support so
     105        <phrase revision="sysv"><command>elogind</command></phrase>
     106        <phrase revision="systemd"><command>systemd-logind</command></phrase>
     107        can track <application>Polkit</application> sessions.
    104108      </para>
    105109    </note>
     
    115119      <xref linkend="DocBook"/>,
    116120      <xref linkend="docbook-xsl"/>,
    117       <xref linkend="gtk-doc"/>, <phrase revision="systemd">and </phrase>
    118       <xref linkend="libxslt"/><phrase revision="sysv">, and
    119       <xref linkend="linux-pam"/></phrase>
     121      <xref linkend="gtk-doc"/>, and
     122      <xref linkend="libxslt"/>
    120123    </para>
    121124
     
    169172<screen><userinput>sed -i "s:/sys/fs/cgroup/systemd/:/sys:g" configure</userinput></screen>
    170173    </note>
    171 <!--
    172     <para>Fix an issue identified upstream after the package release:</para>
    173 
    174 <screen><userinput>sed -e '/JS_ReportWarningUTF8/s/,/, "%s",/'  \
    175         -i  src/polkitbackend/polkitbackendjsauthority.cpp</userinput></screen> -->
    176 
     174
     175    <para revision="sysv">
     176      Fix an issue introduced in recent <application>Polkit</application>
     177      realeases with elogind:
     178    </para>
     179
     180<screen revision="sysv"><userinput>patch -Np1 -i ../polkit-&polkit-version;-fix_elogind_detection-1.patch &amp;&amp;
     181autoreconf -fi</userinput></screen>
    177182    <para>
    178183      Install <application>Polkit</application> by running the following
    179184      commands:
    180185    </para>
    181 
    182 <screen revision="sysv"><userinput>./configure --prefix=/usr                    \
    183             --sysconfdir=/etc                \
    184             --localstatedir=/var             \
    185             --disable-static                 \
    186             --enable-libsystemd-login=no     \
    187             --enable-libelogind=no           \
    188             --with-authfw=shadow             \
    189             --with-os-type=LFS               &amp;&amp;
    190 make</userinput></screen>
    191186
    192187<screen revision="systemd"><userinput>./configure --prefix=/usr        \
     
    197192make</userinput></screen>
    198193
     194<screen revision="sysv"><userinput>./configure --prefix=/usr        \
     195            --sysconfdir=/etc    \
     196            --localstatedir=/var \
     197            --disable-static     \
     198            --with-os-type=LFS   \
     199            --enable-libsystemd-login=no &amp;&amp;
     200make</userinput></screen>
     201
    199202    <para>
    200203      To test the results, issue: <command>make check</command>.
     
    214217    <title>Command Explanations</title>
    215218
    216     <para revision="sysv">
    217       <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes
    218       building without <application>systemd</application>, which is not part
    219       of LFS/BLFS. If you use <application>systemd</application>,
    220       replace "no" by "yes".
    221     </para>
    222 
    223     <para revision="sysv">
    224       <parameter>--with-authfw=shadow</parameter>: This parameter configures the
    225       package to use the <application>Shadow</application> rather than the
    226       <application>Linux-PAM</application> Authentication framework. Change
    227       the argument to 'pam' if you would like to use
    228       <application>Linux-PAM</application>.
    229     </para>
    230 
    231     <para revision="systemd">
     219    <para>
    232220      <option>--with-authfw=shadow</option>: This switch enables the
    233221      package to use the <application>Shadow</application> rather than the
     
    240228
    241229    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    242       href="../../xincludes/gtk-doc-rebuild.xml"/>
     230    href="../../xincludes/gtk-doc-rebuild.xml"/>
     231
     232    <para revision="sysv">
     233      <parameter>--enable-libsystemd-login=no</parameter>: This switch forces
     234      polkit to build with elogind support (if available) rather than systemd.
     235    </para>
    243236
    244237  </sect2>
Note: See TracChangeset for help on using the changeset viewer.