aboutsummaryrefslogtreecommitdiffstats
path: root/prologue/standards.xml
blob: cf9ed1e2305a43b1e39687afb0dc97016727d7fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../general.ent">
  %general-entities;
]>

<sect1 id="pre-standards">
  <?dbhtml filename="standards.html"?>

  <title>LFS and Standards</title>

  <!--<sect2>
    <title/> -->

     <para>The structure of LFS follows Linux standards as closely as 
     possible.  The primary standards are:</para>

    <itemizedlist>
      <listitem>
        <para><ulink url="http://pubs.opengroup.org/onlinepubs/9699919799/"> 
        POSIX.1-2008</ulink>.</para>
      </listitem>
      <listitem>
        <para><ulink url="http://www.pathname.com/fhs/pub/fhs-2.3.html">Filesystem 
        Hierarchy Standard (FHS)</ulink></para>

      </listitem>
      <listitem>
        <para><ulink url="http://refspecs.freestandards.org/LSB_4.0.0/">Linux 
        Standard Base (LSB) Core Specification 4.0</ulink></para>

        <para>The LSB has five separate standards: Core, C++, Desktop,
        Runtime Languages, and Printing. In addition to generic requirements
        there are also architecture specific requirements.  LFS attempts to
        conform to the architectures discussed in the previous section.</para>

        <note><para>Many people do not agree with the requirements of the LSB.
        The main purpose of defining it is to ensure that proprietary software
        will be able to be installed and run properly on a compliant system.
        Since LFS is source based, the user has complete control over what
        packages are desired and many choose not to install some packages that
        are specified by the LSB.</para></note>

      </listitem>
    </itemizedlist>

    <para>Creating a complete LFS system capable of passing the LSB
    certifications tests is possible, but not without many additional packages
    that are beyond the scope of LFS.  Most of these additional packages have
    installation instructions in BLFS. </para> 

    <variablelist>
      <bridgehead renderas="sect3">Packages supplied by LFS needed to
          satisfy the LSB Requirements</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry>
        <term><emphasis>LSB Core:</emphasis></term>
        <listitem>
          <para>Bash, Binutils, Coreutils, Diffutils, File, Findutils, Gawk,
                Grep, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed,
                Shadow, Tar, Util-linux, Zlib</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB C++:</emphasis></term>
        <listitem>
          <para>Gcc</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Desktop:</emphasis></term>
        <listitem>
          <para>None</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Runtime Languages:</emphasis></term>
        <listitem>
          <para>Perl</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Printing:</emphasis></term>
        <listitem>
          <para>None</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Multimeda:</emphasis></term>
        <listitem>
          <para>None</para>
        </listitem>
      </varlistentry>

    </variablelist>

    <variablelist> 
      <bridgehead renderas="sect3">Packages supplied by BLFS needed to
          satisfy the LSB Requirements</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?> 

      <varlistentry>
        <term><emphasis>LSB Core:</emphasis></term>
        <listitem>
          <para>Bc, Cpio, Ed, Fcrontab, Initd-tools, PAM, 
          Sendmail (or Postfix or Exim) </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB C++:</emphasis></term>
        <listitem>
          <para>None</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Desktop:</emphasis></term>
        <listitem>
          <para>ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig,
                Glib2, GTK+2, Icon-naming-utils, Libjpeg, Libpng, Libxml2,
                MesaLib, Pango, Qt3, Qt4, Xorg</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Runtime Languages:</emphasis></term>
        <listitem>
          <para>Python</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Printing:</emphasis></term>
        <listitem>
          <para>CUPS</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Multimeda:</emphasis></term>
        <listitem>
          <para>Alsa Libraries, NSPR, NSS, OpenSSL, Java</para>
        </listitem>
      </varlistentry>

    </variablelist>

    <variablelist> 
      <bridgehead renderas="sect3">Packages not supplied by LFS or BLFS 
      needed to satisfy the LSB Requirements</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?> 

      <varlistentry>
        <term><emphasis>LSB Core:</emphasis></term>
        <listitem>
          <para>At, Batch, Lsb_release
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB C++:</emphasis></term>
        <listitem>
          <para>None</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Desktop:</emphasis></term>
        <listitem>
          <para>None</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Runtime Languages:</emphasis></term>
        <listitem>
          <para>None</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Printing:</emphasis></term>
        <listitem>
          <para>None</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><emphasis>LSB Multimeda:</emphasis></term>
        <listitem>
          <para>Xdg-utils</para>
        </listitem>
      </varlistentry>

    </variablelist>

</sect1>