source: x/installing/x7server.xml@ 1270ee2b

10.0 10.1 11.0 11.1 11.2 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 1270ee2b was 1270ee2b, checked in by Dan Nichilson <dnicholson@…>, 16 years ago

Updated security patches for xorg-6.9.0 and xorg-server-1.1.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6431 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xorg-server-download-http "http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-&xorg-server-version;.tar.bz2">
8 <!ENTITY xorg-server-download-ftp " ">
9 <!ENTITY xorg-server-md5sum "d070c58a598fb52c5cb86344725c4ad6">
10 <!ENTITY xorg-server-size "6.1 MB">
11 <!ENTITY xorg-server-buildsize "424 MB">
12 <!ENTITY xorg-server-time "5.6 SBU">
13
14]>
15
16<sect1 id="xorg7-server" xreflabel="Xorg-Server-&xorg-server-version;">
17 <?dbhtml filename="x7server.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Xorg-Server-&xorg-server-version;</title>
25
26 <indexterm zone="xorg7-server">
27 <primary sortas="a-xorg7-server">Xorg Server</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Xorg-Server</title>
32
33 <para>The <application>Xorg</application> Server is the core
34 of the X Window system.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&xorg-server-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&xorg-server-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &xorg-server-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &xorg-server-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &xorg-server-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &xorg-server-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <!-- Following patch is security related and should be
59 fixed for Xorg-7.2 -->
60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>Required patch: <ulink
64 url="&patch-root;/xorg-server-1.1.0-security-1.patch"/></para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Required</bridgehead>
71 <para role="required"><xref linkend="xorg7-font"/></para>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional"><xref linkend="mesalib"/> and
75 <xref linkend="luit"/></para>
76
77 <para condition="html" role="usernotes">User Notes:
78 <ulink url='&blfs-wiki;/Xorg7Server'/></para>
79
80 </sect2>
81
82 <sect2 role="installation">
83 <title>Installation of Xorg Server</title>
84
85 <note>
86 <para>If you intend to build with <application>Mesa</application>,
87 you must have the <application>Mesa</application> source
88 directory available when building the
89 <application>Xorg-server</application>.</para>
90 </note>
91
92<!-- To be removed if/when proposed glibc patch is added to LFS SVN
93 Leave in in for a couple of weeks with 'you may need' and a testcase
94 around it to save the support list silly questions. Should remove in
95 a couple of weeks
96 <para>Recent <application>Glibc</application> may have a problem with its
97 installed <filename>sys/kd.h</filename> file. This has recently been
98 fixed in LFS SVN. Execute the following commands to work around a
99 broken <filename>kd.h</filename> file. The commands will only make the
100 modification if needed:</para>
101
102<screen><userinput>grep "__undef_LINUX" \
103 /usr/include/sys/kd.h 2&gt;&amp;1 &gt; /dev/null || \
104 sed -i.bak '/CONFIG_H/i #include &lt;linux/types.h&gt;' \
105 hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
106 End remove -->
107
108 <para>Multiple <ulink url='http://wiki.x.org/wiki/SecurityPage'>security
109 vulnerabilities</ulink> have been identified in the xorg-server
110 package. Apply a patch to fix these vulnerabilities with the following
111 command:</para>
112
113<screen><userinput>patch -Np1 -i ../xorg-server-1.1.0-security-1.patch</userinput></screen>
114
115 <para>Install the server by running the following commands:</para>
116
117<screen><userinput>sed -i \
118 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' \
119 GL/glx/Makefile.in &amp;&amp;
120sed -i \
121 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' \
122 GL/glx/Makefile.in &amp;&amp;
123./configure $XORG_CONFIG \
124 --with-mesa-source='<replaceable>&lt;/path/to&gt;</replaceable>/Mesa-&mesalib-version;' \
125 --with-fontdir=$XORG_PREFIX/lib/X11/fonts \
126 --with-module-dir=$XORG_PREFIX/lib/X11/modules \
127 --with-dri-driver-path=$XORG_PREFIX/lib/X11/modules/dri \
128 --enable-install-setuid &amp;&amp;
129make</userinput></screen>
130
131 <para>This package does not come with a test suite.</para>
132
133 <para>Now as the <systemitem class="username">root</systemitem>
134 user:</para>
135
136<screen role="root"><userinput>make install</userinput></screen>
137
138 </sect2>
139
140 <sect2 role="commands">
141 <title>Command Explanations</title>
142
143 <para><command>sed -i '...' GL/glx/Makefile.in</command>: These commands
144 correct the search path for the <application>Mesa</application> headers.
145 The 8th and 7th instance of '-I$(top_builddir)' in the existing search
146 search path are replaced with <application>Mesa</application> paths.</para>
147
148 <para><parameter>--with-mesa-source=...</parameter>: This switch directs
149 the build system to the location of the <application>Mesa</application>
150 source directory. If you wish to build without
151 <application>Mesa</application>, omit this switch.</para>
152
153 <para><parameter>--with-module-dir=...</parameter>: This parameter
154 sets the destination for the installed modules.</para>
155
156 <para><parameter>--with-dri-driver-path=...</parameter>: This is the
157 location of the <application>Mesa</application> DRI drivers.</para>
158
159 <para><parameter>--enable-install-setuid</parameter>: The Xorg binary must
160 run as the root user. This switch ensures that the binary is installed
161 setuid when <command>make</command> is run by an unprivileged user.</para>
162
163 <para><parameter>--disable-glx</parameter>: Disable building of the GLX
164 extension. This parameter is required if building without
165 <application>Mesa</application>.</para>
166
167 <para><parameter>--disable-dri</parameter>: Disable building of the DRI
168 extension. This parameter is required if building without
169 <application>Mesa</application>.</para>
170
171 <para><parameter>--disable-xprint</parameter>: Disable building of
172 the <application>Xprint</application> extension and server. This
173 parameter is required if building without
174 <application>Mesa</application>.</para>
175
176 </sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.