Can Portupgrade provide a list of files to download?
doublef at tele-kom.ru
Tue Jul 13 06:10:40 PDT 2004
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
> <ron.joordens at indec.com.au> 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
means that this (pretty old) file should be put into
"... And remember: if you don't like the news, go out and make some of
-- "Scoop" Nisker, KFOG radio reporter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040713/01ee25eb/attachment.bin
More information about the freebsd-questions