source: chapter06/inetutils.xml@ 2be5334

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 2be5334 was 2be5334, checked in by Zack Winkles <winkie@…>, 20 years ago

Fix patch locations in HEAD too

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3465 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-inetutils" xreflabel="Inetutils">
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>
11
12<para>The Inetutils package contains programs for basic networking.</para>
13
14<screen>&buildtime; 0.2 SBU
15&diskspace; 11 MB</screen>
16
17<para>Inetutils installation depends on: Bash, Binutils, Coreutils,
18Diffutils, GCC, Glibc, Grep, Make, Ncurses, Sed.</para>
19
20
21
22<sect2>
23<title>Installation of Inetutils</title>
24
25<para>Inetutils has issues with the Linux 2.6 kernel series - fix these isues
26by applying the following patch:</para>
27
28<screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel-headers-1.patch</userinput></screen>
29
30<para>We are not going to install all the programs that come with Inetutils.
31However, the Inetutils build system will insist on installing all the man
32pages anyway. The following patch will correct this situation:</para>
33
34<screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-no-server-man-pages-1.patch</userinput></screen>
35
36<para>Now prepare Inetutils for compilation:</para>
37
38<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
39 --sysconfdir=/etc --localstatedir=/var \
40 --disable-logger --disable-syslogd \
41 --disable-whois --disable-servers</userinput></screen>
42
43<para>The meaning of the configure options:</para>
44
45<itemizedlist>
46<listitem><para><userinput>--disable-logger</userinput>: This option
47prevents Inetutils from installing the logger program, which is used by
48scripts to pass messages to the System Log Daemon. We do not install it
49because Util-linux installs a better version later.</para></listitem>
50
51<listitem><para><userinput>--disable-syslogd</userinput>: This option
52prevents Inetutils from installing the System Log Daemon, which is
53installed with the Sysklogd package.</para></listitem>
54
55<listitem><para><userinput>--disable-whois</userinput>: This option disables
56the building of the Inetutils whois client, which is woefully out of date.
57Instructions for a better whois client are in the BLFS book.</para></listitem>
58
59<listitem><para><userinput>--disable-servers</userinput>: This disables the
60installation of the various network servers included as part of the Inetutils
61package. These servers are deemed not appropriate in a basic LFS system. Some
62are insecure by nature and are only considered safe on trusted networks. More
63information can be found at
64<ulink url="&blfs-root;view/stable/basicnet/inetutils.html"/>. Note that better
65replacements are available for many of these servers.</para></listitem>
66</itemizedlist>
67
68<para>Compile the package:</para>
69
70<screen><userinput>make</userinput></screen>
71
72<para>Install it:</para>
73
74<screen><userinput>make install</userinput></screen>
75
76<para>Move the <command>ping</command> program to its FHS-compliant
77place:</para>
78
79<screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
80
81</sect2>
82
83
84<sect2 id="contents-inetutils"><title>Contents of Inetutils</title>
85
86<para><emphasis>Installed programs</emphasis>: ftp, ping, rcp, rlogin, rsh,
87talk, telnet and tftp</para>
88
89</sect2>
90
91<sect2><title>Short descriptions</title>
92
93<indexterm zone="ch-system-inetutils ftp"><primary sortas="b-ftp">ftp</primary></indexterm>
94<para id="ftp"><command>ftp</command> is the ARPANET file transfer program.</para>
95
96<indexterm zone="ch-system-inetutils ping"><primary sortas="b-ping">ping</primary></indexterm>
97<para id="ping"><command>ping</command> sends echo-request packets and reports how
98long the replies take.</para>
99
100<indexterm zone="ch-system-inetutils rcp"><primary sortas="b-rcp">rcp</primary></indexterm>
101<para id="rcp"><command>rcp</command> does remote file copy.</para>
102
103<indexterm zone="ch-system-inetutils rlogin"><primary sortas="b-rlogin">rlogin</primary></indexterm>
104<para id="rlogin"><command>rlogin</command> does remote login.</para>
105
106<indexterm zone="ch-system-inetutils rsh"><primary sortas="b-rsh">rsh</primary></indexterm>
107<para id="rsh"><command>rsh</command> runs a remote shell.</para>
108
109<indexterm zone="ch-system-inetutils talk"><primary sortas="b-talk">talk</primary></indexterm>
110<para id="talk"><command>talk</command> is used to chat up another user.</para>
111
112<indexterm zone="ch-system-inetutils telnet"><primary sortas="b-telnet">telnet</primary></indexterm>
113<para id="telnet"><command>telnet</command> is an interface to the TELNET protocol.</para>
114
115<indexterm zone="ch-system-inetutils tftp"><primary sortas="b-tftp">tftp</primary></indexterm>
116<para id="tftp"><command>tftp</command> is a trivial file transfer program.</para>
117
118</sect2>
119
120
121
122</sect1>
Note: See TracBrowser for help on using the repository browser.