Documentation: cleanup git-cvsserver

Fix a few typos and alignment issues, and while at it update the example hashes to show most of the ones available in recent crypt(3). Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Carlo Marcelo Arenas Belón committed Sep 15, 2021 at 01:09 UTC 4b81f690f63111586dc28e7ec103179b98c286bc
1 file changed +9 -8
Documentation/git-cvsserver.txt
+9 -8
@@ -99,7 +99,7 @@ looks like
99
100 ------
101
102 -Only anonymous access is provided by pserve by default. To commit you
102 +Only anonymous access is provided by pserver by default. To commit you
103 will have to create pserver accounts, simply add a gitcvs.authdb
104 setting in the config file of the repositories you want the cvsserver
105 to allow writes to, for example:
@@ -114,8 +114,9 @@ The format of these files is username followed by the encrypted password,
114 for example:
115
116 ------
117 - myuser:$1Oyx5r9mdGZ2
118 - myuser:$1$BA)@$vbnMJMDym7tA32AamXrm./
117 + myuser:sqkNi8zPf01HI
118 + myuser:$1$9K7FzU28$VfF6EoPYCJEYcVQwATgOP/
119 + myuser:$5$.NqmNH1vwfzGpV8B$znZIcumu1tNLATgV2l6e1/mY8RzhUDHMOaVOeL1cxV3
120 ------
121 You can use the 'htpasswd' facility that comes with Apache to make these
122 files, but only with the -d option (or -B if your system suports it).
@@ -126,7 +127,7 @@ pwhash in NetBSD) and paste it in the right location.
127
128 Then provide your password via the pserver method, for example:
129 ------
129 - cvs -d:pserver:someuser:somepassword <at> server/path/repo.git co <HEAD_name>
130 + cvs -d:pserver:someuser:somepassword@server:/path/repo.git co <HEAD_name>
131 ------
132 No special setup is needed for SSH access, other than having Git tools
133 in the PATH. If you have clients that do not accept the CVS_SERVER
@@ -136,7 +137,7 @@ Note: Newer CVS versions (>= 1.12.11) also support specifying
137 CVS_SERVER directly in CVSROOT like
138
139 ------
139 -cvs -d ":ext;CVS_SERVER=git cvsserver:user@server/path/repo.git" co <HEAD_name>
140 + cvs -d ":ext;CVS_SERVER=git cvsserver:user@server/path/repo.git" co <HEAD_name>
141 ------
142 This has the advantage that it will be saved in your 'CVS/Root' files and
143 you don't need to worry about always setting the correct environment
@@ -184,8 +185,8 @@ allowing access over SSH.
185 +
186 --
187 ------
187 - export CVSROOT=:ext:user@server:/var/git/project.git
188 - export CVS_SERVER="git cvsserver"
188 + export CVSROOT=:ext:user@server:/var/git/project.git
189 + export CVS_SERVER="git cvsserver"
190 ------
191 --
192 4. For SSH clients that will make commits, make sure their server-side
@@ -201,7 +202,7 @@ allowing access over SSH.
202 `project-master` directory:
203 +
204 ------
204 - cvs co -d project-master master
205 + cvs co -d project-master master
206 ------
207
208 [[dbbackend]]