]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Erster Versuch fuer Update Booster und Apple
authormaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 28 Aug 2007 11:03:30 +0000 (11:03 +0000)
committermaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 28 Aug 2007 11:03:30 +0000 (11:03 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@850 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

config/updxlrator/updxlrator
html/cgi-bin/updatexlrator.cgi
html/html/images/updxl-src-apple.gif [new file with mode: 0644]

index 019e20f5ff5d3aaf4d6166c797d1561fea2ed50e..4d98cccce6002b20dd8fd812344bb2dc44f66d8c 100644 (file)
@@ -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"); 
+       }
+       
+       # ----------------------------------------------------------- 
 
        }
 
index 2c2623e12c3fe3011234b241bbef562003690d21..afca525b76b0ab7b23be2b7fcb716570bc5604b0 100644 (file)
@@ -465,6 +465,9 @@ END
                } elsif ($metadata[1] eq 'IPFire')
                {
                        print "<img src='/images/IPFire.png' width='18' height='18' alt='IPFire'}' />&nbsp;</td>\n";
+               } elsif ($metadata[1] eq 'Appel')
+               {
+                       print "<img src='/images/Apple.png' width='18' height='18' alt='Apple'}' />&nbsp;</td>\n";
                } elsif ($metadata[1] eq 'Linux')
                {
                        print "<img src='/images/tux.png' alt='Linux'}' />&nbsp;</td>\n";
@@ -549,6 +552,10 @@ print <<END
                <td class='base'>&nbsp;</td>
                <td align='center'><img src='/images/updxl-src-avira.gif' alt='Avira' /></td>
                <td class='base'>Avira</td>
+               <td class='base'>&nbsp;</td>
+               <td align='center'><img src='/images/updxl-src-apple.gif' alt='Apple' /></td>
+               <td class='base'>Apple</td>
+               <td class='base'>&nbsp;</td>
        </tr>
        <tr>
                <td class='base' colspan='2'>&nbsp;</td>
@@ -563,6 +570,10 @@ print <<END
                <td class='base'>&nbsp;</td>
                <td align='center'><img src='/images/updxl-src-unknown.gif' alt='$Lang::tr{'updxlrtr unknown'}' /></td>
                <td class='base'>$Lang::tr{'updxlrtr unknown'}</td>
+               <td class='base'>&nbsp;</td>
+               <td align='center'></td>
+               <td class='base'></td>
+               <td class='base'>&nbsp;</td>
        </tr>
 </table>
 END
diff --git a/html/html/images/updxl-src-apple.gif b/html/html/images/updxl-src-apple.gif
new file mode 100644 (file)
index 0000000..c5f75e3
Binary files /dev/null and b/html/html/images/updxl-src-apple.gif differ