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