aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cups.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-05-17 05:16:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-05-17 14:12:35 +0200
commit677515739e07cf6e99b70fa3cae5955a664566c7 (patch)
tree15935e2c8e023fb9b4ef8768746adc9f54afa885 /gnu/packages/cups.scm
parent4d1e4af4e9cfcb75e1b531ec5e5408747f1c903c (diff)
downloadguix-677515739e07cf6e99b70fa3cae5955a664566c7.tar
guix-677515739e07cf6e99b70fa3cae5955a664566c7.tar.gz
gnu: cups: Update to 2.3.3 [fixes CVE-2020-3898 & CVE-2019-8842].
* gnu/packages/cups.scm (cups-minimal, cups)[replacement]: New fields. (cups-minimal-2.3.3, cups-2.3.3): New public variables.
Diffstat (limited to 'gnu/packages/cups.scm')
-rw-r--r--gnu/packages/cups.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index b253d0604e..f668d6c19b 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -187,6 +187,7 @@ filters for the PDF-centric printing workflow introduced by OpenPrinting.")
;; satisfy this dependency.
(define-public cups-minimal
(package
+ (replacement cups-minimal-2.3.3)
(name "cups-minimal")
(version "2.3.1")
(source
@@ -249,8 +250,22 @@ device-specific programs to convert and print many types of files.")
;; CUPS is Apache 2.0 with exceptions, see the NOTICE file.
(license license:asl2.0)))
+(define-public cups-minimal-2.3.3
+ (package
+ (inherit cups-minimal)
+ (version "2.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/apple/cups/releases/download/v"
+ version "/cups-" version "-source.tar.gz"))
+ (sha256
+ (base32
+ "1vpk0b2vq830f8fvf9z8qjsm5k141i7pi8djbinpnr78pi4dj7r6"))))))
+
(define-public cups
(package (inherit cups-minimal)
+ (replacement cups-2.3.3)
(name "cups")
(arguments
`(;; Three tests fail:
@@ -392,6 +407,12 @@ device-specific programs to convert and print many types of files.")
("cups-filters" ,cups-filters)
("zlib" ,zlib)))))
+(define-public cups-2.3.3
+ (package
+ (inherit cups)
+ (version "2.3.3")
+ (source (package-source cups-minimal-2.3.3))))
+
(define-public cups-pk-helper
(package
(name "cups-pk-helper")