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 > > > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "[email protected]" _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
