aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2003-05-12 00:18:10 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2003-05-12 00:18:10 +0000
commiteec6e6dc6ed147269ff7eae9f1392192481833f4 (patch)
treeb73e507977db348c7eff46226ebbd66c19566ff3
parent0b6cb049c386a2b24162b97821bb5082cfae0454 (diff)
Zack's patches: Fix Bugs #359 and #515. Added /etc/hosts creation to beginning of ch6. Detailed services,protocols files and update to lfs-utils.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2571 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--appendixa/lfs-utils-desc.xml9
-rw-r--r--chapter01/changelog.xml8
-rw-r--r--chapter06/basic-net.xml26
-rw-r--r--chapter06/chapter06.xml1
-rw-r--r--entities/basic-net.ent1
-rw-r--r--entities/lfs-utils.ent8
-rw-r--r--index.xml2
7 files changed, 51 insertions, 4 deletions
diff --git a/appendixa/lfs-utils-desc.xml b/appendixa/lfs-utils-desc.xml
index b9723a43d..1c1a6ed10 100644
--- a/appendixa/lfs-utils-desc.xml
+++ b/appendixa/lfs-utils-desc.xml
@@ -13,6 +13,15 @@
<para>tempfile creates temporary files in a less secure manner than mktemp.
It is installed for backwards-compatibility.</para></sect4>
+<sect4><title>http-get</title>
+<para>http-get is a script that takes advantage of a little known
+feature of Bash called "net redirection". It is used to download from
+websites without using any third-party programs.</para></sect4>
+
+<sect4><title>iana-net</title>
+<para>iana-net uses the http-get to simplify the process of procuring
+IANA's services and protocols configuration files.</para></sect4>
+
</sect3>
</sect2>
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 6bca90fd7..8a153171f 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -18,6 +18,7 @@
<listitem><para>grep-2.5.1</para></listitem>
<listitem><para>groff-1.19</para></listitem>
<listitem><para>less-381</para></listitem>
+<listitem><para>lfs-utils-0.2.2</para></listitem>
<listitem><para>libtool-1.5</para></listitem>
<listitem><para>man-1.5l</para></listitem>
<listitem><para>man-1.5l-80cols.patch</para></listitem>
@@ -71,6 +72,13 @@
</itemizedlist>
</para></listitem>
+<listitem><para>May 11th, 2003 (Bug #359 &amp; #515) [winkie]: Chapter
+06 - Setting up Basic Networking: Added section. Create a basic /etc/hosts
+files, and create /etc/services and /etc/protocols from IANA.</para></listitem>
+
+<listitem><para>May 11th, 2003 [winkie]: Upgrading to lfs-utils-0.2.2.
+This adds two files needed for proper networking configuration.</para></listitem>
+
<listitem><para>May 11th, 2003 (Bug #490) [winkie]: Removed Netkit-base
0.17. Added Inetutils 1.4.2.</para></listitem>
diff --git a/chapter06/basic-net.xml b/chapter06/basic-net.xml
new file mode 100644
index 000000000..c89ecc7d9
--- /dev/null
+++ b/chapter06/basic-net.xml
@@ -0,0 +1,26 @@
+<sect1 id="ch06-basic-net">
+<title>Setting up Basic Networking</title>
+<?dbhtml filename="basic-net.html" dir="chapter06"?>
+
+<para>Here will be set up basic networking now that all the necessary
+software has been installed. There isn't all that much to do, really,
+just creating a basic /etc/hosts file, and downloading some very
+high-quality network information files.</para>
+
+<para>The first step is to create /etc/hosts. This file contains
+information allowing resolution of hostnames to IP addresses. Create a
+very basic one (we'll make a better one later) with the following
+command:</para>
+
+<para><screen><userinput>echo '127.0.0.1 localhost' > /etc/hosts</userinput></screen></para>
+
+<para>Now unpack the Lfs-Utils tarball again, as we're going to copy two
+necessary files from it. One is the /etc/services file, which is used to
+resolv service numbers to human-readable names, and the /etc/protocols
+file, which does the same for protocol numbers. Copy them with the
+following command after you have entered the Lfs-Utils directory:</para>
+
+<para><screen><userinput>cp -f etc/{services,protocols} /etc</userinput></screen></para>
+
+</sect1>
+
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 4aa5225d2..c0ff7547c 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -33,6 +33,7 @@
&c6-gettext;
&c6-nettools;
&c6-inetutils;
+&c6-basic-net;
&c6-perl;
&c6-texinfo;
&c6-autoconf;
diff --git a/entities/basic-net.ent b/entities/basic-net.ent
new file mode 100644
index 000000000..e47c44950
--- /dev/null
+++ b/entities/basic-net.ent
@@ -0,0 +1 @@
+<!ENTITY c6-basic-net SYSTEM "../chapter06/basic-net.xml">
diff --git a/entities/lfs-utils.ent b/entities/lfs-utils.ent
index c12638fa2..6b381c4bb 100644
--- a/entities/lfs-utils.ent
+++ b/entities/lfs-utils.ent
@@ -12,12 +12,12 @@
<!ENTITY aa-lfs-utils-down SYSTEM "../appendixa/lfs-utils-down.xml">
<!ENTITY aa-lfs-utils-shortdesc SYSTEM "../appendixa/lfs-utils-shortdesc.xml">
-<!ENTITY lfs-utils-version "0.2.1">
+<!ENTITY lfs-utils-version "0.2.2">
<!ENTITY lfs-utils-depversion "">
-<!ENTITY lfs-utils-contversion "0.2.1">
-<!ENTITY lfs-utils-size "6 KB">
+<!ENTITY lfs-utils-contversion "0.2.2">
+<!ENTITY lfs-utils-size "156 KB">
<!ENTITY lfs-utils-dir "lfs-utils-&lfs-utils-version;">
<!ENTITY lfs-utils-package "lfs-utils-&lfs-utils-version;.tar.bz2">
-<!ENTITY lfs-utils-compsize "33 KB">
+<!ENTITY lfs-utils-compsize "610 KB">
<!ENTITY lfs-utils-time "0.01 SBU">
diff --git a/index.xml b/index.xml
index e138b8b58..0bb7df1da 100644
--- a/index.xml
+++ b/index.xml
@@ -40,6 +40,7 @@
<!ENTITY % autoconf-entities SYSTEM "entities/autoconf.ent">
<!ENTITY % automake-entities SYSTEM "entities/automake.ent">
<!ENTITY % bash-entities SYSTEM "entities/bash.ent">
+<!ENTITY % basic-net-entities SYSTEM "entities/basic-net.ent">
<!ENTITY % bin86-entities SYSTEM "entities/bin86.ent">
<!ENTITY % binutils-entities SYSTEM "entities/binutils.ent">
<!ENTITY % bison-entities SYSTEM "entities/bison.ent">
@@ -113,6 +114,7 @@
%autoconf-entities;
%automake-entities;
%bash-entities;
+%basic-net-entities;
%bin86-entities;
%binutils-entities;
%bison-entities;