Subject: Re: unexpected package name matching
To: None <tech-pkg@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
Date: 10/15/2007 14:19:31
Joerg Sonnenberger wrote:
> On Mon, Oct 15, 2007 at 01:31:09AM +0200, Roland Illig wrote:
>>Klaus Heinz wrote:
>>>is the following behaviour expected?
>>> $ pkg_info -e pkg_install
>>> $ pkg_info -e pkg\*all
>>> $ pkg_info -e pkg\*all\*
>>>This means that matching against package names without version number
>>>works but wildcard matching is only successful against full package
>>>names (with version number).
>>Fixed in current pkgsrc. Thanks for finding this inconsistency.
> While it is inconsistent, I am not sure I like the more general
> behaviour either. It adds another class of possible abuses...