- 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:
parent
c630fb26e2
commit
9c65a192ef
@ -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>
|
Wed Oct 3 08:07:50 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@ -12,10 +12,11 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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 maj 7
|
||||||
%define mfr_version %{maj}.0.8
|
%define mfr_version %{maj}.0.8
|
||||||
%define mfr_revision 12
|
%define mfr_revision 12
|
||||||
@ -339,6 +340,11 @@ export CONFIGURE_RELATIVE_PATH="ImageMagick%{libspec}%{clibver}"
|
|||||||
--enable-pipes=no \
|
--enable-pipes=no \
|
||||||
--enable-reproducible-build=yes \
|
--enable-reproducible-build=yes \
|
||||||
--disable-openmp
|
--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]
|
# don't build together, PerlMagick could be miscompiled when using parallel build[1]
|
||||||
# [1] http://pkgs.fedoraproject.org/cgit/ImageMagick.git/tree/ImageMagick.spec
|
# [1] http://pkgs.fedoraproject.org/cgit/ImageMagick.git/tree/ImageMagick.spec
|
||||||
make %{?_smp_mflags} all
|
make %{?_smp_mflags} all
|
||||||
@ -355,6 +361,10 @@ dos2unix www/api/*.php
|
|||||||
chmod -x PerlMagick/demo/*.pl
|
chmod -x PerlMagick/demo/*.pl
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{asan_build}
|
||||||
|
# ASAN needs /proc to be mounted
|
||||||
|
exit 0
|
||||||
|
%endif
|
||||||
%ifarch i586
|
%ifarch i586
|
||||||
# https://github.com/ImageMagick/ImageMagick/issues/1215
|
# https://github.com/ImageMagick/ImageMagick/issues/1215
|
||||||
rm PerlMagick/t/montage.t
|
rm PerlMagick/t/montage.t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user