xorg/xorg-server/Pkgfile
Fredrik Rinnestam d139c53819 [notify] xorg-server: 1.20.10. Fixes for CVE-2020-14360, CVE-2020-25712
Multiple input validation failures in X server XKB extension
============================================================

These issues can lead to privileges elevations for authorized clients
on systems where the X server is running privileged.

* CVE-2020-14360 / ZDI CAN 11572 XkbSetMap Out-Of-Bounds Access

Insufficient checks on the lengths of the XkbSetMap request can lead to
out of bounds memory accesses in the X server.

* CVE-2020-25712 / ZDI-CAN-11839 XkbSetDeviceInfo Heap-based Buffer Overflow

Insufficient checks on input of the XkbSetDeviceInfo request can lead
to a buffer overflow on the head in the X server.
2020-12-01 19:02:53 +01:00

30 lines
976 B
Plaintext

# Description: X Window System server
# URL: http://xorg.freedesktop.org
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
# Depends on: libepoxy xorg-bdftopcf xorg-font-util xorg-libdmx xorg-libxaw xorg-libxcomposite xorg-libxcursor xorg-libxfont2 xorg-libxft xorg-libxinerama xorg-libxkbfile xorg-libxres xorg-libxtst xorg-libxxf86dga xorg-mkfontscale xorg-xcb-util-keysyms
name=xorg-server
version=1.20.10
release=1
source=(https://www.x.org/releases/individual/xserver/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
--localstatedir=/var \
--with-fontrootdir=/usr/share/fonts/X11 \
--with-xkb-output=/var/lib/xkb \
--enable-dri \
--with-sha1=libcrypto \
--disable-systemd-logind \
--enable-glamor
make
make DESTDIR=$PKG install
rmdir $PKG/var/log
install -m 755 -d $PKG/etc/X11/xorg.conf.d
}