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 > <[EMAIL PROTECTED]> wrote: > > > > 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. > > # cd /usr/ports/..... > # make fetch-recursive-list > > 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, -- 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
Description: PGP signature