source: x/installing/x7lib.xml@ baf47952

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 baf47952 was dc77783f, checked in by Dan Nichilson <dnicholson@…>, 18 years ago

Patches security vulnerabilities in Xorg-7.1. Closes ticket #2100.

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

  • Property mode set to 100644
File size: 4.9 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 <para>The <application>Xorg</application> libraries provide library
31 routines that are used within all X Window applications.</para>
32
33 <bridgehead renderas="sect3">Package Information</bridgehead>
34 <itemizedlist spacing="compact">
35 <listitem>
36 <para>Download (HTTP): <ulink url="&x7libs-download-http;"/></para>
37 </listitem>
38 <listitem>
39 <para>Download (FTP): <ulink url="&x7libs-download-ftp;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download MD5 sum: <ulink url="&x7libs-md5sum;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download size: &x7libs-size;</para>
46 </listitem>
47 <listitem>
48 <para>Estimated disk space required: &x7libs-buildsize;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated build time: &x7libs-time;</para>
52 </listitem>
53 </itemizedlist>
54
55 <!-- Following two patches are security related and should be
56 fixed for Xorg-7.2 -->
57 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
58 <itemizedlist spacing="compact">
59 <listitem>
60 <para>Required patch: <ulink
61 url="&patch-root;/libX11-1.0.1-setuid-1.patch"/></para>
62 </listitem>
63 <listitem>
64 <para>Required patch: <ulink
65 url="&patch-root;/xtrans-1.0.0-setuid-1.patch"/></para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">Xorg Libraries Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required"><xref linkend="ed"/>,
73 <xref linkend="fontconfig"/>,
74 <xref linkend="pkgconfig"/>, and
75 <xref linkend="xorg7-proto"/></para>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional"><xref linkend="linux-pam"/></para>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url='&blfs-wiki;/Xorg7Libraries'/></para>
82
83 <sect2>
84 <title>Downloading Xorg Libraries</title>
85
86 <para>To download the needed files using <application>wget</application>,
87 use the following commands:</para>
88
89<screen><userinput>wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/lib-7.1.wget &amp;&amp;
90mkdir lib &amp;&amp;
91cd lib &amp;&amp;
92wget -B http://xorg.freedesktop.org/releases/individual/lib/ -i ../lib-7.1.wget</userinput></screen>
93
94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of Xorg Libraries</title>
98
99 <para>A <ulink url='http://wiki.x.org/wiki/SecurityPage'>security
100 vulnerability</ulink> has been identified in the libX11 and xtrans
101 packages. Before building these packages with the commands shown below,
102 be sure to apply the supplied patches. For libX11, this can be
103 accomplished with with the following command:</para>
104
105<screen><userinput>patch -Np1 -i ../libX11-1.0.1-setuid-1.patch</userinput></screen>
106
107 <para>For xtrans, the patch can be applied with the following
108 command:</para>
109
110<screen><userinput>patch -Np1 -i ../xtrans-1.0.0-setuid-1.patch</userinput></screen>
111
112 <para>Install the libraries by running the following commands for each
113 of the chosen packages:</para>
114
115<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
116make</userinput></screen>
117
118 <para>These packages do not provide test suites.</para>
119
120 <para>Now as the <systemitem class="username">root</systemitem>
121 user:</para>
122
123<screen><userinput role="root">make install &amp;&amp;
124ldconfig</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="configuration">
129 <title>Configuration of Xorg Libraries</title>
130
131 <para>If you've chosen to install <application>Xorg</application> into
132 <filename class="directory">/usr</filename>, then no further
133 configuration is necessary and you can skip the rest of this section.
134 If you've opted for an alternate prefix, you should create two symlinks
135 to satisfy the expected environment of several packages.
136 Execute the following commands as the root user:</para>
137
138<screen role="root"><userinput>ln -sv $XORG_PREFIX/lib/X11 /usr/lib/X11 &amp;&amp;
139ln -sv $XORG_PREFIX/include/X11 /usr/include/X11</userinput></screen>
140
141 </sect2>
142
143</sect1>
Note: See TracBrowser for help on using the repository browser.