Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109018

Summary: app-portage/g-cpan-0.13.02 doesn't correctly detects proxy settings
Product: Portage Development Reporter: Luc Dumaine <ldumaine>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luc Dumaine 2005-10-12 09:01:39 UTC
I use settings http_proxy and ftp_proxy environment variable
When I launch g-cpan for the first time, ~/.cpan doens't exist and g-cpan
generates a  ~/.cpan/CPAN/MyConfig.pm
g-cpan detects proxy settings but puts the number "1" instead of the correct
value in the file.
Other environment variable detections by g-cpan are affected.


Reproducible: Always
Steps to Reproduce:
export http_proxy=http://proxy:3128
rm -rf ~/.cpan
g-cpan
grep http_proxy ~/.cpan/CPAN/MyConfig.pm

Actual Results:  
  'http_proxy' => q[http://proxy:3128],


Expected Results:  
  'http_proxy' => q[1],
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-10-12 09:05:20 UTC
Careful ;)

*** This bug has been marked as a duplicate of 109020 ***