source: clfs-sysroot/BOOK/final-system/common/inetutils.xml@ 1531f18

Last change on this file since 1531f18 was 3349a3a, checked in by Jim Gifford <clfs@…>, 19 years ago

r3669@server (orig r1667): jciccone | 2006-05-27 18:13:38 -0700
Various text and command fixes

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