Accepting request 394840 from home:computersalat:devel:graphics

rework ImageMagick-6.8.8-1-disable-insecure-coders.patch, rebase patches

OBS-URL: https://build.opensuse.org/request/show/394840
OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=253
This commit is contained in:
OBS User mrdocs 2016-05-13 19:31:18 +00:00 committed by Git OBS Bridge
parent 27ecdde9e5
commit cceb4654ff
9 changed files with 46 additions and 30 deletions

View File

@ -2,7 +2,7 @@ Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -3075,7 +3075,7 @@ AC_SUBST(FILTER_PATH)
@@ -2941,7 +2941,7 @@ AC_SUBST(FILTER_PATH)
#
# Path to ImageMagick documentation files

View File

@ -1,4 +1,6 @@
--- Magick++/demo/makefile.2
Index: Magick++/demo/makefile.2
===================================================================
--- /dev/null
+++ Magick++/demo/makefile.2
@@ -0,0 +1,8 @@
+LDFLAGS= $(shell Magick-config --ldflags)

View File

@ -1,8 +1,8 @@
Index: configure.ac
===================================================================
--- configure.ac.orig 2016-04-14 16:11:00.551271813 +0200
+++ configure.ac 2016-04-14 16:12:17.951272238 +0200
@@ -49,7 +49,7 @@
--- configure.ac.orig
+++ configure.ac
@@ -49,7 +49,7 @@ AC_CONFIG_HEADERS([config/config.h])
AX_PREFIX_CONFIG_H([magick/magick-baseconfig.h],[MagickCore])
AC_CANONICAL_SYSTEM
AC_CANONICAL_TARGET

View File

@ -1,8 +1,8 @@
perl Makefile.PL always regenerates Makefile
Index: ImageMagick-6.8.4-0/PerlMagick/Makefile.am
Index: PerlMagick/Makefile.am
===================================================================
--- ImageMagick-6.8.4-0.orig/PerlMagick/Makefile.am
+++ ImageMagick-6.8.4-0/PerlMagick/Makefile.am
--- PerlMagick/Makefile.am.orig
+++ PerlMagick/Makefile.am
@@ -57,9 +57,8 @@ PERLMAGICK_CHECKSCRPTS =
$(PERLMAKEFILE): perl-sources $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(PERLMAKEMAKER)
cd $(PERLMAGICK) && @PERL@ Makefile.PL $(PERL_MAKE_OPTIONS)

View File

@ -1,8 +1,8 @@
Index: ImageMagick-6.8.4-0/PerlMagick/Makefile.am
Index: PerlMagick/Makefile.am
===================================================================
--- ImageMagick-6.8.4-0.orig/PerlMagick/Makefile.am
+++ ImageMagick-6.8.4-0/PerlMagick/Makefile.am
@@ -70,7 +69,7 @@ check-perl: $(PERLMAKEFILE)
--- PerlMagick/Makefile.am.orig
+++ PerlMagick/Makefile.am
@@ -70,7 +70,7 @@ check-perl: $(PERLMAKEFILE)
cd $(PERLMAGICK) && $(abs_top_builddir)/magick.sh $(MAKE) CC='@CC@' test
perl-build: $(PERLMAKEFILE)

View File

@ -1,8 +1,8 @@
Index: ImageMagick-6.8.5-7/coders/xpm.c
Index: coders/xpm.c
===================================================================
--- ImageMagick-6.8.5-7.orig/coders/xpm.c
+++ ImageMagick-6.8.5-7/coders/xpm.c
@@ -386,7 +386,7 @@ static Image *ReadXPMImage(const ImageIn
--- coders/xpm.c.orig
+++ coders/xpm.c
@@ -415,7 +415,7 @@ static Image *ReadXPMImage(const ImageIn
image->storage_class=DirectClass;
image->matte=MagickTrue;
}

View File

@ -1,12 +1,8 @@
Index: ImageMagick-6.8.8-1/config/policy.xml
Disable insecure loaders by default bsc#978061
sflees@suse.de
Index: config/policy.xml
===================================================================
--- ImageMagick-6.8.8-1.orig/config/policy.xml
+++ ImageMagick-6.8.8-1/config/policy.xml
@@ -56,4 +56,11 @@
--- config/policy.xml.orig
+++ config/policy.xml
@@ -62,4 +62,15 @@
<!-- <policy domain="resource" name="time" value="3600"/> -->
<!-- <policy domain="system" name="precision" value="6"/> -->
<policy domain="cache" name="shared-secret" value="passphrase"/>
@ -17,4 +13,8 @@ sflees@suse.de
+ <policy domain="coder" rights="none" pattern="HTTPS" />
+ <policy domain="coder" rights="none" pattern="MVG" />
+ <policy domain="coder" rights="none" pattern="MSL" />
+ <policy domain="coder" rights="none" pattern="TEXT" />
+ <policy domain="coder" rights="none" pattern="SHOW" />
+ <policy domain="coder" rights="none" pattern="WIN" />
+ <policy domain="coder" rights="none" pattern="PLT" />
</policymap>

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed May 11 11:56:25 UTC 2016 - chris@computersalat.de
- rework ImageMagick-6.8.8-1-disable-insecure-coders.patch
* add new policy (TEXT, SHOW, WIN and PLT)
- rebase patches (p0)
* ImageMagick-6.6.8.9-doc.patch
* ImageMagick-6.6.8.9-examples.patch
* ImageMagick-6.7.6.1-no-dist-lzip.patch
* ImageMagick-6.8.4.0-dont-build-in-install.patch
* ImageMagick-6.8.4.0-rpath.patch
* ImageMagick-6.8.5.7-no-XPMCompliance.patch
* ImageMagick-6.8.8-1-disable-insecure-coders.patch
-------------------------------------------------------------------
Thu May 5 13:31:42 UTC 2016 - vcizek@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ImageMagick
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -72,7 +72,7 @@ BuildRequires: zip
Version: %{mfr_version}.%{mfr_revision}
Release: 0
Summary: Viewer and Converter for Images
License: ImageMagick
License: SUSE-ImageMagick
Group: Productivity/Graphics/Other
Url: http://www.imagemagick.org
Source: http://www.imagemagick.org/download/ImageMagick-%{mfr_version}-%{mfr_revision}.tar.xz
@ -249,10 +249,10 @@ HTML documentation for ImageMagick library and scene examples.
%patch0
%patch1
%patch2
%patch3 -p1
%patch4 -p1
%patch11 -p1
%patch20 -p1
%patch3
%patch4
%patch11
%patch20
# remove executeable bits from per demos
chmod -x PerlMagick/demo/*.pl