unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27524] [PATCH] gnu: poppler: Fix CVE-2017-{9775,9776}.
@ 2017-06-29  7:21 Leo Famulari
  2017-06-29 16:13 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2017-06-29  7:21 UTC (permalink / raw)
  To: 27524

* gnu/packages/pdf.scm (poppler)[replacement]: New field.
(poppler-0.56.0): New variable.
(poppler-qt4, poppler-qt5): Use 'package/inherit'.
---
 gnu/packages/pdf.scm | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 5ccaa38ee..dce02a7b5 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -76,6 +76,7 @@
 (define-public poppler
   (package
    (name "poppler")
+   (replacement poppler-0.56.0)
    (version "0.52.0")
    (source (origin
             (method url-fetch)
@@ -129,15 +130,27 @@
    (license license:gpl2+)
    (home-page "https://poppler.freedesktop.org/")))
 
-(define-public poppler-qt4
+(define poppler-0.56.0
   (package (inherit poppler)
+  (version "0.56.0")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (string-append "https://poppler.freedesktop.org/poppler-"
+                          version ".tar.xz"))
+      (sha256
+       (base32
+        "0wviayidfv2ix2ql0d4nl9r1ia6qi5kc1nybd9vjx27dk7gvm7c6"))))))
+
+(define-public poppler-qt4
+  (package/inherit poppler
    (name "poppler-qt4")
    (inputs `(("qt-4" ,qt-4)
              ,@(package-inputs poppler)))
    (synopsis "Qt4 frontend for the Poppler PDF rendering library")))
 
 (define-public poppler-qt5
-  (package (inherit poppler)
+  (package/inherit poppler
    (name "poppler-qt5")
    (inputs `(("qtbase" ,qtbase)
              ,@(package-inputs poppler)))
-- 
2.13.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#27524] [PATCH] gnu: poppler: Fix CVE-2017-{9775,9776}.
  2017-06-29  7:21 [bug#27524] [PATCH] gnu: poppler: Fix CVE-2017-{9775,9776} Leo Famulari
@ 2017-06-29 16:13 ` Ludovic Courtès
  2017-06-29 20:51   ` bug#27524: " Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-06-29 16:13 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 27524

Leo Famulari <leo@famulari.name> skribis:

> * gnu/packages/pdf.scm (poppler)[replacement]: New field.
> (poppler-0.56.0): New variable.
> (poppler-qt4, poppler-qt5): Use 'package/inherit'.

LGTM!  I assume 0.52.0 and 0.56.0 are ABI-compatible.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27524: [PATCH] gnu: poppler: Fix CVE-2017-{9775,9776}.
  2017-06-29 16:13 ` Ludovic Courtès
@ 2017-06-29 20:51   ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-06-29 20:51 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27524-done

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

On Thu, Jun 29, 2017 at 06:13:03PM +0200, Ludovic Courtès wrote:
> Leo Famulari <leo@famulari.name> skribis:
> 
> > * gnu/packages/pdf.scm (poppler)[replacement]: New field.
> > (poppler-0.56.0): New variable.
> > (poppler-qt4, poppler-qt5): Use 'package/inherit'.
> 
> LGTM!  I assume 0.52.0 and 0.56.0 are ABI-compatible.

Yes, they are ABI-compatible as far as I can tell. I tried
cherry-picking the upstream patches but they don't apply cleanly to
poppler 0.52.0, which I why I decided to use the updated poppler as the
replacement.

Thanks for the review!

Pushed as 95bbaa02aa63bc5eae36f686f1ed9915663aa4cf.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-29 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-29  7:21 [bug#27524] [PATCH] gnu: poppler: Fix CVE-2017-{9775,9776} Leo Famulari
2017-06-29 16:13 ` Ludovic Courtès
2017-06-29 20:51   ` bug#27524: " Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).