From owner-freebsd-stable@FreeBSD.ORG Fri Nov 30 09:56:33 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51891C9E for ; Fri, 30 Nov 2012 09:56:33 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id D136F8FC0C for ; Fri, 30 Nov 2012 09:56:32 +0000 (UTC) Received: from vhoffman-macbooklocal.local (vincemacbook.unsane.co.uk [10.10.10.20]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id qAU9uVIS030322 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 30 Nov 2012 09:56:31 GMT (envelope-from vince@unsane.co.uk) Message-ID: <50B882CF.3050902@unsane.co.uk> Date: Fri, 30 Nov 2012 09:56:31 +0000 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Luca Ferrari Subject: Re: simple patch for portsnap to use wget References: <1354040675.3923.3.camel@mjakubik.localdomain> <50B61482.5090702@unsane.co.uk> <746EFFD8-033B-4641-9222-86D262D5EAA3@fisglobal.com> <50B76D97.60302@unsane.co.uk> <20121129163100.0f257676@suse3> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 09:56:33 -0000 On 30/11/2012 07:36, Luca Ferrari wrote: > I also tried using HTTP_PROXY and HTTP_PROXY_AUTH and it did not work, > or maybe I don't get how to configure them: > > HTTP_PROXY=host:port > HTTP_PROXY_AUTH=base:user:pass > > and either > > HTTP_PROXY=http://host:port > HTTP_PROXY_AUTH=base:user:pass > > In both cases however the error message is different: now it simply > gives up reaching the servers, so there is no formal error on the > downloaded file. I think this should be HTTP_PROXY_AUTH=basic:user:pass although the example in fetch(3) is The second method is by using the HTTP_PROXY_AUTH environment variable: HTTP_PROXY=http://proxy.example.com:8080 HTTP_PROXY_AUTH=basic:*:: Vince > > Luca > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"