Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2004 11:58:28 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Volker Stolz <vs@FreeBSD.org>
Cc:        lars.eggert@gmx.net
Subject:   Re: Freevo port (TESTING REQUIRED).
Message-ID:  <8B8F1627-C369-11D8-9250-00039312D914@fillmore-labs.com>
In-Reply-To: <20040621070848.GA78206@i2.informatik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Volker Stolz wrote:

> [...]
> Please check if this could be encoded in the dependencies somehow...it 
> might
> be possible to (ab)use CONFLICTS for this, but that might be over the 
> top.

I would strongly advise against using CONFLICTS as a kind of 
(anti-)dependency.
If you require certain version of a package, use pkg-req or pkg-install 
for
that, possibly calling pkg_info. Or we could cook some new dependency
scheme up, although this might take some time.

One reason for that is that I might integrate a file database into the 
pkg_*
tools, completely ignoring CONFLICTS. I might not have the time to really
finish this project, but at least this example might show why it's not a
good idea to abuse CONFLICTS for something else than conflicting files.

> [...]
> Please also consider using OPTIONS.

IMHO OPTIONS is not ready for production, I would wait until the bugs are
resolved. Just my 2 cents, YMMV.

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8B8F1627-C369-11D8-9250-00039312D914>