source: clfs-sysroot/BOOK/final-system/common/inetutils.xml@ 51cbbb6

Last change on this file since 51cbbb6 was 8fd7d60, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Update inetutils with patch to fix the telnet 255.255.255.255 issue

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