%general-entities; ]> Inetutils-&inetutils-version; Inetutils <para>The Inetutils package contains programs for basic networking.</para> </sect2> <sect2 role="installation"> <title>Installation of Inetutils Not all programs that come with Inetutils will be installed. However, the Inetutils build system will insist on installing all the man pages anyway. The following patch will correct this situation: patch -Np1 -i ../&inetutils-man_pages-patch; This patch addresses build issues with GCC &gcc-version;: patch -Np1 -i ../&inetutils-gcc4_fixes-patch; This patch addresses an issue where telnet on certain machines will only send to 255.255.255.255. This was due to change in the way glibc handles inet_addr. Apply the following patch to correct this issue: patch -Np1 -i ../&inetutils-fixes-patch; The following set of seds prevent binaries from being installed as root for dir in ping rcp rlogin rsh; do cp ${dir}/Makefile.in{,.orig} sed '/^SUIDMODE =/s/-o root//' ${dir}/Makefile.in.orig > ${dir}/Makefile.in done Prepare Inetutils for compilation: ./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc \ --localstatedir=/var --disable-logger --disable-syslogd \ --disable-whois --disable-servers The meaning of the configure options: --disable-logger This option prevents Inetutils from installing the logger program, which is used by scripts to pass messages to the System Log Daemon. Do not install it because Util-linux installs a better version later. --disable-syslogd This option prevents Inetutils from installing the System Log Daemon, which is installed with the Sysklogd package. --disable-whois This option disables the building of the Inetutils whois client, which is out of date. Instructions for a better whois client are in the BLFS book. --disable-servers This disables the installation of the various network servers included as part of the Inetutils package. These servers are deemed not appropriate in a basic CLFS system. Some are insecure by nature and are only considered safe on trusted networks. More information can be found at . Note that better replacements are available for many of these servers. Compile the package: make Install the package: make DESTDIR=${CLFS} install Move the ping program to its FHS-compliant place: mv -v ${CLFS}/usr/bin/ping ${CLFS}/bin Contents of Inetutils Installed programs ftp, ping, rcp, rlogin, rsh, talk, telnet, and tftp Short Descriptions ftp Is the file transfer protocol program ftp ping Sends echo-request packets and reports how long the replies take ping rcp Performs remote file copy rcp rlogin Performs remote login rlogin rsh Runs a remote shell rsh talk Is used to chat with another user talk telnet An interface to the TELNET protocol telnet tftp A trivial file transfer program tftp