From owner-freebsd-ports@FreeBSD.ORG Sun Nov 8 04:53:25 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA19A1065672 for ; Sun, 8 Nov 2009 04:53:25 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.104.116]) by mx1.freebsd.org (Postfix) with ESMTP id 86F7E8FC0C for ; Sun, 8 Nov 2009 04:53:24 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1N6zlr-0002JE-A6; Sun, 08 Nov 2009 07:52:59 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id BE45FB860; Sun, 8 Nov 2009 07:53:22 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id ACC3EB829; Sun, 8 Nov 2009 07:53:22 +0300 (MSK) Date: Sun, 8 Nov 2009 07:53:22 +0300 From: Dmitry Marakasov To: Alexander Churanov Message-ID: <20091108045322.GD54527@hades.panopticon> References: <3cb459ed0911071731v707601e1vf25a523728085990@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3cb459ed0911071731v707601e1vf25a523728085990@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ports@freebsd.org Subject: Re: How to fix fetching from sourceforge.org? [ devel/boost-* ] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2009 04:53:25 -0000 * Alexander Churanov (alexanderchuranov@gmail.com) wrote: > I've noticed that my ports are unable to fetch from sourceforge and > usually fetch from FreeBSD sites. boost-* fetches just fine for me. > I recall there was a discussion on this, but I've missed the final > statement. After SF updated their distribution scheme, there was change to sites.mk and all ports hosted on SF. Nothing more than correct MASTER_SITES is required. If your port doesn't fetch, try `make fetch-urlall-list` and then try when on one of the URLs - there should be no redirects or index.html's. If there are, just go to SF download page, get the download url and give it to wget again. There will be bunch of redirects and finally direct URL which may be used in MASTER_SITES. For example, if you're playing with boost 1.41 beta 1: http://sourceforge.net/projects/boost/files/boost/1.41.0.beta.1/boost_1_41_0_beta1.tar.bz2/download (from download page) V http://downloads.sourceforge.net/project/boost/boost/1.41.0.beta.1/boost_1_41_0_beta1.tar.bz2 (redirect) V http://sunet.dl.sourceforge.net/project/boost/boost/1.41.0.beta.1/boost_1_41_0_beta1.tar.bz2 (finally, direct link) ^^^^^^^^^^^^^^^^^^^^^^^^^ That's SF/boost/boost/1.41.0.beta.1, or SF/boost/boost/${DISTVERSION:C/something/} if you like. If you use firefox, you may be interested in this GreaseMonkey script, which converts download URLs on SF to direct ones: http://userscripts.org/scripts/show/50136 -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru