From d6d6d59825b6e0b237dbd11777ef1fd9d9022e85 Mon Sep 17 00:00:00 2001 From: maniacikarus Date: Mon, 8 Oct 2007 18:31:08 +0000 Subject: [PATCH] UpdateBooster Versuch fuer Kaspersky git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@956 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- config/updxlrator/updxlrator | 11 +++++++++ html/cgi-bin/updatexlrator.cgi | 27 +++++++++++++---------- html/html/images/updxl-src-kaspersky.gif | Bin 0 -> 996 bytes 3 files changed, 26 insertions(+), 12 deletions(-) create mode 100644 html/html/images/updxl-src-kaspersky.gif diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 4d98cccce..4eb4c7c44 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 fb457a358..059f9316f 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 0000000000000000000000000000000000000000..687a6c3bed5dda806175b2089555a15824c5c712 GIT binary patch literal 996 zcmXw&e`phD7{|YtUei>n#M6{UVvSwt#Aa@m6f2I>#q(DPHcCO!;A%L#;8M-pQAH1% zCTFSf3^oRdB}6GV5$Qil$^4^8lqe$p;YJxUR_La<{Ls>kV`JNG@9vHY@9+2fKF{a* z!nx6ItP`(03@{SmO{!C7;))zIi=$XG%H6D=n>oBV5C>hIC9+ zfBZ?lC5H#XZ`qqwVOE}$xdASn z(!{*_U`9$x)AWf9+Za25o>tUolS%8izbO4y$=exyQ!*h4*z{xIDM6WlApkiK0zbjOq%b^; zT1qnwJ=a#RYbY7xj{+Zn$9nT!z{%GXek#h~7Jv<0ceRt5m hd|#}XT<2cB;gc&bShK_06?xg;QkS%UUPIH^_CMa_RsH|~ literal 0 HcmV?d00001