fink/fink — Issue #13: Use proxy in phase 1 of bootstrap
Author: akhansen
Created: 2011-11-20 17:30:55+00:00
State: open

Here's the text from a bug report:

- -------- Original Message --------
> Subject:	[Fink-beginners] Possible proxy omission bug in bootstrap
> Date:	Fri, 18 Nov 2011 17:18:08 -0500
> From:	Kurt Tappe
> To:	fink-beginners@lists.sourceforge.net
>
>
>
>
> When bootstrapping fink 0.31.4, I specify that I have a proxy server and
> I enter the full address and port.
>
> However, after all user-input has been provided and bootstrap starts to
> download items, it issues this command:
>
> curl --connect-timeout 30 -f -L -A 'fink/0.31.4' -P -
> - -O
> http://distfiles.sjc.ca.us.finkmirrors.net/dpkg_1.10.21.tar.gz
>
> Note the lack of a "--proxy" (or "-x") option. And thus this command
> fails with a "no response from server" error. If I copy it and reissue
> it manually with
> "--proxy http://[ourproxyserver]:8443"
> inserted, it works a charm.
>
> So why is bootstrap not using the proxy info I provide it?
>
> - -Kurt

The proxy information has just been gathered, but since the phase 1 download uses the bare download method rather than going through the whole fink tool, this information isn't getting passed along to curl.