/[gentoo]/xml/htdocs/proj/en/glep/glep-0036.txt
Gentoo

Diff of /xml/htdocs/proj/en/glep/glep-0036.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.5
1GLEP: 36 1GLEP: 36
2Title: Subversion/CVS for Gentoo Hosted Projects 2Title: Subversion/CVS for Gentoo Hosted Projects
3Version: $Revision: 1.3 $ 3Version: $Revision: 1.5 $
4Author: Aaron Walker <ka0ttic@gentoo.org> 4Author: Aaron Walker <ka0ttic@gentoo.org>
5Last-Modified: $Date: 2005/04/14 13:08:37 $ 5Last-Modified: $Date: 2005/07/30 16:58:12 $
6Status: Draft 6Status: Final
7Type: Standards Track 7Type: Standards Track
8Content-Type: text/x-rst 8Content-Type: text/x-rst
9Created: 11-Nov-2004 9Created: 11-Nov-2004
10Post-Date: 13-Mar-2005, 21-Mar-2005, 14-Apr-2005 10Post-Date: 13-Mar-2005, 21-Mar-2005
11 11
12Abstract 12Abstract
13======== 13========
14 14
15Allow maintainers of Gentoo hosted projects to choose between Subversion/CVS. 15Allow maintainers of Gentoo hosted projects to choose between Subversion/CVS.
50 50
51 $ emerge subversion 51 $ emerge subversion
52 52
532. Write wrapper script for svnserve:: 532. Write wrapper script for svnserve::
54 54
55 $ $EDITOR /usr/local/bin/svnserve-ssh && chmod +x \
56 > /usr/local/bin/svnserve-ssh
57 55
56 $ $EDITOR /usr/local/bin/svnserve-ssh && chmod +x \
57 > /usr/local/bin/svnserve-ssh
58
58 #!/bin/sh 59 #!/bin/sh
59 umask 002 60 umask 002
60 exec /usr/bin/svnserve "$@" 61 exec /usr/bin/svnserve "$@"
61 62
623. Modify the svnserve rc script:: 633. Modify the svnserve rc script::
63 64
64 $ cp /etc/init.d/svnserve /etc/init.d/svnserve-ssh 65 $ cp /etc/init.d/svnserve /etc/init.d/svnserve-ssh
65 $ sed -i 's:/usr/bin/svnserve:/usr/local/bin/svnserve-ssh:' \ 66 $ sed -i 's:/usr/bin/svnserve:/usr/local/bin/svnserve-ssh:' \
66 > /etc/init.d/svnserve-ssh 67 > /etc/init.d/svnserve-ssh
67 68
684. Edit svnserve rc config:: 694. Edit svnserve rc config::
69 70
70 $ ln -s /etc/init.d/svnserve /etc/init.d/svnserve-ssh 71 $ ln -s /etc/init.d/svnserve /etc/init.d/svnserve-ssh
71 $ $EDITOR /etc/init.d/svnserve 72 $ $EDITOR /etc/init.d/svnserve

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20