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