summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>1999-10-17 16:27:47 +0000
committerprovos <provos@openbsd.org>1999-10-17 16:27:47 +0000
commitba6d13a46cd512988b4f037e6f2342a3185394a0 (patch)
tree48946be59e41ca99001cdb01ef5cef06755b6fdf
parentFix typo; kwesterback@home.com (diff)
downloadwireguard-openbsd-ba6d13a46cd512988b4f037e6f2342a3185394a0.tar.xz
wireguard-openbsd-ba6d13a46cd512988b4f037e6f2342a3185394a0.zip
explain about using pkg_add interactivly from within the ftp client
-rw-r--r--usr.sbin/pkg_install/add/pkg_add.122
1 files changed, 21 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/add/pkg_add.1 b/usr.sbin/pkg_install/add/pkg_add.1
index 361f1aec250..4d95facafb2 100644
--- a/usr.sbin/pkg_install/add/pkg_add.1
+++ b/usr.sbin/pkg_install/add/pkg_add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_add.1,v 1.12 1999/10/09 20:35:45 beck Exp $
+.\" $OpenBSD: pkg_add.1,v 1.13 1999/10/17 16:27:47 provos Exp $
.\"
.\" FreeBSD install - a package for the installation and maintainance
.\" of non-core utilities.
@@ -69,6 +69,26 @@ as a package name causes
.Nm
to read from the standard input.
.Pp
+Alternativly, it is possible to add packages interactivly from within
+the ftp client. For example, the following works:
+.Bd -literal
+ $ ftp ftp://ftp.openbsd.org/pub/OpenBSD/2.6/packages/i386
+ 250 CWD command successful
+ ftp> ls m*
+ 227 Entering Passive Mode (129,128,5,191,164,73)
+ 150 Opening ASCII mode data connection for m*.
+ m4-1.4.tgz
+ metamail-2.7.tgz
+ mh-6.8.4.tgz
+ mm-1.0.12.tgz
+ mpeg_lib-1.2.1.tgz
+ mpeg_play-2.4.tgz
+ mpg123-0.59q.tgz
+ mutt-0.95.7i.tgz
+ 226 Transfer complete.
+ ftp> get m4-1.4tgz "|pgk_add -v -"
+.Ed
+.Pp
.Sy Warning:
Since the
.Nm