summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-20 10:02:31 +0000
committerrillig <rillig@pkgsrc.org>2005-11-20 10:02:31 +0000
commitfa35d6415053baab2192f98388ecdfab022efcc2 (patch)
tree72066900c3be8140a6417336509148a56be21d39 /doc
parent9ee6f68b3c4eb03a051b026d6c9bf21a7c3a87b2 (diff)
downloadpkgsrc-fa35d6415053baab2192f98388ecdfab022efcc2.tar.gz
Added a section on how to keep pkgsrc up-to-date.
Diffstat (limited to 'doc')
-rw-r--r--doc/guide/files/getting.xml21
1 files changed, 19 insertions, 2 deletions
diff --git a/doc/guide/files/getting.xml b/doc/guide/files/getting.xml
index 70a4035b2e3..f71ebe26bbb 100644
--- a/doc/guide/files/getting.xml
+++ b/doc/guide/files/getting.xml
@@ -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>