Subject: Re: pkg_add
To: John Maier <email@example.com>
From: Hubert Feyrer <firstname.lastname@example.org>
Date: 01/11/2001 02:03:03
On Wed, 10 Jan 2001, John Maier wrote:
> Can perform a similar task but with with prebuilt pkgs?
> I know "pkg_add http://www...." will install a pkg, but will it do it
> Also is there a way to do this without having to know an exact path on the
> http server?
This does not work with http.
It does work with ftp.
There's no chance it'll happen with http.
To expand any patterns (and giving a pkg name without a version is the
same as adding "-[0-9]*", also dependencies use patterns heavily), one
needs to expand that pattern somehow. In ftp:// this is rather easily done
by a simple "ls". In HTML, you'd have to parse the whole HTML-file
returned by the server.
Hubert Feyrer <email@example.com>