================================================================================
For ClamXav Users

1. copy clamav-update.pl to /usr/local/clamXav/bin/
2. copy clamav-update-update.conf to /usr/local/clamXav/etc/

If you need custom settings for updating clamav:
3. copy clamav-update.conf to /usr/local/clamXav/etc/
4. edit /usr/local/clamXav/etc/clamav-update.conf
   In the case of placing your machine in Washington
     105c105
     < #$Setting->{download}->{src} = 'http://jaist.dl.sourceforge.net/sourceforge/clamav';
     ---
     > $Setting->{download}->{src} = 'http://superb-west.dl.sourceforge.net/sourceforge/clamav';
   In the case of using freshclam as a daemon with /Library/StartupItems/FreshClamDaemon/FreshClamDaemon
     145,148c145,148
     < #push @{$Setting->{daemon}},
     < #     [qw(chown root /usr/local/clamXav/bin/freshclam)],
     < #     [qw(chmod u-s /usr/local/clamXav/bin/freshclam)],
     < #     [qw(/Library/StartupItems/FreshClamDaemon/FreshClamDaemon restart)];
     ---
     > push @{$Setting->{daemon}},
     >       [qw(chown root /usr/local/clamXav/bin/freshclam)],
     >       [qw(chmod u-s /usr/local/clamXav/bin/freshclam)],
     >       [qw(/Library/StartupItems/FreshClamDaemon/FreshClamDaemon restart)];
   In the case of using clamd with /Library/StartupItems/ClamAntiVirusDaemon/ClamAntiVirusDaemon
     151,152c151,152
     < #push @{$Setting->{daemon}},
     < #     [qw(/Library/StartupItems/ClamAntiVirusDaemon/ClamAntiVirusDaemon restart)];
     ---
     > push @{$Setting->{daemon}},
     >       [qw(/Library/StartupItems/ClamAntiVirusDaemon/ClamAntiVirusDaemon restart)];

If yor need system-wide custom settings for updating clamav-update:
5. create and edit /etc/clamav-update-update.conf

If you need personal custom settings for updating clamav-update:
6. create and edit ~/.clamav-update-update.conf
================================================================================
For Uers using default configurated ClamAV

1. copy clamav-update.pl to /usr/local/bin
2. copy clamav-update-update.conf to /usr/local/etc/
3. copy clamav-update.conf to /usr/local/etc/
4. edit /usr/local/etc/clamav-update.conf
   69c69
   < #$Setting->{environment}->{PATH} = '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/clamXav/bin';
   ---
   > $Setting->{environment}->{PATH} = '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin';
   118,121c118,121
   < #$Setting->{build} = [
   < #     [qw(./configure --prefix=/usr/local/clamXav)],
   < #     [qw(make)],
   < #];
   ---
   > $Setting->{build} = [
   >       [qw(./configure)],
   >       [qw(make)],
   > ];
   126,136c126,128
   < #$Setting->{install} = [
   < #     [qw(make install)],
   < #     [qw(chown -R root:admin /usr/local/clamXav)],
   < #     [qw(chmod 664 /usr/local/clamXav/etc/freshclam.conf)],
   < #     [qw(chown clamav /usr/local/clamXav/bin/freshclam)],
   < #     [qw(chmod u+s /usr/local/clamXav/bin/freshclam)],
   < #     [qw(touch /usr/local/clamXav/share/clamav/freshclam.log)],
   < #     [qw(chmod 664 /usr/local/clamXav/share/clamav/freshclam.log)],
   < #     [qw(chown -R clamav:clamav /usr/local/clamXav/share/clamav)],
   < #     [qw(chmod -R ug+w /usr/local/clamXav/share/clamav)],
   < #];
   ---
   > $Setting->{install} = [
   >       [qw(make install)],
   > ];
   In the case of using freshclam as a daemon with /etc/rc.d/init.d/freshclam  (Linux)
     145,148c137,138
     < #push @{$Setting->{daemon}},
     < #     [qw(chown root /usr/local/clamXav/bin/freshclam)],
     < #     [qw(chmod u-s /usr/local/clamXav/bin/freshclam)],
     < #     [qw(/Library/StartupItems/FreshClamDaemon/FreshClamDaemon restart)];
     ---
     > push @{$Setting->{daemon}},
     >       [qw(/etc/rc.d/init.d/freshclam restart)];
   In the case of using clamd with /etc/rc.d/init.d/clamd (Linux)
     151,152c141,142
     < #push @{$Setting->{daemon}},
     < #     [qw(/Library/StartupItems/ClamAntiVirusDaemon/ClamAntiVirusDaemon restart)];
     ---
     > push @{$Setting->{daemon}},
     >       [qw(/etc/rc.d/init.d/clamd restart)];
5. create and edit /etc/clamav-update-update.conf
   $Setting->{install}->{'clamav-update.pl'}->{destination} = '/usr/local/bin/clamav-update.pl';
   $Setting->{install}->{'clamav-update.pl'}->{group} = 'root';
   $Setting->{install}->{'clamav-update-update.conf'}->{destination} = '/usr/local/etc/clamav-update-update.conf';
   $Setting->{install}->{'clamav-update-update.conf'}->{group} = 'root';
   $Setting->{install}->{'clamav-update-update.conf'}->{mode} = '0644';

If you need personal custom settings for updating clamav-update:
6. create and edit ~/.clamav-update-update.conf

================================================================================
