From owner-freebsd-bugs Fri Aug 18 3:10: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 87EC237B423 for ; Fri, 18 Aug 2000 03:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA67644; Fri, 18 Aug 2000 03:10:03 -0700 (PDT) (envelope-from gnats@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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/20696: Pkg_add does not make use of HTTP_PROXY / FTP_PROXY env. vars Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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