summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-05-06 00:46:43 +0000
committerwiz <wiz@pkgsrc.org>2005-05-06 00:46:43 +0000
commitbab2761322a6355db75bd441bca46fbdc224e4c9 (patch)
treee63a4230090fddda0b9d37f4e4f2a5d0a13a43a6 /doc
parent323a10dd17180ca5868fdca87f16815d3999baf8 (diff)
downloadpkgsrc-bab2761322a6355db75bd441bca46fbdc224e4c9.tar.gz
Fix a typo. Document PKG_PATH. Document vulnerable/ directory.
Reviewed by dillo, rillig, salo.
Diffstat (limited to 'doc')
-rw-r--r--doc/guide/files/using.xml21
1 files changed, 19 insertions, 2 deletions
diff --git a/doc/guide/files/using.xml b/doc/guide/files/using.xml
index e14e919a09a..f820f952d04 100644
--- a/doc/guide/files/using.xml
+++ b/doc/guide/files/using.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: using.xml,v 1.5 2005/04/11 16:38:21 reed Exp $ -->
+<!-- $NetBSD: using.xml,v 1.6 2005/05/06 00:46:43 wiz Exp $ -->
<chapter id="using"> <?dbhtml filename="using.html"?>
<title>Using pkgsrc</title>
@@ -36,7 +36,7 @@
<title>How to use binary packages</title>
<para> If you have the files on a CDROM or downloaded them to
- your hard disk, youcan install them with the following command
+ your hard disk, you can install them with the following command
(be sure to<command>su</command> to root first):</para>
<screen><prompt>#</prompt> <userinput>pkg_add /path/to/package.tgz</userinput></screen>
@@ -56,6 +56,23 @@
package in question will be installed, too, assuming they are
present where you install from. </para>
+ <para>To save some typing, you can set the
+ <varname>PKG_PATH</varname> environment variable to a semicolon
+ separated list of paths (including remote URLs); trailing
+ slashes are not allowed. </para>
+
+ <para>Additionally to the <filename>All</filename> directory
+ there exists a <filename>vulnerable</filename> directory to
+ which binary packages with known vulnerabilities are
+ moved, since removing them could cause missing dependencies. To
+ use these packages, add the <filename>vulnerable</filename>
+ directory to your <varname>PKG_PATH</varname>. However, you should run
+ <pkg>security/audit-packages</pkg> regularly, and especially after
+ installing new packages, and verify that the vulnerabilities are
+ acceptable for your configuration. An example
+ <varname>PKG_PATH</varname> would be:
+ <filename>ftp://ftp.NetBSD.org/pub/NetBSD/packages/&lt;OSvers&gt;/&lt;arch&gt;/All;ftp://ftp.NetBSD.org/pub/NetBSD/packages/&lt;OSvers&gt;/&lt;arch&gt;/vulnerable</filename></para>
+
<para>After you've installed packages, be sure to have
<filename>/usr/pkg/bin</filename> in your
<varname>PATH</varname> so you can actually start the just