From da3c0ac19c7b0de26a27c162f61dc2f75c115be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 4 Mar 2017 08:21:22 +0100 Subject: [PATCH] xorg.xorgserver: security 1.19.1 -> 1.19.2 Various bugfixes including CVE-2017-2624. It seems to run without any problems for me. --- pkgs/servers/x11/xorg/default.nix | 6 +++--- pkgs/servers/x11/xorg/overrides.nix | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/x11/xorg/default.nix b/pkgs/servers/x11/xorg/default.nix index eee912d1b8c..49e71614bf9 100644 --- a/pkgs/servers/x11/xorg/default.nix +++ b/pkgs/servers/x11/xorg/default.nix @@ -2364,11 +2364,11 @@ let }) // {inherit ;}; xorgserver = (mkDerivation "xorgserver" { - name = "xorg-server-1.19.1"; + name = "xorg-server-1.19.2"; builder = ./builder.sh; src = fetchurl { - url = mirror://xorg/individual/xserver/xorg-server-1.19.1.tar.bz2; - sha256 = "1yx7cnlhl14hsdq5lg0740s4nxqxkmaav38x428llv1zkprjrbkr"; + url = mirror://xorg/individual/xserver/xorg-server-1.19.2.tar.bz2; + sha256 = "1fw4b2lf75nsqkiyhn95b1c2if1l3cw5a188a1szx1d8l7sbk2jg"; }; buildInputs = [pkgconfig dri2proto dri3proto renderproto openssl libX11 libXau libXaw libxcb xcbutil xcbutilwm xcbutilimage xcbutilkeysyms xcbutilrenderutil libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt ]; meta.platforms = stdenv.lib.platforms.unix; diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 310bebd382a..c7a4ff20a73 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -394,6 +394,11 @@ in let attrs = with args; if (args.abiCompat == null) then attrs_passed + # All this just for 1.19.2, as the tarball is incorrectly autotoolized. + // { + nativeBuildInputs = [ utilmacros fontutil ]; + preConfigure = "libtoolize --force; aclocal; autoheader; automake -afi"; + } else if (args.abiCompat == "1.17") then { name = "xorg-server-1.17.4"; builder = ./builder.sh;