source: clfs-embedded/BOOK/final-system/common/iana-etc.xml @ 406ca8f

Last change on this file since 406ca8f was 406ca8f, checked in by Andrew Bradford <bradfa@…>, 13 years ago

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

  • Property mode set to 100644
File size: 3.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-iana-etc" role="wrap">
9  <?dbhtml filename="iana-etc.html"?>
10
11  <title>Iana-Etc-&iana-etc-version;</title>
12
13  <indexterm zone="ch-system-iana-etc">
14    <primary sortas="a-Iana-Etc">Iana-Etc</primary>
15  </indexterm>
16
17  <sect2 role="package">
18    <title/>
19
20    <para>The Iana-Etc package provides data for network services and
21    protocols.</para>
22
23  </sect2>
24
25  <sect2 role="installation">
26    <title>Installation of Iana-Etc</title>
27
28    <para os="a">The <filename>protocol-numbers.dist</filename> and
29    <filename>port-numbers.dist</filename> files that come with Iana-Etc
30    are outdated.  Also, IANA has moved their copy of protocol-numbers.
31    In order to ensure we use correct and up to date data, first modify the
32    Makefile and then download the updates:</para>
33
34<screen os="b"><userinput>sed -i '/file=/s@protocol-numbers@&amp;/&amp;.txt@' Makefile
35make get</userinput></screen>
36
37    <para os="c">The following command then converts the raw data provided by
38    IANA into the correct formats for the <filename>/etc/protocols</filename> 
39    and <filename>/etc/services</filename> data files:</para>
40
41<screen os="d"><userinput>make</userinput></screen>
42
43    <para os="e">This package does not come with a test suite.</para>
44
45    <para os="f">Install the package:</para>
46
47<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
48
49  </sect2>
50
51  <sect2 id="contents-iana-etc" role="content">
52    <title>Contents of Iana-Etc</title>
53
54    <segmentedlist>
55      <segtitle>Installed files</segtitle>
56
57      <seglistitem>
58        <seg>/etc/protocols and /etc/services</seg>
59      </seglistitem>
60    </segmentedlist>
61
62    <variablelist>
63      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
64      <?dbfo list-presentation="list"?>
65      <?dbhtml list-presentation="table"?>
66
67      <varlistentry id="protocols">
68        <term><filename>/etc/protocols</filename></term>
69        <listitem>
70          <para>Describes the various DARPA Internet protocols that are
71          available from the TCP/IP subsystem</para>
72          <indexterm zone="ch-system-iana-etc">
73            <primary sortas="e-/etc/protocols">/etc/protocols</primary>
74          </indexterm>
75        </listitem>
76      </varlistentry>
77
78      <varlistentry id="services">
79        <term><filename>/etc/services</filename></term>
80        <listitem>
81          <para>Provides a mapping between friendly textual names for internet
82          services, and their underlying assigned port numbers and protocol
83          types</para>
84          <indexterm zone="ch-system-iana-etc">
85            <primary sortas="e-/etc/services">/etc/services</primary>
86          </indexterm>
87        </listitem>
88      </varlistentry>
89
90    </variablelist>
91
92  </sect2>
93
94</sect1>
95
Note: See TracBrowser for help on using the repository browser.