aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/inetutils.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-14 22:45:09 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-14 22:45:09 +0000
commit7787e7e8403e6739ca9252fea93ae5e60d898c12 (patch)
treebdd50ac78fb48ddeaafb3c838e730b69219b148b /chapter06/inetutils.xml
parent18831b58cdf7dbf0b92440998c59683d9595c49a (diff)
Update to inetutils-1.9.2 and remove referece to old BLFS page.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10444 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/inetutils.xml')
-rw-r--r--chapter06/inetutils.xml43
1 files changed, 20 insertions, 23 deletions
diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml
index 920abe64b..136b6383f 100644
--- a/chapter06/inetutils.xml
+++ b/chapter06/inetutils.xml
@@ -40,16 +40,16 @@
<sect2 role="installation">
<title>Installation of Inetutils</title>
- <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para>
+ <para>Create a definition to allow the <command>ifconfig</command> program
+ to build properly.</para>
-<screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen>
+<screen><userinput remap="pre">echo '#define PATH_PROCNET_DEV "/proc/net/dev"' &gt;&gt; ifconfig/system/linux.h </userinput></screen>
<para>Prepare Inetutils for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
--libexecdir=/usr/sbin \
--localstatedir=/var \
- --disable-ifconfig \
--disable-logger \
--disable-syslogd \
--disable-whois \
@@ -59,16 +59,6 @@
<title>The meaning of the configure options:</title>
<varlistentry>
- <term><parameter>--disable-ifconfig</parameter></term>
- <listitem>
- <para>This option prevents Inetutils from installing the
- <command>ifconfig</command> program, which can be used to configure network
- interfaces. LFS uses <command>ip</command> from IPRoute2 to perform
- this task.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><parameter>--disable-logger</parameter></term>
<listitem>
<para>This option prevents Inetutils from installing the
@@ -101,8 +91,7 @@
<para>This disables the installation of the various network servers
included as part of the Inetutils package. These servers are deemed not
appropriate in a basic LFS system. Some are insecure by nature and are
- only considered safe on trusted networks. More information can be found
- at <ulink url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that
+ only considered safe on trusted networks. Note that
better replacements are available for many of these servers.</para>
</listitem>
</varlistentry>
@@ -120,14 +109,12 @@
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
-<!-- The html file generation is broken as of texinfo-5.0
-make -C doc html
-make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</userinput></screen>
--->
+
<para>Move some programs so they are available if <filename
class='directory'>/usr</filename> is not accessible:</para>
-<screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin</userinput></screen>
+<screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin
+mv -v /usr/bin/ifconfig /sbin</userinput></screen>
</sect2>
@@ -138,8 +125,8 @@ make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</us
<segtitle>Installed programs</segtitle>
<seglistitem>
- <seg>ftp, hostname, ping, ping6, rcp, rexec, rlogin, rsh, talk, telnet,
- tftp, and traceroute</seg>
+ <seg>ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin,
+ rsh, talk, telnet, tftp, and traceroute</seg>
</seglistitem>
</segmentedlist>
@@ -158,6 +145,16 @@ make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</us
</listitem>
</varlistentry>
+ <varlistentry id="ifconfig">
+ <term><command>ifconfig</command></term>
+ <listitem>
+ <para>Manages network interfaces</para>
+ <indexterm zone="ch-system-inetutils ifconfig">
+ <primary sortas="b-ifconfig">ifconfig</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="hostname">
<term><command>hostname</command></term>
<listitem>
@@ -202,7 +199,7 @@ make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</us
<varlistentry id="rexec">
<term><command>rexec</command></term>
<listitem>
- <para>executes commands on a remote host</para>
+ <para>Executes commands on a remote host</para>
<indexterm zone="ch-system-inetutils rexec">
<primary sortas="b-rexec">rexec</primary>
</indexterm>