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

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sat Oct 22 21:07:35 CEST 2011


commit f7a3dc53b3b2c21b0d1bb82e1372fbcb3112c1b7
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sat Oct 22 21:07:35 2011 +0200

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

diff --git a/eclipse/eclipse-jee/DETAILS b/eclipse/eclipse-jee/DETAILS
index 4a0aeab..a66076f 100644
--- a/eclipse/eclipse-jee/DETAILS
+++ b/eclipse/eclipse-jee/DETAILS
@@ -3,9 +3,8 @@
            EXTRA=SR1
           SOURCE=$MODULE-$VERSION-$EXTRA-linux-gtk.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/eclipse
-   SOURCE_URL[0]=http://download.eclipse.org/technology/epp/downloads/release/$VERSION/$EXTRA
-   SOURCE_URL[1]=http://mirror.cc.vt.edu/pub/eclipse/technology/epp/downloads/release/$VERSION/$EXTRA
-   SOURCE_URL[2]=ftp://sunsite.cnlab-switch.ch/mirror/eclipse/technology/epp/downloads/release/$VERSION/$EXTRA
+# This url autoselects mirror closest to you
+      SOURCE_URL="http://www.eclipse.org/downloads/download.php?r=1&file=/technology/epp/downloads/release/$VERSION/$EXTRA"
       SOURCE_VFY=sha1:e50a7d83e172f140a6d611d886487da2dd966244
         WEB_SITE=http://eclipse.org
          ENTERED=20090425
diff --git a/eclipse/eclipse-jee/DETAILS.x86_64 b/eclipse/eclipse-jee/DETAILS.x86_64
index 26824fa..3dcd35f 100644
--- a/eclipse/eclipse-jee/DETAILS.x86_64
+++ b/eclipse/eclipse-jee/DETAILS.x86_64
@@ -3,9 +3,8 @@
            EXTRA=SR1
           SOURCE=$MODULE-$VERSION-$EXTRA-linux-gtk-x86_64.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/eclipse
-   SOURCE_URL[0]=http://download.eclipse.org/technology/epp/downloads/release/$VERSION/$EXTRA
-   SOURCE_URL[1]=http://mirror.cc.vt.edu/pub/eclipse/technology/epp/downloads/release/$VERSION/$EXTRA
-   SOURCE_URL[2]=ftp://sunsite.cnlab-switch.ch/mirror/eclipse/technology/epp/downloads/release/$VERSION/$EXTRA
+# This url autoselects mirror closest to you
+      SOURCE_URL="http://www.eclipse.org/downloads/download.php?r=1&file=/technology/epp/downloads/release/$VERSION/$EXTRA"
       SOURCE_VFY=sha1:e9bc2a21184d2b3d1158d7aa51cad7f33d53414c
         WEB_SITE=http://eclipse.org
          ENTERED=20090425


More information about the Lunar-commits mailing list