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