From: Joern-Ingo Weigert Date: Wed, 6 Mar 2013 10:08:51 +0000 (+0100) Subject: New source-url for McAfee Scanner support for updxlrator X-Git-Tag: v2.13-core68~2^2~43^2~6^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b59d8389da56cd5119921f554dad4477967b30d;p=ipfire-2.x.git 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 --- diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 24d65d353e..630093bf72 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