From: maniacikarus Date: Mon, 8 Oct 2007 18:31:08 +0000 (+0000) Subject: UpdateBooster Versuch fuer Kaspersky X-Git-Tag: v2.3-beta1~326 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=d6d6d59825b6e0b237dbd11777ef1fd9d9022e85;ds=sidebyside UpdateBooster Versuch fuer Kaspersky git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@956 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 4d98cccce6..4eb4c7c44e 100644 --- a/config/updxlrator/updxlrator +++ b/config/updxlrator/updxlrator @@ -155,6 +155,17 @@ while (<>) { $from_local_cache = &cache_access($dsturl,$hostaddr,$username,"Apple"); } + # ----------------------------------------------------------- + + # ----------------------------------------------------------- + # Section: Kaspersky Downloads + # ----------------------------------------------------------- + + if ($dsturl =~ m@^ht?tp://dnl*kapsersky*\.(xml\.dif|avc*|tzv)$@i) + { + $from_local_cache = &cache_access($dsturl,$hostaddr,$username,"Kaspersky"); + } + # ----------------------------------------------------------- } diff --git a/html/cgi-bin/updatexlrator.cgi b/html/cgi-bin/updatexlrator.cgi index fb457a3581..059f9316f8 100644 --- a/html/cgi-bin/updatexlrator.cgi +++ b/html/cgi-bin/updatexlrator.cgi @@ -461,28 +461,31 @@ END print "\t\t "; if ($metadata[1] eq 'Adobe') { - print "Adobe \n"; + print "Adobe \n"; } elsif ($metadata[1] eq 'Microsoft') { - print "Microsoft \n"; + print "Microsoft \n"; } elsif ($metadata[1] eq 'Symantec') { - print "Symantec \n"; + print "Symantec \n"; } elsif ($metadata[1] eq 'Avira') { - print "Avira \n"; + print "Avira \n"; } elsif ($metadata[1] eq 'Avast') { - print "Avast \n"; + print "Avast \n"; } elsif ($metadata[1] eq 'IPFire') { - print "IPFire \n"; - } elsif ($metadata[1] eq 'Appel') + print "IPFire \n"; + } elsif ($metadata[1] eq 'Apple') { - print "Apple \n"; + print "Apple \n"; + } elsif ($metadata[1] eq 'Kaspersky') + { + print "Kaspersky \n"; } elsif ($metadata[1] eq 'Linux') { - print "Linux \n"; + print "Linux \n"; } else { print "$Lang::tr{ \n"; @@ -580,12 +583,12 @@ print <Avast Avast   + Kaspersky + Kaspersky +   $Lang::tr{ $Lang::tr{'updxlrtr unknown'}   - - -   END diff --git a/html/html/images/updxl-src-kaspersky.gif b/html/html/images/updxl-src-kaspersky.gif new file mode 100644 index 0000000000..687a6c3bed Binary files /dev/null and b/html/html/images/updxl-src-kaspersky.gif differ