Subject: Re: pkg_add
To: Hubert Feyrer <>
From: David Maxwell <>
List: tech-pkg
Date: 01/11/2001 14:57:44
On Thu, Jan 11, 2001 at 02:03:03AM +0100, Hubert Feyrer wrote:
> 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
> > recursivly?
> > 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.

We could teach the webserver to expand wildcard requests - then pkg_add
would just send the unglobbed requirement.

It's of somewhat dubious value though.

David Maxwell,| --> Unless you have a solution
when you tell them things like that, most people collapse into a gibbering, 
unthinking mass.  This is the same reason why you probably don't tell your 
boss about everything you read on BugTraq!    - Signal 11