From 5150d3730afb2d015f2e01aa2993b3866d18e267 Mon Sep 17 00:00:00 2001 From: Joern-Ingo Weigert Date: Wed, 6 Mar 2013 10:55:04 +0100 Subject: [PATCH 1/3] New extension/host for Avast 7.x/8.x Scanner versions 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 4aaa38938..24d65d353 100644 --- a/config/updxlrator/updxlrator +++ b/config/updxlrator/updxlrator @@ -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); } From 7b59d8389da56cd5119921f554dad4477967b30d Mon Sep 17 00:00:00 2001 From: Joern-Ingo Weigert Date: Wed, 6 Mar 2013 11:08:51 +0100 Subject: [PATCH 2/3] New source-url for McAfee Scanner support for updxlrator This patch add a new source-url to support McAfee Scanner Updates in Update Accelerator /usr/sbin/updxlrator --- config/updxlrator/updxlrator | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 24d65d353..630093bf7 100644 --- a/config/updxlrator/updxlrator +++ b/config/updxlrator/updxlrator @@ -155,6 +155,13 @@ while (<>) { } # ----------------------------------------------------------- + # Section: Mcafee + # ----------------------------------------------------------- + + if ($source_url =~ m@^http://update\.nai\.com/.*\.(mcs|z|gem|dat|zip)$@i) + { + $xlrator_url = &check_cache($source_url,$hostaddr,$username,"mcafee",$mirror); + } # ----------------------------------------------------------- # Section: Avira Downloads From 219c963e3b41487ea20e7512661ed2d08edd558a Mon Sep 17 00:00:00 2001 From: Joern-Ingo Weigert Date: Wed, 6 Mar 2013 11:58:48 +0100 Subject: [PATCH 3/3] Add support for Mozilla (Firefox) Updates in updxlrator This patch add a new source-url in /usr/sbin/updxlratorto support Mozilla (Firefox) Updates It hooks on either partial(.mar) (v18.0.1->v18.0.2) or complete(.mar) updates (v18.0->v19.0) and all *.exe Downloads from *.mozilla.net --- config/updxlrator/updxlrator | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 630093bf7..7a2b01161 100644 --- a/config/updxlrator/updxlrator +++ b/config/updxlrator/updxlrator @@ -154,6 +154,15 @@ while (<>) { $xlrator_url = &check_cache($source_url,$hostaddr,$username,"Avast",$mirror); } + # ----------------------------------------------------------- + # Section: Mozilla Downloads + # ----------------------------------------------------------- + + if ($source_url=~ m@^http://.*\.mozilla\.net/.*\.((complete|partial)\.mar|exe)$@i) + { + $xlrator_url = &check_cache($source_url,$hostaddr,$username,"Mozilla",$unique); + } + # ----------------------------------------------------------- # Section: Mcafee # -----------------------------------------------------------