tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Making it easier to get and use pkgsrc



On Sat, December 11, 2010 8:56 pm, Thomas Klausner wrote:
> On Sat, Dec 11, 2010 at 10:56:11PM +0100, Jean-Yves Migeon wrote:
>> - suppress warning when pkg_add'ing packages where build and target
>> system have different minor revisions (e.g. NetBSD-5.0.2 vs
>> NetBSD-5.1.RC4, for example)
>
> To set a good example of coding vs. talking ;) I've improved the
> version check so pkg_add doesn't warn about adding packages from
> nearly the same opsys version.
>
> In particular, this currently accepts (on NetBSD) any of foo_ALPHA*,
> foo_BETA*, foo_RC*, foo_STABLE*, foo_PATCH* the same as foo.
> Support for more platforms should be easy to add.
>
> I'm not so sure about accepting 5.0 vs. 5.1, as you suggest above, so
> I left that out for now.

I could use this for DragonFly, for x.x.y changes.  Every time there's a
minor bump, all the prebuilt binary packages need to be rebuilt just to
avoid a warning on binary install, even if it's functionally the same. 
However, the warning has never actually been needed for bugfix increments
like that.  I've actually ended up messing with uname settings just to
avoid it.  So, this sounds like a great idea to me.




Home | Main Index | Thread Index | Old Index