From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 02:56:33 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4430916A4CE for ; Tue, 13 Jul 2004 02:56:33 +0000 (GMT) Received: from fielden.com.au (www.fielden.com.au [203.34.58.131]) by mx1.FreeBSD.org (Postfix) with SMTP id F3F4143D31 for ; Tue, 13 Jul 2004 02:56:29 +0000 (GMT) (envelope-from david@fielden.com.au) Received: (qmail 13533 invoked from network); 13 Jul 2004 02:56:20 -0000 Received: from unknown (HELO ?192.168.1.84?) (192.168.1.84) by persephone.fielden.com.au with SMTP; 13 Jul 2004 02:56:20 -0000 Message-ID: <40F34F53.3020400@fielden.com.au> Date: Tue, 13 Jul 2004 12:56:19 +1000 From: Rowdy User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: epilogue References: <11F383396235D511994B00A0C9E175377212C7@INDEC-NTSERVER> <20040712225041.29ab42dd@localhost> In-Reply-To: <20040712225041.29ab42dd@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "''Freebsd-Questions \(E-mail\)'" cc: Ron Joordens Subject: Re: Can Portupgrade provide a list of files to download? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 02:56:33 -0000 epilogue wrote: > On Tue, 13 Jul 2004 11:07:57 +1000 > Ron Joordens wrote: > > >>Morning Everyone, >> >>Having only a dial-up connection at home, I try to download most of the >>large files I need for FreeBSD at work. To date I have to sit down in >>front of the pc, run portupgrade with the fetch only option and then note >>down the url's and file names of the needed files. Of course when a large >>file comes along (anything over 3 to 4 meg), after I note the details I >>press ctrl c to interupt and move to the next file. Problem is this skips >>files. So the next day, after I have fetched the files I noted at work >>and placed them in distfiles, I run portupgrade again to discover I still >>need a whole stack of files and the next day again, and the next day >>again, etc. It takes a few days to fetch all files and is extremly >>tedious. >> >>I was playing with Gentoo the other day and discovered that it has a >>pretend option that prints out all the files needed and their urls >>(several for each file). What a time saver! >> >>I tried portupgrade with the -n pretend option to see how it worked. >>However, it does not give url's and it seems to lists the version of the >>port it is upgrading from rather than the version it is upgrading to. >> >>Does anyone know if portupgrade provides such functionality? > > > gauging by the man page, i would say no. > > i have noticed that there is often more than one url for a given port. you > could manually assemble a list of the files you will need (including > dependencies) by checking the Makefile for each port or using a web-based > resource like freebsd.org/ports or freshports.org. > > you will also want to know what packages you already have installed > (pkg_info). You can do a "make fetch-recursive-list" in the port directory and pipe the output into a file to take to work. Dave