| Summary: | fetch does not work with "user@host" ftp proxies | ||
|---|---|---|---|
| Product: | Base System | Reporter: | thomas.brupbacher <thomas.brupbacher> |
| Component: | bin | Assignee: | Dag-Erling Smørgrav <des> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed State Changed From-To: closed->open Closed in error. Responsible Changed From-To: freebsd-bugs->des Over to the maintainer. State Changed From-To: open->closed Already fixed. |
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.