Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ImageMagick ImageMagick: restore policy.xml



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa566d9a47ea
branches:  trunk
changeset: 433868:aa566d9a47ea
user:      tm <tm%pkgsrc.org@localhost>
date:      Mon Jun 08 10:23:18 2020 +0000

description:
ImageMagick: restore policy.xml

After some short discussion, we will keep the policy.xml patch for now.

diffstat:

 graphics/ImageMagick/distinfo                        |   3 +-
 graphics/ImageMagick/patches/patch-config_policy.xml |  24 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r 8a4605c53870 -r aa566d9a47ea graphics/ImageMagick/distinfo
--- a/graphics/ImageMagick/distinfo     Mon Jun 08 09:55:50 2020 +0000
+++ b/graphics/ImageMagick/distinfo     Mon Jun 08 10:23:18 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.227 2020/06/08 07:56:06 tm Exp $
+$NetBSD: distinfo,v 1.228 2020/06/08 10:23:18 tm Exp $
 
 SHA1 (ImageMagick-7.0.10-13.tar.xz) = ce1792a35b487e3d7fa86d3e3f1ea7a60f79b7b7
 RMD160 (ImageMagick-7.0.10-13.tar.xz) = 91ddcc971aa0089862ca058918566f6d1c9702e8
 SHA512 (ImageMagick-7.0.10-13.tar.xz) = 0f688e9dd2edb78572114b6efd29b2220b050737d2a66a2ad37cf5a08f21501d07015ead9643ce270c3b285f4ff36d709e805f85febb2c938f73fe2dc0502748
 Size (ImageMagick-7.0.10-13.tar.xz) = 9691740 bytes
+SHA1 (patch-config_policy.xml) = 2c446a00fc00f85ab33eae0691d4d8989a46289f
diff -r 8a4605c53870 -r aa566d9a47ea graphics/ImageMagick/patches/patch-config_policy.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ImageMagick/patches/patch-config_policy.xml      Mon Jun 08 10:23:18 2020 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-config_policy.xml,v 1.4 2020/06/08 10:23:18 tm Exp $
+
+Disable ghostscript coders by default to workaround VU#332928:
+<https://www.kb.cert.org/vuls/id/332928>
+
+--- config/policy.xml.orig     2018-08-13 11:05:28.000000000 +0000
++++ config/policy.xml
+@@ -74,4 +74,16 @@
+   <!-- <policy domain="cache" name="memory-map" value="anonymous"/> -->
+   <!-- <policy domain="cache" name="synchronize" value="True"/> -->
+   <!-- <policy domain="cache" name="shared-secret" value="passphrase" stealth="true"/> -->
++
++  <!-- 
++    -- Disable ghostscript coders as suggested by VU#332928
++    --  <https://www.kb.cert.org/vuls/id/332928>
++    -->
++  <policy domain="coder" rights="none" pattern="PS" />
++  <policy domain="coder" rights="none" pattern="PS2" />
++  <policy domain="coder" rights="none" pattern="PS3" />
++  <policy domain="coder" rights="none" pattern="EPS" />
++  <policy domain="coder" rights="none" pattern="PDF" />
++  <policy domain="coder" rights="none" pattern="XPS" />
++
+ </policymap>



Home | Main Index | Thread Index | Old Index