From nobody@FreeBSD.ORG  Fri Aug 18 03:05:04 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 4EAC337B423; Fri, 18 Aug 2000 03:05:04 -0700 (PDT)
Message-Id: <20000818100504.4EAC337B423@hub.freebsd.org>
Date: Fri, 18 Aug 2000 03:05:04 -0700 (PDT)
From: n_hibma@qubesoft.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Pkg_add does not make use of HTTP_PROXY / FTP_PROXY env. vars
X-Send-Pr-Version: www-1.0

>Number:         20696
>Category:       bin
>Synopsis:       Pkg_add does not make use of HTTP_PROXY / FTP_PROXY env. vars
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 18 03:10:03 PDT 2000
>Closed-Date:    Sun Mar 11 12:48:05 PST 2001
>Last-Modified:  Sun Mar 11 12:48:12 PST 2001
>Originator:     Nick Hibma
>Release:        4.0-STABLE
>Organization:
Qube Software Ltd.
>Environment:
FreeBSD bluebottle.qubesoft.com 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun Apr  2 19:04:25 BST 2000     dfr@bluebottle.qubesoft.com:/usr/src/sys/compile/BLUEBOTTLE  i386

>Description:
pkg_add ignores the HTTP_PROXY=192.168.1.1:80 variable.

Because it is using ftpio and not libfetch? Just guessing.

The difference is important to us as the machine's default route is a modem link, but it is connected to a 2Mbit/s link through a proxy.
>How-To-Repeat:
pkg_add -r lynx

and

fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-current/Latest/lynx.tgz
pkg_add lynx.tgz
rm lynx.tgz

and notice the difference in speed (and route).
>Fix:
Make pkg_add use libfetch for all I/O Which means you can use any URL on the command line.

>Release-Note:
>Audit-Trail:

From: Garrett Rooney <rooneg@electricjellyfish.net>
To: freebsd-gnats-submit@freebsd.org, n_hibma@qubesoft.com,
	des@freebsd.org
Cc:  
Subject: Re: bin/20696: Pkg_add does not make use of HTTP_PROXY / FTP_PROXY env. vars
Date: Sun, 11 Mar 2001 15:22:04 -0500

 (ccing des@freebsd.org because he committed this change)
 
 This pr should brobably be closed, as pkg_add was changed to use libfetch
 instead of libftpio quite some time ago (june 27 2000).
 
 -- 
 garrett rooney                        Unix was not designed to stop you from 
 rooneg@electricjellyfish.net          doing stupid things, because that would  
 http://electricjellyfish.net/         stop you from doing clever things.
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Sun Mar 11 12:48:05 PST 2001 
State-Changed-Why:  
Stale PR. 

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