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