fetch info

John Merryweather Cooper john_m_cooper at yahoo.com
Thu Nov 9 07:37:17 PST 2006


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.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
>   
Run

make fetch

in the directory of each of the ports you want to prefetch.  
Alternatively, you can use sysutils/portupgrade which has a command line 
switch to fetch only.  Alternatively, you can use portmaster which 
appears to fetch in the background before building.

jmc



More information about the freebsd-ports mailing list