From jacques@prometheus.powertrip.co.za  Thu Oct 20 22:01:31 2005
Return-Path: <jacques@prometheus.powertrip.co.za>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7DF0416A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Oct 2005 22:01:31 +0000 (GMT)
	(envelope-from jacques@prometheus.powertrip.co.za)
Received: from prometheus.powertrip.co.za (prometheus.powertrip.co.za [72.21.46.202])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 387FF43D5A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Oct 2005 22:01:31 +0000 (GMT)
	(envelope-from jacques@prometheus.powertrip.co.za)
Received: from jacques by prometheus.powertrip.co.za with local (Exim 4.52 (FreeBSD))
	id 1ESiTZ-0008LJ-BL
	for FreeBSD-gnats-submit@freebsd.org; Fri, 21 Oct 2005 00:01:29 +0200
Message-Id: <E1ESiTZ-0008LJ-BL@prometheus.powertrip.co.za>
Date: Fri, 21 Oct 2005 00:01:29 +0200
From: Jacques Marneweck <jacques@prometheus.powertrip.co.za>
Reply-To: Jacques Marneweck <jacques@prometheus.powertrip.co.za>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fixes various anoncvs examples to work
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         87762
>Category:       docs
>Synopsis:       Fixes various anoncvs examples to work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 20 22:10:14 GMT 2005
>Closed-Date:    Wed Nov 30 13:59:52 GMT 2005
>Last-Modified:  Wed Nov 30 13:59:52 GMT 2005
>Originator:     Jacques Marneweck
>Release:        FreeBSD 5.4-RELEASE-p7 i386
>Organization:
Ataris Technologies
>Environment:
n/a
>Description:
Currently the examples for using anoncvs via SSH and pserver do not work.  I've attached a patch which resolves these
problems by fixing the anoncvs username for anoncvs.freebsd.org and using the japanese anoncvs mirror for the pserver
method.
>How-To-Repeat:
Try use the anoncvs examples on the anoncvs handbook page.
>Fix:

	

--- handbook-anoncvs.patch begins here ---
Index: doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml,v
retrieving revision 1.387
diff -u -r1.387 chapter.sgml
--- doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml	11 Sep 2005 08:16:19 -0000	1.387
+++ doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml	20 Oct 2005 21:56:51 -0000
@@ -456,7 +456,7 @@
 	  <title>Checking Out Something from -CURRENT (&man.ls.1;) and
 	    Deleting It Again:</title>
 
-	  <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs</userinput>
+	  <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs</userinput>
 &prompt.user; <userinput>cvs login</userinput>
 <emphasis>At the prompt, enter the password</emphasis> <quote>anoncvs</quote>.
 &prompt.user; <userinput>cvs co ls</userinput>
@@ -468,7 +468,7 @@
 	<example>
 	  <title>Using SSH to check out the <filename>src/</filename>
 	    tree:</title>
-	  <screen>&prompt.user; <userinput>cvs -d freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs co src</userinput>
+	  <screen>&prompt.user; <userinput>cvs -d anoncvs@anoncvs.FreeBSD.org:/home/ncvs co src</userinput>
 The authenticity of host 'anoncvs.freebsd.org (128.46.156.46)' can't be established.
 DSA key fingerprint is 52:02:38:1a:2f:a8:71:d3:f5:83:93:8d:aa:00:6f:65.
 Are you sure you want to continue connecting (yes/no)? <userinput>yes</userinput>
@@ -479,7 +479,7 @@
 	  <title>Checking Out the Version of &man.ls.1; in the 3.X-STABLE
 	    Branch:</title>
 	    
-	  <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs</userinput>
+	  <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs</userinput>
 &prompt.user; <userinput>cvs login</userinput>
 <emphasis>At the prompt, enter the password</emphasis> <quote>anoncvs</quote>.
 &prompt.user; <userinput>cvs co -rRELENG_3 ls</userinput>
@@ -491,7 +491,7 @@
 	<example>
 	  <title>Creating a List of Changes (as Unified Diffs) to &man.ls.1;</title>
 
-	  <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs</userinput>
+	  <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs</userinput>
 &prompt.user; <userinput>cvs login</userinput>
 <emphasis>At the prompt, enter the password</emphasis> <quote>anoncvs</quote>.
 &prompt.user; <userinput>cvs rdiff -u -rRELENG_3_0_0_RELEASE -rRELENG_3_4_0_RELEASE ls</userinput>
@@ -502,7 +502,7 @@
 	<example>
 	  <title>Finding Out What Other Module Names Can Be Used:</title>
 
-	  <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs</userinput>
+	  <screen>&prompt.user; <userinput>setenv CVSROOT :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs</userinput>
 &prompt.user; <userinput>cvs login</userinput>
 <emphasis>At the prompt, enter the password</emphasis> <quote>anoncvs</quote>.
 &prompt.user; <userinput>cvs co modules</userinput>
--- handbook-anoncvs.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Wed Nov 30 13:58:57 GMT 2005 
State-Changed-Why:  
I have committed pserver changes. I have not committed ssh change, because 
the old username seems to work again now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87762 
>Unformatted:
