Subject: bug#32179: closed (Re: [bug#32179] [PATCH] gnu: CUPS: Update to 2.2.8 [fixes CVE-2018-{4180,4181}].)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 18 Jul 2018 00:47:02 +0000

Your bug report

#32179: [PATCH] gnu: CUPS: Update to 2.2.8 [fixes CVE-2018-{4180,4181}].

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
32179: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32179
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#32179] [PATCH] gnu: CUPS: Update to 2.2.8 [fixes CVE-2018-{4180,4181}].
From: Leo Famulari <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Tue, 17 Jul 2018 20:46:07 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

On Wed, Jul 18, 2018 at 12:14:03AM +0200, Ludovic Courtès wrote:
> Hi Leo,
> 
> Leo Famulari <[email-masked]> skribis:
> 
> > * gnu/packages/cups.scm (cups-minimal)[replacement]: New field.
> > (cups-minimal-2.2.8): New variable.
> > (cups): Use package/inherit.
> 
> LGTM, thank you!

Thanks! Pushed as d212b9d4d0c42643d4e11965b8bf5649dcb24175

Subject: [PATCH] gnu: CUPS: Update to 2.2.8 [fixes CVE-2018-{4180,4181}].
From: Leo Famulari <[email-masked]>
To: [email-masked]
Date: Mon, 16 Jul 2018 15:04:26 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/cups.scm (cups-minimal)[replacement]: New field.
(cups-minimal-2.2.8): New variable.
(cups): Use package/inherit.
---
 gnu/packages/cups.scm | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index d36558702..bfc587a6f 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -174,6 +174,7 @@ filters for the PDF-centric printing workflow introduced by OpenPrinting.")
 (define-public cups-minimal
   (package
     (name "cups-minimal")
+    (replacement cups-minimal-2.2.8)
     (version "2.2.6")
     (source
      (origin
@@ -234,8 +235,21 @@ describe printer capabilities and features, and a wide variety of generic and
 device-specific programs to convert and print many types of files.")
     (license license:gpl2)))
 
+(define-public cups-minimal-2.2.8
+  (package
+    (inherit cups-minimal)
+    (version "2.2.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/apple/cups/releases/download/v"
+                           version "/cups-" version "-source.tar.gz"))
+       (sha256
+        (base32
+         "1r7r7b3nqpzc1a9dczqpj2mr8rkcwf01676v11sp4j7w4qfzqs1r"))))))
+
 (define-public cups
-  (package (inherit cups-minimal)
+  (package/inherit cups-minimal
     (name "cups")
     (arguments
      `(;; Three tests fail:
-- 
2.18.0