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