Bug 19350

Summary: fetch needs the option '-b' to work properly with a transparent HTTP-Proxy
Product: Base System Reporter: mb <mb>
Component: binAssignee: Dag-Erling Smørgrav <des>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description mb 2000-06-17 09:40:01 UTC
Fetch should use for the ports-system the default '-b'. Else, a lot
of the ports fail and the user has to fetch the files by himself.

Fix: Use 'fetch -b' as default in the port-system.

fetch -Ar  http://www4.vmware.com/software/VMware-2.0.1-546.tar.gz
How-To-Repeat: Any port which uses HTTP-Files as sources to fetch.

fetch -A  http://www4.vmware.com/software/VMware-2.0.1-546.tar.gz
fetch: empty reply from www4.vmware.com
Comment 1 mb 2000-06-17 09:46:54 UTC
Err, I made typos :(

Fix:
---

fetch -Ab  http://www4.vmware.com/software/VMware-2.0.1-546.tar.gz


--- bsd.port.mk Sun May  7 16:16:03 2000
+++ bsd.port.mk Sat Jun 17 10:21:00 2000
@@ -827,7 +827,7 @@
 .if ${OSVERSION} < 300000
 FETCH_CMD?=            /usr/bin/fetch
 .else
-FETCH_CMD?=            /usr/bin/fetch -A
+FETCH_CMD?=            /usr/bin/fetch -Ab
 .endif
 #FETCH_BEFORE_ARGS+=   $${CKSIZE:+-S $$CKSIZE}
 .else
Comment 2 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2000-06-29 11:47:00 UTC
State Changed
From-To: open->feedback

This will no longer be a problem with the libfetch-based fetch(1). 


Comment 3 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2000-06-29 11:47:00 UTC
Responsible Changed
From-To: freebsd-bugs->des

fetch(1) is mine.
Comment 4 nbm freebsd_committer freebsd_triage 2000-08-06 18:07:41 UTC
State Changed
From-To: feedback->closed

No longer a problem with libfetch-based fetch, which was merged back 
before 4.1.