pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide/files Added a section on how to keep pkgsrc ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e090d1397ea8
branches:  trunk
changeset: 503414:e090d1397ea8
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Nov 20 10:02:31 2005 +0000

description:
Added a section on how to keep pkgsrc up-to-date.

diffstat:

 doc/guide/files/getting.xml |  21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r a182f623f0a6 -r e090d1397ea8 doc/guide/files/getting.xml
--- a/doc/guide/files/getting.xml       Sun Nov 20 09:52:51 2005 +0000
+++ b/doc/guide/files/getting.xml       Sun Nov 20 10:02:31 2005 +0000
@@ -1,7 +1,7 @@
-<!-- $NetBSD: getting.xml,v 1.5 2005/10/23 11:25:58 rillig Exp $ -->
+<!-- $NetBSD: getting.xml,v 1.6 2005/11/20 10:02:31 rillig Exp $ -->
 
 <chapter id="getting">
-  <title>Where to get pkgsrc</title>
+  <title>Where to get pkgsrc and how to keep it up-to-date</title>
 
   <para>There are three ways to get pkgsrc. Either as a tar file, via SUP, or
     via CVS. All three ways are described here.</para>
@@ -57,4 +57,21 @@
       pkgsrc hierarchy in use at any one time - all work is done relatively
       within the pkgsrc tree.</para>
   </sect1>
+
+  <sect1 id="uptodate-cvs">
+    <title>Keeping pkgsrc up-to-date via CVS</title>
+
+      <para>If your copy of pkgsrc contains a lot of
+      <filename>CVS</filename> directories, you can update it using the
+      &man.cvs.1; program. First, <command>cd</command> to the top level
+      directory of pkgsrc. Then run <command>cvs -q update
+      -dP</command>, and you're done.</para>
+
+      <para>If that doesn't work and the file
+      <filename>CVS/Root</filename> contains the string
+      <quote>:pserver:</quote>, you have to run <command>cvs
+      login</command> once to get known to the NetBSD CVS server. The
+      <command>cvs</command> utility will then ask you for a password.
+      Just enter <quote>anoncvs</quote>. Then try again to update.</para>
+  </sect1>
 </chapter>



Home | Main Index | Thread Index | Old Index