Subject: Re: another thought on pkg_select
To: iMil <imil@home.imil.net>
From: Mike M. Volokhov <mishka@apk.od.ua>
List: tech-install
Date: 03/04/2005 15:51:43
On Fri, 4 Mar 2005 13:06:51 +0100 (CET)
iMil <imil@home.imil.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> > I guess that sysinst could even provide some hints on where to get things 
> > from, e.g. when the NetBSD sets were installed from CD hand over a path to 
> > the CD mountpoint or ask the user to insert the right CD; when the NetBSD 
> > sets were installed via FTP, that could be indicated too to prefer 
> > installation over FTP.
> 
> i see, maybe it can be a simple command-line switch, like
> 
> - -f retreive and uncompress pkgsrc by ftp
> - -c cvs checkout pkgsrc
> - -d <path> uncrompress pkgsrc.tar.gz from <path>

You may also pass complete "loclal" URL to ftp(1) to fetch pkgsrc from
local-mounted directory, i.e.

	ftp file:///path/to/pkgsrc.tar.gz

Then, if your URL doesn't have 'ftp://' prefix, prepend it with
'file://' one. In this case '-d' switch may be avoided...

--
Mishka.