summary refs log tree commit diff
diff options
context:
space:
mode:
authorKaelyn Takata <kaelyn.alexi@protonmail.com>2023-06-16 18:47:52 +0000
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-02 14:46:41 -0400
commit5ff0c8997a2ddf71af477883584a5f9ccd9b757f (patch)
treeb7509437cbc3aac7da7dd6deca55abe20d7a6ed4
parent8226549181d4a3f9635aabf428a08701ea58a1c7 (diff)
downloadguix-5ff0c8997a2ddf71af477883584a5f9ccd9b757f.tar.gz
gnu: libx11: Graft with 1.8.6 [security fixes].
Includes fix for: CVE-2023-3138.

* gnu/packages/xorg.scm (libx11-fixed): New variable.
(libx11)[replacement]: Graft.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-rw-r--r--gnu/packages/xorg.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 38bd38a85f..08cbd8d757 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5307,6 +5307,7 @@ Wayland.")
   (package
     (name "libx11")
     (version "1.8.1")
+    (replacement libx11-fixed)          ;security fixes
     (source
      (origin
        (method url-fetch)
@@ -5336,6 +5337,19 @@ Wayland.")
     (description "Xorg Core X11 protocol client library.")
     (license license:x11)))
 
+(define-public libx11-fixed
+  (package
+    (inherit libx11)
+    (version "1.8.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://xorg/individual/lib/libX11-"
+                           version ".tar.xz"))
+       (sha256
+        (base32
+         "1jawl8zp1h7hdmxx1sc6kmxkki187d9yixr2l03ai6wqqry5nlsr"))))))
+
 ;; packages of height 5 in the propagated-inputs tree
 
 (define-public libxcursor