]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
New extension/host for Avast 7.x/8.x Scanner versions
authorJoern-Ingo Weigert <jiweigert@gmail.com>
Wed, 6 Mar 2013 09:55:04 +0000 (10:55 +0100)
committerJoern-Ingo Weigert <jiweigert@gmail.com>
Wed, 6 Mar 2013 09:55:04 +0000 (10:55 +0100)
This patch fix the source url for Avast and add a new host (ion)
and a new extension (vpx) to support Avast 7.x/8.x Scanner updates.

config/updxlrator/updxlrator

index 4aaa38938c5473a40ce481822e9c46229a1c3cd7..24d65d353e525c447ed56c0f856db1d6c22b6c6a 100644 (file)
@@ -149,7 +149,7 @@ while (<>) {
        #  Section: Avast Downloads
        # -----------------------------------------------------------
 
-       if ($source_url =~ m@^http://download[\d]+\.avast\.com/.*\.(exe|vpu)$@i)
+       if ($source_url =~ m@^http://(ion|download)[\d]+\.avast\.com/.*\.(exe|vpu|vpx)$@i)
        {
                $xlrator_url = &check_cache($source_url,$hostaddr,$username,"Avast",$mirror);
        }