Clamav is listed in Virtualmin's dependencies

I do not understand why clam is listed in the dependencies of virtualmin? Does it mean that virtualmin couldn't be run without clam?!

[root@sv ~]# repoquery --requires virtualmin-base
/usr/bin/freshclam
/usr/bin/mysqladmin
/usr/bin/perl
/usr/sbin/clamd
awstats
bzip2
clamav
cyrus-sasl
cyrus-sasl-gssapi
cyrus-sasl-md5
cyrus-sasl-plain
httpd
logrotate
mod_fcgid
mod_ssl
perl(IO::Tty)
perl(Net::SSLeay)
procmail-wrapper
proftpd
scponly
unzip
usermin >= 1.690
ust-virtual-server-theme
wbm-php-pear
wbm-ruby-gems
wbm-security-updates
wbm-virtual-server
wbm-virtualmin-awstats
wbm-virtualmin-dav
wbm-virtualmin-git
wbm-virtualmin-htpasswd
wbm-virtualmin-init
wbm-virtualmin-mailman
wbm-virtualmin-registrar
wbm-virtualmin-sqlite
wbt-virtual-server-mobile
wbt-virtual-server-theme
webmin >= 1.801
Status: 
Needs review

Comments

Howdy -- The virtualmin-base package is used to bring in a number of packages commonly used with Virtualmin, including ClamAV.

Why exactly it's listed there, and not just in the install.sh script, I'm not sure :-) On some of the other distros most dependencies have been removed from virtualmin-base, though with CentOS a lot are still in there.

Mostafa's picture
Submitted by Mostafa on Fri, 03/03/2017 - 02:54

Status: Active ยป Needs review

Would you check this Jamie/Joe?

This dependency is intention, as we use the virtualmin-base package as a way of puling in other packages at install time. However, you don't have to use or run clamd if you don't need virus scanning - there is an option to disable it in the post-install wizard.

Mostafa's picture
Submitted by Mostafa on Fri, 03/03/2017 - 11:31

well that's true and I have already disabled clamd and further I could remove spamassassin mailman postgresql ruby packages, these packages were also installed by virtualmin-base however they were not added as a dependency of it. Still wonder why clamd is added as a dependency despite the other packages above.

Is it safe to remove virtualmin-base after virtualmin is installed? Doesn't it break virtualmin updates?