summary refs log tree commit diff
path: root/gnu/packages/cups.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-07-02 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-02 02:00:08 +0200
commit2986ba899f5ee374008c501e26fb653147ed7891 (patch)
tree1d5c85da3aac4cda2ae7423f229f134c6cbca71b /gnu/packages/cups.scm
parent88d107b2b9bf72a628065a1475ecce7b49852c35 (diff)
downloadguix-2986ba899f5ee374008c501e26fb653147ed7891.tar.gz
gnu: cups: Replace with 2.4.6 [fixes CVE-2023-34241].
* gnu/packages/cups.scm (cups-minimal/fixed): New variable.
(cups-minimal)[replacement]: Assign it to new field.
Diffstat (limited to 'gnu/packages/cups.scm')
-rw-r--r--gnu/packages/cups.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 133d7debf4..74f7875f69 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -249,6 +249,7 @@ filters for the PDF-centric printing workflow introduced by OpenPrinting.")
   (package
     (name "cups-minimal")
     (version "2.4.2")
+    (replacement cups-minimal/fixed)
     (source
      (origin
        (method git-fetch)
@@ -335,6 +336,20 @@ applications''.  These must be installed separately.")
     ;; CUPS is Apache 2.0 with exceptions, see the NOTICE file.
     (license license:asl2.0)))
 
+(define cups-minimal/fixed
+  (package
+    (inherit cups-minimal)
+    (version "2.4.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/OpenPrinting/cups")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name "cups" version))
+       (sha256
+        (base32 "0z70rhfd96qmdx82gdhh2nqjiia0lnvfdwpngjkag2sidw4cm3c1"))))))
+
 (define-public cups
   (package/inherit cups-minimal
     (name "cups")