inetutils.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. <indexterm zone="ch-system-inetutils"><primary sortas="a-Inetutils">Inetutils</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <para>The Inetutils package contains programs for basic networking.</para>
  12. <segmentedlist>
  13. <segtitle>&buildtime;</segtitle>
  14. <segtitle>&diskspace;</segtitle>
  15. <seglistitem><seg>0.2 SBU</seg><seg>11 MB</seg></seglistitem>
  16. </segmentedlist>
  17. <segmentedlist>
  18. <segtitle>Inetutils installation depends on</segtitle>
  19. <seglistitem><seg>Bash, Binutils, Coreutils,
  20. Diffutils, GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
  21. </segmentedlist>
  22. </sect2>
  23. <sect2 role="installation">
  24. <title>Installation of Inetutils</title>
  25. <para>Inetutils has issues with the Linux 2.6 kernel series. Fix these
  26. issues by applying the following patch:</para>
  27. <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel_headers-1.patch</userinput></screen>
  28. <para>All programs that come with Inetutils will not be installed.
  29. However, the Inetutils build system will insist on installing all the
  30. man pages anyway. The following patch will correct this
  31. situation:</para>
  32. <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-no_server_man_pages-1.patch</userinput></screen>
  33. <para>Prepare Inetutils for compilation:</para>
  34. <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
  35. --sysconfdir=/etc --localstatedir=/var \
  36. --disable-logger --disable-syslogd \
  37. --disable-whois --disable-servers</userinput></screen>
  38. <para>The meaning of the configure options:</para>
  39. <variablelist>
  40. <varlistentry>
  41. <term><parameter>--disable-logger</parameter></term>
  42. <listitem><para>This option
  43. prevents Inetutils from installing the <command>logger</command> program, which is used by
  44. scripts to pass messages to the System Log Daemon. Do not install it
  45. because Util-linux installs a better version later.</para></listitem>
  46. </varlistentry>
  47. <varlistentry>
  48. <term><parameter>--disable-syslogd</parameter></term>
  49. <listitem><para>This option
  50. prevents Inetutils from installing the System Log Daemon, which is
  51. installed with the Sysklogd package.</para></listitem>
  52. </varlistentry>
  53. <varlistentry>
  54. <term><parameter>--disable-whois</parameter></term>
  55. <listitem><para>This option disables
  56. the building of the Inetutils <command>whois</command> client, which is out of date.
  57. Instructions for a better <command>whois</command> client are in the BLFS book.</para></listitem>
  58. </varlistentry>
  59. <varlistentry>
  60. <term><parameter>--disable-servers</parameter></term>
  61. <listitem><para>This disables the installation of the various network
  62. servers included as part of the Inetutils package. These servers are
  63. deemed not appropriate in a basic LFS system. Some are insecure by
  64. nature and are only considered safe on trusted networks. More
  65. information can be found at <ulink
  66. url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that
  67. better replacements are available for many of these
  68. servers.</para></listitem>
  69. </varlistentry>
  70. </variablelist>
  71. <para>Compile the package:</para>
  72. <screen><userinput>make</userinput></screen>
  73. <para>Install the package:</para>
  74. <screen><userinput>make install</userinput></screen>
  75. <para>Move the <command>ping</command> program to its FHS-compliant
  76. place:</para>
  77. <screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
  78. </sect2>
  79. <sect2 id="contents-inetutils" role="content"><title>Contents of Inetutils</title>
  80. <segmentedlist>
  81. <segtitle>Installed programs</segtitle>
  82. <seglistitem><seg>ftp, ping, rcp, rlogin, rsh, talk, telnet, and tftp</seg></seglistitem>
  83. </segmentedlist>
  84. <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
  85. <?dbfo list-presentation="list"?>
  86. <varlistentry id="ftp">
  87. <term><command>ftp</command></term>
  88. <listitem>
  89. <para>Is the file transfer protocol program</para>
  90. <indexterm zone="ch-system-inetutils ftp"><primary sortas="b-ftp">ftp</primary></indexterm>
  91. </listitem>
  92. </varlistentry>
  93. <varlistentry id="ping">
  94. <term><command>ping</command></term>
  95. <listitem>
  96. <para>Sends echo-request packets and reports how long the replies take</para>
  97. <indexterm zone="ch-system-inetutils ping"><primary sortas="b-ping">ping</primary></indexterm>
  98. </listitem>
  99. </varlistentry>
  100. <varlistentry id="rcp">
  101. <term><command>rcp</command></term>
  102. <listitem>
  103. <para>Performs remote file copy</para>
  104. <indexterm zone="ch-system-inetutils rcp"><primary sortas="b-rcp">rcp</primary></indexterm>
  105. </listitem>
  106. </varlistentry>
  107. <varlistentry id="rlogin">
  108. <term><command>rlogin</command></term>
  109. <listitem>
  110. <para>Performs remote login</para>
  111. <indexterm zone="ch-system-inetutils rlogin"><primary sortas="b-rlogin">rlogin</primary></indexterm>
  112. </listitem>
  113. </varlistentry>
  114. <varlistentry id="rsh">
  115. <term><command>rsh</command></term>
  116. <listitem>
  117. <para>Runs a remote shell</para>
  118. <indexterm zone="ch-system-inetutils rsh"><primary sortas="b-rsh">rsh</primary></indexterm>
  119. </listitem>
  120. </varlistentry>
  121. <varlistentry id="talk">
  122. <term><command>talk</command></term>
  123. <listitem>
  124. <para>Is used to chat with another user</para>
  125. <indexterm zone="ch-system-inetutils talk"><primary sortas="b-talk">talk</primary></indexterm>
  126. </listitem>
  127. </varlistentry>
  128. <varlistentry id="telnet">
  129. <term><command>telnet</command></term>
  130. <listitem>
  131. <para>An interface to the TELNET protocol</para>
  132. <indexterm zone="ch-system-inetutils telnet"><primary sortas="b-telnet">telnet</primary></indexterm>
  133. </listitem>
  134. </varlistentry>
  135. <varlistentry id="tftp">
  136. <term><command>tftp</command></term>
  137. <listitem>
  138. <para>A trivial file transfer program</para>
  139. <indexterm zone="ch-system-inetutils tftp"><primary sortas="b-tftp">tftp</primary></indexterm>
  140. </listitem>
  141. </varlistentry>
  142. </variablelist>
  143. </sect2>
  144. </sect1>