Add in cvs info
[oweals/busybox.git] / docs / busybox.net / cvs_write.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> 
2
3 <HTML>
4 <HEAD>
5 <title>BusyBox CVS Read/Write Instructions</title>
6 </HEAD>
7
8 <body text="#000000" alink="#660000" link="#660000" bgcolor="#dee2de" vlink="#660000">
9
10 <basefont face="lucida, helvetica, arial" size="3">
11
12
13 <CENTER>
14       <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2>
15             <TR>
16                 <td bgcolor="#000000">
17                   <FONT FACE="lucida, helvetica" COLOR="#ccccc0">
18                       <B>B&nbsp;u&nbsp;s&nbsp;y&nbsp;B&nbsp;o&nbsp;x</B>
19                   </FONT>
20                 </TD>
21             </TR>
22       </TABLE>
23       <a href="/"><IMG SRC="images/busybox2.jpg" alt="BusyBox" border="0" width="360" height="230"></a><BR>
24
25
26
27 </head>
28
29
30 <H3>Accessing the Busybox CVS Repository</H3>
31
32 <h2>CVS Read/Write Access</h2><p>
33 If you want to be able to commit things to CVS, first contribute some
34 stuff to show you are serious.  Then, very nicely ask 
35 <a href="mailto:andersen@codepoet.org">Erik Andersen</a> if he will set you up with 
36 an account.  To access CVS, you will want to add the following to set up your environment:
37 <pre>
38 $ export CVS_RSH=/usr/bin/ssh
39 $ export CVSROOT='username@busybox.net:/var/cvs'</pre>
40 <br>
41 It goes without saying you must change <em>username</em> to your own
42 username...
43 <p>
44
45 To obtain commit access, you will need to demonstrate you are
46 serious by submitting a few good patches first.  Then, you will need to 
47 select a user-name to use when committing stuff, and finally, you will
48 need to either send me a crypted password, which you will use to connect 
49 to the system, or send me an ssh key.  
50 To create a crypted password, you can do something like the following (and
51 please remember to change your password to something other then<em>foo</em>!):
52
53 <pre>
54 $ PASSWORD=foo perl -e 'srand ; @salt=(a..z,A..Z,0..9); \
55     print crypt($ENV{PASSWORD}, $salt[rand(62)].$salt[rand(62)]), "\n";'
56 <b>o0naQJuvFx4UA</b>
57 </pre>
58
59 If you'd like to use MD5 passwords instead, try something like the following:
60
61 <pre>
62 $ PASSWORD=foo perl -e 'srand ; @salt=(a..z,A..Z,0..9); \
63     print crypt($ENV{PASSWORD}, "\$1\$".$salt[rand(62)].$salt[rand(62)]), "\n";'
64 <b>$1$Kp$rBBvl5cuAeJjJ6U1hCqpU1</b>
65 </pre>
66
67 Then I take your crypted password as is (i.e., the output of either of
68 these commands), drop it into the cvs password file, and you are set to
69 go.
70 <p>
71 Note that if your are really worried that others might see your crypted
72 password, or your ssh key, you can encrypt the email containing your
73 crypted password using my <a href="http://www.codepoet.org/~andersen/erik/gpg.asc">public key</a>.  
74
75
76 <!-- End of Table -->
77
78 </TD></TR>
79 </TABLE>
80
81
82
83 <!-- Footer -->
84 <HR>
85 <TABLE WIDTH="100%">
86     <TR>
87         <TD>
88             <font size="-1" face="arial, helvetica, sans-serif">
89             Mail all comments, insults, suggestions and bribes to 
90             <a href="mailto:andersen@codepoet.org">Erik Andersen</a><BR>
91             The Busybox logo is copyright 1999,2000,2001, Erik Andersen.
92             </font>
93         </TD>
94
95         <TD>
96             <a href="http://www.vim.org"><img border=0 width=90 height=36
97             src="images/written.in.vi.png" 
98             alt="This site created with the vi editor"></a>
99         </TD>
100
101         <TD>
102             <a href="http://www.gimp.org/"><img border=0 width=90 height=36
103             src="images/gfx_by_gimp.png" alt="Graphics by GIMP"></a>
104         </TD>
105
106         <TD>
107             <a href="http://www.linuxtoday.com"><img width=90 height=36
108             src="images/ltbutton2.png" alt="Linux Today"></a>
109         </TD>
110
111         <TD>
112             <p><a href="http://slashdot.org"><img width=90 height=36
113             src="images/sdsmall.png" alt="Slashdot"></a>
114         </TD>
115
116         <TD>
117             <a href="http://freshmeat.net"><img width=90 height=36
118             src="images/fm.mini.png" alt="Freshmeat"></a>
119         </TD>
120
121     </TR>
122 </TABLE>
123
124
125 </CENTER>
126 </BODY>
127 </HTML>
128
129
130