diff options
author | wiz <wiz@pkgsrc.org> | 2005-05-06 00:46:43 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-05-06 00:46:43 +0000 |
commit | d49ee07228f9a1305aa4775c5868f2d9ef94cd74 (patch) | |
tree | e63a4230090fddda0b9d37f4e4f2a5d0a13a43a6 /doc | |
parent | 8430ed1dc3279eee72abb06e9922ef26a597e7f1 (diff) | |
download | pkgsrc-d49ee07228f9a1305aa4775c5868f2d9ef94cd74.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.xml | 21 |
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/<OSvers>/<arch>/All;ftp://ftp.NetBSD.org/pub/NetBSD/packages/<OSvers>/<arch>/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 |