Subject: Re: Please review: nbX => PKGREVISION
To: Hubert Feyrer <firstname.lastname@example.org>
From: Sean Davis <email@example.com>
Date: 11/26/2001 23:21:13
While I do not know too much about the internals of how pkgsrc does it's
thing, I would quite like that committed, personally. I'm writing a C
program to do (more or less) what the pkgchk package currently does, except
all in C, since pkgchk is *slow*. Currently, the hangup in development of
this program is having to parse the Makefile for the package name,
substituting variables where needed, and your patch would make things much
easier, I think.
Just my thoughts.
On Tue, Nov 27, 2001 at 05:04:45AM +0100, Hubert Feyrer wrote:
> I'd like to commit a patch to bsd.pkg.mk (and a couple of package ;-) that
> gets rid of manually adding "nbX" to PKGNAME when a pkg was changed in
> pkgsrc. Instead, a new variable PKGREVISION is invented that can get
> bumped independent of DISTNAME and PKGNAME.
> Example #1:
> DISTNAME= foo-X.Y
> PKGREVISION= Z
> => PKGNAME= foo-X.YnbZ
> Example #2:
> DISTNAME= barthing-X.Y
> PKGNAME= bar-X.Y
> PKGREVISION= Z
> => PKGNAME= bar=X.YnbZ (!)
> On subsequent changes, only PKGREVISION needs to be bumped, no more risk
> of getting DISTNAME changed accidentally.
> The patch is available at:
> Comments? Please review, as I'd like to commit this soon. Thanks!
> - Hubert
> Want to get a clue on IPv6 but don't know where to start? Try this:
> * Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
> * Setup -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
> Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/
/~\ The ASCII Sean Davis
\ / Ribbon Campaign aka dive-o
X Against HTML
/ \ Email! firstname.lastname@example.org