source: BOOK/final-system/common/iana-etc.xml@ 7b3a40d

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7b3a40d was 713a871, checked in by William Harrington <kb0iic@…>, 11 years ago

Iana changed format of services and protocols. End up downloading xml, editing the Makefile to use the downloaded xml files with the created services.gawk and protocols.gawk scripts which parse the xml and create proper files to be installed to /etc.

  • Property mode set to 100644
File size: 2.7 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="p2">The following patch updates the services and protocol xml files:</para>
29
30<screen os="p3"><userinput>xzcat ../&iana-etc-numbers_update-patch; | patch -Np1 -i -</userinput></screen>
31
32 <para os="a">The following command converts the raw data provided by IANA into
33 the correct formats for the <filename>/etc/protocols</filename> and
34 <filename>/etc/services</filename> data files:</para>
35
36<screen os="b"><userinput>make get &amp;&amp;
37make</userinput></screen>
38
39 <para os="c">This package does not come with a test suite.</para>
40
41 <para os="d">Install the package:</para>
42
43<screen os="e"><userinput>make install</userinput></screen>
44
45 </sect2>
46
47 <sect2 id="contents-iana-etc" role="content">
48 <title>Contents of Iana-Etc</title>
49
50 <segmentedlist>
51 <segtitle>Installed files</segtitle>
52
53 <seglistitem>
54 <seg>/etc/protocols and /etc/services</seg>
55 </seglistitem>
56 </segmentedlist>
57
58 <variablelist>
59 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
60 <?dbfo list-presentation="list"?>
61 <?dbhtml list-presentation="table"?>
62
63 <varlistentry id="protocols">
64 <term><filename>/etc/protocols</filename></term>
65 <listitem>
66 <para>Describes the various DARPA Internet protocols that are
67 available from the TCP/IP subsystem</para>
68 <indexterm zone="ch-system-iana-etc">
69 <primary sortas="e-/etc/protocols">/etc/protocols</primary>
70 </indexterm>
71 </listitem>
72 </varlistentry>
73
74 <varlistentry id="services">
75 <term><filename>/etc/services</filename></term>
76 <listitem>
77 <para>Provides a mapping between friendly textual names for internet
78 services, and their underlying assigned port numbers and protocol
79 types</para>
80 <indexterm zone="ch-system-iana-etc">
81 <primary sortas="e-/etc/services">/etc/services</primary>
82 </indexterm>
83 </listitem>
84 </varlistentry>
85
86 </variablelist>
87
88 </sect2>
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.