Thu Feb 2 00:39:23 2012 UTC ()
Provide link to list of CVS mirrors.
>From Snader_LB via IRC.


(asau)
diff -r1.28 -r1.29 pkgsrc/doc/guide/files/getting.xml

cvs diff -r1.28 -r1.29 pkgsrc/doc/guide/files/getting.xml (expand / switch to unified diff)

--- pkgsrc/doc/guide/files/getting.xml 2011/06/02 06:45:49 1.28
+++ pkgsrc/doc/guide/files/getting.xml 2012/02/02 00:39:23 1.29
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1<!-- $NetBSD: getting.xml,v 1.28 2011/06/02 06:45:49 asau Exp $ --> 1<!-- $NetBSD: getting.xml,v 1.29 2012/02/02 00:39:23 asau Exp $ -->
2 2
3<chapter id="getting"> 3<chapter id="getting">
4<title>Where to get pkgsrc and how to keep it up-to-date</title> 4<title>Where to get pkgsrc and how to keep it up-to-date</title>
5 5
6<para>Before you download and extract the files, you need to decide 6<para>Before you download and extract the files, you need to decide
7where you want to extract them. When using pkgsrc as root user, pkgsrc 7where you want to extract them. When using pkgsrc as root user, pkgsrc
8is usually installed in <filename>/usr/pkgsrc</filename>. You are though 8is usually installed in <filename>/usr/pkgsrc</filename>. You are though
9free to install the sources and binary packages wherever you want in 9free to install the sources and binary packages wherever you want in
10your filesystem, provided that the pathname does not contain white-space 10your filesystem, provided that the pathname does not contain white-space
11or other characters that are interpreted specially by the shell and some 11or other characters that are interpreted specially by the shell and some
12other programs. A safe bet is to use only letters, digits, underscores 12other programs. A safe bet is to use only letters, digits, underscores
13and dashes.</para> 13and dashes.</para>
14 14
@@ -81,27 +81,27 @@ and dashes. @@ -81,27 +81,27 @@ and dashes.
81 81
82 <para>Where <replaceable>pkgsrc-20xxQy</replaceable> is the stable  82 <para>Where <replaceable>pkgsrc-20xxQy</replaceable> is the stable
83 branch to be checked out, for example, <quote>pkgsrc-2009Q1</quote></para> 83 branch to be checked out, for example, <quote>pkgsrc-2009Q1</quote></para>
84 84
85 <para>This will create the directory <filename>pkgsrc/</filename>  85 <para>This will create the directory <filename>pkgsrc/</filename>
86 in your <filename>/usr/</filename> directory and all the package source  86 in your <filename>/usr/</filename> directory and all the package source
87 will be stored under <filename>/usr/pkgsrc/</filename>.</para> 87 will be stored under <filename>/usr/pkgsrc/</filename>.</para>
88 88
89<para>To fetch the pkgsrc current branch, run:</para> 89<para>To fetch the pkgsrc current branch, run:</para>
90 90
91<screen>&uprompt; <userinput>cd /usr &amp;&amp; cvs -q -z3 -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc</userinput> 91<screen>&uprompt; <userinput>cd /usr &amp;&amp; cvs -q -z3 -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc</userinput>
92</screen> 92</screen>
93 93
94 <para>Refer to <ulink url="http://NetBSD.org/FIXME">list of available CVS mirrors</ulink> to choose faster one.</para> 94 <para>Refer to the <ulink url="http://www.NetBSD.org/mirrors/">list of available mirrors</ulink> to choose a faster CVS mirror, if needed.</para>
95 95
96<!-- FIXME: All this CVS magic should move into appendix or so. --> 96<!-- FIXME: All this CVS magic should move into appendix or so. -->
97 <para>If you get error messages from <literal>rsh</literal>, you need to set CVS_RSH variable. E.g.:</para> 97 <para>If you get error messages from <literal>rsh</literal>, you need to set CVS_RSH variable. E.g.:</para>
98 98
99<screen>&uprompt; <userinput>cd /usr &amp;&amp; env CVS_RSH=ssh cvs -q -z3 -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc</userinput> 99<screen>&uprompt; <userinput>cd /usr &amp;&amp; env CVS_RSH=ssh cvs -q -z3 -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc</userinput>
100</screen> 100</screen>
101 101
102 <para>Refer to documentation on your command shell how to set CVS_RSH=ssh permanently. 102 <para>Refer to documentation on your command shell how to set CVS_RSH=ssh permanently.
103 For Bourne shells, you can set it in your <filename>.profile</filename> 103 For Bourne shells, you can set it in your <filename>.profile</filename>
104 or better globally in <filename>/etc/profile</filename>:</para> 104 or better globally in <filename>/etc/profile</filename>:</para>
105 105
106<programlisting> 106<programlisting>
107# set CVS remote shell command 107# set CVS remote shell command