Subject: Re: DEPENDS: -* or -[0-9]*
To: Todd Vierling <tv@wasabisystems.com>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 12/06/2000 15:30:42
On Fri, 17 Nov 2000, Todd Vierling wrote:

> On Fri, 17 Nov 2000, David Brownlee wrote:
>
> : 	For wildcard depends we tend to use -*, except when we know of
> : 	a problem (such as ghostscript-* matching ghostscript-x11).
> : 	This leaves problems 'lying in wait' for later package changes.
> :
> : 	For consistency, and to avoid such problems should we replace -*
> : 	with  -[0-9]* everywhere?
>
> This sounds like a good idea to me.  AFAIK, all versions start with a digit,
> at least, and this might not prevent, but will at least reduce possible
> collisions.

	OK - does anyone know of any cases where we have a DEPENDS or
	CONFLICTS of xxx-* which _doesn't_ mean 'xxx-[0-9]*'?

	If not, I'll take a pass through pkgsrc and switch all the
	DEPENDS and CONFLICTS to -[0-9]*.

		David/absolute		-- www.netbsd.org: No hype required --