[Lunar-commits] <moonbase> eclipse-bin: autoselect nearest mirror

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sat Oct 22 20:57:49 CEST 2011


commit a3cc2cf5c3637cde4f9dd26226cf5e13d51a5a07
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sat Oct 22 20:57:49 2011 +0200

    eclipse-bin: autoselect nearest mirror
---
 eclipse/eclipse-bin/DETAILS        |    5 ++---
 eclipse/eclipse-bin/DETAILS.x86_64 |    6 ++----
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/eclipse/eclipse-bin/DETAILS b/eclipse/eclipse-bin/DETAILS
index e343078..a66da25 100644
--- a/eclipse/eclipse-bin/DETAILS
+++ b/eclipse/eclipse-bin/DETAILS
@@ -3,9 +3,8 @@
            EXTRA=R-$VERSION-201109091335
           SOURCE=eclipse-SDK-$VERSION-linux-gtk.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/eclipse
-   SOURCE_URL[0]=http://download.eclipse.org/eclipse/downloads/drops/$EXTRA
-   SOURCE_URL[1]=http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/$EXTRA
-   SOURCE_URL[2]=ftp://sunsite.cnlab-switch.ch/mirror/eclipse/downloads/drops/$EXTRA
+# This url autoselects mirror closest to you
+      SOURCE_URL="http://www.eclipse.org/downloads/download.php?r=1&file=/eclipse/downloads/drops/$EXTRA"
       SOURCE_VFY=sha1:b91bb15343316e8bb2b4dc674c2c5fea9a69e5fb
         WEB_SITE=http://eclipse.org
          ENTERED=20030926
diff --git a/eclipse/eclipse-bin/DETAILS.x86_64 b/eclipse/eclipse-bin/DETAILS.x86_64
index 19173c3..4bbb6ab 100644
--- a/eclipse/eclipse-bin/DETAILS.x86_64
+++ b/eclipse/eclipse-bin/DETAILS.x86_64
@@ -3,10 +3,8 @@
            EXTRA=R-$VERSION-201109091335
           SOURCE=eclipse-SDK-$VERSION-linux-gtk-x86_64.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/eclipse
-   SOURCE_URL[0]=http://ftp.ing.umu.se/mirror/eclipse/eclipse/downloads/drops/$EXTRA
-   SOURCE_URL[1]=http://download.eclipse.org/eclipse/downloads/drops/$EXTRA
-   SOURCE_URL[2]=http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/$EXTRA
-   SOURCE_URL[3]=ftp://sunsite.cnlab-switch.ch/mirror/eclipse/downloads/drops/$EXTRA
+# This url autoselects mirror closest to you
+      SOURCE_URL="http://www.eclipse.org/downloads/download.php?r=1&file=/eclipse/downloads/drops/$EXTRA"
       SOURCE_VFY=sha1:6bac43e274dbc3cf2ecb8fa6e53ca6847846a5b5
         WEB_SITE=http://eclipse.org
          ENTERED=20100210


More information about the Lunar-commits mailing list