From 2dfb38e6a9672c45394f77dc792a2dc0f12c1900 Mon Sep 17 00:00:00 2001 From: maniacikarus Date: Tue, 28 Aug 2007 11:03:30 +0000 Subject: [PATCH] Erster Versuch fuer Update Booster und Apple git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@850 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- config/updxlrator/updxlrator | 12 +++++++++++- html/cgi-bin/updatexlrator.cgi | 11 +++++++++++ html/html/images/updxl-src-apple.gif | Bin 0 -> 1010 bytes 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 html/html/images/updxl-src-apple.gif diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 019e20f5f..4d98cccce 100644 --- a/config/updxlrator/updxlrator +++ b/config/updxlrator/updxlrator @@ -145,7 +145,17 @@ while (<>) { } # ----------------------------------------------------------- - + + # ----------------------------------------------------------- + # Section: Apple Downloads + # ----------------------------------------------------------- + + if ($dsturl =~ m@^[f|h]t?tp://swcdn\.apple.*\.(pkm|tar)$@i) + { + $from_local_cache = &cache_access($dsturl,$hostaddr,$username,"Apple"); + } + + # ----------------------------------------------------------- } diff --git a/html/cgi-bin/updatexlrator.cgi b/html/cgi-bin/updatexlrator.cgi index 2c2623e12..afca525b7 100644 --- a/html/cgi-bin/updatexlrator.cgi +++ b/html/cgi-bin/updatexlrator.cgi @@ -465,6 +465,9 @@ END } elsif ($metadata[1] eq 'IPFire') { print "IPFire \n"; + } elsif ($metadata[1] eq 'Appel') + { + print "Apple \n"; } elsif ($metadata[1] eq 'Linux') { print "Linux \n"; @@ -549,6 +552,10 @@ print <  Avira Avira +   + Apple + Apple +     @@ -563,6 +570,10 @@ print <  $Lang::tr{ $Lang::tr{'updxlrtr unknown'} +   + + +   END diff --git a/html/html/images/updxl-src-apple.gif b/html/html/images/updxl-src-apple.gif new file mode 100644 index 0000000000000000000000000000000000000000..c5f75e3af00e54a8c5af4bc27e15415ac638d978 GIT binary patch literal 1010 zcmXYwe@Gi=7{|ZYsL5;y@k*>rE7z@qp>B0H3vvBpp^bJM1M^2=Ss6t~vPG&z+d#{9 z#M7LqNaosbl_5tK?NLMySxb;ovf@UN;X(%`7A9e|U1-b?B!jHoO6a@y;vSCUec$`M z&+~a6xKkhY+k1ytuy_uPd?hCCCBjiP`y?yQNy@64dXScHs$xX(hos80in5wWZ)Zw{ zlDv`#FDU9-!ao&GZliQoQY=&2Eh#GrX+e$O zO{DIp#fYq|&~l1DASO3b)fZKHDIVFj@d%I*Av!{ggn*2qquxBTcRr2voH;&OWAF&b z!@`1wBgE-+9E|RMQ%_FYy8j zkrE){uLN-d8=($ZB=n^Aps5V_(5^AKx`TELwg%CKGr z3ZR>Hz%Y$!C)iqFE%5CkdJO^(ehj1@Bm%;Nj&6`3N+1yMqj1(Ui0nD!os~`qLGZL2 z*^R1YfyKX0I^XGHal zn-^yeb&oBd{{5uTaOf>_!!P4YS9ER1+C1OI4)4=VHQHi3@7(a+H@@0++41J$iEoX4 z$109%uRBH7aPBkv+F> zv#0G}|I{Ivj(W^-24mvEqZ?;@MnQj~Q9ADaA$H@I$?!_6GnTPWvRp~ O3vI60E!!0V$NvKfy?dGf literal 0 HcmV?d00001