From owner-freebsd-ports@FreeBSD.ORG Tue Jan 7 15:09:08 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B17D3CB8 for ; Tue, 7 Jan 2014 15:09:08 +0000 (UTC) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) by mx1.freebsd.org (Postfix) with ESMTP id 3C8EB1FDB for ; Tue, 7 Jan 2014 15:09:08 +0000 (UTC) Received: from amavis-proxy-ori.ijs.si (localhost [IPv6:::1]) by mail.ijs.si (Postfix) with ESMTP id 3dzH6q3BCrzGMX3 for ; Tue, 7 Jan 2014 16:09:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= message-id:content-transfer-encoding:content-type:content-type :mime-version:in-reply-to:references:user-agent:date:date :subject:subject:organization:from:from:received:received :received; s=jakla2; t=1389107345; x=1391699346; bh=0M0TF/9+1OLq WnD/r50ni5Eol2KfpkhvziZvTd9F32g=; b=n4qVtkHzBVjyNvni/N1hyZuhnq3+ avE8Pr90o1dT4RoN6wiE83PKKTsq2smDVsYwdQfYzTdYuiag+D64BxmAzPA8tzr4 2z4TFxUk6sYPmYW51kv16wtAtWNh1lKZe1YpqvTDjFRKFhk3QmHDDjNCTmOLNUPL 0vw0ued0jzx1//o= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-proxy-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10012) with ESMTP id cH9cNh9BGzli for ; Tue, 7 Jan 2014 16:09:05 +0100 (CET) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP for ; Tue, 7 Jan 2014 16:09:05 +0100 (CET) Received: from neli.ijs.si (neli.ijs.si [IPv6:2001:1470:ff80:88:21c:c0ff:feb1:8c91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mildred.ijs.si (Postfix) with ESMTPSA id 81C6B412 for ; Tue, 7 Jan 2014 16:09:05 +0100 (CET) From: Mark Martinec Organization: J. Stefan Institute To: freebsd-ports@freebsd.org Subject: Re: lang/ruby19 distfile not found (ruby-1.9.3-p484.tar.bz2) Date: Tue, 7 Jan 2014 16:09:03 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.2-STABLE; KDE/4.10.5; amd64; ; ) References: <7D6F1AAC-33A9-4427-8469-7F80D0150A8C@conundrum.com> <52CBBC2E.7020708@infracaninophile.co.uk> In-Reply-To: <52CBBC2E.7020708@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201401071609.03907.Mark.Martinec+freebsd@ijs.si> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2014 15:09:08 -0000 Matthew Pounsett wrote: > > It shouldn't matter, but this box is v6-only (hence a few "network > > not reachable" and timeout errors for some fetch attempts). I've > > FTP'd into a handful of the v6 enabled hosts and manually looked for > > the distfile, just to verify that I should be able to reach it > > somewhere via v6. Matthew Seaman wrote: > Unfortunately, the ports tree is not able to make any guarantees about > usability on an IPv6 only system. Which is pretty sad given that IPv6 > has been around for so many years and is so obviously the only feasible > way forward given the exhaustion of the IPv4 address space. > > However, it used to be that you could get the distfiles from the cache > on the IPv6 enabled ftp.freebsd.org, where they were stored for the > benefit of the old package building systems. > > There has been a switch to the new package building setup behind > pkg.freebsd.org. Older style pkg_tools packages should still be being > produced for the supported 8.x and 9.x systems where pkgng is not the > default, but I believe the building system even for those has been > extensively revised. I'm not sure this still involves caching all the > distfiles in the same way. I could be wrong though. > > If you can't rely on ftp.freebsd.org then you'ld have to turn to the > original master sites, and there's simply no way to find IPv6 enabled > sites for all possible distfiles. There is indeed a sizable share of ports without at least one IPv6 mirror site, although I'm pleasantly surprised that the majority of ports that we use can now be fetched from an IPv6-only host. We also run a couple of IPv6-only FreeBSD servers. My practice so far has been to try to install/upgrade whatever is possibly without any transition aids - just to be able to see what is still missing. To fetch the rest I just point the http_proxy and ftp_proxy env. vars to our dual-stacked squid proxy and repeat the exercise for the remaining ports. A NAT64 would probably do as well. Having a policy that a port needs at least one mirror in each protocol family would be very useful. A fallback mirror like ftp.freebsd.org could fill-in this job. Mark