From owner-freebsd-questions@FreeBSD.ORG Wed Dec 23 21:33:12 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 2C71B1065692 for ; Wed, 23 Dec 2009 21:33:12 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 936558FC19 for ; Wed, 23 Dec 2009 21:33:11 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id nBNLX5dL082395; Wed, 23 Dec 2009 22:33:05 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id nBNLX4s8082394; Wed, 23 Dec 2009 22:33:04 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Wed, 23 Dec 2009 22:33:04 +0100 From: Ruben de Groot To: Kirk Strauser Message-ID: <20091223213304.GA82061@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Kirk Strauser , freebsd-questions@freebsd.org References: <4B325579.5060106@strauser.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B325579.5060106@strauser.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Wed, 23 Dec 2009 22:33:10 +0100 (CET) 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 21:33:12 -0000 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"