From nobody@FreeBSD.ORG  Sat Jun 17 01:33:52 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 3ED3537B564; Sat, 17 Jun 2000 01:33:52 -0700 (PDT)
Message-Id: <20000617083352.3ED3537B564@hub.freebsd.org>
Date: Sat, 17 Jun 2000 01:33:52 -0700 (PDT)
From: mb@imp.ch
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: fetch needs the option '-b' to work properly with a transparent HTTP-Proxy
X-Send-Pr-Version: www-1.0

>Number:         19350
>Category:       bin
>Synopsis:       fetch needs the option '-b' to work properly with a transparent HTTP-Proxy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 17 01:40:01 PDT 2000
>Closed-Date:    Sun Aug 6 10:07:41 PDT 2000
>Last-Modified:  Sun Aug 06 10:08:22 PDT 2000
>Originator:     Martin Blapp
>Release:        4.0 STABLE
>Organization:
Improware AG
>Environment:
>Description:
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.

>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
>Fix:
Use 'fetch -b' as default in the port-system.

fetch -Ar  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 -Ar
 .endif
 #FETCH_BEFORE_ARGS+=   $${CKSIZE:+-S $$CKSIZE}
 .else

>Release-Note:
>Audit-Trail:

From: Martin Blapp <mb@imp.ch>
To: freebsd-gnats-submit@FreeBSD.org, mb@imp.ch
Cc:  
Subject: Re: bin/19350: fetch needs the option '-b' to work properly with a 
 transparent HTTP-Proxy
Date: Sat, 17 Jun 2000 10:46:54 +0200

 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
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: des 
State-Changed-When: Thu Jun 29 03:47:00 PDT 2000 
State-Changed-Why:  
This will no longer be a problem with the libfetch-based fetch(1). 


Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: des 
Responsible-Changed-When: Thu Jun 29 03:47:00 PDT 2000 
Responsible-Changed-Why:  
fetch(1) is mine. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19350 
State-Changed-From-To: feedback->closed 
State-Changed-By: nbm 
State-Changed-When: Sun Aug 6 10:07:41 PDT 2000 
State-Changed-Why:  
No longer a problem with libfetch-based fetch, which was merged back 
before 4.1. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19350 
>Unformatted:
