summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/add/pkg_add.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/add/pkg_add.1')
-rw-r--r--usr.sbin/pkg_install/add/pkg_add.114
1 files changed, 14 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/add/pkg_add.1 b/usr.sbin/pkg_install/add/pkg_add.1
index 2aa618a..594fba0 100644
--- a/usr.sbin/pkg_install/add/pkg_add.1
+++ b/usr.sbin/pkg_install/add/pkg_add.1
@@ -407,6 +407,19 @@ or
with sufficient space.
.Pp
The environment variable
+.Ev PACKAGEROOT
+specifies an alternate location for
+.Nm
+to fetch from.
+The the fetch URL is built using this environment variable and the automatic
+directory logic that
+.Nm
+uses when the
+.Fl r
+option is invoked.
+An example setting would be "ftp://ftp3.FreeBSD.org".
+.Pp
+The environment variable
.Ev PACKAGESITE
specifies an alternate location for
.Nm
@@ -417,6 +430,7 @@ that
uses when the
.Fl r
option is invoked.
+Thus it should be a complete URL to the remote package file(s).
.Sh FILES
.Bl -tag -width /var/db/pkg -compact
.It Pa /var/tmp
OpenPOWER on IntegriCloud