inetutils.xml 7.1 KB

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