source: chapter06/inetutils.xml@ 102c4bb6

7.9-systemd
Last change on this file since 102c4bb6 was 102c4bb6, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Add an upstream patch for MPFR.
Update to libpipeline-1.4.1.
Update to linux-4.1.6.
Update to man-db-2.7.2.
Add a patch to allow glibc to build properly on i386 systems.
Remove obsolete r* programs from inetutils.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10943 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 8.0 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[4ae4324]7
[81fd230]8<sect1 id="ch-system-inetutils" role="wrap">
[4ae4324]9 <?dbhtml filename="inetutils.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>inetutils</productname>
13 <productnumber>&inetutils-version;</productnumber>
14 <address>&inetutils-url;</address>
15 </sect1info>
16
[4ae4324]17 <title>Inetutils-&inetutils-version;</title>
18
19 <indexterm zone="ch-system-inetutils">
20 <primary sortas="a-Inetutils">Inetutils</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
[673b0d8]25
[4ae4324]26 <para>The Inetutils package contains programs for basic networking.</para>
[0b6cb04]27
[4ae4324]28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
[5888299]31
[4ae4324]32 <seglistitem>
[e4a5635]33 <seg>&inetutils-ch6-sbu;</seg>
34 <seg>&inetutils-ch6-du;</seg>
[4ae4324]35 </seglistitem>
36 </segmentedlist>
[673b0d8]37
[4ae4324]38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Inetutils</title>
[ed0bb05]42<!--
[848907c]43 <para>Create a definition to allow the <command>ifconfig</command> program
[39507e9]44 to build properly:</para>
[f1c177f]45
[848907c]46<screen><userinput remap="pre">echo '#define PATH_PROCNET_DEV "/proc/net/dev"' &gt;&gt; ifconfig/system/linux.h </userinput></screen>
[ed0bb05]47-->
[f1c177f]48 <para>Prepare Inetutils for compilation:</para>
49
[0bf53444]50<screen><userinput remap="configure">./configure --prefix=/usr \
51 --localstatedir=/var \
52 --disable-logger \
53 --disable-whois \
[102c4bb6]54 --disable-rcp \
55 --disable-rexec \
56 --disable-rlogin \
57 --disable-rsh \
[03a45756]58 --disable-servers</userinput></screen>
[73aedd1d]59
[4ae4324]60 <variablelist>
61 <title>The meaning of the configure options:</title>
62
[102c4bb6]63 <varlistentry>
64 <term><parameter>--disable-r*</parameter></term>
65 <listitem>
66 <para>These parameters disable building obsolete programs that should
67 not be used due to security issues. The functions provided by these
68 programs can be provided by the <application>openssh</application>
69 package in the BLFS book.</para>
70 </listitem>
71 </varlistentry>
72
[4ae4324]73 <varlistentry>
74 <term><parameter>--disable-logger</parameter></term>
75 <listitem>
76 <para>This option prevents Inetutils from installing the
77 <command>logger</command> program, which is used by scripts to
78 pass messages to the System Log Daemon. Do not install it because
[46ded2b]79 Util-linux installs a more recent version.</para>
[4ae4324]80 </listitem>
81 </varlistentry>
82
83 <varlistentry>
84 <term><parameter>--disable-whois</parameter></term>
85 <listitem>
86 <para>This option disables the building of the Inetutils
87 <command>whois</command> client, which is out of date. Instructions for
88 a better <command>whois</command> client are in the BLFS book.</para>
89 </listitem>
90 </varlistentry>
91
92 <varlistentry>
93 <term><parameter>--disable-servers</parameter></term>
94 <listitem>
95 <para>This disables the installation of the various network servers
96 included as part of the Inetutils package. These servers are deemed not
97 appropriate in a basic LFS system. Some are insecure by nature and are
[848907c]98 only considered safe on trusted networks. Note that
[4ae4324]99 better replacements are available for many of these servers.</para>
100 </listitem>
101 </varlistentry>
102
103 </variablelist>
104
105 <para>Compile the package:</para>
[73aedd1d]106
[0445a3d]107<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]108
[1a15aba]109 <para>To test the results, issue:</para>
110
111<screen><userinput remap="test">make check</userinput></screen>
[f77b95f]112 <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard
113 coding of some support program paths. All tests pass if the tests are rerun
114 at the end of Chapter 6.</para>
[0be3d41]115
[4ae4324]116 <para>Install the package:</para>
[73aedd1d]117
[f0f4140]118<screen><userinput remap="install">make install</userinput></screen>
[848907c]119
[8cfc230]120 <para>Move some programs so they are available if <filename
[4818ca8]121 class='directory'>/usr</filename> is not accessible:</para>
[73aedd1d]122
[848907c]123<screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin
124mv -v /usr/bin/ifconfig /sbin</userinput></screen>
[73aedd1d]125
[4ae4324]126 </sect2>
127
128 <sect2 id="contents-inetutils" role="content">
129 <title>Contents of Inetutils</title>
130
131 <segmentedlist>
132 <segtitle>Installed programs</segtitle>
133
134 <seglistitem>
[848907c]135 <seg>ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin,
136 rsh, talk, telnet, tftp, and traceroute</seg>
[4ae4324]137 </seglistitem>
138 </segmentedlist>
139
140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
144
145 <varlistentry id="ftp">
146 <term><command>ftp</command></term>
147 <listitem>
148 <para>Is the file transfer protocol program</para>
149 <indexterm zone="ch-system-inetutils ftp">
150 <primary sortas="b-ftp">ftp</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
[848907c]155 <varlistentry id="ifconfig">
156 <term><command>ifconfig</command></term>
157 <listitem>
158 <para>Manages network interfaces</para>
159 <indexterm zone="ch-system-inetutils ifconfig">
160 <primary sortas="b-ifconfig">ifconfig</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
[c92413c]165 <varlistentry id="hostname">
166 <term><command>hostname</command></term>
167 <listitem>
168 <para>Reports or sets the name of the host</para>
169 <indexterm zone="ch-system-inetutils hostname">
170 <primary sortas="b-hostname">hostname</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
[4ae4324]175 <varlistentry id="ping">
176 <term><command>ping</command></term>
177 <listitem>
178 <para>Sends echo-request packets and reports how long the replies
179 take</para>
180 <indexterm zone="ch-system-inetutils ping">
181 <primary sortas="b-ping">ping</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
[2791a8e]186 <varlistentry id="ping6">
187 <term><command>ping6</command></term>
188 <listitem>
189 <para>A version of <command>ping</command> for IPv6 networks</para>
190 <indexterm zone="ch-system-inetutils ping6">
191 <primary sortas="b-ping6">ping6</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
[4ae4324]196 <varlistentry id="talk">
197 <term><command>talk</command></term>
198 <listitem>
199 <para>Is used to chat with another user</para>
200 <indexterm zone="ch-system-inetutils talk">
201 <primary sortas="b-talk">talk</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="telnet">
207 <term><command>telnet</command></term>
208 <listitem>
209 <para>An interface to the TELNET protocol</para>
210 <indexterm zone="ch-system-inetutils telnet">
211 <primary sortas="b-telnet">telnet</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="tftp">
217 <term><command>tftp</command></term>
218 <listitem>
219 <para>A trivial file transfer program</para>
220 <indexterm zone="ch-system-inetutils tftp">
221 <primary sortas="b-tftp">tftp</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
[90aae6b]226 <varlistentry id="traceroute">
227 <term><command>traceroute</command></term>
228 <listitem>
229 <para>Traces the route your packets take from the host you are
230 working on to another host on a network, showing all the intermediate
231 hops (gateways) along the way</para>
232 <indexterm zone="ch-system-inetutils traceroute">
233 <primary sortas="b-traceroute">traceroute</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
[4ae4324]238 </variablelist>
239
240 </sect2>
[673b0d8]241
242</sect1>
Note: See TracBrowser for help on using the repository browser.