Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6455 - in cvs eclass variable ECVS_USER is defined, but it is not used
Summary: in cvs eclass variable ECVS_USER is defined, but it is not used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-14 08:58 UTC by Hannes Mehnert (RETIRED)
Modified: 2002-08-19 11:56 UTC (History)
0 users

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 Hannes Mehnert (RETIRED) gentoo-dev 2002-08-14 08:58:20 UTC
ECVS_USER can be set for the cvs eclass, but the eclass always uses anonymous  
as user. Anonymous cvs access is not always as user anonymous.   
If no ECVS_USER is set, it will be anonymous (cvs.eclass will do that).  
This diff will use the ECVS_USER variable:  
hannes@neptun ~ $ diff -u /usr/portage/eclass/cvs.eclass 
/home/portage/eclass/cvs.eclass  
--- /usr/portage/eclass/cvs.eclass      Sat Aug 10 15:20:38 2002 
+++ /home/portage/eclass/cvs.eclass      Tue Aug 13 23:36:04 2002 
@@ -117,7 +117,7 @@ 
        # we make sure a CVS/ dir exists in our module subdir with the right 
        # Root and Repository entries in it and cvs update. 
  
-       newserver=":pserver:anonymous@${ECVS_SERVER}" 
+       newserver=":pserver:${ECVS_USER}@${ECVS_SERVER}" 
  
        # CVS/Repository files can't (I think) contain two concatenated 
slashes 
        if [ -n "$ECVS_SUBDIR" ]; then
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-08-19 11:56:44 UTC
You're right. I'm committing this change. No ebuilds use ECVS_USER as yet, but 
since it's defined anyway I'm adding this change.