mirror of
https://github.com/cross-lfs/clfs-embedded.git
synced 2025-08-13 13:12:54 +00:00
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:
@ -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@&/&.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>
|
||||
|
||||
|
Reference in New Issue
Block a user