Changes

From SME Server
Jump to navigationJump to search
Update CVS server details
Line 13: Line 13:  
  http://www.openfusion.net/linux/mocking_rpms<br />
 
  http://www.openfusion.net/linux/mocking_rpms<br />
 
  http://fedoraproject.org/wiki/Projects/Mock<br />
 
  http://fedoraproject.org/wiki/Projects/Mock<br />
  −
https://sourceforge.net/apps/trac/sourceforge/wiki/Register%20a%20user%20account<br />
  −
https://sourceforge.net/apps/trac/sourceforge/wiki/CVS<br />
  −
https://sourceforge.net/apps/trac/sourceforge/wiki/SSH%20keys<br />
        Line 75: Line 71:  
===USING CVS - GETTING SOURCE CODES===
 
===USING CVS - GETTING SOURCE CODES===
 
CVS is used for maintaining code and packages.
 
CVS is used for maintaining code and packages.
We first need to download (with CVS this is called retrieving) the code for the package to be modified from the SME Server CVS repository at SourceForge (we can also retrieve the CVS for the smecontribs tree).   
+
We first need to download (with CVS this is called retrieving) the code for the package to be modified from the SME Server CVS repository at shell.koozali.org(we can also retrieve the CVS for the smecontribs tree).   
    
Two cases with CVS:
 
Two cases with CVS:
   −
* To be able to work on your code in the SME Server CVS repository you need an account on SourceForge.  If you do not have an account at CVS, retrieving is performed as an anonymous user and changes cannot be saved.   
+
* To be able to work on your code in the SME Server CVS repository you need an account on koozali.org.  If you do not have an account at CVS, retrieving is performed as an anonymous user and changes cannot be saved.   
 
  slogin -p 22 chris\@192.168.xx.12
 
  slogin -p 22 chris\@192.168.xx.12
 
Note: If at a later stage you obtain a valid account with CVS, you will need to edit ALL packages /CVS/Root in order to save your work in CVS. As an example, for package "e-smith-backup", CVS/Root will need to be edited to be exactly as shown below:
 
Note: If at a later stage you obtain a valid account with CVS, you will need to edit ALL packages /CVS/Root in order to save your work in CVS. As an example, for package "e-smith-backup", CVS/Root will need to be edited to be exactly as shown below:
 
  [chris@build-system testsf]$ cat e-smith-backup/CVS/Root  
 
  [chris@build-system testsf]$ cat e-smith-backup/CVS/Root  
  :ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver
+
  :ext:shell.koozali.org:/cvsroot/smeserver
 
  [ok - CVS/Root uses 'ext' which should be SSH access]
 
  [ok - CVS/Root uses 'ext' which should be SSH access]
    
* To retrieve a package or a full tree as an anonymous user, cd into a work directory and issue following commands:
 
* To retrieve a package or a full tree as an anonymous user, cd into a work directory and issue following commands:
 
for smeserver
 
for smeserver
  cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smeserver checkout -P e-smith-backup
+
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvsroot/smeserver checkout -P e-smith-backup
  cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P rpms  
+
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvsroot/smeserver co -P rpms  
 
or for smecontribs
 
or for smecontribs
  cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smecontribs checkout -P e-smith-backup
+
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvsroot/smecontribs checkout -P e-smith-backup
  cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smecontribs co -P rpms  
+
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvsroot/smecontribs co -P rpms  
    
* To retrieve a package or a full tree as a registered user, cd into a work directory and issue following commands:
 
* To retrieve a package or a full tree as a registered user, cd into a work directory and issue following commands:
 
for smeserver
 
for smeserver
  cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P e-smith-backup
+
  cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smeserver co -P e-smith-backup
  cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P rpms
+
  cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smeserver co -P rpms
 
or for smecontribs
 
or for smecontribs
  cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smecontribs co -P smeserver-diskusage
+
  cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smecontribs co -P smeserver-diskusage
  cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smecontribs co -P rpms
+
  cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smecontribs co -P rpms
    
===PACKAGE MODIFICATION===
 
===PACKAGE MODIFICATION===
Line 108: Line 104:  
  [chris@build-system ~]$ mkdir work
 
  [chris@build-system ~]$ mkdir work
 
  [chris@build-system ~]$ cd work/
 
  [chris@build-system ~]$ cd work/
  [chris@build-system testsf]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P e-smith-backup
+
  [chris@build-system testsf]$ cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smeserver co -P e-smith-backup
    
* To refresh run the following from the rpms directory, or any lower directory with a CVS dir
 
* To refresh run the following from the rpms directory, or any lower directory with a CVS dir
Line 242: Line 238:  
  [chris@build-system ~]$ cd work/
 
  [chris@build-system ~]$ cd work/
   −
  [chris@build-system work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P e-smith-radiusd
+
  [chris@build-system work]$ cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smeserver co -P e-smith-radiusd
 
   
 
   
 
  cvs checkout: Updating e-smith-radiusd
 
  cvs checkout: Updating e-smith-radiusd
Line 398: Line 394:     
*Get package from CVS
 
*Get package from CVS
  [chris@build-system work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P qpsmtpd
+
  [chris@build-system work]$ cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smeserver co -P qpsmtpd
  [chris@build-system work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P smeserver-qpsmtpd
+
  [chris@build-system work]$ cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smeserver co -P smeserver-qpsmtpd
    
  [chris@build-system work]$ ls
 
  [chris@build-system work]$ ls
Line 614: Line 610:  
  /home/chris/work
 
  /home/chris/work
   −
  [chris@bui work]$ cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smeserver checkout -P e-smith-base
+
  [chris@bui work]$ cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvsroot/smeserver checkout -P e-smith-base
    
  [chris@build-system work]$ cd e-smith-base/sme8/
 
  [chris@build-system work]$ cd e-smith-base/sme8/
Line 734: Line 730:     
* Get package
 
* Get package
  [chris@build-system work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P e-smith-openssh
+
  [chris@build-system work]$ cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smeserver co -P e-smith-openssh
    
* Get patch from workstation to build:
 
* Get patch from workstation to build:
Line 929: Line 925:  
  /home/chris/work
 
  /home/chris/work
   −
  [chris@build-system work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P qpsmtpd
+
  [chris@build-system work]$ cvs -z3 -d:ext:shell.koozali.org:/cvsroot/smeserver co -P qpsmtpd
    
* Update
 
* Update

Navigation menu