Bug #6149
closedProxy settings from system_advanced_misc.php are not respected by pkg
0%
Description
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.
Files
      
      Updated by Jim Pingle over 9 years ago
      
    
    Some more detail on #6151 and https://forum.pfsense.org/index.php?topic=109943
      
      Updated by Jim Pingle over 9 years ago
      
    
    - File pkg-proxy.diff added
 
Potential patch attached. Works for me here in a test setup, but needs some verification.
      
      Updated by Jim Pingle over 9 years ago
      
    
    - File pkg-proxy.diff pkg-proxy.diff added
 
Better version of the patch after feedback from Renato
      
      Updated by Jim Pingle over 9 years ago
      
    
    - Status changed from New to Feedback
 - Assignee changed from Renato Botelho to Jim Pingle
 
I pushed the last patch, commit:cb661db and commit:2bde5fb
      
      Updated by Chris Buechler over 9 years ago
      
    
    - Status changed from Feedback to Resolved
 
this works both in GUI and CLI.
      
      Updated by Glenn Provoost over 9 years ago
      
    
    this patched worked for me, but only after changing the uppercase HTTP_PROXY to lowercase http_proxy