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