From owner-freebsd-stable@FreeBSD.ORG Wed Nov 28 13:41:25 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 B95704A1 for ; Wed, 28 Nov 2012 13:41:25 +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 1E0658FC14 for ; Wed, 28 Nov 2012 13:41:24 +0000 (UTC) Received: from vincemacbook.unsane.co.uk (vincemacbook.unsane.co.uk [10.10.10.20]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id qASDfMlx041781 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 28 Nov 2012 13:41:23 GMT (envelope-from vince@unsane.co.uk) Message-ID: <50B61482.5090702@unsane.co.uk> Date: Wed, 28 Nov 2012 13:41:22 +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> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 28 Nov 2012 13:41:25 -0000 On 28/11/2012 08:52, Luca Ferrari wrote: >> Certainly not with a dependency on wget, which is not part of the base >> system. Use fetch instead. >> > Right, so I'm wondering why not using fetch instead of phttpget by default. > However I've rewritten everything so that now it allows for the > configuration of fetch or not. The only change is that in the case of > fetch the server name must be used with a protocol since fetch expects > a full URL and not a server name. > > I vote for using fetch by default instead of phttpget. Have you tried using HTTP_PROXY_AUTH variable as per fetch(3) instead? added in http://svnweb.freebsd.org/base/head/usr.sbin/portsnap/phttpget/phttpget.c?revision=150461&view=markup fixed more in http://svnweb.freebsd.org/base/head/usr.sbin/portsnap/phttpget/phttpget.c?revision=156405&view=markup Not that i have tested (I have one machine going via a proxy but its firewalled rather than AUTHed) Vince > > Regards, > 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"