Proxy settings from system_advanced_misc.php are not respected by pkg
The proxy settings entered on system_advanced_misc.php are not respected by pkg, at least when using pkg from the GUI.
The proxy parameters may need to be placed directly into the pkg repo config file if setting them in the environment does not function as expected.
Needs tested from a shell prompt also. Currently the http_proxy/HTTP_PROXY environment variables are set but whether those are respected by pkg as well needs to be confirmed.
- File pkg-proxy.diff added
Potential patch attached. Works for me here in a test setup, but needs some verification.
Better version of the patch after feedback from Renato
- File deleted (
- Status changed from New to Feedback
- Assignee changed from Renato Botelho to Jim Pingle
I pushed the last patch, commit:cb661db and commit:2bde5fb
- Status changed from Feedback to Resolved
this works both in GUI and CLI.
this patched worked for me, but only after changing the uppercase HTTP_PROXY to lowercase http_proxy
Also available in: Atom