FS#18972 - Improved pacman support for HTTP proxies?
Attached to Project:
Pacman
Opened by Dries De Smet (Busata) - Tuesday, 06 April 2010, 10:13 GMT
Last edited by Allan McRae (Allan) - Wednesday, 10 November 2010, 04:17 GMT
Opened by Dries De Smet (Busata) - Tuesday, 06 April 2010, 10:13 GMT
Last edited by Allan McRae (Allan) - Wednesday, 10 November 2010, 04:17 GMT
|
Details
While there is support for proxies, at the place I work at
they block every non-http traffic.
So in order for pacman to work, I need to change the Xfercommand in pacman.conf(to use wget), manually change /etc/wgetrc to use a proxy(it doesn't seem to pick up the http_proxy env variable), and use a http mirror. Maybe this could be improved if it would be able to specify a proxy from commandline? |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 10 November 2010, 04:17 GMT
Reason for closing: No response
Wednesday, 10 November 2010, 04:17 GMT
Reason for closing: No response
Comment by Xavion (Xavion) -
Tuesday, 06 April 2010, 10:24 GMT
My suggestion was that 'pacman' should just pick up the
"http_proxy" environment variable. Also, please detach this
feature request from the "Release Engineering" project.
Comment by Xavier (shining) -
Thursday, 22 April 2010, 12:52 GMT
pacman already supports http_proxy. Make sure to use a complete
and valid uri (including the prefix like http://).
Comment by Dan McGee (toofishes) -
Thursday, 08 July 2010, 05:16 GMT
Any feedback from the original reporter? Otherwise I'd like to
close this out. Note that you can just use the command line flags
to curl or wget to set up the proxy as well.
Comment by Dan McGee (toofishes) -
Thursday, 08 July 2010, 05:17 GMT
And the primary reason you might not be passing through these
variables is if you are calling with sudo and it is cleaning your
environment- make sure you have that set up as you need to. Using
--debug will spew out a bunch of stuff, but will show the proxy
settings.