]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
New source-url for McAfee Scanner support for updxlrator
authorJoern-Ingo Weigert <jiweigert@gmail.com>
Wed, 6 Mar 2013 10:08:51 +0000 (11:08 +0100)
committerJoern-Ingo Weigert <jiweigert@gmail.com>
Wed, 6 Mar 2013 10:08:51 +0000 (11:08 +0100)
This patch add a new source-url to support McAfee Scanner Updates
in Update Accelerator /usr/sbin/updxlrator

config/updxlrator/updxlrator

index 24d65d353e525c447ed56c0f856db1d6c22b6c6a..630093bf7288cbbc4c15139c3cf5d0bbfb0830bc 100644 (file)
@@ -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