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