Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Knuddi on August 10, 2005, 09:11:19 AM

Title: [Announce]: Update sme-antivirus
Post by: Knuddi on August 10, 2005, 09:11:19 AM
All,

The sme-antivirus package has been updated with the following changes:

1) more robust download of updates to avoid bad upgrade attempts (yes once again)
2) corrected German language
3) Minor spelling
4) Added system scan option of ibays and homes

The install script will upgrade with that or you should get it autoupdated if configured in server-manager panel.

Script Upgrade:

[root@e-smith]# wget -N http://sme.swerts-knudsen.dk/downloads/AntiVirus/antivirus_install.sh
[root@e-smith]# sh antivirus_install.sh
Title: [Announce]: Update sme-antivirus
Post by: shanen on August 10, 2005, 12:30:16 PM
Thanks Jesper, I appreciate the time you spend on this...

Shane
Title: Re: [Announce]: Update sme-antivirus
Post by: CharlieBrady on August 10, 2005, 05:47:21 PM
Quote from: "Knuddi"

The sme-antivirus package has been updated ...


Jesper, have you made any tests of what will happen when a 6.x system with your contrib is updated to 7.0alpha? If not, please do, and give your feedback via the bugtracker. We really don't want to see lots of broken systems and chaos when 7.0 is released and people start upgrading.

Thanks.
Title: [Announce]: Update sme-antivirus
Post by: jester on August 10, 2005, 06:44:48 PM
Upgraded from your previous version... went like a charm! Thanx for all the hard work Knuddi!

jester.
Title: I also want to thank you
Post by: idyll on August 10, 2005, 07:35:38 PM
Jesper, again, for devising and continuing to support these flexible and useful applications.

Thank you.

regards,

patrick
Title: [Announce]: Update sme-antivirus
Post by: Reinhold on August 10, 2005, 08:47:53 PM
Jesper,

Had some of those strange "could not .../clamd" messages  ;-) ,
...came here, saw your post, and:

>>Update of Antivirus has successfully completed.

- THANKS -

Regards
Reinhold
Title: Clam Antivirus was not updated
Post by: mdo on August 10, 2005, 08:57:26 PM
Jesper,

I updated sme-antivirus yesterday on a test system and all looked OK with that. Then I removed the UCA subdirectory completely from /tmp.
On this test system I use the setting "download updates and install". This morning I find the following email (from 4:51):
It seems that the [ file failed to download most likely due to overload on download server, upgrade will be attempted
again tomorrow automatically.

regards,
The Automatic Clam Antivirus updater

Looking into /tmp I can see a CLAM directory now with the following contents:
-rw-r--r--    1 root     root           18 Aug 11 04:51 dl.lst
-rw-r--r--    1 root     root            0 Aug 11 04:51 download.log
-rw-r--r--    1 root     root         5146 Aug 11 04:51 index.html
-rw-r--r--    1 root     root          195 Aug 11 04:51 msg.txt

Regards,
Michael
Title: [Announce]: Update sme-antivirus
Post by: mike_mattos on November 24, 2005, 03:56:31 PM
I'm seeing the same message recentlywill it self resolve?
Title: [Announce]: Update sme-antivirus
Post by: Knuddi on November 25, 2005, 11:24:52 AM
Hi,

I have just discovered that the layout of the HTML page which is parsed and checked for new updates is a little different than I expected on the new main updates site (ibiblio.org). I guess I have to find a way to get a update out ....

For the ancious then change in /usr/sbin/UCA

# Extract the names of the allowed file names. Other rpms are happily ignored
if [ -e $DLDIR/index.html ]; then
    gawk -F"\"" '/clamav-es.*\.i386\.rpm/ {print $8}' $DLDIR/index.html > $DLDIR/dl.lst
    gawk -F"\"" '/sme-antivirus.*\.rpm/ {print $8}' $DLDIR/index.html >> $DLDIR/dl.lst
fi

to

if [ -e $DLDIR/index.html ]; then
    gawk -F"\"" '/clamav-es.*\.i386\.rpm/ {print $6}' $DLDIR/index.html > $DLDIR/dl.lst
    gawk -F"\"" '/sme-antivirus.*\.rpm/ {print $6}' $DLDIR/index.html >> $DLDIR/dl.lst
fi


The $8 change to $6..

/Jesper
Title: [Announce]: Update sme-antivirus
Post by: mike_mattos on November 25, 2005, 03:57:47 PM
my UCA script already says $6  , should it actually change to $8 ?

Mike