View Single Post
  #3   (View Single Post)  
Old 28th December 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

Quote:
Originally Posted by bsdfan View Post
Code:
--->  Reinstalling 'linux_base-fc-4_10' (emulators/linux_base-fc4)
Looks like your ports tree is out of date. That port is at version linux_base-fc-4_13 now.

Quote:
my question is following:
how can i use portupgrade -af command and "tell" fetch to do following:

1. do passive ftp
2. set transfer timeout to 10 sec
First, doing a "portupgrade -af" probably isn't the best idea in the world. It is very easy to mess your ports up this way. I don't know under what context you are doing this, so I can't really explain what the better alternative would be. I'll just assume you know what you're doing and answer your question.

You can set the FETCH_CMD environment variable to use whatever fetching program you want with your custom arguments (see ports(7)). With fetch(1), you can use the -p flag to use passive mode and the -T <seconds> flag to set the timeout. You can also use the FTP_TIMEOUT and HTTP_TIMEOUT environment variables for timeouts (the -T flag with override these).
Reply With Quote