inetutils.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/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. <sect1info condition="script">
  10. <productname>inetutils</productname>
  11. <productnumber>&inetutils-version;</productnumber>
  12. <address>&inetutils-url;</address>
  13. </sect1info>
  14. <title>Inetutils-&inetutils-version;</title>
  15. <indexterm zone="ch-system-inetutils">
  16. <primary sortas="a-Inetutils">Inetutils</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Inetutils package contains programs for basic networking.</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&inetutils-ch6-sbu;</seg>
  26. <seg>&inetutils-ch6-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>Installation of Inetutils</title>
  32. <para>All programs that come with Inetutils will not be installed.
  33. However, the Inetutils build system will insist on installing all the
  34. man pages anyway. The following patch will correct this
  35. situation:</para>
  36. <screen><userinput remap="pre">patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
  37. <para>Inetutils has a minor issue with GCC-&gcc-version;. Fix it by
  38. issuing the following command:</para>
  39. <screen><userinput remap="pre">sed -i 's@&lt;sys/types.h&gt;@&lt;sys/types.h&gt;\n#include &lt;stdlib.h&gt;@' \
  40. libicmp/icmp_timestamp.c</userinput></screen>
  41. <para>Prepare Inetutils for compilation:</para>
  42. <screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/sbin \
  43. --sysconfdir=/etc --localstatedir=/var \
  44. --disable-ifconfig --disable-logger --disable-syslogd \
  45. --disable-whois --disable-servers</userinput></screen>
  46. <variablelist>
  47. <title>The meaning of the configure options:</title>
  48. <varlistentry>
  49. <term><parameter>--disable-ifconfig</parameter></term>
  50. <listitem>
  51. <para>This option prevents Inetutils from installing the
  52. <command>ifconfig</command> program, which can be used to configure network
  53. interfaces. LFS uses <command>ip</command> from IPRoute2 to perform
  54. this task.</para>
  55. </listitem>
  56. </varlistentry>
  57. <varlistentry>
  58. <term><parameter>--disable-logger</parameter></term>
  59. <listitem>
  60. <para>This option prevents Inetutils from installing the
  61. <command>logger</command> program, which is used by scripts to
  62. pass messages to the System Log Daemon. Do not install it because
  63. Util-linux installs a better version later.</para>
  64. </listitem>
  65. </varlistentry>
  66. <varlistentry>
  67. <term><parameter>--disable-syslogd</parameter></term>
  68. <listitem>
  69. <para>This option prevents Inetutils from installing the System Log
  70. Daemon, which is installed with the Sysklogd package.</para>
  71. </listitem>
  72. </varlistentry>
  73. <varlistentry>
  74. <term><parameter>--disable-whois</parameter></term>
  75. <listitem>
  76. <para>This option disables the building of the Inetutils
  77. <command>whois</command> client, which is out of date. Instructions for
  78. a better <command>whois</command> client are in the BLFS book.</para>
  79. </listitem>
  80. </varlistentry>
  81. <varlistentry>
  82. <term><parameter>--disable-servers</parameter></term>
  83. <listitem>
  84. <para>This disables the installation of the various network servers
  85. included as part of the Inetutils package. These servers are deemed not
  86. appropriate in a basic LFS system. Some are insecure by nature and are
  87. only considered safe on trusted networks. More information can be found
  88. at <ulink url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that
  89. better replacements are available for many of these servers.</para>
  90. </listitem>
  91. </varlistentry>
  92. </variablelist>
  93. <para>Compile the package:</para>
  94. <screen><userinput remap="make">make</userinput></screen>
  95. <para>This package does not come with a test suite.</para>
  96. <para>Install the package:</para>
  97. <screen><userinput remap="install">make install</userinput></screen>
  98. <para>Move the <command>ping</command> program to its FHS-compliant
  99. place:</para>
  100. <screen><userinput remap="install">mv -v /usr/bin/ping /bin</userinput></screen>
  101. </sect2>
  102. <sect2 id="contents-inetutils" role="content">
  103. <title>Contents of Inetutils</title>
  104. <segmentedlist>
  105. <segtitle>Installed programs</segtitle>
  106. <seglistitem>
  107. <seg>ftp, ping, ping6, rcp, rlogin, rsh, talk, telnet, and tftp</seg>
  108. </seglistitem>
  109. </segmentedlist>
  110. <variablelist>
  111. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  112. <?dbfo list-presentation="list"?>
  113. <?dbhtml list-presentation="table"?>
  114. <varlistentry id="ftp">
  115. <term><command>ftp</command></term>
  116. <listitem>
  117. <para>Is the file transfer protocol program</para>
  118. <indexterm zone="ch-system-inetutils ftp">
  119. <primary sortas="b-ftp">ftp</primary>
  120. </indexterm>
  121. </listitem>
  122. </varlistentry>
  123. <varlistentry id="ping">
  124. <term><command>ping</command></term>
  125. <listitem>
  126. <para>Sends echo-request packets and reports how long the replies
  127. take</para>
  128. <indexterm zone="ch-system-inetutils ping">
  129. <primary sortas="b-ping">ping</primary>
  130. </indexterm>
  131. </listitem>
  132. </varlistentry>
  133. <varlistentry id="ping6">
  134. <term><command>ping6</command></term>
  135. <listitem>
  136. <para>A version of <command>ping</command> for IPv6 networks</para>
  137. <indexterm zone="ch-system-inetutils ping6">
  138. <primary sortas="b-ping6">ping6</primary>
  139. </indexterm>
  140. </listitem>
  141. </varlistentry>
  142. <varlistentry id="rcp">
  143. <term><command>rcp</command></term>
  144. <listitem>
  145. <para>Performs remote file copy</para>
  146. <indexterm zone="ch-system-inetutils rcp">
  147. <primary sortas="b-rcp">rcp</primary>
  148. </indexterm>
  149. </listitem>
  150. </varlistentry>
  151. <varlistentry id="rlogin">
  152. <term><command>rlogin</command></term>
  153. <listitem>
  154. <para>Performs remote login</para>
  155. <indexterm zone="ch-system-inetutils rlogin">
  156. <primary sortas="b-rlogin">rlogin</primary>
  157. </indexterm>
  158. </listitem>
  159. </varlistentry>
  160. <varlistentry id="rsh">
  161. <term><command>rsh</command></term>
  162. <listitem>
  163. <para>Runs a remote shell</para>
  164. <indexterm zone="ch-system-inetutils rsh">
  165. <primary sortas="b-rsh">rsh</primary>
  166. </indexterm>
  167. </listitem>
  168. </varlistentry>
  169. <varlistentry id="talk">
  170. <term><command>talk</command></term>
  171. <listitem>
  172. <para>Is used to chat with another user</para>
  173. <indexterm zone="ch-system-inetutils talk">
  174. <primary sortas="b-talk">talk</primary>
  175. </indexterm>
  176. </listitem>
  177. </varlistentry>
  178. <varlistentry id="telnet">
  179. <term><command>telnet</command></term>
  180. <listitem>
  181. <para>An interface to the TELNET protocol</para>
  182. <indexterm zone="ch-system-inetutils telnet">
  183. <primary sortas="b-telnet">telnet</primary>
  184. </indexterm>
  185. </listitem>
  186. </varlistentry>
  187. <varlistentry id="tftp">
  188. <term><command>tftp</command></term>
  189. <listitem>
  190. <para>A trivial file transfer program</para>
  191. <indexterm zone="ch-system-inetutils tftp">
  192. <primary sortas="b-tftp">tftp</primary>
  193. </indexterm>
  194. </listitem>
  195. </varlistentry>
  196. </variablelist>
  197. </sect2>
  198. </sect1>