1 | <sect1 id="ch-system-inetutils" xreflabel="Inetutils">
|
---|
2 | <title>Installing Inetutils-&inetutils-version;</title>
|
---|
3 | <?dbhtml filename="inetutils.html" dir="chapter06"?>
|
---|
4 |
|
---|
5 | <para>The Inetutils package contains programs for basic networking.</para>
|
---|
6 |
|
---|
7 | <screen>&buildtime; &inetutils-time;
|
---|
8 | &diskspace; &inetutils-compsize;</screen>
|
---|
9 |
|
---|
10 | &aa-inetutils-down;
|
---|
11 | &aa-inetutils-dep;
|
---|
12 |
|
---|
13 | <sect2><title> </title><para> </para></sect2>
|
---|
14 |
|
---|
15 | <sect2>
|
---|
16 | <title>Installation of Inetutils</title>
|
---|
17 |
|
---|
18 | <para>We are not going to install all the programs that come with Inetutils.
|
---|
19 | However, the Inetutils build system will insist on installing all the man
|
---|
20 | pages anyway. The following patch will correct this situation:</para>
|
---|
21 |
|
---|
22 | <screen><userinput>patch -Np1 -i ../&inetutils-no-server-man-pages-patch;</userinput></screen>
|
---|
23 |
|
---|
24 | <para>Now prepare Inetutils for compilation:</para>
|
---|
25 |
|
---|
26 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
27 | --sysconfdir=/etc --localstatedir=/var \
|
---|
28 | --disable-logger --disable-syslogd \
|
---|
29 | --disable-whois --disable-servers</userinput></screen>
|
---|
30 |
|
---|
31 | <para>The meaning of the configure options:</para>
|
---|
32 |
|
---|
33 | <itemizedlist>
|
---|
34 | <listitem><para><userinput>--disable-logger</userinput>: This option
|
---|
35 | prevents Inetutils from installing the logger program, which is used by
|
---|
36 | scripts to pass messages to the System Log Daemon. We do not install it
|
---|
37 | because Util-linux installs a better version later.</para></listitem>
|
---|
38 |
|
---|
39 | <listitem><para><userinput>--disable-syslogd</userinput>: This option
|
---|
40 | prevents Inetutils from installing the System Log Daemon, which is
|
---|
41 | installed with the Sysklogd package.</para></listitem>
|
---|
42 |
|
---|
43 | <listitem><para><userinput>--disable-whois</userinput>: This option disables
|
---|
44 | the building of the Inetutils whois client, which is woefully out of date.
|
---|
45 | Instructions for a better whois client are in the BLFS book.</para></listitem>
|
---|
46 |
|
---|
47 | <listitem><para><userinput>--disable-servers</userinput>: This disables the
|
---|
48 | installation of the various network servers included as part of the Inetutils
|
---|
49 | package. These servers are deemed not appropriate in a basic LFS system. Some
|
---|
50 | are insecure by nature and are only considered safe on trusted networks. More
|
---|
51 | information can be found at
|
---|
52 | <ulink url="&blfs-root;view/stable/basicnet/inetutils.html"/>. Note that better
|
---|
53 | replacements are available for many of these servers.</para></listitem>
|
---|
54 | </itemizedlist>
|
---|
55 |
|
---|
56 | <para>Compile the package:</para>
|
---|
57 |
|
---|
58 | <screen><userinput>make</userinput></screen>
|
---|
59 |
|
---|
60 | <para>Install it:</para>
|
---|
61 |
|
---|
62 | <screen><userinput>make install</userinput></screen>
|
---|
63 |
|
---|
64 | <para>And move the <command>ping</command> program to its FHS-compliant
|
---|
65 | place:</para>
|
---|
66 |
|
---|
67 | <screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | &aa-inetutils-shortdesc;
|
---|
72 | &aa-inetutils-desc;
|
---|
73 |
|
---|
74 | </sect1>
|
---|
75 |
|
---|