pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc regen
details: https://anonhg.NetBSD.org/pkgsrc/rev/4bfd1c0fc443
branches: trunk
changeset: 538758:4bfd1c0fc443
user: weinem <weinem%pkgsrc.org@localhost>
date: Tue Feb 19 01:06:31 2008 +0000
description:
regen
diffstat:
doc/pkgsrc.html | 55 +++++++++++++++++++++++++++----------------------------
doc/pkgsrc.txt | 29 ++++++++++++++++-------------
2 files changed, 43 insertions(+), 41 deletions(-)
diffs (263 lines):
diff -r dfde27b1a2be -r 4bfd1c0fc443 doc/pkgsrc.html
--- a/doc/pkgsrc.html Tue Feb 19 00:58:07 2008 +0000
+++ b/doc/pkgsrc.html Tue Feb 19 01:06:31 2008 +0000
@@ -970,8 +970,8 @@
in it, see the examples in
<code class="filename">/usr/share/examples/supfiles</code>, and that the
<code class="filename">/usr/pkgsrc</code> directory exists. Then, simply
- run <span class="command"><strong>sup -v
- <em class="replaceable"><code>/path/to/your/supfile</code></em></strong></span>.</p>
+ run:</p>
+<pre class="screen"><code class="prompt">$</code> <strong class="userinput"><code>sup -v <em class="replaceable"><code>/path/to/your/supfile</code></em></code></strong>.</pre>
</div>
<div class="sect2" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -979,18 +979,16 @@
<p>To do an initial (full) checkout of pkgsrc, you first
have to set some environment variables. For the C-Shell,
type:</p>
-<pre class="screen">
- <code class="prompt">%</code> <strong class="userinput"><code>setenv CVSROOT anoncvs%anoncvs.NetBSD.org@localhost:/cvsroot</code></strong>
- <code class="prompt">%</code> <strong class="userinput"><code>setenv CVS_RSH ssh</code></strong>
+<pre class="screen"><code class="prompt">%</code> <strong class="userinput"><code>setenv CVSROOT anoncvs%anoncvs.NetBSD.org@localhost:/cvsroot</code></strong>
+<code class="prompt">%</code> <strong class="userinput"><code>setenv CVS_RSH ssh</code></strong>
</pre>
<p>Or, the same for the bourne shell:</p>
-<pre class="screen">
- <code class="prompt">$</code> <strong class="userinput"><code>export CVSROOT="anoncvs%anoncvs.NetBSD.org@localhost:/cvsroot"</code></strong>
- <code class="prompt">$</code> <strong class="userinput"><code>export CVS_RSH="ssh"</code></strong>
-</pre>
-<p>By default, cvs doesn't do things like most people would
+<pre class="screen"><code class="prompt">$</code> <strong class="userinput"><code>export CVSROOT="anoncvs%anoncvs.NetBSD.org@localhost:/cvsroot"</code></strong>
+<code class="prompt">$</code> <strong class="userinput"><code>export CVS_RSH="ssh"</code></strong>
+</pre>
+<p>By default, CVS doesn't do things like most people would
expect it to do. But there is a
- way to convince cvs, by creating a file called
+ way to convince CVS, by creating a file called
<code class="filename">.cvsrc</code> in your home directory and saving
the following lines to it. This file will save you lots of
headache and some bug reports, so we strongly recommend it. You
@@ -1007,7 +1005,7 @@
</pre>
<p>To fetch a specific pkgsrc stable branch from scratch, run:</p>
<pre class="screen"><code class="prompt">$</code> <strong class="userinput"><code>cd /usr</code></strong>
- <code class="prompt">$</code> <strong class="userinput"><code>cvs checkout -r <em class="replaceable"><code>pkgsrc-200xQy</code></em> -P pkgsrc</code></strong></pre>
+<code class="prompt">$</code> <strong class="userinput"><code>cvs checkout -r <em class="replaceable"><code>pkgsrc-200xQy</code></em> -P pkgsrc</code></strong></pre>
<p>Where <em class="replaceable"><code>pkgsrc-200xQy</code></em> is the stable
branch to be checked out, for example, “<span class="quote">pkgsrc-2007Q4</span>”</p>
<p>This will create the directory <code class="filename">pkgsrc/</code>
@@ -1015,7 +1013,7 @@
will be stored under <code class="filename">/usr/pkgsrc/</code>.</p>
<p>To fetch the pkgsrc current branch, run:</p>
<pre class="screen"><code class="prompt">$</code> <strong class="userinput"><code>cd /usr</code></strong>
-<code class="prompt">$</code> <strong class="userinput"><code>cvs checkout -r -P pkgsrc</code></strong></pre>
+<code class="prompt">$</code> <strong class="userinput"><code>cvs checkout -P pkgsrc</code></strong></pre>
</div>
</div>
<div class="sect1" lang="en">
@@ -1054,8 +1052,9 @@
<a name="uptodate-cvs"></a>2.2.2. Via CVS</h3></div></div></div>
<p>To update pkgsrc via CVS, make sure the environment
variable <code class="varname">CVS_RSH</code> is set as above. Then,
- change to the pkgsrc directory and run:</p>
-<pre class="screen"><code class="prompt">$</code> <strong class="userinput"><code>cvs update -dP</code></strong></pre>
+ change to the <code class="filename">pkgsrc</code> directory and run cvs:</p>
+<pre class="screen"><code class="prompt">$</code> <strong class="userinput"><code>cd /usr/pkgsrc</code></strong>
+<code class="prompt">$</code> <strong class="userinput"><code>cvs update -dP</code></strong></pre>
<div class="sect3" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="uptodate-cvs-switch"></a>2.2.2.1. Switching between different pkgsrc branches</h4></div></div></div>
@@ -1065,7 +1064,7 @@
by adding the option “<span class="quote">-A</span>” after the
“<span class="quote">update</span>” keyword. To switch from the current branch
back to the stable branch, add the
- “<span class="quote">-rpkgsrc-2007Q1</span>” option.</p>
+ “<span class="quote">-rpkgsrc-2007Q4</span>” option.</p>
</div>
<div class="sect3" lang="en">
<div class="titlepage"><div><div><h4 class="title">
@@ -7474,7 +7473,7 @@
<tbody>
<tr class="question">
<td align="left" valign="top">
-<a name="tools.new"></a><a name="id2727789"></a><p><b>18.4.1.</b></p>
+<a name="tools.new"></a><a name="id2727813"></a><p><b>18.4.1.</b></p>
</td>
<td align="left" valign="top"><p>How do I add a new tool?</p></td>
</tr>
@@ -7484,7 +7483,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="tools.listall"></a><a name="id2727799"></a><p><b>18.4.2.</b></p>
+<a name="tools.listall"></a><a name="id2727822"></a><p><b>18.4.2.</b></p>
</td>
<td align="left" valign="top"><p>How do I get a list of all available
tools?</p></td>
@@ -7495,7 +7494,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="tools.used"></a><a name="id2727810"></a><p><b>18.4.3.</b></p>
+<a name="tools.used"></a><a name="id2727833"></a><p><b>18.4.3.</b></p>
</td>
<td align="left" valign="top"><p>How can I get a list of all the tools that a
package is using while being built? I want to know whether it
@@ -9497,7 +9496,7 @@
<tbody>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.makeflags"></a><a name="id2733553"></a><p><b>22.1.</b></p>
+<a name="devfaq.makeflags"></a><a name="id2733644"></a><p><b>22.1.</b></p>
</td>
<td align="left" valign="top"><p>What is the difference between
<code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and
@@ -9513,7 +9512,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.make"></a><a name="id2733591"></a><p><b>22.2.</b></p>
+<a name="devfaq.make"></a><a name="id2733683"></a><p><b>22.2.</b></p>
</td>
<td align="left" valign="top"><p>What is the difference between
<code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and
@@ -9531,7 +9530,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.cc"></a><a name="id2733632"></a><p><b>22.3.</b></p>
+<a name="devfaq.cc"></a><a name="id2733723"></a><p><b>22.3.</b></p>
</td>
<td align="left" valign="top"><p>What is the difference between
<code class="varname">CC</code>, <code class="varname">PKG_CC</code> and
@@ -9549,7 +9548,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.bl3flags"></a><a name="id2733671"></a><p><b>22.4.</b></p>
+<a name="devfaq.bl3flags"></a><a name="id2733831"></a><p><b>22.4.</b></p>
</td>
<td align="left" valign="top"><p>What is the difference between
<code class="varname">BUILDLINK_LDFLAGS</code>,
@@ -9562,7 +9561,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.bl3prefix"></a><a name="id2733691"></a><p><b>22.5.</b></p>
+<a name="devfaq.bl3prefix"></a><a name="id2733851"></a><p><b>22.5.</b></p>
</td>
<td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var
VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span>
@@ -9578,7 +9577,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.master_sites"></a><a name="id2733721"></a><p><b>22.6.</b></p>
+<a name="devfaq.master_sites"></a><a name="id2733881"></a><p><b>22.6.</b></p>
</td>
<td align="left" valign="top"><p>What does
<code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I
@@ -9602,7 +9601,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.mailinglists"></a><a name="id2733866"></a><p><b>22.7.</b></p>
+<a name="devfaq.mailinglists"></a><a name="id2733958"></a><p><b>22.7.</b></p>
</td>
<td align="left" valign="top"><p>Which mailing lists are there for package
developers?</p></td>
@@ -9627,7 +9626,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.documentation"></a><a name="id2733905"></a><p><b>22.8.</b></p>
+<a name="devfaq.documentation"></a><a name="id2733996"></a><p><b>22.8.</b></p>
</td>
<td align="left" valign="top"><p>Where is the pkgsrc
documentation?</p></td>
@@ -9675,7 +9674,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.too-much-time"></a><a name="id2734035"></a><p><b>22.9.</b></p>
+<a name="devfaq.too-much-time"></a><a name="id2734058"></a><p><b>22.9.</b></p>
</td>
<td align="left" valign="top"><p>I have a little time to kill. What shall I
do?</p></td>
diff -r dfde27b1a2be -r 4bfd1c0fc443 doc/pkgsrc.txt
--- a/doc/pkgsrc.txt Tue Feb 19 00:58:07 2008 +0000
+++ b/doc/pkgsrc.txt Tue Feb 19 01:06:31 2008 +0000
@@ -871,23 +871,25 @@
release=pkgsrc
in it, see the examples in /usr/share/examples/supfiles, and that the /usr/
-pkgsrc directory exists. Then, simply run sup -v /path/to/your/supfile.
+pkgsrc directory exists. Then, simply run:
+
+$ sup -v /path/to/your/supfile.
2.1.3. Via anonymous CVS
To do an initial (full) checkout of pkgsrc, you first have to set some
environment variables. For the C-Shell, type:
- % setenv CVSROOT anoncvs%anoncvs.NetBSD.org@localhost:/cvsroot
- % setenv CVS_RSH ssh
+% setenv CVSROOT anoncvs%anoncvs.NetBSD.org@localhost:/cvsroot
+% setenv CVS_RSH ssh
Or, the same for the bourne shell:
- $ export CVSROOT="anoncvs%anoncvs.NetBSD.org@localhost:/cvsroot"
- $ export CVS_RSH="ssh"
-
-By default, cvs doesn't do things like most people would expect it to do. But
-there is a way to convince cvs, by creating a file called .cvsrc in your home
+$ export CVSROOT="anoncvs%anoncvs.NetBSD.org@localhost:/cvsroot"
+$ export CVS_RSH="ssh"
+
+By default, CVS doesn't do things like most people would expect it to do. But
+there is a way to convince CVS, by creating a file called .cvsrc in your home
directory and saving the following lines to it. This file will save you lots of
headache and some bug reports, so we strongly recommend it. You can find an
explanation of this file in the CVS documentation.
@@ -903,7 +905,7 @@
To fetch a specific pkgsrc stable branch from scratch, run:
$ cd /usr
- $ cvs checkout -r pkgsrc-200xQy -P pkgsrc
+$ cvs checkout -r pkgsrc-200xQy -P pkgsrc
Where pkgsrc-200xQy is the stable branch to be checked out, for example,
"pkgsrc-2007Q4"
@@ -914,7 +916,7 @@
To fetch the pkgsrc current branch, run:
$ cd /usr
-$ cvs checkout -r -P pkgsrc
+$ cvs checkout -P pkgsrc
2.2. Keeping pkgsrc up-to-date
@@ -946,8 +948,9 @@
2.2.2. Via CVS
To update pkgsrc via CVS, make sure the environment variable CVS_RSH is set as
-above. Then, change to the pkgsrc directory and run:
-
+above. Then, change to the pkgsrc directory and run cvs:
+
+$ cd /usr/pkgsrc
$ cvs update -dP
2.2.2.1. Switching between different pkgsrc branches
@@ -956,7 +959,7 @@
But if you, for whatever reason, want to switch from the stable branch to the
current one, you can do it by adding the option "-A" after the "update"
keyword. To switch from the current branch back to the stable branch, add the
-"-rpkgsrc-2007Q1" option.
+"-rpkgsrc-2007Q4" option.
2.2.2.2. What happens to my changes when updating?
Home |
Main Index |
Thread Index |
Old Index