[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">
|
---|
[3e36a78] | 4 | <!ENTITY % patches-entities SYSTEM "../patches.ent">
|
---|
[673b0d8] | 5 | %general-entities;
|
---|
[3e36a78] | 6 | %patches-entities;
|
---|
[673b0d8] | 7 | ]>
|
---|
[81fd230] | 8 | <sect1 id="ch-system-inetutils" role="wrap">
|
---|
[673b0d8] | 9 | <title>Inetutils-&inetutils-version;</title>
|
---|
| 10 | <?dbhtml filename="inetutils.html"?>
|
---|
| 11 |
|
---|
| 12 | <indexterm zone="ch-system-inetutils"><primary sortas="a-Inetutils">Inetutils</primary></indexterm>
|
---|
[0b6cb04] | 13 |
|
---|
[a001133] | 14 | <sect2 role="package"><title/>
|
---|
[81fd230] | 15 | <para>The Inetutils package contains programs for basic networking.</para>
|
---|
[5888299] | 16 |
|
---|
[a001133] | 17 | <segmentedlist>
|
---|
| 18 | <segtitle>&buildtime;</segtitle>
|
---|
| 19 | <segtitle>&diskspace;</segtitle>
|
---|
[eb6d9eb] | 20 | <seglistitem><seg>0.2 SBU</seg><seg>8.7 MB</seg></seglistitem>
|
---|
[a001133] | 21 | </segmentedlist>
|
---|
[673b0d8] | 22 |
|
---|
[81fd230] | 23 | <segmentedlist>
|
---|
[45992ae] | 24 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 25 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
| 26 | Diffutils, GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
|
---|
| 27 | </segmentedlist>
|
---|
[a001133] | 28 | </sect2>
|
---|
[cd8e54e] | 29 |
|
---|
[a001133] | 30 | <sect2 role="installation">
|
---|
[73aedd1d] | 31 | <title>Installation of Inetutils</title>
|
---|
| 32 |
|
---|
[2e02c35] | 33 | <para>Apply a patch to Inetutils to enable it to compile with GCC-&gcc-version;:</para>
|
---|
| 34 |
|
---|
| 35 | <screen><userinput>patch -Np1 -i ../&inetutils-gcc4_fixes-patch;</userinput></screen>
|
---|
| 36 |
|
---|
[81fd230] | 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>
|
---|
[2ad19ed] | 41 |
|
---|
[3e36a78] | 42 | <screen><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
|
---|
[2ad19ed] | 43 |
|
---|
[81fd230] | 44 | <para>Prepare Inetutils for compilation:</para>
|
---|
[73aedd1d] | 45 |
|
---|
[f4993cf] | 46 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
[673b0d8] | 47 | --sysconfdir=/etc --localstatedir=/var \
|
---|
| 48 | --disable-logger --disable-syslogd \
|
---|
| 49 | --disable-whois --disable-servers</userinput></screen>
|
---|
[73aedd1d] | 50 |
|
---|
[81fd230] | 51 | <para>The meaning of the configure options:</para>
|
---|
| 52 |
|
---|
| 53 | <variablelist>
|
---|
| 54 | <varlistentry>
|
---|
| 55 | <term><parameter>--disable-logger</parameter></term>
|
---|
| 56 | <listitem><para>This option
|
---|
| 57 | prevents Inetutils from installing the <command>logger</command> program, which is used by
|
---|
| 58 | scripts to pass messages to the System Log Daemon. Do not install it
|
---|
| 59 | because Util-linux installs a better version later.</para></listitem>
|
---|
| 60 | </varlistentry>
|
---|
| 61 |
|
---|
| 62 | <varlistentry>
|
---|
| 63 | <term><parameter>--disable-syslogd</parameter></term>
|
---|
| 64 | <listitem><para>This option
|
---|
| 65 | prevents Inetutils from installing the System Log Daemon, which is
|
---|
| 66 | installed with the Sysklogd package.</para></listitem>
|
---|
| 67 | </varlistentry>
|
---|
| 68 |
|
---|
| 69 | <varlistentry>
|
---|
| 70 | <term><parameter>--disable-whois</parameter></term>
|
---|
| 71 | <listitem><para>This option disables
|
---|
| 72 | the building of the Inetutils <command>whois</command> client, which is out of date.
|
---|
| 73 | Instructions for a better <command>whois</command> client are in the BLFS book.</para></listitem>
|
---|
| 74 | </varlistentry>
|
---|
| 75 |
|
---|
| 76 | <varlistentry>
|
---|
| 77 | <term><parameter>--disable-servers</parameter></term>
|
---|
| 78 | <listitem><para>This disables the installation of the various network
|
---|
| 79 | servers included as part of the Inetutils package. These servers are
|
---|
| 80 | deemed not appropriate in a basic LFS system. Some are insecure by
|
---|
| 81 | nature and are only considered safe on trusted networks. More
|
---|
[845846e0] | 82 | information can be found at <ulink
|
---|
| 83 | url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that
|
---|
[81fd230] | 84 | better replacements are available for many of these
|
---|
| 85 | servers.</para></listitem>
|
---|
| 86 | </varlistentry>
|
---|
| 87 | </variablelist>
|
---|
| 88 |
|
---|
[73aedd1d] | 89 | <para>Compile the package:</para>
|
---|
| 90 |
|
---|
| 91 | <screen><userinput>make</userinput></screen>
|
---|
| 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 |
|
---|