From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 13:10:38 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 54F3716A559 for ; Tue, 13 Jul 2004 13:10:38 +0000 (GMT) Received: from ns3.tele-kom.ru (ns3.tele-kom.ru [217.107.251.251]) by mx1.FreeBSD.org (Postfix) with SMTP id 1349443D1F for ; Tue, 13 Jul 2004 13:10:35 +0000 (GMT) (envelope-from doublef@tele-kom.ru) Received: (qmail 12445 invoked from network); 13 Jul 2004 13:10:18 -0000 Received: from mx.tele-kom.ru (213.80.148.6) by ns.tele-kom.ru with SMTP; 13 Jul 2004 13:10:18 -0000 Received: (qmail 34805 invoked by uid 555); 13 Jul 2004 13:11:13 -0000 Received: from shark (213.80.149.180) by t-k.ru with TeleMail/2 id 1089724272-34773 for freebsd-questions@freebsd.org; Tue, 13 Jul 17:11:12 2004 +0400 (MSD) Received: by shark (Postfix, from userid 1000) id 314AD23A; Tue, 13 Jul 2004 17:08:57 +0400 (MSD) Date: Tue, 13 Jul 2004 17:08:57 +0400 From: Sergey Zaharchenko To: Gautam Gopalakrishnan Message-ID: <20040713130857.GA620@shark.localdomain> Mail-Followup-To: Sergey Zaharchenko , Gautam Gopalakrishnan , Ron Joordens , freebsd-questions References: <11F383396235D511994B00A0C9E175377212C7@INDEC-NTSERVER> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Listening-To: Silence cc: freebsd-questions 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 13:10:40 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 13, 2004 at 08:34:17PM +1000, Gautam Gopalakrishnan probably wrote: > On Tue, 13 Jul 2004 11:07:57 +1000, Ron Joordens > wrote: > >=20 > > I was playing with Gentoo the other day and discovered that it has a pr= etend > > option that prints out all the files needed and their urls (several for= each > > file). What a time saver! > >=20 > > 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. >=20 > # cd /usr/ports/..... > # make fetch-recursive-list >=20 > This will print the list of urls, each URL is separated by a || > (logical or) so if one fails it will try the next. Each file fetched > will be on a separate line. More precisely, it will print a shell script to download the files, where the commands are separated by ||. Also, note that it's needed to figure out where the ports collection wants these files to reside in. Most frequently it's /usr/ports/distfiles, but some ports put distfiles in a subdirectory under that. Each line of the script will by default contain an entry mentioning ftp.FreeBSD.org; the correct subdirectory is there. For example, ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-2.3.1.tar.gz means that this (pretty old) file should be put into /usr/ports/distfiles/KDE/ HTH, --=20 DoubleF "... And remember: if you don't like the news, go out and make some of your own." -- "Scoop" Nisker, KFOG radio reporter Preposterous Words --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA897owo7hT/9lVdwRAvB8AJ0aNnaZTMK4Z7/ugTrvmgCvUibBUgCfcwQY ngs8cMcrrlzllEE5Wn8l2dE= =CG0x -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--