Author: dj
Date: Thu Dec 13 23:32:06 2018
New Revision: 20808
Log:
Update to NetworkManager-1.14.2. Fixes #11150.
Include pam_keyinit.so in systemd-logind PAM configuration.
Modified:
trunk/BOOK/general.ent
trunk/BOOK/general/sysutils/systemd.xml
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/networking/netutils/networkmanager.xml
trunk/BOOK/packages.ent
Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent Thu Dec 13 13:24:12 2018 (r20807)
+++ trunk/BOOK/general.ent Thu Dec 13 23:32:06 2018 (r20808)
@@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
-<!ENTITY day "13"> <!-- Always 2 digits -->
+<!ENTITY day "14"> <!-- Always 2 digits -->
<!ENTITY month "12"> <!-- Always 2 digits -->
<!ENTITY year "2018">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
-<!ENTITY releasedate "December 13th, &year;">
+<!ENTITY releasedate "December 14th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->
Modified: trunk/BOOK/general/sysutils/systemd.xml
==============================================================================
--- trunk/BOOK/general/sysutils/systemd.xml Thu Dec 13 13:24:12 2018
(r20807)
+++ trunk/BOOK/general/sysutils/systemd.xml Thu Dec 13 23:32:06 2018
(r20808)
@@ -205,8 +205,8 @@
<screen role="root"><userinput>cat >> /etc/pam.d/system-session <<
"EOF"
<literal># Begin Systemd addition
-session required pam_loginuid.so
-session optional pam_systemd.so
+session required pam_loginuid.so
+session optional pam_systemd.so
# End Systemd addition</literal>
EOF
@@ -214,15 +214,18 @@
cat > /etc/pam.d/systemd-user << "EOF"
<literal># Begin /etc/pam.d/systemd-user
-account required pam_access.so
-account include system-account
+account required pam_access.so
+account include system-account
-session required pam_env.so
-session required pam_limits.so
-session include system-session
+session required pam_env.so
+session required pam_limits.so
+session required pam_unix.so
+session required pam_loginuid.so
+session optional pam_keyinit.so force revoke
+session optional pam_systemd.so
-auth required pam_deny.so
-password required pam_deny.so
+auth required pam_deny.so
+password required pam_deny.so
# End /etc/pam.d/systemd-user</literal>
EOF</userinput></screen>
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Thu Dec 13 13:24:12
2018 (r20807)
+++ trunk/BOOK/introduction/welcome/changelog.xml Thu Dec 13 23:32:06
2018 (r20808)
@@ -42,6 +42,20 @@
</listitem>
-->
<listitem>
+ <para>December 14th, 2018</para>
+ <itemizedlist>
+ <listitem>
+ <para>[dj] - Update to NetworkManager-1.14.2. Fixes
+ <ulink url="&blfs-ticket-root;11150">#11150</ulink>.</para>
+ </listitem>
+ <listitem revision="systemd">
+ <para>[dj] - Include pam_keyinit.so in systemd-logind PAM
+ configuration.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>December 13th, 2018</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/networking/netutils/networkmanager.xml
==============================================================================
--- trunk/BOOK/networking/netutils/networkmanager.xml Thu Dec 13 13:24:12
2018 (r20807)
+++ trunk/BOOK/networking/netutils/networkmanager.xml Thu Dec 13 23:32:06
2018 (r20808)
@@ -8,10 +8,10 @@
"&gnome-download-http;/NetworkManager/1.12/NetworkManager-&NetworkManager-version;.tar.xz">
<!ENTITY NetworkManager-download-ftp
"&gnome-download-ftp;/NetworkManager/1.12/NetworkManager-&NetworkManager-version;.tar.xz">
- <!ENTITY NetworkManager-md5sum "94d02b80b120f166927e6ef242b29a9b">
- <!ENTITY NetworkManager-size "4.0 MB">
- <!ENTITY NetworkManager-buildsize "648 MB (with tests)">
- <!ENTITY NetworkManager-time "2.2 SBU (with tests)">
+ <!ENTITY NetworkManager-md5sum "89efab4ecfa061925e926d11976ee1b8">
+ <!ENTITY NetworkManager-size "4.2 MB">
+ <!ENTITY NetworkManager-buildsize "741 MB (with tests)">
+ <!ENTITY NetworkManager-time "0.5 SBU (with tests)">
]>
<sect1 id="NetworkManager" xreflabel="NetworkManager-&NetworkManager-version;">
@@ -88,10 +88,8 @@
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
- <xref linkend="dbus-glib"/>,
- <xref linkend="libndp"/>,
- <xref linkend="libnl"/>, and
- <xref linkend="nss"/>
+ <xref linkend="dbus-glib"/> and
+ <xref linkend="libndp"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
@@ -103,6 +101,7 @@
<xref linkend="gobject-introspection"/>,
<xref linkend="iptables"/>,
<xref linkend="newt"/> (for <command>nmtui</command>),
+ <xref linkend="nss"/>,
<xref linkend="polkit"/>,
<xref linkend="pygobject3"/>,
<phrase revision="systemd"><xref linkend="systemd"/>,</phrase>
@@ -114,6 +113,7 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="bluez"/>,
+ <xref linkend="gnutls"/> (used if <xref linkend="nss"/> is not found),
<xref linkend="gtk-doc"/>,
<xref linkend="jansson"/>,
<xref linkend="libpsl"/>,
@@ -139,44 +139,59 @@
examples are desired, fix the configure script:</para>
<screen><userinput>sed -e '/Qt[CDN]/s/Qt/Qt5/g' \
+ -e 's/-qt4/-qt5' \
-e 's/moc_location/host_bins/' \
- -i configure</userinput></screen>
+ -i examples/C/qt/meson.build</userinput></screen>
+
+ <para>
+ Fix a missing meson.build file for initrd hooks (not used in BLFS):
+ </para>
+
+<screen><userinput>sed '/initrd/d' -i src/meson.build</userinput></screen>
<para>
Install <application>NetworkManager</application> by running the
following commands:
</para>
-<screen revision="sysv"><userinput>sed -i 's/1,12,2/1,12.2/'
libnm-core/nm-version.h &&
-CXXFLAGS="-O2 -fPIC" \
-./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-nmtui \
- --with-libnm-glib \
- --disable-ppp \
- <!-- - -disable-json-validation \
- - -disable-ovs \ -->
- --with-udev-dir=/lib/udev \
- --with-systemdsystemunitdir=no \
- --docdir=/usr/share/doc/network-manager-&NetworkManager-version;
&&
-make</userinput></screen>
-
-<screen revision="systemd"><userinput>sed -i 's/1,12,2/1,12.2/'
libnm-core/nm-version.h &&
-CXXFLAGS="-O2 -fPIC" \
-./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-nmtui \
- --with-libnm-glib \
- --disable-ppp \
-<!-- - -disable-json-validation \
- - -disable-ovs \ -->
- --with-udev-dir=/lib/udev \
- --with-session-tracking=systemd \
- --with-systemdsystemunitdir=/lib/systemd/system \
- --docdir=/usr/share/doc/network-manager-&NetworkManager-version;
&&
-make</userinput></screen>
+<screen revision="sysv"><userinput>mkdir build &&
+cd build &&
+
+CXXFLAGS+="-O2 -fPIC" \
+meson --prefix /usr \
+ --sysconfdir /etc \
+ --localstatedir /var \
+ -Dnmtui=true \
+ -Dppp=false \
+ -Dlibaudit=no \
+ -Dlibnm_glib=true \
+ -Dselinux=false \
+ -Dudev_dir=/lib/udev \
+ -Dsession_tracking=no \
+ -Dsystemdsystemunitdir=no \
+ -Dsystemd_journal=false \
+ -Dqt=false \
+ .. &&
+ninja</userinput></screen>
+
+<screen revision="systemd"><userinput>mkdir build &&
+cd build &&
+
+CXXFLAGS+="-O2 -fPIC" \
+meson --prefix /usr \
+ --sysconfdir /etc \
+ --localstatedir /var \
+ -Dnmtui=true \
+ -Dppp=false \
+ -Dlibaudit=no \
+ -Dlibnm_glib=true \
+ -Dselinux=false \
+ -Dqt=false \
+ -Dudev_dir=/lib/udev \
+ -Dsession_tracking=systemd \
+ -Dsystemdsystemunitdir=/lib/systemd/system \
+ .. &&
+ninja</userinput></screen>
<para>
An already active graphical session with bus address is necessary to run
@@ -187,7 +202,8 @@
Now, as the <systemitem class="username">root</systemitem> user:
</para>
-<screen role="root"><userinput>make install</userinput></screen>
+<screen role="root"><userinput>ninja install &&
+mv -v
/usr/share/doc/NetworkManager{,-&NetworkManager-version;}</userinput></screen>
</sect2>
@@ -200,63 +216,45 @@
</para>
<para>
- <parameter>--with-nmtui</parameter>: This parameter enables building
+ <parameter>-Dnmtui=true</parameter>: This parameter enables building
<command>nmtui</command>.
</para>
+ <para revision="sysv">
+ <parameter>-Dsession_tracking=no</parameter>,
+ <parameter>-Dsystemdsystemunitdir=no</parameter>, and
+ <parameter>-Dsystemd_journal=false</parameter>: systemd is not
+ used for sysv init systems.
+ </para>
+
<para revision="systemd">
- <parameter>--with-session-tracking=systemd</parameter>: This switch
+ <parameter>-Dsession_tracking=systemd</parameter>: This switch
is used to set <command>systemd-logind</command> as the default
program for session tracking.
</para>
- <para revision="sysv">
- <parameter>--with-systemdsystemunitdir=no</parameter>: systemd is not
- used for sysv init systems.
- </para>
-
<para revision="systemd">
- <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>:
+ <parameter>-Dsystemdsystemunitdir=/lib/systemd/system</parameter>:
This switch is used to set the correct installation directory for
systemd units.
</para>
<para>
- <parameter>--disable-ppp</parameter>: This parameter disables
+ <parameter>-Dppp=false</parameter>: This parameter disables
<application>PPP</application> support in
<application>NetworkManager</application>.
</para>
<para>
- <parameter>--disable-json-validation</parameter>: This parameter allows
- building without <xref linkend="jansson"/>, which is needed
- for <quote>team</quote> configuration validation (team is one way
- of bonding network interfaces for increased throughput). Use it if
- you do not have Jansson installed.
- </para>
-
- <para>
- <parameter>--disable-ovs</parameter>: This paramenter disables
- <application>Open Virtual Switch</application> support because it
- requires <xref linkend="jansson"/>. Use it if you don't have
- Jansson installed.
- </para>
-
- <para>
- <option>--enable-gtk-doc</option>: Use this switch if you have installed
- <xref linkend="gtk-doc"/> and wish to build the API manuals.
- </para>
-
- <para>
- <option>--without-iptables</option>: Use this switch if you don't have
- <application>Iptables</application> installed.
+ <parameter>-Dlibaudit=no</parameter> and
+ <parameter>-Dselinux=false</parameter>: libaudit and SELinux are not used
+ in BLFS.
</para>
<para>
- <option>--disable-introspection</option>: Use this switch if <xref
- linkend="gobject-introspection"/> is installed and you want to build
- without introspection support. This also removes the need for <xref
- linkend="pygobject3"/>.
+ <parameter>-Dqt=false</parameter>: disables the
+ <application>QT</application> examples. Omit if you have
+ <application>QT</application> available and wish to install the examples.
</para>
</sect2>
Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent Thu Dec 13 13:24:12 2018 (r20807)
+++ trunk/BOOK/packages.ent Thu Dec 13 23:32:06 2018 (r20808)
@@ -562,7 +562,7 @@
<!ENTITY bind-minor-version "9.12">
<!ENTITY bind-version "&bind-minor-version;.3">
<!ENTITY mod_dnssd-version "0.6">
-<!ENTITY NetworkManager-version "1.12.2">
+<!ENTITY NetworkManager-version "1.14.2">
<!ENTITY nmap-version "7.70">
<!ENTITY traceroute-version "2.1.0">
<!ENTITY whois-version "5.4.0">
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page