Changeset d267a13 for networking


Ignore:
Timestamp:
12/14/2018 07:32:06 AM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, elogind, 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:
8fbbc96f
Parents:
f9fdb6f
Message:

Update to NetworkManager-1.14.2. Fixes #11150.
Include pam_keyinit.so in systemd-logind PAM configuration.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netutils/networkmanager.xml

    rf9fdb6f rd267a13  
    99  <!ENTITY NetworkManager-download-ftp
    1010           "&gnome-download-ftp;/NetworkManager/1.12/NetworkManager-&NetworkManager-version;.tar.xz">
    11   <!ENTITY NetworkManager-md5sum        "94d02b80b120f166927e6ef242b29a9b">
    12   <!ENTITY NetworkManager-size          "4.0 MB">
    13   <!ENTITY NetworkManager-buildsize     "648 MB (with tests)">
    14   <!ENTITY NetworkManager-time          "2.2 SBU (with tests)">
     11  <!ENTITY NetworkManager-md5sum        "89efab4ecfa061925e926d11976ee1b8">
     12  <!ENTITY NetworkManager-size          "4.2 MB">
     13  <!ENTITY NetworkManager-buildsize     "741 MB (with tests)">
     14  <!ENTITY NetworkManager-time          "0.5 SBU (with tests)">
    1515]>
    1616
     
    8989    <bridgehead renderas="sect4">Required</bridgehead>
    9090    <para role="required">
    91       <xref linkend="dbus-glib"/>,
    92       <xref linkend="libndp"/>,
    93       <xref linkend="libnl"/>, and
    94       <xref linkend="nss"/>
     91      <xref linkend="dbus-glib"/> and
     92      <xref linkend="libndp"/>
    9593    </para>
    9694
     
    104102      <xref linkend="iptables"/>,
    105103      <xref linkend="newt"/> (for <command>nmtui</command>),
     104      <xref linkend="nss"/>,
    106105      <xref linkend="polkit"/>,
    107106      <xref linkend="pygobject3"/>,
     
    115114    <para role="optional">
    116115      <xref linkend="bluez"/>,
     116      <xref linkend="gnutls"/> (used if <xref linkend="nss"/> is not found),
    117117      <xref linkend="gtk-doc"/>,
    118118      <xref linkend="jansson"/>,
     
    140140
    141141<screen><userinput>sed -e '/Qt[CDN]/s/Qt/Qt5/g'       \
     142    -e 's/-qt4/-qt5'               \
    142143    -e 's/moc_location/host_bins/' \
    143     -i configure</userinput></screen>
     144    -i examples/C/qt/meson.build</userinput></screen>
     145
     146    <para>
     147      Fix a missing meson.build file for initrd hooks (not used in BLFS):
     148    </para>
     149
     150<screen><userinput>sed '/initrd/d' -i src/meson.build</userinput></screen>
    144151
    145152    <para>
     
    148155    </para>
    149156
    150 <screen revision="sysv"><userinput>sed -i 's/1,12,2/1,12.2/' libnm-core/nm-version.h &amp;&amp;
    151 CXXFLAGS="-O2 -fPIC"                       \
    152 ./configure --prefix=/usr                  \
    153             --sysconfdir=/etc              \
    154             --localstatedir=/var           \
    155             --with-nmtui                   \
    156             --with-libnm-glib              \
    157             --disable-ppp                  \
    158             <!--            - -disable-json-validation      \
    159             - -disable-ovs                  \ -->
    160             --with-udev-dir=/lib/udev      \
    161             --with-systemdsystemunitdir=no \
    162             --docdir=/usr/share/doc/network-manager-&NetworkManager-version; &amp;&amp;
    163 make</userinput></screen>
    164 
    165 <screen revision="systemd"><userinput>sed -i 's/1,12,2/1,12.2/' libnm-core/nm-version.h &amp;&amp;
    166 CXXFLAGS="-O2 -fPIC"                                        \
    167 ./configure --prefix=/usr                                   \
    168             --sysconfdir=/etc                               \
    169             --localstatedir=/var                            \
    170             --with-nmtui                                    \
    171             --with-libnm-glib                               \
    172             --disable-ppp                                   \
    173 <!--            - -disable-json-validation                       \
    174                 - -disable-ovs                                   \ -->
    175             --with-udev-dir=/lib/udev                       \
    176             --with-session-tracking=systemd                 \
    177             --with-systemdsystemunitdir=/lib/systemd/system \
    178             --docdir=/usr/share/doc/network-manager-&NetworkManager-version; &amp;&amp;
    179 make</userinput></screen>
     157<screen revision="sysv"><userinput>mkdir build &amp;&amp;
     158cd build    &amp;&amp;
     159
     160CXXFLAGS+="-O2 -fPIC"            \
     161meson --prefix /usr              \
     162      --sysconfdir /etc          \
     163      --localstatedir /var       \
     164      -Dnmtui=true               \
     165      -Dppp=false                \
     166      -Dlibaudit=no              \
     167      -Dlibnm_glib=true          \
     168      -Dselinux=false            \
     169      -Dudev_dir=/lib/udev       \
     170      -Dsession_tracking=no      \
     171      -Dsystemdsystemunitdir=no  \
     172      -Dsystemd_journal=false    \
     173      -Dqt=false                 \
     174      .. &amp;&amp;
     175ninja</userinput></screen>
     176
     177<screen revision="systemd"><userinput>mkdir build &amp;&amp;
     178cd build    &amp;&amp;
     179
     180CXXFLAGS+="-O2 -fPIC"            \
     181meson --prefix /usr              \
     182      --sysconfdir /etc          \
     183      --localstatedir /var       \
     184      -Dnmtui=true               \
     185      -Dppp=false                \
     186      -Dlibaudit=no              \
     187      -Dlibnm_glib=true          \
     188      -Dselinux=false            \
     189      -Dqt=false                 \
     190      -Dudev_dir=/lib/udev       \
     191      -Dsession_tracking=systemd \
     192      -Dsystemdsystemunitdir=/lib/systemd/system \
     193      .. &amp;&amp;
     194ninja</userinput></screen>
    180195
    181196    <para>
     
    188203    </para>
    189204
    190 <screen role="root"><userinput>make install</userinput></screen>
     205<screen role="root"><userinput>ninja install &amp;&amp;
     206mv -v /usr/share/doc/NetworkManager{,-&NetworkManager-version;}</userinput></screen>
    191207
    192208  </sect2>
     
    201217
    202218    <para>
    203       <parameter>--with-nmtui</parameter>: This parameter enables building
     219      <parameter>-Dnmtui=true</parameter>: This parameter enables building
    204220      <command>nmtui</command>.
    205221    </para>
    206222
     223    <para revision="sysv">
     224      <parameter>-Dsession_tracking=no</parameter>,
     225      <parameter>-Dsystemdsystemunitdir=no</parameter>, and
     226      <parameter>-Dsystemd_journal=false</parameter>: systemd is not
     227      used for sysv init systems.
     228    </para>
     229
    207230    <para revision="systemd">
    208       <parameter>--with-session-tracking=systemd</parameter>: This switch
     231      <parameter>-Dsession_tracking=systemd</parameter>: This switch
    209232      is used to set <command>systemd-logind</command> as the default
    210233      program for session tracking.
    211234    </para>
    212235
    213     <para revision="sysv">
    214       <parameter>--with-systemdsystemunitdir=no</parameter>: systemd is not
    215       used for sysv init systems.
    216     </para>
    217 
    218236    <para revision="systemd">
    219       <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>:
     237      <parameter>-Dsystemdsystemunitdir=/lib/systemd/system</parameter>:
    220238      This switch is used to set the correct installation directory for
    221239      systemd units.
     
    223241
    224242    <para>
    225       <parameter>--disable-ppp</parameter>: This parameter disables
     243      <parameter>-Dppp=false</parameter>: This parameter disables
    226244      <application>PPP</application> support in
    227245      <application>NetworkManager</application>.
     
    229247
    230248    <para>
    231       <parameter>--disable-json-validation</parameter>: This parameter allows
    232       building without <xref linkend="jansson"/>, which is needed
    233       for <quote>team</quote> configuration validation (team is one way
    234       of bonding network interfaces for increased throughput). Use it if
    235       you do not have Jansson installed.
    236     </para>
    237 
    238     <para>
    239       <parameter>--disable-ovs</parameter>: This paramenter disables
    240       <application>Open Virtual Switch</application> support because it
    241       requires <xref linkend="jansson"/>. Use it if you don't have
    242       Jansson installed.
    243     </para>
    244 
    245     <para>
    246       <option>--enable-gtk-doc</option>: Use this switch if you have installed
    247       <xref linkend="gtk-doc"/> and wish to build the API manuals.
    248     </para>
    249 
    250     <para>
    251       <option>--without-iptables</option>: Use this switch if you don't have
    252       <application>Iptables</application> installed.
    253     </para>
    254 
    255     <para>
    256       <option>--disable-introspection</option>: Use this switch if <xref
    257       linkend="gobject-introspection"/> is installed and you want to build
    258       without introspection support. This also removes the need for <xref
    259       linkend="pygobject3"/>.
     249      <parameter>-Dlibaudit=no</parameter> and
     250      <parameter>-Dselinux=false</parameter>: libaudit and SELinux are not used
     251      in BLFS.
     252    </para>
     253
     254    <para>
     255      <parameter>-Dqt=false</parameter>: disables the
     256      <application>QT</application> examples. Omit if you have
     257      <application>QT</application> available and wish to install the examples.
    260258    </para>
    261259
Note: See TracChangeset for help on using the changeset viewer.