mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 13:39:49 +02:00
bitbake: Add proxy support to CVS fetcher (patch from Cyril Chemparathy)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4192 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -102,7 +102,14 @@ class Cvs(Fetch):
|
||||
if method == "dir":
|
||||
cvsroot = ud.path
|
||||
else:
|
||||
cvsroot = ":" + method + ":" + ud.user
|
||||
cvsroot = ":" + method
|
||||
cvsproxyhost = data.getVar('CVS_PROXY_HOST', d, True)
|
||||
if cvsproxyhost:
|
||||
cvsroot += ";proxy=" + cvsproxyhost
|
||||
cvsproxyport = data.getVar('CVS_PROXY_PORT', d, True)
|
||||
if cvsproxyport:
|
||||
cvsroot += ";proxyport=" + cvsproxyport
|
||||
cvsroot += ":" + ud.user
|
||||
if ud.pswd:
|
||||
cvsroot += ":" + ud.pswd
|
||||
cvsroot += "@" + ud.host + ":" + cvs_port + ud.path
|
||||
|
||||
Reference in New Issue
Block a user