Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 206470

Summary: app-arch/unrar-3.7.8 breaks av- option
Product: Gentoo Linux Reporter: Paul B. Henson <henson>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal CC: asolokha, bunder
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul B. Henson 2008-01-17 21:48:04 UTC
I recently upgraded from unrar-3.7.3 to 3.7.8, and started receiving weird amavisd failures.

I tracked it down to a broken av- option:

unrar-3.7.3:

/usr/bin/unrar v -c- -p- -av- -idcdp -- /tmp/test.rar

Archive /tmp/test.rar

Pathname/Comment
                  Size   Packed Ratio  Date   Time     Attr      CRC   Meth Ver
-------------------------------------------------------------------------------
 gridcontrol install.pdf
                288905   228541  79% 13-12-07 12:02 -rw-r----- C6A581EF m3d 2.9
 ipf.tar
                  9216     1201  13% 09-01-08 13:44 -rw-r--r-- 62CE129E m3d 2.9
-------------------------------------------------------------------------------
    2           298121   229742  77%


unrar-3.7.8:

/usr/bin/unrar v -c- -p- -av- -idcdp -- /tmp/test.rar

ERROR: Unknown option: av-


It's still documented in the 3.7.8 help output:

<Switches>
[...]
  av-           Disable authenticity verification check


Maybe this version should be masked pending resolution?
Comment 1 Paul B. Henson 2008-01-17 21:58:29 UTC
Based on forum postings, looks like 3.7.5 is broken too.
Comment 2 SpanKY gentoo-dev 2008-06-18 16:56:49 UTC
well, it isnt a matter of unrar-3.7.5+ not supporting it, it's a matter of unrar-3.7.3 and older not flagging it as unsupported

with older versions, anything invalid coming after -a was ignored

the verification stuff is supposed to be only in the "paid for" version ...
Comment 3 Chris Henhawke (RETIRED) gentoo-dev 2008-10-30 18:16:29 UTC
is there any way around this yet?  (be it via unrar, or via amavisd-new)

it seems unrar-3.7.3 is gone from portage.
Comment 4 SpanKY gentoo-dev 2008-11-16 13:26:19 UTC
create a local unrar script that removes the av option from the cmd line before executing the real unrar
Comment 5 Arseny Solokha 2010-02-16 10:26:37 UTC
unrar 3.8.5 is an oldest version available in Portage now, and av- option is not documented and supported here. This bug report become objectiveless in 2010.