Subject: Re: wilder wildcards
To: J Chapman Flack <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 11/19/2005 23:57:53
On Sat, 19 Nov 2005, J Chapman Flack wrote:
>> Ah... so the problem is not making sure you pass a working pkg pattern
>> (which does NOT include a .tgz).
> Does that mean something like pkgname(dewey)(suffixglob) is NOT intended
> to work?  I found some signs in the C code that seems to intend to handle
> that case (unsuccessfully, obviously, but it seems an effort was made).

right, it's eiter "dewey"  (relational, <, >, ...)
or a wildcard (*, ...). A mixture like "<=5.*" isn't supported (or 
sensible) IIRC.

>>> is defaults to adding .tgz when it invokes pkg_add through
>> Oh... that's definitely a bug then.
>> Too many people hacking on bsd.pkg*mk recently... :(
> By the way, is there documentation somewhere that clearly states the
> capabilities, exact syntax, and limitations of the pkg wildcards? I
> have looked around but perhaps I've missed it.

the pkg_info manpage has a section on package wildcards.

  - Hubert