Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155017 - feature request for portage cvs client behind proxy
Summary: feature request for portage cvs client behind proxy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 912589
  Show dependency tree
 
Reported: 2006-11-13 06:40 UTC by Botykai Zsolt
Modified: 2023-08-19 14:35 UTC (History)
1 user (show)

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


Attachments
cvs.eclass patch to use CVS proxy variables (cvs.eclass.patch,801 bytes, patch)
2006-11-13 07:09 UTC, Botykai Zsolt
Details | Diff
use proxy variables. (cvs.eclass.patch,1.29 KB, patch)
2013-06-18 02:05 UTC, Christoph Junghans (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Botykai Zsolt 2006-11-13 06:40:33 UTC
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...
Comment 1 Botykai Zsolt 2006-11-13 07:09:53 UTC
Created attachment 101836 [details, diff]
cvs.eclass patch to use CVS proxy variables
Comment 2 Botykai Zsolt 2006-11-13 07:10:50 UTC
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.
Comment 3 SpanKY gentoo-dev 2006-12-10 16:09:37 UTC
in portage, cheers
Comment 4 Botykai Zsolt 2007-01-17 08:17:15 UTC
I would recommend to add documentation too at least to make.conf.example and 'man $(portage || make.conf)'.
Comment 5 SpanKY gentoo-dev 2007-01-17 16:48:55 UTC
i dont really agree with that ... in the cvs.eclass man page, sure
Comment 6 Botykai Zsolt 2007-01-17 17:12:08 UTC
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?
Comment 7 SpanKY gentoo-dev 2007-03-03 04:49:54 UTC
it's like any other variable declared in make.conf ... it will be available to the portage environment
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2013-06-18 00:30:11 UTC
(In reply to SpanKY from comment #3)
> in portage, cheers

Initial checkout lost its ability to obey CVS_THROUGH_PROXY.
Comment 9 Christoph Junghans (RETIRED) gentoo-dev 2013-06-18 02:05:56 UTC
Created attachment 351280 [details, diff]
use proxy variables.
Comment 10 SpanKY gentoo-dev 2013-06-18 03:26:08 UTC
(In reply to Christoph Junghans from comment #9)

looks fine.  feel free to commit.
Comment 11 Christoph Junghans (RETIRED) gentoo-dev 2013-06-18 04:31:35 UTC
+  18 Jun 2013; Christoph Junghans <ottxor@gentoo.org> cvs.eclass:
+  fixed use of proxy variables