source: x/installing/x7lib.xml@ d1e71ed

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d1e71ed was d1e71ed, checked in by Dan Nichilson <dnicholson@…>, 18 years ago

More security patches for Xorg

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

  • Property mode set to 100644
File size: 5.4 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 x7libs-download-http "http://xorg.freedesktop.org/releases/individual/lib/">
8 <!ENTITY x7libs-download-ftp " ">
9 <!ENTITY x7libs-md5sum "http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/files/md5sums">
10 <!ENTITY x7libs-size "12 MB">
11 <!ENTITY x7libs-buildsize "186 MB">
12 <!ENTITY x7libs-time "6.6 SBU">
13
14]>
15
16<sect1 id="xorg7-lib" xreflabel="Xorg Libraries">
17 <?dbhtml filename="x7lib.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy: dj $</othername>
21 <date>$Date: 2006-04-15 23:04:51 -0500 (Sat, 15 Apr 2006) $</date>
22 </sect1info>
23
24 <title>Xorg Libraries</title>
25
26 <indexterm zone="xorg7-lib">
27 <primary sortas="a-xorg7-lib">Xorg Libraries</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Xorg Libraries</title>
32
33 <para>The <application>Xorg</application> libraries provide library
34 routines that are used within all X Window applications.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&x7libs-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&x7libs-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: <ulink url="&x7libs-md5sum;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download size: &x7libs-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &x7libs-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &x7libs-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <!-- Following three patches are 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;/libX11-1.0.1-setuid-1.patch"/></para>
65 </listitem>
66 <listitem>
67 <para>Required patch: <ulink
68 url="&patch-root;/xtrans-1.0.0-setuid-1.patch"/></para>
69 </listitem>
70 <listitem>
71 <para>Required patch: <ulink
72 url="&patch-root;/libXfont-1.1.0-cidfonts-1.patch"/></para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Xorg Libraries Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required"><xref linkend="ed"/>,
80 <xref linkend="fontconfig"/>,
81 <xref linkend="pkgconfig"/>, and
82 <xref linkend="xorg7-proto"/></para>
83
84 <bridgehead renderas="sect4">Optional</bridgehead>
85 <para role="optional"><xref linkend="linux-pam"/></para>
86
87 <para condition="html" role="usernotes">User Notes:
88 <ulink url='&blfs-wiki;/Xorg7Libraries'/></para>
89
90 </sect2>
91
92 <sect2>
93 <title>Downloading Xorg Libraries</title>
94
95 <para>To download the needed files using <application>wget</application>,
96 use the following commands:</para>
97
98<screen><userinput>wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/lib-7.1.wget &amp;&amp;
99mkdir lib &amp;&amp;
100cd lib &amp;&amp;
101wget -B http://xorg.freedesktop.org/releases/individual/lib/ -i ../lib-7.1.wget</userinput></screen>
102
103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of Xorg Libraries</title>
107
108 <para><ulink url='http://wiki.x.org/wiki/SecurityPage'>Security
109 vulnerabilities</ulink> have been identified in the libX11, xtrans
110 and libXfont packages. Before building these packages with the
111 commands shown below, be sure to apply the supplied patches.
112 For libX11, this can be accomplished with with the following
113 command:</para>
114
115<screen><userinput>patch -Np1 -i ../libX11-1.0.1-setuid-1.patch</userinput></screen>
116
117 <para>For xtrans, the patch can be applied with the following
118 command:</para>
119
120<screen><userinput>patch -Np1 -i ../xtrans-1.0.0-setuid-1.patch</userinput></screen>
121
122 <para>For libXfont, the patch can be applied with the following
123 command:</para>
124
125<screen><userinput>patch -Np1 -i ../libXfont-1.1.0-cidfonts-1.patch</userinput></screen>
126
127 <para>Install the libraries by running the following commands for each
128 of the chosen packages:</para>
129
130<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
131make</userinput></screen>
132
133 <para>These packages do not provide test suites.</para>
134
135 <para>Now as the <systemitem class="username">root</systemitem>
136 user:</para>
137
138<screen role="root"><userinput>make install &amp;&amp;
139ldconfig</userinput></screen>
140
141 </sect2>
142
143 <sect2 role="configuration">
144 <title>Configuration of Xorg Libraries</title>
145
146 <para>If you've chosen to install <application>Xorg</application> into
147 <filename class="directory">/usr</filename>, then no further
148 configuration is necessary and you can skip the rest of this section.
149 If you've opted for an alternate prefix, you should create two symlinks
150 to satisfy the expected environment of several packages.
151 Execute the following commands as the root user:</para>
152
153<screen role="root"><userinput>ln -sv $XORG_PREFIX/lib/X11 /usr/lib/X11 &amp;&amp;
154ln -sv $XORG_PREFIX/include/X11 /usr/include/X11</userinput></screen>
155
156 </sect2>
157
158</sect1>
Note: See TracBrowser for help on using the repository browser.