Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109020 - app-portage/g-cpan-0.13.02 doesn't correctly detects proxy settings
Summary: app-portage/g-cpan-0.13.02 doesn't correctly detects proxy settings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard: g-cpan
Keywords:
: 109018 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-12 09:03 UTC by Luc Dumaine
Modified: 2006-06-13 14:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
a patch that corrects the bug (g-cpan.diff,1.09 KB, patch)
2005-10-12 09:06 UTC, Luc Dumaine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Dumaine 2005-10-12 09:03:20 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 Luc Dumaine 2005-10-12 09:03:53 UTC
(In reply to comment #0)
[...]
> Actual Results:  
>   'http_proxy' => q[http://proxy:3128],
> 
> 
> Expected Results:  
>   'http_proxy' => q[1],


it should of course read:
Actual Results:  
   'http_proxy' => q[1],

 
Expected Results:  
   'http_proxy' => q[http://proxy:3128],
Comment 2 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-10-12 09:05:20 UTC
*** Bug 109018 has been marked as a duplicate of this bug. ***
Comment 3 Luc Dumaine 2005-10-12 09:06:08 UTC
Created attachment 70464 [details, diff]
a patch that corrects the bug
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2006-06-13 14:41:13 UTC
this was fixed in 0.14, thanks!