On 09/11/2006 15:15, gareth wrote: > hey guys, i'm struggling to find out how to do this, for example from > the help page: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html > > # cd /usr/ports/sysutils/lsof > # make >>> lsof_4.57D.freebsd.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >>> Attempting to fetch from ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/. > ===> Extracting for lsof-4.57 > > > how do i figure out before typing make what that url is? (the filename > part seems to be under 'distinfo'). for instance i'd like to download > all the necessary tarballs before running 'portupgrade' to make the > actual upgrade quicker.
Have a look at 'man 7 ports', especially fetch, fetch-recursive, fetch-list and fetch-recursive-list targets. As for portupgrade, it has a -F (--fetch-only) option to do just that. HTH Karol -- Karol Kwiatkowski <freebsd at orchid dot homeunix dot org> OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc
signature.asc
Description: OpenPGP digital signature