Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/pkg_install/add Some changes from David Maxwell <da...



details:   https://anonhg.NetBSD.org/src/rev/82f6d6408c60
branches:  trunk
changeset: 480125:82f6d6408c60
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Tue Jan 04 22:39:28 2000 +0000

description:
Some changes from David Maxwell <david%fundy.ca@localhost>:
 - make it clear that a URL or full path can be given on the command line
 - explain where depending pkgs are expected to live

diffstat:

 usr.sbin/pkg_install/add/pkg_add.1 |  21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 4ad615a49d4a -r 82f6d6408c60 usr.sbin/pkg_install/add/pkg_add.1
--- a/usr.sbin/pkg_install/add/pkg_add.1        Tue Jan 04 22:35:57 2000 +0000
+++ b/usr.sbin/pkg_install/add/pkg_add.1        Tue Jan 04 22:39:28 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_add.1,v 1.17 1999/11/18 19:02:33 kristerw Exp $
+.\" $NetBSD: pkg_add.1,v 1.18 2000/01/04 22:39:28 hubertf Exp $
 .\"
 .\" FreeBSD install - a package for the installation and maintainance
 .\" of non-core utilities.
@@ -32,7 +32,7 @@
 .Bk -words
 .Op Fl p Ar prefix
 .Ek
-.Ar pkg-name ...
+.Ar \fR[ftp://[\fIuser\fR[:\fIpassword]\fR@]\fIhost\fR[:\fIport\fR]][/\fIpath/\fR]pkg-name ...
 .Sh DESCRIPTION
 The
 .Nm
@@ -71,14 +71,21 @@
 .Sh OPTIONS
 The following command line arguments are supported:
 .Bl -tag -width indent
-.It Ar pkg-name [... pkg-name]
-The named packages are installed.  A package name of - will cause
+.It Ar pkg-name [ ... ]
+The named packages are installed. 
+.Ar pkg-name
+may be either a URL or a local pathname,
+a package name of "-" will cause
 .Nm
-to read from stdin. If the packages are not found in the current
+to read from stdin.
+If the packages are not found in the current
 working directory, 
 .Nm
-will search them in each directory named by
-.Ev PKG_PATH .
+will search them in each directory named by the
+.Ev PKG_PATH 
+environment variable.
+Any dependencies required by the installed package will be searched
+in the same location that the original package was installed from.
 .It Fl v
 Turn on verbose output.
 .It Fl I



Home | Main Index | Thread Index | Old Index