ImageMagick: Disable ghostscript coders by default in policy.xml Disable ghostscript coders in policy.xml as a workaround for VU#332928 (). Please note that apart commenting/removing lines added in policy.xml, the ghostscript coders can be enabled per-user by copying policy.xml to ~/.config/ImageMagick/policy.xml and adjusting it with the following lines: | [...] | | | | | [...] Bump PKGREVISION Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/graphics/ImageMagick/Makefile,v retrieving revision 1.245 diff -u -p -r1.245 Makefile --- Makefile 22 Aug 2018 09:45:10 -0000 1.245 +++ Makefile 22 Aug 2018 13:24:20 -0000 @@ -1,6 +1,6 @@ # $NetBSD: Makefile,v 1.245 2018/08/22 09:45:10 wiz Exp $ -PKGREVISION= 1 +PKGREVISION= 2 .include "Makefile.common" PKGNAME= ImageMagick-${DISTVERSION} Index: distinfo =================================================================== RCS file: /cvsroot/pkgsrc/graphics/ImageMagick/distinfo,v retrieving revision 1.190 diff -u -p -r1.190 distinfo --- distinfo 16 Aug 2018 08:23:16 -0000 1.190 +++ distinfo 22 Aug 2018 13:24:20 -0000 @@ -4,3 +4,4 @@ SHA1 (ImageMagick-7.0.8-10.tar.xz) = c69 RMD160 (ImageMagick-7.0.8-10.tar.xz) = 9e5339d7e4f2dbc42090cd8394bca5b97dc485ba SHA512 (ImageMagick-7.0.8-10.tar.xz) = a4869e0a9be5e04c04fcd1fce5c4141d63968ee7f1dd78d84724921f2f088bdcea8c3b3799e1ff555a2a04dec32a1fb7c4a1e6053a6185e9a36c6ae0f1b9c6ed Size (ImageMagick-7.0.8-10.tar.xz) = 8635496 bytes +SHA1 (patch-config_policy.xml) = 2b7e37cc8fedb0d06502ba1d7e65a5aea9d6ec96 Index: patches/patch-config_policy.xml =================================================================== RCS file: patches/patch-config_policy.xml diff -N patches/patch-config_policy.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-config_policy.xml 22 Aug 2018 13:24:20 -0000 @@ -0,0 +1,22 @@ +$NetBSD$ + +Disable ghostscript coders by default to workaround VU#332928: + + +--- config/policy.xml.orig 2018-08-13 11:05:28.000000000 +0000 ++++ config/policy.xml +@@ -74,4 +74,14 @@ + + + ++ ++ ++ ++ ++ ++ ++ +