Date: Mon, 11 Nov 2013 14:18:08 +0100 From: Luca Ferrari <fluca1978@infinito.it> To: freebsd-questions@freebsd.org Subject: freebsd-update: fetch or phttpget? Message-ID: <CAKoxK%2B578cNgbhpwB5_oX3SSxdH6dh0gSwYbPf%2Bn3TAA8Xx0xw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all,
I noted that freebsd-update uses phttpget as main downloader except in
a point, where fetch(1) is used:
fetch ${QUIETFLAG} http://${SERVERNAME}/${FETCHDIR}/latest.ssl
Now, this causes problems with the authentication when behind a
proxy, since phttpget and fetch seem to use a different approach to
username/password authentication. In particular fetch handles an
http_proxy variable that includes username/password, while phttpget
does not.
What is the rationale behind the usage of two downloader within the same script?
Thanks,
Luca
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKoxK%2B578cNgbhpwB5_oX3SSxdH6dh0gSwYbPf%2Bn3TAA8Xx0xw>
