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> and <command>ping6</command> |
---|
96 | program to its FHS-compliant place:</para> |
---|
97 | |
---|
98 | <screen os="i"><userinput>mv -v ${CLFS}/usr/bin/ping{,6} ${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, ifconfig, ping, ping6, 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="ifconfig"> |
---|
129 | <term><command>ifconfig</command></term> |
---|
130 | <listitem> |
---|
131 | <para>Utility for configuring network interfaces</para> |
---|
132 | <indexterm zone="ch-system-inetutils ifconfig"> |
---|
133 | <primary sortas="b-ifconfig">ifconfig</primary> |
---|
134 | </indexterm> |
---|
135 | </listitem> |
---|
136 | </varlistentry> |
---|
137 | |
---|
138 | <varlistentry id="ping"> |
---|
139 | <term><command>ping</command></term> |
---|
140 | <listitem> |
---|
141 | <para>Sends echo-request packets and reports how long the replies |
---|
142 | take</para> |
---|
143 | <indexterm zone="ch-system-inetutils ping"> |
---|
144 | <primary sortas="b-ping">ping</primary> |
---|
145 | </indexterm> |
---|
146 | </listitem> |
---|
147 | </varlistentry> |
---|
148 | |
---|
149 | <varlistentry id="ping6"> |
---|
150 | <term><command>ping6</command></term> |
---|
151 | <listitem> |
---|
152 | <para>Sends echo-request packets and reports how long the replies |
---|
153 | take this is the IPV6 version</para> |
---|
154 | <indexterm zone="ch-system-inetutils ping6"> |
---|
155 | <primary sortas="b-ping6">ping6</primary> |
---|
156 | </indexterm> |
---|
157 | </listitem> |
---|
158 | </varlistentry> |
---|
159 | |
---|
160 | <varlistentry id="rcp"> |
---|
161 | <term><command>rcp</command></term> |
---|
162 | <listitem> |
---|
163 | <para>Performs remote file copy</para> |
---|
164 | <indexterm zone="ch-system-inetutils rcp"> |
---|
165 | <primary sortas="b-rcp">rcp</primary> |
---|
166 | </indexterm> |
---|
167 | </listitem> |
---|
168 | </varlistentry> |
---|
169 | |
---|
170 | <varlistentry id="rlogin"> |
---|
171 | <term><command>rlogin</command></term> |
---|
172 | <listitem> |
---|
173 | <para>Performs remote login</para> |
---|
174 | <indexterm zone="ch-system-inetutils rlogin"> |
---|
175 | <primary sortas="b-rlogin">rlogin</primary> |
---|
176 | </indexterm> |
---|
177 | </listitem> |
---|
178 | </varlistentry> |
---|
179 | |
---|
180 | <varlistentry id="rsh"> |
---|
181 | <term><command>rsh</command></term> |
---|
182 | <listitem> |
---|
183 | <para>Runs a remote shell</para> |
---|
184 | <indexterm zone="ch-system-inetutils rsh"> |
---|
185 | <primary sortas="b-rsh">rsh</primary> |
---|
186 | </indexterm> |
---|
187 | </listitem> |
---|
188 | </varlistentry> |
---|
189 | |
---|
190 | <varlistentry id="talk"> |
---|
191 | <term><command>talk</command></term> |
---|
192 | <listitem> |
---|
193 | <para>Is used to chat with another user</para> |
---|
194 | <indexterm zone="ch-system-inetutils talk"> |
---|
195 | <primary sortas="b-talk">talk</primary> |
---|
196 | </indexterm> |
---|
197 | </listitem> |
---|
198 | </varlistentry> |
---|
199 | |
---|
200 | <varlistentry id="telnet"> |
---|
201 | <term><command>telnet</command></term> |
---|
202 | <listitem> |
---|
203 | <para>An interface to the TELNET protocol</para> |
---|
204 | <indexterm zone="ch-system-inetutils telnet"> |
---|
205 | <primary sortas="b-telnet">telnet</primary> |
---|
206 | </indexterm> |
---|
207 | </listitem> |
---|
208 | </varlistentry> |
---|
209 | |
---|
210 | <varlistentry id="tftp"> |
---|
211 | <term><command>tftp</command></term> |
---|
212 | <listitem> |
---|
213 | <para>A trivial file transfer program</para> |
---|
214 | <indexterm zone="ch-system-inetutils tftp"> |
---|
215 | <primary sortas="b-tftp">tftp</primary> |
---|
216 | </indexterm> |
---|
217 | </listitem> |
---|
218 | </varlistentry> |
---|
219 | |
---|
220 | </variablelist> |
---|
221 | |
---|
222 | </sect2> |
---|
223 | |
---|
224 | </sect1> |
---|