From owner-freebsd-questions@FreeBSD.ORG Wed Dec 23 17:45:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC62810656AA for ; Wed, 23 Dec 2009 17:45:02 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id C513C8FC08 for ; Wed, 23 Dec 2009 17:45:02 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id E4BCD4A306C3; Wed, 23 Dec 2009 09:42:25 -0800 (PST) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Wed, 23 Dec 2009 09:43:49 -0800 Date: Wed, 23 Dec 2009 09:43:49 -0800 From: Jason To: Kirk Strauser Message-ID: <20091223174349.GB42405@eggman.experts-exchange.com> References: <4B325579.5060106@strauser.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4B325579.5060106@strauser.com> X-Operating-System: FreeBSD 7.2-RELEASE-p4 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Blacklisting a SourceForge mirror from ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2009 17:45:02 -0000 I don't know about blacklisting, however you may want to look at the port called fastest_sites: /usr/ports/ports-mgmt/fastest_sites]$ cat pkg-descr Find the fastest mirror for every mirror list in bsd.sites.mk. Output is suitable for inclusion into make.conf. WWW: http://www.semicomplete.com/blog/geekery/freebsd-ports-master-sites-sorting.html -jgh On Wed, Dec 23, 2009 at 11:38:01AM -0600, Kirk Strauser thus spake: >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" >