Subject: Re: Inconsistent dependency handling
To: None <tech-pkg@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-pkg
Date: 05/23/2006 21:19:27
On Tue, May 23, 2006 at 03:17:23PM -0400, Todd Vierling wrote:
> On 5/23/06, joerg@britannica.bec.de <joerg@britannica.bec.de> wrote:
> >currently pkgsrc source builds and pkg_add usage can differ in the
> >version of packages to use.
> 
> >IMO it is an error when the latest version of a package doesn't come
> >from package directory specified in the dependency line, so all PHP 4.4
> >dependencies should be changed to explicitly specify < 5 like we do in
> >pkgsrc-security for vulnerabilities.
> 
> Yes, that's exactly what they should be doing.  Alternatively, since
> the PHP ABI tends to change per minor release, they could depend on
> the >=4.4.whatever and -4.4.* (non-dewey pattern) to ensure that the
> version used is 4.4.something but newer than some baseline.

I spoke a bit too early. The API dependency from the build link adds the
4.4.*, which restricts it to php4, but the general issue is still
present.

Joerg