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