diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2024-09-22 02:00:00 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2024-09-22 02:00:00 +0200 |
commit | 9a141b5bd633227ea31776b9ce7ca40928de2442 (patch) | |
tree | 633ee888d02227887126499392fef331a64ca936 /gnu/packages/cups.scm | |
parent | 198840bcb597fa7c9b15a7e760c22cd5ece0cc4f (diff) | |
download | guix-9a141b5bd633227ea31776b9ce7ca40928de2442.tar.gz guix-9a141b5bd633227ea31776b9ce7ca40928de2442.zip |
gnu: cups-minimal: Address PPD injection issues [security fixes].
* gnu/packages/cups.scm (cups-minimal)[replacement]: Graft with...
(cups-minimal/fixed): ...this new variable.
[source]: Add a patch to do the thing.
* gnu/packages/patches/cups-minimal-Address-PPD-injection-issues.patch:
New file.
Change-Id: Id4db145887e72081b404dedbccd62c23a8f52d55
Diffstat (limited to 'gnu/packages/cups.scm')
-rw-r--r-- | gnu/packages/cups.scm | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index 2ce4045675..e8ca5efc86 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -356,17 +356,11 @@ applications''. These must be installed separately.") (define cups-minimal/fixed (package (inherit cups-minimal) - (version "2.4.10") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/OpenPrinting/cups") - (commit (string-append "v" version)))) - ;; Avoid NAME confusion: these are the complete CUPS sources. - (file-name (git-file-name "cups" version)) - (sha256 - (base32 "0mqx302mnk728h9sq5lknfv3ip7mfv44x3cqrjpndcdffd0ppnsw")))))) + (inherit (package-source cups-minimal)) + (patches + (search-patches "cups-minimal-Address-PPD-injection-issues.patch")))))) (define-public cups (package/inherit cups-minimal |