mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
c6cb3aa2f1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
167 lines
5.6 KiB
XML
167 lines
5.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
%general-entities;
|
|
]>
|
|
<sect1 id="ch-system-inetutils" xreflabel="Inetutils" role="wrap">
|
|
<title>Inetutils-&inetutils-version;</title>
|
|
<?dbhtml filename="inetutils.html"?>
|
|
|
|
<indexterm zone="ch-system-inetutils"><primary sortas="a-Inetutils">Inetutils</primary></indexterm>
|
|
|
|
<sect2 role="package"><title/>
|
|
<para>The Inetutils package contains programs for basic networking.</para>
|
|
|
|
<segmentedlist>
|
|
<segtitle>&buildtime;</segtitle>
|
|
<segtitle>&diskspace;</segtitle>
|
|
<seglistitem><seg>0.2 SBU</seg><seg>11 MB</seg></seglistitem>
|
|
</segmentedlist>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Inetutils installation depends on</segtitle>
|
|
<seglistitem><seg>Bash, Binutils, Coreutils,
|
|
Diffutils, GCC, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
|
|
</segmentedlist>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Inetutils</title>
|
|
|
|
<para>Inetutils has issues with the Linux 2.6 kernel series - fix these isues
|
|
by applying the following patch:</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel-headers-1.patch</userinput></screen>
|
|
|
|
<para>We are not going to install all the programs that come with Inetutils.
|
|
However, the Inetutils build system will insist on installing all the man
|
|
pages anyway. The following patch will correct this situation:</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-no-server-man-pages-1.patch</userinput></screen>
|
|
|
|
<para>Now prepare Inetutils for compilation:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
|
--sysconfdir=/etc --localstatedir=/var \
|
|
--disable-logger --disable-syslogd \
|
|
--disable-whois --disable-servers</userinput></screen>
|
|
|
|
<para>The meaning of the configure options:</para>
|
|
|
|
<itemizedlist>
|
|
<listitem><para><userinput>--disable-logger</userinput>: This option
|
|
prevents Inetutils from installing the logger program, which is used by
|
|
scripts to pass messages to the System Log Daemon. We do not install it
|
|
because Util-linux installs a better version later.</para></listitem>
|
|
|
|
<listitem><para><userinput>--disable-syslogd</userinput>: This option
|
|
prevents Inetutils from installing the System Log Daemon, which is
|
|
installed with the Sysklogd package.</para></listitem>
|
|
|
|
<listitem><para><userinput>--disable-whois</userinput>: This option disables
|
|
the building of the Inetutils whois client, which is woefully out of date.
|
|
Instructions for a better whois client are in the BLFS book.</para></listitem>
|
|
|
|
<listitem><para><userinput>--disable-servers</userinput>: 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/stable/basicnet/inetutils.html"/>. Note that better
|
|
replacements are available for many of these servers.</para></listitem>
|
|
</itemizedlist>
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
<para>Install it:</para>
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
<para>Move the <command>ping</command> program to its FHS-compliant
|
|
place:</para>
|
|
|
|
<screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="contents-inetutils" role="content"><title>Contents of Inetutils</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed programs</segtitle>
|
|
<seglistitem><seg>ftp, ping, rcp, rlogin, rsh, talk, telnet and tftp</seg></seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist><title>Short descriptions</title>
|
|
|
|
<varlistentry>
|
|
<term id="ftp"><command>ftp</command></term>
|
|
<listitem>
|
|
<indexterm zone="ch-system-inetutils ftp"><primary sortas="b-ftp">ftp</primary></indexterm>
|
|
<para>is the ARPANET file transfer program.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term id="ping"><command>ping</command></term>
|
|
<listitem>
|
|
<indexterm zone="ch-system-inetutils ping"><primary sortas="b-ping">ping</primary></indexterm>
|
|
<para>sends echo-request packets and reports how long the replies take.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term id="rcp"><command>rcp</command></term>
|
|
<listitem>
|
|
<indexterm zone="ch-system-inetutils rcp"><primary sortas="b-rcp">rcp</primary></indexterm>
|
|
<para>does remote file copy.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term id="rlogin"><command>rlogin</command></term>
|
|
<listitem>
|
|
<indexterm zone="ch-system-inetutils rlogin"><primary sortas="b-rlogin">rlogin</primary></indexterm>
|
|
<para>does remote login.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term id="rsh"><command>rsh</command></term>
|
|
<listitem>
|
|
<indexterm zone="ch-system-inetutils rsh"><primary sortas="b-rsh">rsh</primary></indexterm>
|
|
<para>runs a remote shell.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term id="talk"><command>talk</command></term>
|
|
<listitem>
|
|
<indexterm zone="ch-system-inetutils talk"><primary sortas="b-talk">talk</primary></indexterm>
|
|
<para>is used to chat up another user.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term id="telnet"><command>telnet</command></term>
|
|
<listitem>
|
|
<indexterm zone="ch-system-inetutils telnet"><primary sortas="b-telnet">telnet</primary></indexterm>
|
|
<para>is an interface to the TELNET protocol.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term id="tftp"><command>tftp</command></term>
|
|
<listitem>
|
|
<indexterm zone="ch-system-inetutils tftp"><primary sortas="b-tftp">tftp</primary></indexterm>
|
|
<para>is a trivial file transfer program.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|