Yes, I know this is an OpenBSD list not the ClamAV list...

Anyhow, I'm working on an updated archivers/unarj port for use with 
clamav so you can scan inside ARJ archives. Though the current port 
shows unarj has an "x" switch to extract files from ARJ archives with 
path names, said switch doesn't work, and never has worked since the 
code to create directories is just plain missing.

You can use the "e" switch to extract files from ARJ archives but not 
path is created, hence, files with identical names will be skipped 
rather overwritten.

So my question for the clamav users is how the heck does clamav work 
with compressed archives?

  -Does it extract archives with full paths to a temporary directory and 
   then scan inside the temp directory?

  -Or does it extract individual files from the archive to a temp 
   directory, and then scan the individual files?

And lastly yes, I've got the updated "unarj" port (v.2.65) working and 
have fixed all of string handling so it's safe(r) to use with clamav 
but the new code still has the same license limitations as the existing 
unarj port. 

As for the sourcefore "arj" port which is GPL'd, I also have it working 
but the code is such a mess I may not be able to fix all of it's 
problems.

Thanks,
JCR

Reply via email to