- security update

* CVE-2018-17100 [bsc#1108637]
    + tiff-CVE-2018-17100.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=391
This commit is contained in:
Petr Gajdos 2018-10-22 09:43:10 +00:00 committed by Git OBS Bridge
parent c630fb26e2
commit 9c65a192ef
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 22 09:40:38 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
- add a possibility to build with ASAN
-------------------------------------------------------------------
Wed Oct 3 08:07:50 UTC 2018 - Petr Gajdos <pgajdos@suse.com>

View File

@ -12,10 +12,11 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define asan_build 0
%define maj 7
%define mfr_version %{maj}.0.8
%define mfr_revision 12
@ -339,6 +340,11 @@ export CONFIGURE_RELATIVE_PATH="ImageMagick%{libspec}%{clibver}"
--enable-pipes=no \
--enable-reproducible-build=yes \
--disable-openmp
%if %{asan_build}
sed -i -e 's/\(^CFLAGS.*\)/\1 -fsanitize=address/' \
-e 's/\(^LIBS =.*\)/\1 -lasan/' \
Makefile
%endif
# don't build together, PerlMagick could be miscompiled when using parallel build[1]
# [1] http://pkgs.fedoraproject.org/cgit/ImageMagick.git/tree/ImageMagick.spec
make %{?_smp_mflags} all
@ -355,6 +361,10 @@ dos2unix www/api/*.php
chmod -x PerlMagick/demo/*.pl
%check
%if %{asan_build}
# ASAN needs /proc to be mounted
exit 0
%endif
%ifarch i586
# https://github.com/ImageMagick/ImageMagick/issues/1215
rm PerlMagick/t/montage.t