mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
d0880dfae9
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9302 af4574ff-66df-0310-9fd7-8a98e5e911e0
289 lines
11 KiB
XML
289 lines
11 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY NetworkManager-download-http "&gnome-download-http;/NetworkManager/0.9/NetworkManager-&NetworkManager-version;.tar.xz">
|
|
<!ENTITY NetworkManager-download-ftp "&gnome-download-ftp;/NetworkManager/0.9/NetworkManager-&NetworkManager-version;.tar.xz">
|
|
<!ENTITY NetworkManager-md5sum "d7dce01e97758253bc4ed81d7b86045f">
|
|
<!ENTITY NetworkManager-size "1.7 MB">
|
|
<!ENTITY NetworkManager-buildsize "51 MB">
|
|
<!ENTITY NetworkManager-time "1.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="NetworkManager" xreflabel="NetworkManager-&NetworkManager-version;">
|
|
<?dbhtml filename="networkmanager.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>NetworkManager-&NetworkManager-version;</title>
|
|
|
|
<indexterm zone="NetworkManager">
|
|
<primary sortas="a-NetworkManager">NetworkManager</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to NetworkManager</title>
|
|
|
|
<para><application>NetworkManager</application> is a set of co-operative
|
|
tools that make networking simple and straightforward. Whether WiFi, wired,
|
|
3G, or Bluetooth, NetworkManager allows you to quickly move from one network
|
|
to another: once a network has been configured and joined once, it can be
|
|
detected and re-joined automatically the next time its available.</para>
|
|
|
|
&lfs70_built;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&NetworkManager-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&NetworkManager-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &NetworkManager-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &NetworkManager-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &NetworkManager-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &NetworkManager-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>Required Patch: <ulink
|
|
url="&patch-root;/NetworkManager-&NetworkManager-version;-lfs-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">NetworkManager Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="libnl"/>,
|
|
<xref linkend="glib2"/>,
|
|
<xref linkend="dbus-glib"/>,
|
|
<xref linkend="libgcrypt"/>,
|
|
<xref linkend="gtk-doc"/>,
|
|
<xref linkend="polkit"/>,
|
|
<xref linkend="udev"/>,
|
|
<xref linkend="gnutls"/>,
|
|
<xref linkend="iptables"/>, and
|
|
<xref linkend="wireless_tools"/></para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional"><xref linkend="dhcpcd"/>
|
|
or <xref linkend="dhcp-client"/> are needed at runtime if you intend to use
|
|
this package to control your network connection :
|
|
<application>NetworkManager</application> will be invoked automatically by a
|
|
<application>GNOME</application> desktop, but can be treated as just a build
|
|
requirement if you only have a wired connection.</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/NetworkManager"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of NetworkManager</title>
|
|
|
|
<para>Install <application>NetworkManager</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../NetworkManager-&NetworkManager-version;-lfs-1.patch &&
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/lib/NetworkManager \
|
|
--localstatedir=/var \
|
|
--with-systemdsystemunitdir=no \
|
|
--with-crypto=gnutls \
|
|
--disable-wimax \
|
|
--disable-ppp --with-tests&&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><command>patch -Np1 -i ../NetworkManager-&NetworkManager-version;-lfs-1.patch</command>:
|
|
This command adds some code to enable the application to run on LFS.</para>
|
|
|
|
<para><parameter>--libexecdir=/usr/lib/NetworkManager</parameter>: This parameter puts
|
|
the action files and crash-logger in a directory which is compatible with the
|
|
<literal>FHS</literal>.</para>
|
|
|
|
<para><parameter>--localstatedir=/var</parameter>: This command
|
|
puts files in <filename class="directory">/var</filename> instead of
|
|
<filename class="directory">/usr/var</filename>.</para>
|
|
|
|
<para><parameter>--with-systemdsystemunitdir=no</parameter>: This parameter is
|
|
needed to avoid <application>systemd</application> files being installed.</para>
|
|
|
|
<para><parameter>--with-crypto=gnutls</parameter>: This parameter ensures
|
|
the package uses <application>gnutls</application> for cryptography, instead
|
|
of <application>nss</application>.</para>
|
|
|
|
<para><parameter>--disable-wimax</parameter>: This parameter prevents the
|
|
package attempting to use the Intel WiMAX SDK.</para>
|
|
|
|
<para><parameter>--disable-ppp</parameter>: This parameter prevents the
|
|
package from including ppp support.</para>
|
|
|
|
<para><option>--with-distro=lfs</option>: This parameter is only needed if you
|
|
failed to create <filename>/etc/lfs-release</filename> when you installed LFS.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>NetworkManager, nm-avahi-autoipd.action, nm-crash-logger, nm-dhcp-client.action, nm-dispatcher.action, nm-online, nm-tool, and nmcli</seg>
|
|
<seg>libnm-glib-vpn.so, libnm-glib.so, and libnm-util.so</seg>
|
|
<seg>/{etc/{NetworkManager/{dispatcher.d,system-connections},dbus-1/system.d},udev/rules.d,usr/{include/{NetworkManager,libnm-glib},lib/NetworkManager,share/NetworkManager},var/{lib/NetworkManager,run/NetworkManager}}</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="NetworkManager-prog">
|
|
<term><command>NetworkManager-prog</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="NetworkManager NetworkManager-prog">
|
|
<primary sortas="b-NetworkManager-prog">NetworkManager-prog</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="nm-avahi-autoipd.action">
|
|
<term><command>nm-avahi-autoipd.action</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="NetworkManager nm-avahi-autoipd.action">
|
|
<primary sortas="b-nm-avahi-autoipd.action">nm-avahi-autoipd.action</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="nm-crash-logger">
|
|
<term><command>nm-crash-logger</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="NetworkManager nm-crash-logger">
|
|
<primary sortas="b-nm-crash-logger">nm-crash-logger</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="nm-dhcp-client.action">
|
|
<term><command>nm-dhcp-client.action</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="NetworkManager nm-dhcp-client.action">
|
|
<primary sortas="b-nm-dhcp-client.action">nm-dhcp-client.action</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="nm-dispatcher.action">
|
|
<term><command>nm-dispatcher.action</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="NetworkManager nm-dispatcher.action">
|
|
<primary sortas="b-nm-dispatcher.action">nm-dispatcher.action</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="nm-online">
|
|
<term><command>nm-online</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="NetworkManager nm-online">
|
|
<primary sortas="b-nm-online">nm-online</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="nm-tool">
|
|
<term><command>nm-tool</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="NetworkManager nm-tool">
|
|
<primary sortas="b-nm-tool">nm-tool</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="nmcli">
|
|
<term><command>nmcli</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="NetworkManager nmcli">
|
|
<primary sortas="b-nmcli">nmcli</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libnm-glib-vpn">
|
|
<term><filename class='libraryfile'>libnm-glib-vpn.so</filename></term>
|
|
<listitem>
|
|
<para>contains functions that .....</para>
|
|
<indexterm zone="NetworkManager libnm-glib-vpn">
|
|
<primary sortas="c-libnm-glib-vpn">libnm-glib-vpn.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libnm-glib">
|
|
<term><filename class='libraryfile'>libnm-glib.so</filename></term>
|
|
<listitem>
|
|
<para>contains functions that .....</para>
|
|
<indexterm zone="NetworkManager libnm-glib">
|
|
<primary sortas="c-libnm-glib">libnm-glib.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libnm-util">
|
|
<term><filename class='libraryfile'>libnm-util.so</filename></term>
|
|
<listitem>
|
|
<para>contains functions that .....</para>
|
|
<indexterm zone="NetworkManager libnm-util">
|
|
<primary sortas="c-libnm-util">libnm-util.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|