From: Marius Bakke <mbakke@fastmail.com>
To: Leo Famulari <leo@famulari.name>, Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: mupdf: Fix some security problems in bundled mujs.
Date: Sun, 15 Jan 2017 20:05:48 +0100 [thread overview]
Message-ID: <87lgucxhwz.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20170115184717.GA29718@jasmine>
[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]
Leo Famulari <leo@famulari.name> writes:
> On Thu, Jan 12, 2017 at 07:59:40PM -0500, Mark H Weaver wrote:
>> Here's what we can do: in addition to mupdf itself, we can also add a
>> graft for cups-filters (our only package that includes mupdf as an
>> input). The replacement for cups-filters would change its mupdf input
>> to refer directly to the fixed version of mupdf.
>>
>> What do you think?
>
> I've attached two patches that should do this.
Thanks for doing this!
> +(define cups-filters/fixed
> + (package
> + (inherit cups-filters)
> + (inputs
> + `(("avahi" ,avahi)
> + ("fontconfig" ,fontconfig)
> + ("freetype" ,freetype)
> + ("font-dejavu" ,font-dejavu) ; also needed by test suite
> + ("ghostscript" ,(force ghostscript/cups))
> + ("ijs" ,ijs)
> + ("dbus" ,dbus)
> + ("lcms" ,lcms)
> + ("libjpeg" ,libjpeg)
> + ("libpng" ,libpng)
> + ("libtiff" ,libtiff)
> + ("mupdf" ,(@@ (gnu packages pdf) mupdf/fixed))
> + ("glib" ,glib)
> + ("qpdf" ,qpdf)
> + ("poppler" ,poppler)
> + ("cups-minimal" ,cups-minimal)))))
Is it possible to use the 'package-input-rewriting' procedure here? See
example at the end of section 5.1.0:
https://www.gnu.org/software/guix/manual/guix.html#Defining-Packages
Otherwise this LGTM, thanks a lot!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2017-01-15 19:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-12 18:06 [PATCH] gnu: mupdf: Fix some security problems in bundled mujs Marius Bakke
2017-01-12 18:30 ` Leo Famulari
2017-01-12 19:46 ` Marius Bakke
2017-01-12 20:03 ` Leo Famulari
2017-01-13 0:59 ` Mark H Weaver
2017-01-13 17:34 ` Leo Famulari
2017-01-15 8:20 ` Mark H Weaver
2017-01-15 18:47 ` Leo Famulari
2017-01-15 19:05 ` Marius Bakke [this message]
2017-01-15 20:49 ` Leo Famulari
2017-01-15 20:56 ` Marius Bakke
2017-01-15 23:05 ` Mark H Weaver
2017-01-16 1:27 ` Leo Famulari
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=87lgucxhwz.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=guix-devel@gnu.org \
--cc=leo@famulari.name \
--cc=mhw@netris.org \
/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).