[02095ae] | 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 |
|
---|
[13f77a0] | 27 | <para os="p1">Not all programs that come with Inetutils will be installed.
|
---|
| 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 |
|
---|
| 32 | <screen os="p2"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
|
---|
| 33 |
|
---|
[e4f6ff4] | 34 | <para os="s1">The following set of seds prevent binaries from being
|
---|
| 35 | installed as setuid <systemitem class="username">root</systemitem>:</para>
|
---|
[3349a3a] | 36 |
|
---|
| 37 | <screen os="s2"><userinput>for dir in ping rcp rlogin rsh; do
|
---|
| 38 | cp ${dir}/Makefile.in{,.orig}
|
---|
| 39 | sed '/^SUIDMODE =/s/-o root//' ${dir}/Makefile.in.orig > ${dir}/Makefile.in
|
---|
| 40 | done</userinput></screen>
|
---|
| 41 |
|
---|
[02095ae] | 42 | <para os="a">Prepare Inetutils for compilation:</para>
|
---|
| 43 |
|
---|
[cee2ca2] | 44 | <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
| 45 | --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc \
|
---|
| 46 | --localstatedir=/var --disable-logger --disable-syslogd \
|
---|
| 47 | --disable-whois --disable-servers</userinput></screen>
|
---|
[02095ae] | 48 |
|
---|
| 49 | <variablelist os="c">
|
---|
| 50 | <title>The meaning of the configure options:</title>
|
---|
| 51 |
|
---|
| 52 | <varlistentry>
|
---|
| 53 | <term><parameter>--disable-logger</parameter></term>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>This option prevents Inetutils from installing the
|
---|
| 56 | <command>logger</command> program, which is used by scripts to
|
---|
| 57 | pass messages to the System Log Daemon. Do not install it because
|
---|
| 58 | Util-linux installs a better version later.</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </varlistentry>
|
---|
| 61 |
|
---|
| 62 | <varlistentry>
|
---|
| 63 | <term><parameter>--disable-syslogd</parameter></term>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>This option prevents Inetutils from installing the System Log
|
---|
| 66 | Daemon, which is installed with the Sysklogd package.</para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </varlistentry>
|
---|
| 69 |
|
---|
| 70 | <varlistentry>
|
---|
| 71 | <term><parameter>--disable-whois</parameter></term>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>This option disables the building of the Inetutils
|
---|
| 74 | <command>whois</command> client, which is out of date.
|
---|
| 75 | Instructions for a better <command>whois</command> client are
|
---|
| 76 | in the BLFS book.</para>
|
---|
| 77 | </listitem>
|
---|
| 78 | </varlistentry>
|
---|
| 79 |
|
---|
| 80 | <varlistentry>
|
---|
| 81 | <term><parameter>--disable-servers</parameter></term>
|
---|
| 82 | <listitem>
|
---|
| 83 | <para>This disables the installation of the various network
|
---|
| 84 | servers included as part of the Inetutils package. These servers are
|
---|
[755f44a] | 85 | deemed not appropriate in a basic CLFS system. Some are insecure by
|
---|
[02095ae] | 86 | nature and are only considered safe on trusted networks. More
|
---|
| 87 | information can be found at <ulink
|
---|
| 88 | url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that
|
---|
| 89 | better replacements are available for many of these
|
---|
| 90 | servers.</para>
|
---|
| 91 | </listitem>
|
---|
| 92 | </varlistentry>
|
---|
| 93 | </variablelist>
|
---|
| 94 |
|
---|
| 95 | <para os="d">Compile the package:</para>
|
---|
| 96 |
|
---|
| 97 | <screen os="e"><userinput>make</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para os="f">Install the package:</para>
|
---|
| 100 |
|
---|
[586feb7] | 101 | <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
[02095ae] | 102 |
|
---|
[29d877b] | 103 | <para os="h">Move the <command>ping</command> and <command>ping6</command>
|
---|
[e4f6ff4] | 104 | programs to their FHS-compliant place:</para>
|
---|
[02095ae] | 105 |
|
---|
[29d877b] | 106 | <screen os="i"><userinput>mv -v ${CLFS}/usr/bin/ping{,6} ${CLFS}/bin</userinput></screen>
|
---|
[02095ae] | 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 id="contents-inetutils" role="content">
|
---|
| 111 | <title>Contents of Inetutils</title>
|
---|
| 112 |
|
---|
| 113 | <segmentedlist>
|
---|
| 114 | <segtitle>Installed programs</segtitle>
|
---|
| 115 |
|
---|
| 116 | <seglistitem>
|
---|
[29d877b] | 117 | <seg>ftp, ifconfig, ping, ping6, rcp, rlogin, rsh, talk, telnet, and tftp</seg>
|
---|
[02095ae] | 118 | </seglistitem>
|
---|
| 119 | </segmentedlist>
|
---|
| 120 |
|
---|
| 121 | <variablelist>
|
---|
| 122 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 123 | <?dbfo list-presentation="list"?>
|
---|
| 124 | <?dbhtml list-presentation="table"?>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="ftp">
|
---|
| 127 | <term><command>ftp</command></term>
|
---|
| 128 | <listitem>
|
---|
| 129 | <para>Is the file transfer protocol program</para>
|
---|
| 130 | <indexterm zone="ch-system-inetutils ftp">
|
---|
| 131 | <primary sortas="b-ftp">ftp</primary>
|
---|
| 132 | </indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 |
|
---|
[29d877b] | 136 | <varlistentry id="ifconfig">
|
---|
| 137 | <term><command>ifconfig</command></term>
|
---|
| 138 | <listitem>
|
---|
| 139 | <para>Utility for configuring network interfaces</para>
|
---|
| 140 | <indexterm zone="ch-system-inetutils ifconfig">
|
---|
| 141 | <primary sortas="b-ifconfig">ifconfig</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
[02095ae] | 146 | <varlistentry id="ping">
|
---|
| 147 | <term><command>ping</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>Sends echo-request packets and reports how long the replies
|
---|
| 150 | take</para>
|
---|
| 151 | <indexterm zone="ch-system-inetutils ping">
|
---|
| 152 | <primary sortas="b-ping">ping</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
[29d877b] | 157 | <varlistentry id="ping6">
|
---|
| 158 | <term><command>ping6</command></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>Sends echo-request packets and reports how long the replies
|
---|
| 161 | take this is the IPV6 version</para>
|
---|
| 162 | <indexterm zone="ch-system-inetutils ping6">
|
---|
| 163 | <primary sortas="b-ping6">ping6</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
[02095ae] | 168 | <varlistentry id="rcp">
|
---|
| 169 | <term><command>rcp</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>Performs remote file copy</para>
|
---|
| 172 | <indexterm zone="ch-system-inetutils rcp">
|
---|
| 173 | <primary sortas="b-rcp">rcp</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="rlogin">
|
---|
| 179 | <term><command>rlogin</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>Performs remote login</para>
|
---|
| 182 | <indexterm zone="ch-system-inetutils rlogin">
|
---|
| 183 | <primary sortas="b-rlogin">rlogin</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="rsh">
|
---|
| 189 | <term><command>rsh</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>Runs a remote shell</para>
|
---|
| 192 | <indexterm zone="ch-system-inetutils rsh">
|
---|
| 193 | <primary sortas="b-rsh">rsh</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="talk">
|
---|
| 199 | <term><command>talk</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>Is used to chat with another user</para>
|
---|
| 202 | <indexterm zone="ch-system-inetutils talk">
|
---|
| 203 | <primary sortas="b-talk">talk</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="telnet">
|
---|
| 209 | <term><command>telnet</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>An interface to the TELNET protocol</para>
|
---|
| 212 | <indexterm zone="ch-system-inetutils telnet">
|
---|
| 213 | <primary sortas="b-telnet">telnet</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
| 218 | <varlistentry id="tftp">
|
---|
| 219 | <term><command>tftp</command></term>
|
---|
| 220 | <listitem>
|
---|
| 221 | <para>A trivial file transfer program</para>
|
---|
| 222 | <indexterm zone="ch-system-inetutils tftp">
|
---|
| 223 | <primary sortas="b-tftp">tftp</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | </variablelist>
|
---|
| 229 |
|
---|
| 230 | </sect2>
|
---|
| 231 |
|
---|
| 232 | </sect1>
|
---|