Bug 20082

Summary: fetch does not work with "user@host" ftp proxies
Product: Base System Reporter: thomas.brupbacher <thomas.brupbacher>
Component: binAssignee: Dag-Erling Smørgrav <des>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description thomas.brupbacher 2000-07-21 07:00:00 UTC
I am behind a firewall. The ftp proxy expects a user name of 
"user@host" to connect to the remote host. fetch uses "user@host@port"
which does not work for me.

Fix: 

The easiest "fix" is to change lib/libfetch/ftp.c:635 to

e = p ? _ftp_cmd(cd, "USER %s@%s", user, host)
          : _ftp_cmd(cd, "USER %s", user);

but this makes other people unhappy (of course).
How-To-Repeat: 
Try to build a port whose source files are not yet on the computer. It
will time out in fetch.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-21 10:12:41 UTC
State Changed
From-To: open->closed
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-21 10:13:27 UTC
State Changed
From-To: closed->open

Closed in error. 


Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-21 10:13:27 UTC
Responsible Changed
From-To: freebsd-bugs->des

Over to the maintainer.
Comment 4 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2000-07-21 12:08:34 UTC
State Changed
From-To: open->closed

Already fixed.