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,
|
---|
27 | Make, Ncurses, Patch, Sed, and Zlib</seg>
|
---|
28 | </seglistitem>
|
---|
29 | </segmentedlist>
|
---|
30 |
|
---|
31 | </sect2>
|
---|
32 |
|
---|
33 | <sect2 role="installation">
|
---|
34 | <title>Installation of Inetutils</title>
|
---|
35 |
|
---|
36 | <para os="p1">Not all programs that come with Inetutils will be installed.
|
---|
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 |
|
---|
41 | <screen os="p2"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
|
---|
42 |
|
---|
43 | <para os="p3">This patch addresses build issues with GCC &gcc-version;:</para>
|
---|
44 |
|
---|
45 | <screen os="p4"><userinput>patch -Np1 -i ../&inetutils-gcc4_fixes-patch;</userinput></screen>
|
---|
46 |
|
---|
47 | <para os="a">Prepare Inetutils for compilation:</para>
|
---|
48 |
|
---|
49 | <screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
50 | --sysconfdir=/etc --localstatedir=/var \
|
---|
51 | --disable-logger --disable-syslogd \
|
---|
52 | --disable-whois --disable-servers</userinput></screen>
|
---|
53 |
|
---|
54 | <variablelist os="c">
|
---|
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 |
|
---|
100 | <para os="d">Compile the package:</para>
|
---|
101 |
|
---|
102 | <screen os="e"><userinput>make</userinput></screen>
|
---|
103 |
|
---|
104 | <para os="f">This package does not come with a test suite.</para>
|
---|
105 |
|
---|
106 | <para os="g">Install the package:</para>
|
---|
107 |
|
---|
108 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
109 |
|
---|
110 | <para os="i">Move the <command>ping</command> program to its FHS-compliant
|
---|
111 | place:</para>
|
---|
112 |
|
---|
113 | <screen os="j"><userinput>mv -v /usr/bin/ping /bin</userinput></screen>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2 id="contents-inetutils" role="content">
|
---|
118 | <title>Contents of Inetutils</title>
|
---|
119 |
|
---|
120 | <segmentedlist>
|
---|
121 | <segtitle>Installed programs</segtitle>
|
---|
122 |
|
---|
123 | <seglistitem>
|
---|
124 | <seg>ftp, ping, rcp, rlogin, rsh, talk, telnet, and tftp</seg>
|
---|
125 | </seglistitem>
|
---|
126 | </segmentedlist>
|
---|
127 |
|
---|
128 | <variablelist>
|
---|
129 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
130 | <?dbfo list-presentation="list"?>
|
---|
131 | <?dbhtml list-presentation="table"?>
|
---|
132 |
|
---|
133 | <varlistentry id="ftp">
|
---|
134 | <term><command>ftp</command></term>
|
---|
135 | <listitem>
|
---|
136 | <para>Is the file transfer protocol program</para>
|
---|
137 | <indexterm zone="ch-system-inetutils ftp">
|
---|
138 | <primary sortas="b-ftp">ftp</primary>
|
---|
139 | </indexterm>
|
---|
140 | </listitem>
|
---|
141 | </varlistentry>
|
---|
142 |
|
---|
143 | <varlistentry id="ping">
|
---|
144 | <term><command>ping</command></term>
|
---|
145 | <listitem>
|
---|
146 | <para>Sends echo-request packets and reports how long the replies
|
---|
147 | take</para>
|
---|
148 | <indexterm zone="ch-system-inetutils ping">
|
---|
149 | <primary sortas="b-ping">ping</primary>
|
---|
150 | </indexterm>
|
---|
151 | </listitem>
|
---|
152 | </varlistentry>
|
---|
153 |
|
---|
154 | <varlistentry id="rcp">
|
---|
155 | <term><command>rcp</command></term>
|
---|
156 | <listitem>
|
---|
157 | <para>Performs remote file copy</para>
|
---|
158 | <indexterm zone="ch-system-inetutils rcp">
|
---|
159 | <primary sortas="b-rcp">rcp</primary>
|
---|
160 | </indexterm>
|
---|
161 | </listitem>
|
---|
162 | </varlistentry>
|
---|
163 |
|
---|
164 | <varlistentry id="rlogin">
|
---|
165 | <term><command>rlogin</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>Performs remote login</para>
|
---|
168 | <indexterm zone="ch-system-inetutils rlogin">
|
---|
169 | <primary sortas="b-rlogin">rlogin</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
174 | <varlistentry id="rsh">
|
---|
175 | <term><command>rsh</command></term>
|
---|
176 | <listitem>
|
---|
177 | <para>Runs a remote shell</para>
|
---|
178 | <indexterm zone="ch-system-inetutils rsh">
|
---|
179 | <primary sortas="b-rsh">rsh</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | <varlistentry id="talk">
|
---|
185 | <term><command>talk</command></term>
|
---|
186 | <listitem>
|
---|
187 | <para>Is used to chat with another user</para>
|
---|
188 | <indexterm zone="ch-system-inetutils talk">
|
---|
189 | <primary sortas="b-talk">talk</primary>
|
---|
190 | </indexterm>
|
---|
191 | </listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | <varlistentry id="telnet">
|
---|
195 | <term><command>telnet</command></term>
|
---|
196 | <listitem>
|
---|
197 | <para>An interface to the TELNET protocol</para>
|
---|
198 | <indexterm zone="ch-system-inetutils telnet">
|
---|
199 | <primary sortas="b-telnet">telnet</primary>
|
---|
200 | </indexterm>
|
---|
201 | </listitem>
|
---|
202 | </varlistentry>
|
---|
203 |
|
---|
204 | <varlistentry id="tftp">
|
---|
205 | <term><command>tftp</command></term>
|
---|
206 | <listitem>
|
---|
207 | <para>A trivial file transfer program</para>
|
---|
208 | <indexterm zone="ch-system-inetutils tftp">
|
---|
209 | <primary sortas="b-tftp">tftp</primary>
|
---|
210 | </indexterm>
|
---|
211 | </listitem>
|
---|
212 | </varlistentry>
|
---|
213 |
|
---|
214 | </variablelist>
|
---|
215 |
|
---|
216 | </sect2>
|
---|
217 |
|
---|
218 | </sect1>
|
---|