On Thu, Sep 10, 2009 at 11:26:33AM +0200, Toni Mueller wrote:
> I'd also like to be able to specify that pkg_add should take the
> *latest* of a given package in case there are several versions. Eg. I
> often have several versions of nginx or other packages in my
> repository, and both private and official repositories in my PKG_PATH,
> which often results in pkg_add asking me which version I want. I'd like
> to work around this user interaction, too, but offhand don't see "the
> way".

Nope, this functionality doesn't exist yet. Basically, I would need to
take apart the pkgname parser again.  What you want is to be able to
specify a pkgpath, actually, e.g., editors/vim,no_x11
and let the package system cope.

Areas such as snapshots vs. stable means this is what's needed.

In the case of stuff like vim-no_x11, it would have to be at least
vim-*-no_x11 for pkg_add to make sense of it.

It's doable, but not my priority at the moment... I'm trying to refactor
some code to make it simpler, not the right time to add more things.

Reply via email to