Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2009 22:33:04 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Blacklisting a SourceForge mirror from ports?
Message-ID:  <20091223213304.GA82061@ei.bzerk.org>
In-Reply-To: <4B325579.5060106@strauser.com>
References:  <4B325579.5060106@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Would "route add heanet.dl.sourceforge.net 127.0.0.1" help?

On Wed, Dec 23, 2009 at 11:38:01AM -0600, Kirk Strauser typed:
> in ports/Mk/bsd.sites.mk, the list of SourceForge mirrors is defined by:
> 
> .for mirror in heanet sunet iweb switch surfnet kent freefr \
>                 voxel jaist osdn nchc transact softlayer \
>                 internode biznetnetworks ufpr
> #               garr dfn ovh (redirect as of 2009-Sep-02)
> MASTER_SITE_SOURCEFORGE+= \
>         http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/
> .endfor
> .endif
> 
> The problem is that the first mirror, heanet, is glacially slow every 
> time I try to download from it. Transfers of 5-10KB/s aren't unheard 
> of.  When I see that a large tarball is coming down from heanet, I'll 
> routinely kill the transfer and manually download it.
> 
> In my /etc/make.conf, I have:
> 
> MASTER_SITE_SOURCEFORGE=http://sunet.dl.sourceforge.net/%SUBDIR%/
> 
> That *usually* works, but will often return a redirect, in which case 
> the fetch goes back to using the list of mirrors, starting with heanet, 
> which puts me back in the same predicament.
> 
> I could obviously edit bsd.sites.mk to remove that entry, but updates 
> could wipe out my changes.  Worse, if the SF layout changes and 
> bsd.sites.mk is updated to reflect the new structure, a locally edited 
> version wouldn't have those fixes.
> 
> All that said, is there a better way to specify SourceForge mirrors? A 
> blacklist would be ideal for this specific situation, but I'm open to ideas.
> 
> -- 
> Kirk Strauser
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091223213304.GA82061>