ImageMagick6: 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/ImageMagick6/Makefile,v retrieving revision 1.16 retrieving revision 1.19 diff -u -p -r1.16 -r1.19 --- Makefile 17 Apr 2018 22:29:32 -0000 1.16 +++ Makefile 23 Aug 2018 14:54:21 -0000 1.19 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.16 2018/04/17 22:29:32 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2018/08/23 14:54:21 leot Exp $ -PKGREVISION= 2 +PKGREVISION= 5 .include "Makefile.common" PKGNAME= ImageMagick6-${DISTVERSION} Index: distinfo =================================================================== RCS file: /cvsroot/pkgsrc/graphics/ImageMagick6/distinfo,v retrieving revision 1.9 retrieving revision 1.11 diff -u -p -r1.9 -r1.11 --- distinfo 12 Mar 2018 15:47:00 -0000 1.9 +++ distinfo 23 Aug 2018 14:54:21 -0000 1.11 @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.9 2018/03/12 15:47:00 fhajny Exp $ +$NetBSD: distinfo,v 1.11 2018/08/23 14:54:21 leot Exp $ SHA1 (ImageMagick-6.9.9-38.tar.xz) = 2dc6b3c415b342efb7ab64d18bb801c7f1881212 RMD160 (ImageMagick-6.9.9-38.tar.xz) = 50008946057cde9fc7a6d0149414e870a2a351b0 SHA512 (ImageMagick-6.9.9-38.tar.xz) = 78ecb605d2ea529603bab723c284be9c03a7d370814bbe708c2c34e0b91f75c1a0c193a5a2ea8f3583019d3610ac08d0d28671d8fdb2df2478865d9ab7417b91 Size (ImageMagick-6.9.9-38.tar.xz) = 8913864 bytes SHA1 (patch-Makefile.in) = bb747b5e062f2a59e307289b5b33861dd5f96ab0 +SHA1 (patch-config_policy.xml) = 2c446a00fc00f85ab33eae0691d4d8989a46289f 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 23 Aug 2018 14:54:21 -0000 1.2 @@ -0,0 +1,24 @@ +$NetBSD: patch-config_policy.xml,v 1.2 2018/08/23 14:54:21 leot Exp $ + +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,16 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ ++ +