aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/ports
diff options
context:
space:
mode:
authorMarc Fonvieille <blackend@FreeBSD.org>2002-07-01 20:18:13 +0000
committerMarc Fonvieille <blackend@FreeBSD.org>2002-07-01 20:18:13 +0000
commitf7165e67d3bbb6b328e1d38c56258a56f0fc0809 (patch)
tree73281f5f5b3625687c1e1017b257bf97da5d40ca /en_US.ISO8859-1/books/handbook/ports
parentc2911b08406775bc3ffc6273c47744735af0f300 (diff)
downloaddoc-f7165e67d3bbb6b328e1d38c56258a56f0fc0809.tar.gz
doc-f7165e67d3bbb6b328e1d38c56258a56f0fc0809.zip
Version number of an application should not be used with -r option of
pkg_add (fix the command and add some explanations). Approved by: keramida
Notes
Notes: svn path=/head/; revision=13531
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/ports')
-rw-r--r--en_US.ISO8859-1/books/handbook/ports/chapter.sgml9
1 files changed, 7 insertions, 2 deletions
diff --git a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml
index 30344805ab..f3b86c4af1 100644
--- a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml
+++ b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml
@@ -313,7 +313,7 @@ local: lsof-4.56.4.tgz remote: lsof-4.56.4.tgz
<indexterm>
<primary><command>pkg_add</command></primary></indexterm>
- <screen>&prompt.root; <userinput>pkg_add -r <replaceable>lsof-4.56.4</replaceable></userinput></screen>
+ <screen>&prompt.root; <userinput>pkg_add -r <replaceable>lsof</replaceable></userinput></screen>
<para>The example above would download the correct package and add
it without any further user intervention. &man.pkg.add.1; uses
@@ -322,7 +322,12 @@ local: lsof-4.56.4.tgz remote: lsof-4.56.4.tgz
<envar>FTP_PROXY</envar>, and <envar>FTP_PASSWORD</envar>. You
may need to set one or more of these if you are behind a firewall,
or need to use an FTP/HTTP proxy. See &man.fetch.3; for the
- complete list.</para>
+ complete list. You can also note that in the example above
+ <literal>lsof</literal> is used instead of
+ <literal>lsof-4.56.4</literal>. When the remote fetching
+ feature is used, the version number of the package must be
+ removed. &man.pkg.add.1; will automatically fetch the latest
+ version of the application.</para>
<para>Package files are distributed in .tgz format. You can
find them at <ulink