Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317987 - g-cpan and proxy
Summary: g-cpan and proxy
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-01 09:26 UTC by Juergen Rose
Modified: 2011-01-24 08:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-05-01 09:26:03 UTC
G-cpan seems to detect proxy settings and then write these settings to
~/.cpan/CPAN/MyConfig.pm :

root@lynx:/root(11)# grep -i proxy .cpan/CPAN/MyConfig.pm 
  'ftp_proxy' => q[http://10.101.10.254:3128],
  'http_proxy' => q[http://10.101.10.254:3128],
  'no_proxy' => q[],

If I then change the location of my laptop to an other network g-cpan still tries to access the proxy 10.101.10.254.
I can solve this problem by removing ~/.cpan after changing the network, but it would be more convenient, if there is no proxy entry in ~/.cpan/CPAN/MyConfig.pm.




Reproducible: Always
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-24 08:08:33 UTC
No, detecting the proxy is the best action here.
You should run it with ftp_proxy='' http_proxy='' when generating the config, so that it ignores your proxy settings.