Bug 179433

Summary: 2nd attempt to update horribly obsolete MASTER_SITES_ECLIPSE
Product: Ports & Packages Reporter: John Marino <draco>
Component: Individual Port(s)Assignee: John Marino <marino>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description John Marino 2013-06-08 22:30:00 UTC
MASTER_SITES_ECLIPSE hasn't been updated apparently in a long, long time.  I opened ports/178481 on it with jetty at the same time, but it was closed after jetty was fixed.  The bsd.site.mk is still bad.  I'm resubmitting the patch for its own PR (as I should have done in the first place).

As mentioned in the previous PR, I checked each site, removed and retained.

Fix: Patch attached with submission follows:
Comment 1 Raphael Kubo da Costa freebsd_committer freebsd_triage 2013-06-09 19:15:48 UTC
Doesn't it make more sense to use eclipse's mirror list?

<http://www.eclipse.org/downloads/download.php?file=/eclipse/index.html&format=xml>
Comment 2 John Marino 2013-06-09 19:19:29 UTC
On 6/9/2013 20:15, Raphael Kubo da Costa wrote:
> Doesn't it make more sense to use eclipse's mirror list?

I tend to doubt it.  There doesn't seem to be much standardization and 
there's a lot of web-based interactive selection, unsuitable for 
non-interactive download.

You can augment with the mirror list for sure, but you need to check 
each one and not assume it works as you would think.

John
Comment 3 John Marino 2013-06-18 08:01:39 UTC
Can somebody pick this up?  This affects all eclipse ports, it's kind of 
important.

ECJ is failing because of this:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.8.20130510010703.pointyhat/eclipse-ecj-3.8.1.log

Even if somebody wants to add 20 more sites, they can first apply this 
commit and then add the other sites separately.  In any case it needs 
fixing now.
Comment 4 Jason Helfman freebsd_committer freebsd_triage 2013-06-18 08:35:28 UTC
Do you have any buildlogs of other ports? This port has been updated, and
fetches with no issue.

[jgh@hatter ~]$ cd workspace/ports/java/eclipse-ecj/
[jgh@hatter ~/workspace/ports/java/eclipse-ecj]$ sudo make distclean
===>  Cleaning for eclipse-ecj-3.8.2
===>  Deleting distfiles for eclipse-ecj-3.8.2
[jgh@hatter ~/workspace/ports/java/eclipse-ecj]$ sudo make fetch
===>  License EPL accepted by the user
===>   eclipse-ecj-3.8.2 depends on file: /usr/local/sbin/pkg - found
=> ecjsrc-3.8.2.jar doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch
ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse/R-3.8.2-201301310800/ecjsrc-3.8.2.jar
ecjsrc-3.8.2.jar                              100% of 1383 kB  394 kBps
===> Fetching all distfiles required by eclipse-ecj-3.8.2 for building

-jgh

--
Jason Helfman          | FreeBSD Committer
jgh@FreeBSD.org     | http://people.freebsd.org/~jgh  | The Power to Serve
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2013-06-22 16:20:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2013-07-18 09:29:50 UTC
Responsible Changed
From-To: miwi->marino

submitter is committer now.
Comment 7 dfilter service freebsd_committer freebsd_triage 2013-07-21 22:51:14 UTC
Author: marino
Date: Sun Jul 21 21:51:06 2013
New Revision: 323418
URL: http://svnweb.freebsd.org/changeset/ports/323418

Log:
  Mk/bsd.sites.mk: Update ECLIPSE mirrors
  
  PR:		ports/179433
  Submitted by:	marino
  Approved by:	bapt (mentor)

Modified:
  head/Mk/bsd.sites.mk

Modified: head/Mk/bsd.sites.mk
==============================================================================
--- head/Mk/bsd.sites.mk	Sun Jul 21 21:42:59 2013	(r323417)
+++ head/Mk/bsd.sites.mk	Sun Jul 21 21:51:06 2013	(r323418)
@@ -218,18 +218,13 @@ MASTER_SITE_EASYSW+= \
 
 .if !defined(IGNORE_MASTER_SITE_ECLIPSE)
 MASTER_SITE_ECLIPSE+= \
+	ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse.org/%SUBDIR%/ \
 	ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse/%SUBDIR%/ \
-	http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/%SUBDIR%/ \
-	ftp://ftp.tu-clausthal.de/pub/eclipse/downloads/drops/%SUBDIR%/ \
 	http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/%SUBDIR%/ \
-	ftp://ftp.unixag-zw.fh-kl.de/pub/mirrors/eclipse/drops/%SUBDIR%/ \
-	http://eclipse.teccomm.les.inf.puc-rio.br/downloads/drops/%SUBDIR%/ \
-	http://mirrors.ibiblio.org/pub/mirrors/eclipse/eclipse/downloads/drops/%SUBDIR%/ \
-	http://www.eclipse.ps.pl/downloads/drops/%SUBDIR%/ \
-	${MASTER_SITE_RINGSERVER:S,%SUBDIR%,misc/eclipse/downloads/drops/&,} \
+	ftp://sunsite.cnlab-switch.ch/mirror/eclipse/%SUBDIR%/ \
 	ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops/%SUBDIR%/ \
-	http://download.eclipse.org/eclipse/downloads/drops/%SUBDIR%/ \
-	ftp://download.eclipse.org/%SUBDIR%/
+	ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops4/%SUBDIR%/ \
+	http://eclipse.org/downloads/download.php?mirror_id=96&r=1&file=/%SUBDIR%/
 .endif
 
 .if !defined(IGNORE_MASTER_SITE_EXIM)
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 8 John Marino freebsd_committer freebsd_triage 2013-07-21 23:20:52 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!