Date: Wed, 28 Nov 2012 13:41:22 +0000 From: Vincent Hoffman <vince@unsane.co.uk> To: Luca Ferrari <fluca1978@infinito.it> Cc: freebsd-stable@freebsd.org Subject: Re: simple patch for portsnap to use wget Message-ID: <50B61482.5090702@unsane.co.uk> In-Reply-To: <CAKoxK%2B61KJJLKoE5namZ31G9DNUSaqm%2BtXCL=KF%2B6pnXszP0pw@mail.gmail.com> References: <CAKoxK%2B5iy2R7=cZp38xKZpTbgFd0aZ3H28tVmPnuPR01w=pO4A@mail.gmail.com> <1354040675.3923.3.camel@mjakubik.localdomain> <CAKoxK%2B61KJJLKoE5namZ31G9DNUSaqm%2BtXCL=KF%2B6pnXszP0pw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B61482.5090702>