This commit makes it possible to add multiple instances of the
CollectionSetup widget instances without the program crashing.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
instead of reading the widget by itself.
It is now possible to call CollectionSetup::pruneSelectedDirs(dirs)
independently from a CollectionSetup object.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Ability to turn off "full mode" (that is, DeviceItems).
* Ability to provide a starter TQStringList of directories.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
This option is recommended as it is faster and permits to scan other
users' files. For a more detailed description see clamdscan(1).
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Before this, KlamAV would fill its directory with identical scheduled
scan scripts. The only thing which might change between them would be
the $PATH variable.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Options from the Archive Limits section have been moved there.
A new option for disabling/enabling archive scanning has been added
(--scan-archives switch for clamscan). This is related to issue #15.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Deprecated archive extraction options were removed and some switches
were renamed according to changes in ClamAV 0.101.0.
ClamAV seems to handle archive extraction fully on its own and thus
those options are not provided by clamscan anymore.
This relates to issue #15.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
This option has to be enabled in the new 'Backend' section of the
Options dialog.
Most configuration options are unavailable for use with 'clamdscan'.
For more information on the inherited limitations see the man page
for clamdscan(1).
This resolves issue #17.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
It was made more compact because it doesn't make sense to have a
full-blown two-page wizard for setting up two paths and showing a
checkbox.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
These messages are the same with the options' labels and caused
duplicate entries in i18n files.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
This is an internally used library and the fix affects a comment,
but it is still nice to have it right.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
What remains is to figure out a way to pass ClamAV the mountpoint
instead of the block device name.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>