Sophosticated 1.2 reviewDownload
Sophosticated consists of two BASH scripts
Sophosticated consists of two BASH scripts. One script installs Sophos virus scanner updates from CD, while the other downloads, unpacks, and installs the latest IDEs.
These scripts needs BASH or a compatible shell. They were originally made and tested on a Mandrake Linux 8.0 installation (and still work fine up to Mandrake 9.1), so you may need to alter the paths to the utility programs (ls gawk grep mail logger eject) to suit your system. I also installed Sweep in /home/sweep rather than the default directory, which you may not have done. The site I made this for doesn't use InterCheck.
I run auto_update_ides thrice daily and auto_update_sweep daily, the client's staff leave any new Sophos CD in the drive over the weekend so that the update script can see and use it. The example crontab reflects this. To use it as-is (and this presumes that you have nothing else in root's crontab, do "crontab -l" to check), do "crontab crontab" in this directory.
The scripts work for me, they will probably work on any reasonably well-equipped Unix system, and maybe many others such as BeOS, OS/2 and OS/X, but as I said above there is no guarantee or warranty of any kind. If you break it, you get to keep both pieces (under the terms of the GPL, of course).
Yes, this even includes D'ohl MacBride and his cronies, to whose level of pettiness and selfishness I refuse to stoop.
What's New in This Release:
The "top directory" is now explicitly defined at the top of each script. If you install Sophos in /home/sweep as I do, you will need to edit this. The current settings match Sophos' default (/usr/local).
Since /usr/local/tmp normally doesn't exist, the scripts will use $TMPDIR for scribbling if $TOPDIR/tmp doesn't exist.
Sophosticated 1.2 search tags