What | Removed | Added |
---|---|---|
Summary | ImageMagick and ImageMagick-config-7-SUSE file conflict | ImageMagick uses update-alternatives (was: ImageMagick and ImageMagick-config-7-SUSE file conflict) |
For the information, the revert of update-alternatives removal is now in Factory trough https://build.opensuse.org/request/show/1176179 (unfortunately, I have realized that post-mortem as I missed the obs notification mail) In https://build.opensuse.org/project/show/home:pgajdos:magick-no-ua there is a variant without update alternatives. To summarize, it: 1. uses a new /etc/IMagick-7 dir (question is, whether this is reasonable, given that the revert is in factory yet) 2. ships policies under %{_datadir}/libMagickCore%{libspec}%{clibver}/policies together with imagick-set-policy helper script which is supposed make a link /etc/IMagick-7/policy.xml to one of that policy 3. policies can be installed in parallel, imagick-set-policy will choose the 'most secure one' even if they can not be exactly linearly ordered to provide /etc/IMagick-7/policy.xml; other policies installed on the same system can be used together with MAGICK_CONFIGURE_PATH 4. imagick-set-policy is run from %post/%postun of individual configuration variant packages and the main package; it can be used even directly, for testing purposes We can choose (again, given that the revert is in factory already) the less intrusive change and replace the update-alternaives with the script analogous to imagick-set-policy to provide the /etc/ImageMagick-7 link to variants instead of update-alternatives.