aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch/cvs.py
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2007-01-06 08:59:39 +0000
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2007-01-06 08:59:39 +0000
commit366758334a1682add46cadae0b34f2bfc88d8b43 (patch)
treedb9b9138b9299e050d3663dd2dc00c878dbce44f /lib/bb/fetch/cvs.py
parentd25bfb5029f00523b38fea216def0c466d244bad (diff)
downloadbitbake-366758334a1682add46cadae0b34f2bfc88d8b43.tar.gz
CVS Fetcher: Added support for non-default port (needed or rxvt-unicode in OE).
Diffstat (limited to 'lib/bb/fetch/cvs.py')
-rw-r--r--lib/bb/fetch/cvs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bb/fetch/cvs.py b/lib/bb/fetch/cvs.py
index f75c764fb..ed92b733b 100644
--- a/lib/bb/fetch/cvs.py
+++ b/lib/bb/fetch/cvs.py
@@ -82,6 +82,10 @@ class Cvs(Fetch):
if "localdir" in ud.parm:
localdir = ud.parm["localdir"]
+ cvs_port = 2401
+ if "port" in ud.parm:
+ cvs_port = ud.parm["port"]
+
cvs_rsh = None
if method == "ext":
if "rsh" in ud.parm:
@@ -93,7 +97,7 @@ class Cvs(Fetch):
cvsroot = ":" + method + ":" + ud.user
if ud.pswd:
cvsroot += ":" + ud.pswd
- cvsroot += "@" + ud.host + ":" + ud.path
+ cvsroot += "@" + ud.host + ":" + cvs_port + ud.path
options = []
if ud.date: