[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[d47e7ea9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY inetutils-download-http "http://gd.tuwien.ac.at/gnu/gnusrc/inetutils/inetutils-&inetutils-version;.tar.gz">
|
---|
| 8 | <!ENTITY inetutils-download-ftp "ftp://ftp.gnu.org/gnu/inetutils/inetutils-&inetutils-version;.tar.gz">
|
---|
[f5c298a] | 9 | <!ENTITY inetutils-md5sum "ad8fdcdf1797b9ca258264a6b04e48fd">
|
---|
| 10 | <!ENTITY inetutils-size "1.8 MB">
|
---|
| 11 | <!ENTITY inetutils-buildsize "20 MB">
|
---|
| 12 | <!ENTITY inetutils-time "0.5 SBU">
|
---|
[d47e7ea9] | 13 | ]>
|
---|
| 14 |
|
---|
[19234f1] | 15 | <sect1 id="inetutils" xreflabel="Inetutils-&inetutils-version;">
|
---|
[7824719] | 16 | <?dbhtml filename="inetutils.html"?>
|
---|
[bab92281] | 17 |
|
---|
[7824719] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Inetutils-&inetutils-version;</title>
|
---|
[bab92281] | 24 |
|
---|
[7824719] | 25 | <indexterm zone="inetutils">
|
---|
| 26 | <primary sortas="a-Inetutils">Inetutils</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Inetutils</title>
|
---|
| 31 |
|
---|
[17e6d48] | 32 | <para>The <application>Inetutils</application> package contains network
|
---|
[f5c298a] | 33 | clients and servers. If you are building on an LFS platform, this package
|
---|
| 34 | was installed during LFS and only the clients (telnet, ftp, etc.) were
|
---|
| 35 | installed. These instructions allow you to install the server programs.
|
---|
| 36 | Note that most of the <application>Inetutils</application> servers are
|
---|
| 37 | insecure and should only be used on trusted networks.</para>
|
---|
[bab92281] | 38 |
|
---|
[f5c298a] | 39 | <para>&lfssvn_checked;20101029&lfssvn_checked2;</para>
|
---|
[e87e12fb] | 40 |
|
---|
[7824719] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&inetutils-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&inetutils-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &inetutils-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &inetutils-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &inetutils-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[2174baa] | 59 | <para>Estimated build time: &inetutils-time;</para>
|
---|
| 60 | </listitem>
|
---|
[7824719] | 61 | </itemizedlist>
|
---|
[bab92281] | 62 |
|
---|
[0263a51] | 63 | <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[7824719] | 64 | <itemizedlist spacing='compact'>
|
---|
| 65 | <listitem>
|
---|
[17e6d48] | 66 | <para>Required Patch: <ulink
|
---|
[70dfc83] | 67 | url="&patch-root;/inetutils-&inetutils-version;-gcc4_fixes-3.patch"/></para>
|
---|
[7824719] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[17e6d48] | 70 | <para>Required Patch: <ulink
|
---|
[7824719] | 71 | url="&patch-root;/inetutils-&inetutils-version;-daemon_fixes-1.patch"/></para>
|
---|
| 72 | </listitem>
|
---|
[0263a51] | 73 | </itemizedlist> -->
|
---|
[bab92281] | 74 |
|
---|
[7824719] | 75 | <bridgehead renderas="sect3">Inetutils Dependencies</bridgehead>
|
---|
[bab92281] | 76 |
|
---|
[7824719] | 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4dbbf634] | 78 | <para role="optional"><xref linkend="linux-pam"/>,
|
---|
[17e6d48] | 79 | <xref linkend="tcpwrappers"/>,
|
---|
| 80 | <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>, and
|
---|
[7824719] | 81 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/></para>
|
---|
| 82 |
|
---|
[061ec9d] | 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/inetutils"/></para>
|
---|
| 85 |
|
---|
[7824719] | 86 | </sect2>
|
---|
[bab92281] | 87 |
|
---|
[7824719] | 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of Inetutils</title>
|
---|
| 90 |
|
---|
[e87e12fb] | 91 | <!-- <para>Add a required include statement because it's missed there and gcc
|
---|
[b834dfc7] | 92 | complains about undefined NULL:</para>
|
---|
| 93 |
|
---|
| 94 | <screen><userinput>sed -i "1i\#include <stdlib.h>" libicmp/icmp_timestamp.c</userinput></screen>
|
---|
[e87e12fb] | 95 | -->
|
---|
[b834dfc7] | 96 |
|
---|
[17e6d48] | 97 | <para>Install <application>Inetutils</application> by running the following
|
---|
[7824719] | 98 | commands:</para>
|
---|
| 99 |
|
---|
[f5c298a] | 100 | <screen><userinput>./configure --prefix=/usr \
|
---|
[0263a51] | 101 | --libexecdir=/usr/sbin \
|
---|
[f5c298a] | 102 | --sysconfdir=/etc \
|
---|
| 103 | --localstatedir=/var \
|
---|
| 104 | --disable-logger \
|
---|
| 105 | --disable-syslogd \
|
---|
| 106 | --disable-whois \
|
---|
| 107 | --disable-ifconfig \
|
---|
| 108 | --disable-hostname \
|
---|
| 109 | --disable-clients &&
|
---|
[7824719] | 110 | make</userinput></screen>
|
---|
[bab92281] | 111 |
|
---|
[f5c298a] | 112 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[339fbfb9] | 113 |
|
---|
[7824719] | 114 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 115 |
|
---|
[8c60de56] | 116 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[7824719] | 117 |
|
---|
| 118 | </sect2>
|
---|
[bab92281] | 119 |
|
---|
[7824719] | 120 | <sect2 role="commands">
|
---|
| 121 | <title>Command Explanations</title>
|
---|
| 122 |
|
---|
| 123 | <para><parameter>--disable-logger</parameter>: This switch prevents
|
---|
[bab92281] | 124 | <application>Inetutils</application> installing a <command>logger</command>
|
---|
[339fbfb9] | 125 | program, which is installed in the LFS book.</para>
|
---|
[bab92281] | 126 |
|
---|
[7824719] | 127 | <para><parameter>--disable-syslogd</parameter>: This switch prevents
|
---|
[339fbfb9] | 128 | <application>Inetutils</application> installing a system log daemon, which is
|
---|
| 129 | installed in the LFS book.</para>
|
---|
[bab92281] | 130 |
|
---|
[f5c298a] | 131 | <para><option>--disable-whois</option>: This switch prevents
|
---|
[17e6d48] | 132 | <application>Inetutils</application> installing an outdated
|
---|
| 133 | <command>whois</command> client. Add this option if you plan on installing
|
---|
[7824719] | 134 | <xref linkend="whois"/>.</para>
|
---|
[bab92281] | 135 |
|
---|
[f5c298a] | 136 | <para><option>--disable-ifconfig</option>: This switch prevents
|
---|
[e7ffe884] | 137 | <application>Inetutils</application> from installing an
|
---|
[0263a51] | 138 | <command>ifconfig</command> command. Use this parameter if you have
|
---|
| 139 | <application>Net-Tools</application> installed and wish to keep its version
|
---|
| 140 | of <command>ifconfig</command>.</para>
|
---|
| 141 |
|
---|
[f5c298a] | 142 | <para><option>--disable-hostname</option>: This switch prevents
|
---|
[e7ffe884] | 143 | <application>Inetutils</application> from installing a
|
---|
[e87e12fb] | 144 | <command>hostname</command> command. Use this parameter if you have
|
---|
[e7ffe884] | 145 | the version of this program supplied by the either the
|
---|
| 146 | <application>Coreutils</application> package or the
|
---|
| 147 | <application>Net-Tools</application> package and wish to keep it.</para>
|
---|
[e87e12fb] | 148 |
|
---|
[f5c298a] | 149 | <para><parameter>--disable-clients</parameter>: This switch prevents
|
---|
| 150 | <application>Inetutils</application> installing any of the client programs
|
---|
| 151 | (most of which were build during LFS) and only installs the server
|
---|
| 152 | programs.</para>
|
---|
| 153 |
|
---|
[0263a51] | 154 | <para><option>--with-wrap</option>: This switch makes
|
---|
| 155 | <application>Inetutils</application> compile against
|
---|
| 156 | <application>tcp-wrappers</application>. Add this option if you want to
|
---|
| 157 | utilize <application>tcp-wrappers</application>.</para>
|
---|
| 158 |
|
---|
[17e6d48] | 159 | <para><option>--with-pam</option>: This switch makes
|
---|
| 160 | <application>Inetutils</application> link against
|
---|
[7824719] | 161 | <application>Linux-PAM</application> libraries.
|
---|
| 162 | Add this option if you want to utilize PAM.</para>
|
---|
[bab92281] | 163 |
|
---|
[7824719] | 164 | <para><option>--disable-servers</option>: Some of the servers included with
|
---|
| 165 | <application>Inetutils</application> are insecure in nature and in some cases
|
---|
| 166 | better alternatives exist. You can choose this switch to enable only the
|
---|
| 167 | servers you need, avoiding the installation of unneeded servers.</para>
|
---|
[bab92281] | 168 |
|
---|
[7824719] | 169 | </sect2>
|
---|
[bab92281] | 170 |
|
---|
[7824719] | 171 | <sect2 role="content">
|
---|
| 172 | <title>Contents</title>
|
---|
| 173 |
|
---|
[17e6d48] | 174 | <para>A list of the installed programs not included here, along with their
|
---|
[7824719] | 175 | short descriptions can be found at
|
---|
| 176 | <ulink url="&lfs-root;/chapter06/inetutils.html#contents-inetutils"/>.</para>
|
---|
| 177 |
|
---|
| 178 | <segmentedlist>
|
---|
| 179 | <segtitle>Installed Programs</segtitle>
|
---|
| 180 | <segtitle>Installed Libraries</segtitle>
|
---|
| 181 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 182 |
|
---|
[7824719] | 183 | <seglistitem>
|
---|
[8c60de56] | 184 | <seg>ftpd, hostname, ifconfig, inetd, rexecd, rlogind, rshd,
|
---|
[e87e12fb] | 185 | talkd, telnetd, tftpd, uucpd and whois</seg>
|
---|
[7824719] | 186 | <seg>None</seg>
|
---|
| 187 | <seg>None</seg>
|
---|
| 188 | </seglistitem>
|
---|
| 189 | </segmentedlist>
|
---|
| 190 |
|
---|
| 191 | <variablelist>
|
---|
| 192 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 193 | <?dbfo list-presentation="list"?>
|
---|
| 194 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 195 |
|
---|
[7824719] | 196 | <varlistentry id="ftpd-inetutils">
|
---|
| 197 | <term><command>ftpd</command></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>is a DARPA Internet File Transfer Protocol Server.</para>
|
---|
| 200 | <indexterm zone="inetutils ftpd-inetutils">
|
---|
| 201 | <primary sortas="b-ftpd">ftpd</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
[bab92281] | 205 |
|
---|
[7824719] | 206 | <varlistentry id="inetd">
|
---|
| 207 | <term><command>inetd</command></term>
|
---|
| 208 | <listitem>
|
---|
[bab92281] | 209 | <para>is an Internet super-server. Note that the <xref linkend="xinetd"/>
|
---|
[7824719] | 210 | package provides a much better server that does the same thing.</para>
|
---|
| 211 | <indexterm zone="inetutils inetd">
|
---|
| 212 | <primary sortas="b-inetd">inetd</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
[bab92281] | 216 |
|
---|
[7824719] | 217 | <varlistentry id="rexecd-inetutils">
|
---|
| 218 | <term><command>rexecd</command></term>
|
---|
| 219 | <listitem>
|
---|
| 220 | <para>is a remote execution server.</para>
|
---|
| 221 | <indexterm zone="inetutils rexecd-inetutils">
|
---|
| 222 | <primary sortas="b-rexecd">rexecd</primary>
|
---|
| 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
[bab92281] | 226 |
|
---|
[7824719] | 227 | <varlistentry id="rlogind-inetutils">
|
---|
| 228 | <term><command>rlogind</command></term>
|
---|
| 229 | <listitem>
|
---|
| 230 | <para>is a remote login server.</para>
|
---|
| 231 | <indexterm zone="inetutils rlogind-inetutils">
|
---|
| 232 | <primary sortas="b-rlogind">rlogind</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
[bab92281] | 236 |
|
---|
[7824719] | 237 | <varlistentry id="rshd-inetutils">
|
---|
| 238 | <term><command>rshd</command></term>
|
---|
| 239 | <listitem>
|
---|
| 240 | <para>is a remote shell server.</para>
|
---|
| 241 | <indexterm zone="inetutils rshd-inetutils">
|
---|
| 242 | <primary sortas="b-rshd">rshd</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
[bab92281] | 246 |
|
---|
[7824719] | 247 | <varlistentry id="talkd">
|
---|
| 248 | <term><command>talkd</command></term>
|
---|
| 249 | <listitem>
|
---|
| 250 | <para>is a remote user communication server.</para>
|
---|
| 251 | <indexterm zone="inetutils talkd">
|
---|
| 252 | <primary sortas="b-talkd">talkd</primary>
|
---|
| 253 | </indexterm>
|
---|
| 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
[bab92281] | 256 |
|
---|
[7824719] | 257 | <varlistentry id="telnetd-inetutils">
|
---|
| 258 | <term><command>telnetd</command></term>
|
---|
| 259 | <listitem>
|
---|
| 260 | <para>is a DARPA TELNET protocol server.</para>
|
---|
| 261 | <indexterm zone="inetutils telnetd-inetutils">
|
---|
| 262 | <primary sortas="b-telnetd">telnetd</primary>
|
---|
| 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
[bab92281] | 266 |
|
---|
[7824719] | 267 | <varlistentry id="tftpd">
|
---|
| 268 | <term><command>tftpd</command></term>
|
---|
| 269 | <listitem>
|
---|
| 270 | <para>is an Internet Trivial File Transfer Protocol server.</para>
|
---|
| 271 | <indexterm zone="inetutils tftpd">
|
---|
| 272 | <primary sortas="b-tftpd">tftpd</primary>
|
---|
| 273 | </indexterm>
|
---|
| 274 | </listitem>
|
---|
| 275 | </varlistentry>
|
---|
[bab92281] | 276 |
|
---|
[7824719] | 277 | <varlistentry id="uucpd">
|
---|
| 278 | <term><command>uucpd</command></term>
|
---|
| 279 | <listitem>
|
---|
[17e6d48] | 280 | <para>is a server for supporting UUCP
|
---|
[7824719] | 281 | connections over networks.</para>
|
---|
| 282 | <indexterm zone="inetutils uucpd">
|
---|
| 283 | <primary sortas="b-uucpd">uucpd</primary>
|
---|
| 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
[bab92281] | 287 |
|
---|
[7824719] | 288 | <varlistentry id="whois-inetutils">
|
---|
| 289 | <term><command>whois</command></term>
|
---|
| 290 | <listitem>
|
---|
[17e6d48] | 291 | <para>is a client for the whois directory service. Note that the
|
---|
[7824719] | 292 | <xref linkend="whois"/> package provides a much better client.</para>
|
---|
| 293 | <indexterm zone="inetutils whois-inetutils">
|
---|
| 294 | <primary sortas="b-whois">whois</primary>
|
---|
| 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
[bab92281] | 298 |
|
---|
[7824719] | 299 | </variablelist>
|
---|
[bab92281] | 300 |
|
---|
[7824719] | 301 | </sect2>
|
---|
[57835a9] | 302 |
|
---|
| 303 | </sect1>
|
---|