Re: portupgrade over http only

2011-01-14 Thread Adam Vande More
On Fri, Jan 14, 2011 at 3:07 PM, Michael mlmichae...@gmail.com wrote:

 Hello,

 Is it possible to force portupgrade to use only http protocol where
 possible and skip the ftp servers?

 It's because currently I'm using very restrictive public access point where
 they block everything other than port 80 and I don't have a chance to set up
 a tunnel or proxy anywhere outside that network.

 When I try to:
 portupgrade -arRF
 it looks like it prefers ftp. Eventually it falls back to http but it takes
 ages before it tries all ftp servers. What to do?



You could set FTP_TIMEOUT to an absurdly low value.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portupgrade over http only

2011-01-14 Thread Matthew Seaman
On 14/01/2011 21:32, Adam Vande More wrote:
 On Fri, Jan 14, 2011 at 3:07 PM, Michael mlmichae...@gmail.com wrote:
 
 Hello,

 Is it possible to force portupgrade to use only http protocol where
 possible and skip the ftp servers?

 It's because currently I'm using very restrictive public access point where
 they block everything other than port 80 and I don't have a chance to set up
 a tunnel or proxy anywhere outside that network.

 When I try to:
 portupgrade -arRF
 it looks like it prefers ftp. Eventually it falls back to http but it takes
 ages before it tries all ftp servers. What to do?

 
 
 You could set FTP_TIMEOUT to an absurdly low value.
 

MASTER_SORT = http

in /etc/make.conf -- should make the ports try http sites first.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: portupgrade over http only

2011-01-14 Thread RW
On Fri, 14 Jan 2011 21:45:22 +
Matthew Seaman m.sea...@infracaninophile.co.uk wrote:


 MASTER_SORT = http


I used to use 

   MASTER_SORT_REGEX = ^http

for this when a former ISP traffic shaped ftp

If you set MASTER_SORT = http, then you get
://[^/]*http/ in MASTER_SORT_REGEX, so it looks like MASTER_SORT is
intended just to match hostnames/domains.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org