AFAIK CVS is capable to connect to repositories through a HTTP proxy: http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_System_v1.12.12.1:_The_Repository#SEC28 This should be implemented as e.g. a configurable variable in e.g. /etc/make.conf because there are several users are behind corporate proxies, who wants to work with *-cvs ebuilds/packages...
Created attachment 101836 [details, diff] cvs.eclass patch to use CVS proxy variables
Bloody simple - and maybe not perfect - solution: New variables: CVS_THROUGH_PROXY && CVS_THROUGH_PROXY_PORT Formats: CVS_THROUGH_PROXY="proxy=desired.proxy.stg" CVS_THROUGH_PROXY_PORT="proxyport=1234" Default unset. Patch to cvs.eclass attached.
in portage, cheers
I would recommend to add documentation too at least to make.conf.example and 'man $(portage || make.conf)'.
i dont really agree with that ... in the cvs.eclass man page, sure
Didn't know, that eclasses have their own man pages ;-) BTW then where should I set them? Or will it be automatically set if a user has $http_proxy in make.conf?
it's like any other variable declared in make.conf ... it will be available to the portage environment
(In reply to SpanKY from comment #3) > in portage, cheers Initial checkout lost its ability to obey CVS_THROUGH_PROXY.
Created attachment 351280 [details, diff] use proxy variables.
(In reply to Christoph Junghans from comment #9) looks fine. feel free to commit.
+ 18 Jun 2013; Christoph Junghans <ottxor@gentoo.org> cvs.eclass: + fixed use of proxy variables