[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
[3e36a78] | 4 | <!ENTITY % patches-entities SYSTEM "../patches.ent">
|
---|
[673b0d8] | 5 | %general-entities;
|
---|
[3e36a78] | 6 | %patches-entities;
|
---|
[673b0d8] | 7 | ]>
|
---|
[81fd230] | 8 | <sect1 id="ch-system-inetutils" role="wrap">
|
---|
[673b0d8] | 9 | <title>Inetutils-&inetutils-version;</title>
|
---|
| 10 | <?dbhtml filename="inetutils.html"?>
|
---|
| 11 |
|
---|
| 12 | <indexterm zone="ch-system-inetutils"><primary sortas="a-Inetutils">Inetutils</primary></indexterm>
|
---|
[0b6cb04] | 13 |
|
---|
[a001133] | 14 | <sect2 role="package"><title/>
|
---|
[81fd230] | 15 | <para>The Inetutils package contains programs for basic networking.</para>
|
---|
[5888299] | 16 |
|
---|
[a001133] | 17 | <segmentedlist>
|
---|
| 18 | <segtitle>&buildtime;</segtitle>
|
---|
| 19 | <segtitle>&diskspace;</segtitle>
|
---|
[eb6d9eb] | 20 | <seglistitem><seg>0.2 SBU</seg><seg>8.7 MB</seg></seglistitem>
|
---|
[a001133] | 21 | </segmentedlist>
|
---|
[673b0d8] | 22 |
|
---|
[81fd230] | 23 | <segmentedlist>
|
---|
[45992ae] | 24 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 25 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
| 26 | Diffutils, GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
|
---|
| 27 | </segmentedlist>
|
---|
[a001133] | 28 | </sect2>
|
---|
[cd8e54e] | 29 |
|
---|
[a001133] | 30 | <sect2 role="installation">
|
---|
[73aedd1d] | 31 | <title>Installation of Inetutils</title>
|
---|
| 32 |
|
---|
[81fd230] | 33 | <para>All programs that come with Inetutils will not be installed.
|
---|
| 34 | However, the Inetutils build system will insist on installing all the
|
---|
| 35 | man pages anyway. The following patch will correct this
|
---|
| 36 | situation:</para>
|
---|
[2ad19ed] | 37 |
|
---|
[3e36a78] | 38 | <screen><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
|
---|
[2ad19ed] | 39 |
|
---|
[81fd230] | 40 | <para>Prepare Inetutils for compilation:</para>
|
---|
[73aedd1d] | 41 |
|
---|
[f4993cf] | 42 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
[673b0d8] | 43 | --sysconfdir=/etc --localstatedir=/var \
|
---|
| 44 | --disable-logger --disable-syslogd \
|
---|
| 45 | --disable-whois --disable-servers</userinput></screen>
|
---|
[73aedd1d] | 46 |
|
---|
[81fd230] | 47 | <para>The meaning of the configure options:</para>
|
---|
| 48 |
|
---|
| 49 | <variablelist>
|
---|
| 50 | <varlistentry>
|
---|
| 51 | <term><parameter>--disable-logger</parameter></term>
|
---|
| 52 | <listitem><para>This option
|
---|
| 53 | prevents Inetutils from installing the <command>logger</command> program, which is used by
|
---|
| 54 | scripts to pass messages to the System Log Daemon. Do not install it
|
---|
| 55 | because Util-linux installs a better version later.</para></listitem>
|
---|
| 56 | </varlistentry>
|
---|
| 57 |
|
---|
| 58 | <varlistentry>
|
---|
| 59 | <term><parameter>--disable-syslogd</parameter></term>
|
---|
| 60 | <listitem><para>This option
|
---|
| 61 | prevents Inetutils from installing the System Log Daemon, which is
|
---|
| 62 | installed with the Sysklogd package.</para></listitem>
|
---|
| 63 | </varlistentry>
|
---|
| 64 |
|
---|
| 65 | <varlistentry>
|
---|
| 66 | <term><parameter>--disable-whois</parameter></term>
|
---|
| 67 | <listitem><para>This option disables
|
---|
| 68 | the building of the Inetutils <command>whois</command> client, which is out of date.
|
---|
| 69 | Instructions for a better <command>whois</command> client are in the BLFS book.</para></listitem>
|
---|
| 70 | </varlistentry>
|
---|
| 71 |
|
---|
| 72 | <varlistentry>
|
---|
| 73 | <term><parameter>--disable-servers</parameter></term>
|
---|
| 74 | <listitem><para>This disables the installation of the various network
|
---|
| 75 | servers included as part of the Inetutils package. These servers are
|
---|
| 76 | deemed not appropriate in a basic LFS system. Some are insecure by
|
---|
| 77 | nature and are only considered safe on trusted networks. More
|
---|
[845846e0] | 78 | information can be found at <ulink
|
---|
| 79 | url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that
|
---|
[81fd230] | 80 | better replacements are available for many of these
|
---|
| 81 | servers.</para></listitem>
|
---|
| 82 | </varlistentry>
|
---|
| 83 | </variablelist>
|
---|
| 84 |
|
---|
[73aedd1d] | 85 | <para>Compile the package:</para>
|
---|
| 86 |
|
---|
| 87 | <screen><userinput>make</userinput></screen>
|
---|
| 88 |
|
---|
[81fd230] | 89 | <para>Install the package:</para>
|
---|
[73aedd1d] | 90 |
|
---|
| 91 | <screen><userinput>make install</userinput></screen>
|
---|
| 92 |
|
---|
[81fd230] | 93 | <para>Move the <command>ping</command> program to its FHS-compliant
|
---|
| 94 | place:</para>
|
---|
[73aedd1d] | 95 |
|
---|
| 96 | <screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | </sect2>
|
---|
[0b6cb04] | 99 |
|
---|
[5888299] | 100 |
|
---|
[c6cb3aa] | 101 | <sect2 id="contents-inetutils" role="content"><title>Contents of Inetutils</title>
|
---|
[673b0d8] | 102 |
|
---|
[81fd230] | 103 | <segmentedlist>
|
---|
| 104 | <segtitle>Installed programs</segtitle>
|
---|
| 105 | <seglistitem><seg>ftp, ping, rcp, rlogin, rsh, talk, telnet, and tftp</seg></seglistitem>
|
---|
| 106 | </segmentedlist>
|
---|
| 107 |
|
---|
| 108 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 109 | <?dbfo list-presentation="list"?>
|
---|
[8f97096] | 110 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 111 |
|
---|
| 112 | <varlistentry id="ftp">
|
---|
| 113 | <term><command>ftp</command></term>
|
---|
| 114 | <listitem>
|
---|
| 115 | <para>Is the file transfer protocol program</para>
|
---|
| 116 | <indexterm zone="ch-system-inetutils ftp"><primary sortas="b-ftp">ftp</primary></indexterm>
|
---|
| 117 | </listitem>
|
---|
| 118 | </varlistentry>
|
---|
| 119 |
|
---|
| 120 | <varlistentry id="ping">
|
---|
| 121 | <term><command>ping</command></term>
|
---|
| 122 | <listitem>
|
---|
| 123 | <para>Sends echo-request packets and reports how long the replies take</para>
|
---|
| 124 | <indexterm zone="ch-system-inetutils ping"><primary sortas="b-ping">ping</primary></indexterm>
|
---|
| 125 | </listitem>
|
---|
| 126 | </varlistentry>
|
---|
| 127 |
|
---|
| 128 | <varlistentry id="rcp">
|
---|
| 129 | <term><command>rcp</command></term>
|
---|
| 130 | <listitem>
|
---|
| 131 | <para>Performs remote file copy</para>
|
---|
| 132 | <indexterm zone="ch-system-inetutils rcp"><primary sortas="b-rcp">rcp</primary></indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 |
|
---|
| 136 | <varlistentry id="rlogin">
|
---|
| 137 | <term><command>rlogin</command></term>
|
---|
| 138 | <listitem>
|
---|
| 139 | <para>Performs remote login</para>
|
---|
| 140 | <indexterm zone="ch-system-inetutils rlogin"><primary sortas="b-rlogin">rlogin</primary></indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="rsh">
|
---|
| 145 | <term><command>rsh</command></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>Runs a remote shell</para>
|
---|
| 148 | <indexterm zone="ch-system-inetutils rsh"><primary sortas="b-rsh">rsh</primary></indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="talk">
|
---|
| 153 | <term><command>talk</command></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>Is used to chat with another user</para>
|
---|
| 156 | <indexterm zone="ch-system-inetutils talk"><primary sortas="b-talk">talk</primary></indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="telnet">
|
---|
| 161 | <term><command>telnet</command></term>
|
---|
| 162 | <listitem>
|
---|
| 163 | <para>An interface to the TELNET protocol</para>
|
---|
| 164 | <indexterm zone="ch-system-inetutils telnet"><primary sortas="b-telnet">telnet</primary></indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="tftp">
|
---|
| 169 | <term><command>tftp</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>A trivial file transfer program</para>
|
---|
| 172 | <indexterm zone="ch-system-inetutils tftp"><primary sortas="b-tftp">tftp</primary></indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 | </variablelist>
|
---|
[673b0d8] | 176 |
|
---|
| 177 | </sect2>
|
---|
| 178 |
|
---|
| 179 | </sect1>
|
---|
[81fd230] | 180 |
|
---|