|
@@ -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"' >> 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 \
|
|
@@ -58,16 +58,6 @@
|
|
|
<variablelist>
|
|
|
<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>
|
|
@@ -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>
|