hush/docs/busybox.net/cvs_write.html

131 lines
3.6 KiB
HTML
Raw Normal View History

2001-12-08 02:08:31 +00:00
<!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>
</head>
<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>
</CENTER>
</BODY>
</HTML>