Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2000 03:05:04 -0700 (PDT)
From:      n_hibma@qubesoft.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/20696: Pkg_add does not make use of HTTP_PROXY / FTP_PROXY env. vars
Message-ID:  <20000818100504.4EAC337B423@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 18 03:10:03 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000818100504.4EAC337B423>