summaryrefslogtreecommitdiffhomepage
path: root/docs/busybox.net/cvs_write.html
blob: ac44de6adbb05c6072e232ca22bb9b416bfa3d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> 

<HTML>
<HEAD>
<title>BusyBox CVS Read/Write Instructions</title>
</HEAD>

<body text="#000000" alink="#660000" link="#660000" bgcolor="#dee2de" vlink="#660000">

<basefont face="lucida, helvetica, arial" size="3">


<CENTER>
      <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2>
	    <TR>
		<td bgcolor="#000000">
		  <FONT FACE="lucida, helvetica" COLOR="#ccccc0">
		      <B>B&nbsp;u&nbsp;s&nbsp;y&nbsp;B&nbsp;o&nbsp;x</B>
		  </FONT>
		</TD>
	    </TR>
      </TABLE>
      <a href="/"><IMG SRC="images/busybox2.jpg" alt="BusyBox" border="0" width="360" height="230"></a><BR>


</CENTER>


<H3>Accessing the Busybox CVS Repository</H3>

<h2>CVS Read/Write Access</h2><p>
If you want to be able to commit things to CVS, first contribute some
stuff to show you are serious.  Then, very nicely ask 
<a href="mailto:andersen@codepoet.org">Erik Andersen</a> if he will set you up with 
an account.  To access CVS, you will want to add the following to set up your environment:
<pre>
$ export CVS_RSH=/usr/bin/ssh
$ export CVSROOT='username@busybox.net:/var/cvs'</pre>
<br>
It goes without saying you must change <em>username</em> to your own
username...
<p>

To obtain commit access, you will need to demonstrate you are
serious by submitting a few good patches first.  Then, you will need to 
select a user-name to use when committing stuff, and finally, you will
need to either send me a crypted password, which you will use to connect 
to the system, or send me an ssh key.  
To create a crypted password, you can do something like the following (and
please remember to change your password to something other then<em>foo</em>!):

<pre>
$ PASSWORD=foo perl -e 'srand ; @salt=(a..z,A..Z,0..9); \
    print crypt($ENV{PASSWORD}, $salt[rand(62)].$salt[rand(62)]), "\n";'
<b>o0naQJuvFx4UA</b>
</pre>

If you'd like to use MD5 passwords instead, try something like the following:

<pre>
$ PASSWORD=foo perl -e 'srand ; @salt=(a..z,A..Z,0..9); \
    print crypt($ENV{PASSWORD}, "\$1\$".$salt[rand(62)].$salt[rand(62)]), "\n";'
<b>$1$Kp$rBBvl5cuAeJjJ6U1hCqpU1</b>
</pre>

Then I take your crypted password as is (i.e., the output of either of
these commands), drop it into the cvs password file, and you are set to
go.
<p>
Note that if your are really worried that others might see your crypted
password, or your ssh key, you can encrypt the email containing your
crypted password using my <a href="http://www.codepoet.org/~andersen/erik/gpg.asc">public key</a>.  


<!-- End of Table -->

</TD></TR>
</TABLE>



<!-- Footer -->
<HR>
<TABLE WIDTH="100%">
    <TR>
	<TD>
	    <font size="-1" face="arial, helvetica, sans-serif">
	    Mail all comments, insults, suggestions and bribes to 
	    <a href="mailto:andersen@codepoet.org">Erik Andersen</a><BR>
	    The Busybox logo is copyright 1999,2000,2001, Erik Andersen.
	    </font>
	</TD>

	<TD>
	    <a href="http://www.vim.org"><img border=0 width=90 height=36
	    src="images/written.in.vi.png" 
	    alt="This site created with the vi editor"></a>
	</TD>

	<TD>
	    <a href="http://www.gimp.org/"><img border=0 width=90 height=36
	    src="images/gfx_by_gimp.png" alt="Graphics by GIMP"></a>
	</TD>

	<TD>
	    <a href="http://www.linuxtoday.com"><img width=90 height=36
	    src="images/ltbutton2.png" alt="Linux Today"></a>
	</TD>

	<TD>
	    <p><a href="http://slashdot.org"><img width=90 height=36
	    src="images/sdsmall.png" alt="Slashdot"></a>
	</TD>

	<TD>
	    <a href="http://freshmeat.net"><img width=90 height=36
	    src="images/fm.mini.png" alt="Freshmeat"></a>
	</TD>

    </TR>
</TABLE>


</BODY>
</HTML>