Changeset ad4d3fd


Ignore:
Timestamp:
03/11/2019 05:51:17 AM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
elogind
Children:
f0f01a4
Parents:
d6464b5
Message:

Update to elogind-241.1.
Remove some unneeded patches and update instrucitons appropriately.

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

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/dbus.xml

    rd6464b5 rad4d3fd  
    144144    </para>
    145145
    146 <screen><userinput>./configure --prefix=/usr                        \
     146<screen revision="sysv"><userinput>./configure --prefix=/usr                        \
     147            --sysconfdir=/etc                    \
     148            --localstatedir=/var                 \
     149            --enable-user-session                \
     150            --disable-doxygen-docs               \
     151            --disable-xml-docs                   \
     152            --disable-static                     \
     153            --with-systemduserunitdir=           \
     154            --with-systemdsystemunitdir=         \
     155            --docdir=/usr/share/doc/dbus-&dbus-version; \
     156            --with-console-auth-dir=/run/console \
     157            --with-system-pid-file=/run/dbus/pid \
     158            --with-system-socket=/run/dbus/system_bus_socket &amp;&amp;
     159make</userinput></screen>
     160
     161<screen revision="systemd"><userinput>./configure --prefix=/usr                        \
    147162            --sysconfdir=/etc                    \
    148163            --localstatedir=/var                 \
     
    293308    </para>
    294309
     310    <para revision="sysv">
     311      <parameter>--with-systemd{user,system}unitdir=</parameter>: These
     312      switches disable installation of systemd units on elogind based systems.
     313    </para>
    295314    <para>
    296315      <parameter>--with-console-auth-dir=/run/console/</parameter>: This
  • general/sysutils/elogind.xml

    rd6464b5 rad4d3fd  
    77  <!ENTITY elogind-download-http "https://github.com/elogind/elogind/archive/v&elogind-version;/elogind-&elogind-version;.tar.gz">
    88  <!ENTITY elogind-download-ftp  " ">
    9   <!ENTITY elogind-md5sum        "468e027997be922aa11bfa395c7f1fb7">
    10   <!ENTITY elogind-size          "1.1 MB">
     9  <!ENTITY elogind-md5sum        "31da1e136d0c39b2af610a55c0c51354">
     10  <!ENTITY elogind-size          "1.3 MB">
    1111  <!ENTITY elogind-buildsize     "47 MB">
    1212  <!ENTITY elogind-time          "0.2 SBU">
     
    144144
    145145<screen role="root"><userinput>ninja install                                         &amp;&amp;
    146 ln -sv libelogind.pc /usr/lib/pkgconfig/libsystemd.pc &amp;&amp;
    147 ln -sv elogind /usr/include/systemd</userinput></screen>
     146ln -sfv libelogind.pc /usr/lib/pkgconfig/libsystemd.pc &amp;&amp;
     147ln -sfvn elogind /usr/include/systemd</userinput></screen>
    148148
    149149  </sect2>
     
    177177      To automatically start <command>elogind</command> when the
    178178      system is rebooted, install the
    179       <filename>/etc/rc.d/init.d/elogind</filename> bootscript from the
     179      <filename>/etc/rc.d/init.d/mountcgroupfs</filename> and
     180      <filename>/etc/rc.d/init.d/elogind</filename> bootscripts from the
    180181      <xref linkend="bootscripts"/> package.
    181182    </para>
  • introduction/welcome/changelog.xml

    rd6464b5 rad4d3fd  
    7272        </listitem>
    7373        <listitem revision="sysv">
    74           <para>[dj] - Use proper elogind patch for dbus. Unnecessary after
    75           241.1.</para>
     74          <para>[dj] - Add --withsystemd{user,system}unitdir= switches to
     75          prevent installation of systemd unit files.</para>
    7676        </listitem>
    7777        <listitem revision="sysv">
     
    8080        </listitem>
    8181        <listitem revision="sysv">
    82           <para>[dj] - Add elogind-239.3. Adjust several packages to utilize
     82          <para>[dj] - Fix build of polkit-0.115 with elogind.</para>
     83        </listitem>
     84        <listitem revision="sysv">
     85          <para>[dj] - Add elogind-241.1. Adjust several packages to utilize
    8386          elogind, and use systemd symlinks to provide libsystemd compatibility.          This will be incomplete until journald->syslog support is added in
    8487          241.1. Will update temporary changelog at that time.</para>
  • packages.ent

    rd6464b5 rad4d3fd  
    274274<!ENTITY cups-pk-helper-version       "0.2.6">
    275275<!ENTITY dbus-version                 "1.12.12">   <!-- Even minors only -->
    276 <!ENTITY elogind-version              "239.3">
     276<!ENTITY elogind-version              "241.1">
    277277<!ENTITY eudev-version                "1.7">
    278278<!ENTITY fcron-version                "3.2.1">
  • postlfs/security/polkit.xml

    rd6464b5 rad4d3fd  
    7979          Required patch:
    8080          <ulink url="&patch-root;/polkit-&polkit-version;-security_patch-3.patch"/>
    81         </para>
    82       </listitem>
    83       <listitem revision="sysv">
    84         <para>
    85           Reecommended patch:
    86           <ulink url="&patch-root;/polkit-&polkit-version;-elogind-1.patch"/>
    8781        </para>
    8882      </listitem>
     
    186180<screen><userinput>patch -Np1 -i ../polkit-&polkit-version;-security_patch-3.patch</userinput></screen>
    187181
    188     <para revision="sysv">
    189       Apply a patch to fix issues with elogind:
    190     </para>
    191 
    192 <screen revision="sysv"><userinput>patch -Np1 -i ../polkit-0.115-elogind-1.patch &amp;&amp;
    193 autoreconf -fi</userinput></screen>
    194 
    195182    <para>
    196183      Install <application>Polkit</application> by running the following
     
    201188            --sysconfdir=/etc                \
    202189            --localstatedir=/var             \
    203             --disable-static                 &amp;&amp;
     190            --disable-static                 \
     191            --enable-libelogind              \
     192            --disable-libystemd-login        &amp;&amp;
    204193make</userinput></screen>
    205194
  • x/installing/xorg-server.xml

    rd6464b5 rad4d3fd  
    6767        <para>
    6868          Estimated build time: &xorg-server-time;
    69         </para>
    70       </listitem>
    71     </itemizedlist>
    72 
    73     <bridgehead renderas="sect3" revision="sysv">Additional Downloads</bridgehead>
    74     <itemizedlist spacing="compact" revision="sysv">
    75       <listitem>
    76         <para>
    77           Recommended patch:
    78           <ulink url="&patch-root;/xorg-server-&xorg-server-version;-elogind-2.patch"/>
    7969        </para>
    8070      </listitem>
     
    142132<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>-->
    143133
    144     <para revision="sysv">
    145       Apply a patch to add <application>elogind</application> support:
    146     </para>
    147 
    148 <screen revision="sysv"><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-elogind-3.patch &amp;&amp;
    149 autoreconf -fi</userinput></screen>
    150 
    151134    <para>
    152135      Install the server by running the following commands:
     
    186169    </para>
    187170
    188     <para revision="sysv">
    189       <parameter>--enable-install-setuid</parameter>: If not using
    190       <xref linkend="elogind"/>, the Xorg binary must run
    191       as the root user. This switch ensures that the binary is installed
    192       setuid when <command>make</command> is run by an unprivileged user.
    193     </para>
    194 
    195171    <para>
    196172      <parameter>--enable-suid-wrapper</parameter>: Build suid-root wrapper for
     
    198174    </para>
    199175
    200     <para revision="systemd">
     176    <para>
    201177      <option>--disable-systemd-logind --enable-install-setuid</option>:
    202       These switches disable systemd-logind integration and restore the setuid
    203       bit to the Xorg executable, allowing Xorg Server to work
    204       without having the systemd PAM module installed and set up.
     178      These switches disable <phrase revision="system">systemd-logind<phrase>
     179      <phrase revision="sysv">elogind</phrase> integration and restore the
     180      setuid bit to the Xorg executable, allowing Xorg Server to work
     181      without having the <phrase revision="systemd">systemd</phrase>
     182      <phrase revision="elogind">elogind</phrase> PAM module configured.
    205183    </para>
    206184
Note: See TracChangeset for help on using the changeset viewer.