From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: 28762@debbugs.gnu.org
Subject: [bug#28762] [PATCH] gnu: ghostscript: Replace with 9.22 [security fixes].
Date: Mon, 09 Oct 2017 22:52:58 +0200 [thread overview]
Message-ID: <874lr8qc0l.fsf@gnu.org> (raw)
In-Reply-To: <b1b2e35d4f9d68d8200757c60c69962fb8dff6d1.1507574751.git.leo@famulari.name> (Leo Famulari's message of "Mon, 9 Oct 2017 14:45:51 -0400")
Leo Famulari <leo@famulari.name> skribis:
> Fixes CVE-2017-{7948,7975,8908,9216,9610,9611,9612,9618,9619,9620,9726,9727,
> 9739,9740,9835}.
>
> * gnu/packages/ghostscript.scm (ghostscript)[replacement]: New field.
> (ghostscript-9.22): New variables.
[...]
> +(define ghostscript-9.22
> + (package
> + (inherit ghostscript)
> + (version "9.22")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://github.com/ArtifexSoftware/"
> + "ghostpdl-downloads/releases/download/gs"
> + (string-delete #\. version)
> + "/ghostscript-" version ".tar.xz"))
> + (sha256
> + (base32
> + "1fyi4yvdj39bjgs10klr31cda1fbx1ar7a7b7yz7v68gykk65y61"))
> + (patches (search-patches "ghostscript-runpath.patch"
> + "ghostscript-no-header-creationdate.patch"
> + "ghostscript-no-header-id.patch"
> + "ghostscript-no-header-uuid.patch"))
> + (modules '((guix build utils)))
> + (snippet
> + ;; Remove bundled libraries. The bundled OpenJPEG is a patched fork so
> + ;; we leave it, at least for now.
> + ;; TODO Try unbundling ijs, which is developed alongside Ghostscript.
> + '(begin
> + (for-each delete-file-recursively '("freetype" "jbig2dec" "jpeg"
> + "lcms2" "libpng"
> + "tiff" "zlib"))))))))
Maybe:
(source
(origin
(inherit (package-source ghostscript))
(uri …)
(sha256 …)
(patches …)))
It should be slightly more concise.
Otherwise LGTM, thank you!
Ludo’.
prev parent reply other threads:[~2017-10-09 20:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-09 18:45 [bug#28762] [PATCH] gnu: ghostscript: Replace with 9.22 [security fixes] Leo Famulari
2017-10-09 20:52 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lr8qc0l.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=28762@debbugs.gnu.org \
--cc=leo@famulari.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).