From 7787e7e8403e6739ca9252fea93ae5e60d898c12 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 14 Jan 2014 22:45:09 +0000 Subject: Update to inetutils-1.9.2 and remove referece to old BLFS page. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10444 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/inetutils.xml | 43 ++++++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 23 deletions(-) (limited to 'chapter06/inetutils.xml') diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml index 920abe64b..136b6383f 100644 --- a/chapter06/inetutils.xml +++ b/chapter06/inetutils.xml @@ -40,16 +40,16 @@ Installation of Inetutils - Fix an incompatibility between this package and Glibc-&glibc-version; + Create a definition to allow the ifconfig program + to build properly. -sed -i -e '/gets is a/d' lib/stdio.in.h +echo '#define PATH_PROCNET_DEV "/proc/net/dev"' >> ifconfig/system/linux.h Prepare Inetutils for compilation: ./configure --prefix=/usr \ --libexecdir=/usr/sbin \ --localstatedir=/var \ - --disable-ifconfig \ --disable-logger \ --disable-syslogd \ --disable-whois \ @@ -58,16 +58,6 @@ The meaning of the configure options: - - --disable-ifconfig - - This option prevents Inetutils from installing the - ifconfig program, which can be used to configure network - interfaces. LFS uses ip from IPRoute2 to perform - this task. - - - --disable-logger @@ -101,8 +91,7 @@ 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 LFS system. Some are insecure by nature and are - only considered safe on trusted networks. More information can be found - at . Note that + only considered safe on trusted networks. Note that better replacements are available for many of these servers. @@ -120,14 +109,12 @@ Install the package: make install - + Move some programs so they are available if /usr is not accessible: -mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin +mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin +mv -v /usr/bin/ifconfig /sbin @@ -138,8 +125,8 @@ make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;Installed programs - ftp, hostname, ping, ping6, rcp, rexec, rlogin, rsh, talk, telnet, - tftp, and traceroute + ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin, + rsh, talk, telnet, tftp, and traceroute @@ -158,6 +145,16 @@ make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version; + + ifconfig + + Manages network interfaces + + ifconfig + + + + hostname @@ -202,7 +199,7 @@ make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version; rexec - executes commands on a remote host + Executes commands on a remote host rexec -- cgit v1.2.3-54-g00ecf