Updated Iana-Etc to pull new data from IANA

Thanks to Grail Dane (grail69 at hotmail dot com) for pointing out
that Iana-Etc has a built in updating mechanism for getting the newest
copies of /etc/protocols and /etc/services direct from IANA rather
than use the ones found in the tarball.

See mailing list thread:
http://lists.cross-lfs.org/pipermail/clfs-dev-cross-lfs.org/2011-January/000866.html
This commit is contained in:
Andrew Bradford
2011-01-29 11:39:37 -05:00
parent f6137b64c4
commit 406ca8f938

View File

@ -25,17 +25,26 @@
<sect2 role="installation">
<title>Installation of Iana-Etc</title>
<para os="a">The following command converts the raw data provided by IANA into
the correct formats for the <filename>/etc/protocols</filename> and
<filename>/etc/services</filename> data files:</para>
<para os="a">The <filename>protocol-numbers.dist</filename> and
<filename>port-numbers.dist</filename> files that come with Iana-Etc
are outdated. Also, IANA has moved their copy of protocol-numbers.
In order to ensure we use correct and up to date data, first modify the
Makefile and then download the updates:</para>
<screen os="b"><userinput>make</userinput></screen>
<screen os="b"><userinput>sed -i '/file=/s@protocol-numbers@&amp;/&amp;.txt@' Makefile
make get</userinput></screen>
<para os="c">This package does not come with a test suite.</para>
<para os="c">The following command then converts the raw data provided by
IANA into the correct formats for the <filename>/etc/protocols</filename>
and <filename>/etc/services</filename> data files:</para>
<para os="d">Install the package:</para>
<screen os="d"><userinput>make</userinput></screen>
<screen os="e"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
<para os="e">This package does not come with a test suite.</para>
<para os="f">Install the package:</para>
<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
</sect2>
@ -83,3 +92,4 @@
</sect2>
</sect1>