guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: gnu: hplip: Update to 3.20.9 [security fixes].


From: guix-commits
Subject: 05/06: gnu: hplip: Update to 3.20.9 [security fixes].
Date: Sun, 4 Oct 2020 08:44:32 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit a2f25137241859f03e980a8e2452c1cb4db9fe43
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 4 13:35:46 2020 +0200

    gnu: hplip: Update to 3.20.9 [security fixes].
    
    * gnu/packages/cups.scm (hplip): Update to 3.20.9.
    [source]: Add hplip-fix-bug-1898438.patch.
    [arguments]: Follow upstream defaults.
    * gnu/packages/patches/hplip-fix-bug-1898438.patch: New file.
    * gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk                                     |  1 +
 gnu/packages/cups.scm                            | 10 ++++------
 gnu/packages/patches/hplip-fix-bug-1898438.patch | 19 +++++++++++++++++++
 3 files changed, 24 insertions(+), 6 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 3633eeb..76d6d7b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1134,6 +1134,7 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/hubbub-sort-entities.patch              \
   %D%/packages/patches/hurd-cross.patch                                \
   %D%/packages/patches/hurd-xattr.patch                                \
+  %D%/packages/patches/hplip-fix-bug-1898438.patch             \
   %D%/packages/patches/hplip-remove-imageprocessor.patch       \
   %D%/packages/patches/hydra-disable-darcs-test.patch          \
   %D%/packages/patches/icecat-makeicecat.patch                 \
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index d12247f..173f8ca 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -415,16 +415,17 @@ should only be used as part of the Guix cups-pk-helper 
service.")
 (define-public hplip
   (package
     (name "hplip")
-    (version "3.20.6")
+    (version "3.20.9")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://sourceforge/hplip/hplip/" version
                                   "/hplip-" version ".tar.gz"))
               (sha256
                (base32
-                "083w58wpvvm6sir6rf5dwx3r0rman9sv1zpl26chl0a88crjsjy6"))
+                "1prdbp410405xrfggjc7y34nzljg7jnbgjzalgv4khwwma4i299n"))
               (modules '((guix build utils)))
-              (patches (search-patches "hplip-remove-imageprocessor.patch"))
+              (patches (search-patches "hplip-fix-bug-1898438.patch"
+                                       "hplip-remove-imageprocessor.patch"))
               (snippet
                '(begin
                   ;; Delete non-free blobs: .so files, pre-compiled
@@ -465,10 +466,7 @@ should only be used as part of the Guix cups-pk-helper 
service.")
                          (assoc-ref %outputs "out") "/lib")
          ;; Disable until mime.types merging works (FIXME).
          "--disable-fax-build"
-         "--enable-hpcups-install"
          "--enable-new-hpcups"
-         "--enable-cups_ppd_install"
-         "--enable-cups_drv_install"
          ;; TODO add foomatic drv install eventually.
          ;; TODO --enable-policykit eventually.
          ,(string-append "--with-cupsfilterdir="
diff --git a/gnu/packages/patches/hplip-fix-bug-1898438.patch 
b/gnu/packages/patches/hplip-fix-bug-1898438.patch
new file mode 100644
index 0000000..7c095f9
--- /dev/null
+++ b/gnu/packages/patches/hplip-fix-bug-1898438.patch
@@ -0,0 +1,19 @@
+From: Tobias Geerinckx-Rice <me@tobias.gr>
+Date: Sun, 04 Oct 2020 13:28:49 +0200
+Subject: [PATCH] gnu: hplip: Fix non-network builds (bug #1898438)
+
+Reported as <https://bugs.launchpad.net/hplip/+bug/1898438>.
+
+diff -Naur a/scan/sane/hpaio.c b/scan/sane/hpaio.c
+--- a/scan/sane/hpaio.c        1970-01-01 01:00:01.000000000 +0100
++++ b/scan/sane/hpaio.c        2020-10-04 13:26:34.665244052 +0200
+@@ -36,7 +36,9 @@
+ #include <string.h>
+ #include <cups/cups.h>
+ #include "hpmud.h"
++#ifdef HAVE_LIBNETSNMP
+ #include "avahiDiscovery.h"
++#endif
+ #include "hp_ipp.h"
+ #include "soap.h"
+ #include "soapht.h"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]