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