Bug 176290 - Utilize sf.net CDN
Summary: Utilize sf.net CDN
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-20 11:40 UTC by mikkel
Modified: 2014-01-03 01:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikkel 2013-02-20 11:40:00 UTC
Many ports have hardcoded sourceforge.net urls instead of using the CDN.

Example:

/usr/ports/devel/boost-jam tries to download from heanet.dl.sourceforge.net

===>>> Waiting on fetch & checksum for devel/boost-jam <<<===
=> boost_1_52_0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles//.
=> Attempting to fetch http://heanet.dl.heanet.dl/project/boost/boost/1.52.0/boost_1_52_0.tar.bz2

The correct URL is: http://downloads.sourceforge.net/project/boost/boost/1.52.0/boost_1_52_0.tar.bz2 as this utilizes the worldwide CDN of sourceforge.net

Fix: 

change download patch from heanet.dl.sourceforge.net to downloads.sourceforge.net
How-To-Repeat: Install latest boost-jam
Comment 1 Raphael Kubo da Costa freebsd_committer freebsd_triage 2013-05-05 15:34:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Assign to portmgr, this would require a change to bsd.sites.mk.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-03 00:10:59 UTC
Author: bapt
Date: Fri Jan  3 00:10:51 2014
New Revision: 338509
URL: http://svnweb.freebsd.org/changeset/ports/338509

Log:
  Use sourceforge CDN instead of trying ourself to maintain a list of mirrors.
  
  PR:		ports/176290
  Reported by:	Mikkel Georgsen <mikkel@georgsen.dk>

Modified:
  head/Mk/bsd.sites.mk

Modified: head/Mk/bsd.sites.mk
==============================================================================
--- head/Mk/bsd.sites.mk	Fri Jan  3 00:08:56 2014	(r338508)
+++ head/Mk/bsd.sites.mk	Fri Jan  3 00:10:51 2014	(r338509)
@@ -1146,15 +1146,8 @@ MASTER_SITE_SAVANNAH+= \
 	http://download-mirror.savannah.gnu.org/releases/%SUBDIR%/
 .endif
 
-# List:		http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
-# Updated:	2013-03-25
 .if !defined(IGNORE_MASTER_SITE_SOURCEFORGE)
-.for mirror in heanet sunet iweb switch freefr garr aarnet jaist master \
-	nchc ncu internode waix hivelocity superb-dca3 ufpr tenet \
-	netcologne ignum kent kaz
-MASTER_SITE_SOURCEFORGE+= \
-	http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/
-.endfor
+MASTER_SITE_SOURCEFORGE= http://downloads.sourceforge.net/project/%SUBDIR%/
 .endif
 
 .if !defined(IGNORE_MASTER_SITE_SOURCEFORGE_JP)
_______________________________________________
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 3 Baptiste Daroussin freebsd_committer freebsd_triage 2014-01-03 01:13:49 UTC
State Changed
From-To: open->closed

Done, thanks!