[0b6cb04] | 1 | <sect2><title> </title><para> </para></sect2>
|
---|
| 2 |
|
---|
| 3 | <sect2>
|
---|
| 4 | <title>Installation of Inetutils</title>
|
---|
| 5 |
|
---|
[89fcc34] | 6 | <para>Prepare Inetutils for compilation:</para>
|
---|
[0b6cb04] | 7 |
|
---|
| 8 | <para><screen><userinput>./configure --prefix=/usr --disable-syslogd \
|
---|
[cfd08b4] | 9 | --libexecdir=/usr/sbin --disable-logger \
|
---|
[2b9f751] | 10 | --sysconfdir=/etc --localstatedir=/var \
|
---|
| 11 | --disable-whois --disable-servers
|
---|
[cfd08b4] | 12 | </userinput></screen></para>
|
---|
[0b6cb04] | 13 |
|
---|
[087e584] | 14 | <para>The meaning of the configure options:</para>
|
---|
[0b6cb04] | 15 |
|
---|
| 16 | <itemizedlist>
|
---|
| 17 | <listitem><para><userinput>--disable-syslogd</userinput>: This option
|
---|
| 18 | prevents inetutils from installing the System Log Daemon, which is
|
---|
| 19 | installed with the Sysklogd package.</para></listitem>
|
---|
| 20 |
|
---|
| 21 | <listitem><para><userinput>--disable-logger</userinput>: This option
|
---|
| 22 | prevents inetutils from installing the logger program, which is used by
|
---|
| 23 | scripts to pass messages to the System Log Daemon. We do not install it
|
---|
| 24 | because Util-linux installs a better version later.</para></listitem>
|
---|
[cfd08b4] | 25 |
|
---|
| 26 | <listitem><para><userinput>--sysconfdir=/etc</userinput>: This option
|
---|
| 27 | tells the binaries created by the package to look in /etc for their
|
---|
| 28 | configuration files</para></listitem>
|
---|
[2b9f751] | 29 |
|
---|
| 30 | <listitem><para><userinput>--disable-whois</userinput>: This option disables
|
---|
| 31 | the building of the inetutils whois client, which is woefully out of date.
|
---|
| 32 | Instructions for a better whois client are in the BLFS book.</para></listitem>
|
---|
| 33 |
|
---|
| 34 | <listitem><para><userinput>--disable-servers</userinput>: This disables the
|
---|
| 35 | compilation of the various server utilities included as part of the Inetutils
|
---|
| 36 | package. Many of these have known security vulnerabilities, and for most there
|
---|
| 37 | are better replacements.</para></listitem>
|
---|
[0b6cb04] | 38 | </itemizedlist>
|
---|
| 39 |
|
---|
[89fcc34] | 40 | <para>Compile the package:</para>
|
---|
[0b6cb04] | 41 |
|
---|
| 42 | <para><screen><userinput>make</userinput></screen></para>
|
---|
| 43 |
|
---|
[89fcc34] | 44 | <para>Install it:</para>
|
---|
[0b6cb04] | 45 |
|
---|
| 46 | <para><screen><userinput>make install</userinput></screen></para>
|
---|
| 47 |
|
---|
[89fcc34] | 48 | <para>And move the <userinput>ping</userinput> program to its proper place:</para>
|
---|
[cfd08b4] | 49 |
|
---|
| 50 | <para><screen><userinput>mv /usr/bin/ping /bin</userinput></screen></para>
|
---|
| 51 |
|
---|
[0b6cb04] | 52 | </sect2>
|
---|
| 53 |
|
---|