https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8511

Sidney Markowitz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6212|0                           |1
        is obsolete|                            |
                 CC|                            |[email protected]

--- Comment #3 from Sidney Markowitz <[email protected]> ---
Created attachment 6213
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6213&action=edit
patch to replace attachment 6212 that makes the handler work with unrar-free

Here is a patch to replace attachment 6212 that makes the handler work with
unrar-free, so it could just work on Fedora, as well as Debian and Ubuntu with
non-free packages not installed. unrar-free has had a print command since
version 0.2.0, so the handler uses RARLAB's unrar or unrar-free 0.2.0 or later,
and disables rar extraction with a warning for any other unrar. Debian 12 and
Ubuntu 22.04 and 24.04 have older versions of unrar-free, so there rar
extraction is disabled and t/handler_archive.t skips its rar tests. I also
found that on Windows, the CR/LF line endings in unrar's listing keep unrar in
the handler from working there too, and this also fixes that.

For handler_image_heic.t, this keeps attachment 6212's check that heif-dec can
decode the test image, with some changes to make it also work on Windows.

uri_class.t isn't in the patch, as r1940092 already skips that
test when neither Net::LibIDN2 nor Net::LibIDN is installed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to