1
0
forked from ports/opt

[security] x11: fix for CVE-2006-1525

This commit is contained in:
Juergen Daubert 2006-05-02 16:49:06 +00:00
parent 97ab41230f
commit 4d4b3265c1
2 changed files with 4 additions and 1 deletions

View File

@ -3,4 +3,5 @@
3196b65d8c4416cad412a0c49d75c461 x11-6.9.0-linux_config.patch
5527ad8177942a919981d4fba690879a x11-6.9.0-xterm256.patch
de85e59b8906f76a52ec9162ec6c0b63 x11r6.9.0-geteuid.diff
d666925bfe3d76156c399091578579ae x11r6.9.0-mitri.diff
05f76e7c05dcda1dcb065e2f1eeaa88f xdm

View File

@ -8,10 +8,11 @@
name=x11
version=6.9.0
release=3
release=4
source=(http://ftp.x.org/pub/X11R${version}/src-single/X11R${version}-src.tar.bz2 \
$name-$version-xterm256.patch $name-$version-linux_config.patch \
http://xorg.freedesktop.org/releases/X11R${version}/patches/${name}r${version}-geteuid.diff \
http://xorg.freedesktop.org/releases/X11R${version}/patches/${name}r${version}-mitri.diff \
xdm host.def)
build() {
@ -19,6 +20,7 @@ build() {
patch -p1 < $SRC/$name-$version-xterm256.patch
patch -p1 < $SRC/$name-$version-linux_config.patch
patch -p0 < $SRC/${name}r${version}-geteuid.diff
patch -p0 < $SRC/${name}r${version}-mitri.diff
sed "s/#CFLAGS#/$CFLAGS/" $SRC/host.def > config/cf/host.def
make World