1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE section [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <section xmlns="http://docbook.org/docbook-ng"
|
---|
7 | xmlns:xlink="http://www.w3.org/1999/xlink"
|
---|
8 | xml:id="ch-system-inetutils" xreflabel="Inetutils" role="wrap">
|
---|
9 | <info><title>Inetutils-&inetutils-version;</title></info>
|
---|
10 | <?dbhtml filename="inetutils.html"?>
|
---|
11 |
|
---|
12 | <indexterm zone="ch-system-inetutils"><primary sortas="a-Inetutils">Inetutils</primary></indexterm>
|
---|
13 |
|
---|
14 | <section role="package"><info><title/></info>
|
---|
15 | <para>The Inetutils package contains programs for basic networking.</para>
|
---|
16 |
|
---|
17 | <segmentedlist>
|
---|
18 | <segtitle>&buildtime;</segtitle>
|
---|
19 | <segtitle>&diskspace;</segtitle>
|
---|
20 | <seglistitem><seg>0.2 SBU</seg><seg>11 MB</seg></seglistitem>
|
---|
21 | </segmentedlist>
|
---|
22 |
|
---|
23 | <segmentedlist>
|
---|
24 | <segtitle>Inetutils installation depends on</segtitle>
|
---|
25 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
26 | Diffutils, GCC, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
|
---|
27 | </segmentedlist>
|
---|
28 | </section>
|
---|
29 |
|
---|
30 | <section role="installation">
|
---|
31 | <info><title>Installation of Inetutils</title></info>
|
---|
32 |
|
---|
33 | <para>Inetutils has issues with the Linux 2.6 kernel series - fix these isues
|
---|
34 | by applying the following patch:</para>
|
---|
35 |
|
---|
36 | <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel_headers-1.patch</userinput></screen>
|
---|
37 |
|
---|
38 | <para>We are not going to install all the programs that come with Inetutils.
|
---|
39 | However, the Inetutils build system will insist on installing all the man
|
---|
40 | pages anyway. The following patch will correct this situation:</para>
|
---|
41 |
|
---|
42 | <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-no_server_man_pages-1.patch</userinput></screen>
|
---|
43 |
|
---|
44 | <para>Now prepare Inetutils for compilation:</para>
|
---|
45 |
|
---|
46 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
47 | --sysconfdir=/etc --localstatedir=/var \
|
---|
48 | --disable-logger --disable-syslogd \
|
---|
49 | --disable-whois --disable-servers</userinput></screen>
|
---|
50 |
|
---|
51 | <para>The meaning of the configure options:</para>
|
---|
52 |
|
---|
53 | <variablelist>
|
---|
54 | <varlistentry>
|
---|
55 | <term><parameter>--disable-logger</parameter></term>
|
---|
56 | <listitem><para>This option
|
---|
57 | prevents Inetutils from installing the <command>logger</command> program, which is used by
|
---|
58 | scripts to pass messages to the System Log Daemon. We do not install it
|
---|
59 | because Util-linux installs a better version later.</para></listitem>
|
---|
60 | </varlistentry>
|
---|
61 |
|
---|
62 | <varlistentry>
|
---|
63 | <term><parameter>--disable-syslogd</parameter></term>
|
---|
64 | <listitem><para>This option
|
---|
65 | prevents Inetutils from installing the System Log Daemon, which is
|
---|
66 | installed with the Sysklogd package.</para></listitem>
|
---|
67 | </varlistentry>
|
---|
68 |
|
---|
69 | <varlistentry>
|
---|
70 | <term><parameter>--disable-whois</parameter></term>
|
---|
71 | <listitem><para>This option disables
|
---|
72 | the building of the Inetutils whois client, which is woefully out of date.
|
---|
73 | Instructions for a better whois client are in the BLFS book.</para></listitem>
|
---|
74 | </varlistentry>
|
---|
75 |
|
---|
76 | <varlistentry>
|
---|
77 | <term><parameter>--disable-servers</parameter></term>
|
---|
78 | <listitem><para>This disables the
|
---|
79 | installation of the various network servers included as part of the Inetutils
|
---|
80 | package. These servers are deemed not appropriate in a basic LFS system. Some
|
---|
81 | are insecure by nature and are only considered safe on trusted networks. More
|
---|
82 | information can be found at
|
---|
83 | <uri xlink:href="&blfs-root;view/stable/basicnet/inetutils.html"/>. Note that better
|
---|
84 | replacements are available for many of these servers.</para></listitem>
|
---|
85 | </varlistentry>
|
---|
86 | </variablelist>
|
---|
87 |
|
---|
88 | <para>Compile the package:</para>
|
---|
89 |
|
---|
90 | <screen><userinput>make</userinput></screen>
|
---|
91 |
|
---|
92 | <para>Install it:</para>
|
---|
93 |
|
---|
94 | <screen><userinput>make install</userinput></screen>
|
---|
95 |
|
---|
96 | <para>Move the <command>ping</command> program to its FHS-compliant
|
---|
97 | place:</para>
|
---|
98 |
|
---|
99 | <screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
|
---|
100 |
|
---|
101 | </section>
|
---|
102 |
|
---|
103 |
|
---|
104 | <section xml:id="contents-inetutils" role="content"><info><title>Contents of Inetutils</title></info>
|
---|
105 |
|
---|
106 | <segmentedlist>
|
---|
107 | <segtitle>Installed programs</segtitle>
|
---|
108 | <seglistitem><seg>ftp, ping, rcp, rlogin, rsh, talk, telnet and tftp</seg></seglistitem>
|
---|
109 | </segmentedlist>
|
---|
110 |
|
---|
111 | <variablelist><title>Short descriptions</title>
|
---|
112 |
|
---|
113 | <varlistentry xml:id="ftp">
|
---|
114 | <term><command>ftp</command></term>
|
---|
115 | <listitem>
|
---|
116 | <indexterm zone="ch-system-inetutils ftp"><primary sortas="b-ftp">ftp</primary></indexterm>
|
---|
117 | <para>is the ARPANET file transfer program.</para>
|
---|
118 | </listitem>
|
---|
119 | </varlistentry>
|
---|
120 |
|
---|
121 | <varlistentry xml:id="ping">
|
---|
122 | <term><command>ping</command></term>
|
---|
123 | <listitem>
|
---|
124 | <indexterm zone="ch-system-inetutils ping"><primary sortas="b-ping">ping</primary></indexterm>
|
---|
125 | <para>sends echo-request packets and reports how long the replies take.</para>
|
---|
126 | </listitem>
|
---|
127 | </varlistentry>
|
---|
128 |
|
---|
129 | <varlistentry xml:id="rcp">
|
---|
130 | <term><command>rcp</command></term>
|
---|
131 | <listitem>
|
---|
132 | <indexterm zone="ch-system-inetutils rcp"><primary sortas="b-rcp">rcp</primary></indexterm>
|
---|
133 | <para>does remote file copy.</para>
|
---|
134 | </listitem>
|
---|
135 | </varlistentry>
|
---|
136 |
|
---|
137 | <varlistentry xml:id="rlogin">
|
---|
138 | <term><command>rlogin</command></term>
|
---|
139 | <listitem>
|
---|
140 | <indexterm zone="ch-system-inetutils rlogin"><primary sortas="b-rlogin">rlogin</primary></indexterm>
|
---|
141 | <para>does remote login.</para>
|
---|
142 | </listitem>
|
---|
143 | </varlistentry>
|
---|
144 |
|
---|
145 | <varlistentry xml:id="rsh">
|
---|
146 | <term><command>rsh</command></term>
|
---|
147 | <listitem>
|
---|
148 | <indexterm zone="ch-system-inetutils rsh"><primary sortas="b-rsh">rsh</primary></indexterm>
|
---|
149 | <para>runs a remote shell.</para>
|
---|
150 | </listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | <varlistentry xml:id="talk">
|
---|
154 | <term><command>talk</command></term>
|
---|
155 | <listitem>
|
---|
156 | <indexterm zone="ch-system-inetutils talk"><primary sortas="b-talk">talk</primary></indexterm>
|
---|
157 | <para>is used to chat up another user.</para>
|
---|
158 | </listitem>
|
---|
159 | </varlistentry>
|
---|
160 |
|
---|
161 | <varlistentry xml:id="telnet">
|
---|
162 | <term><command>telnet</command></term>
|
---|
163 | <listitem>
|
---|
164 | <indexterm zone="ch-system-inetutils telnet"><primary sortas="b-telnet">telnet</primary></indexterm>
|
---|
165 | <para>is an interface to the TELNET protocol.</para>
|
---|
166 | </listitem>
|
---|
167 | </varlistentry>
|
---|
168 |
|
---|
169 | <varlistentry xml:id="tftp">
|
---|
170 | <term><command>tftp</command></term>
|
---|
171 | <listitem>
|
---|
172 | <indexterm zone="ch-system-inetutils tftp"><primary sortas="b-tftp">tftp</primary></indexterm>
|
---|
173 | <para>is a trivial file transfer program.</para>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 | </variablelist>
|
---|
177 |
|
---|
178 | </section>
|
---|
179 |
|
---|
180 | </section>
|
---|