Subject: README: PKGREVISION variable added to bsd.pkg.mk
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 11/29/2001 02:36:30
FYI, I've committed the patch below. Everyone please set

	PKGREVISION=	1

etc. now in their future pkg updates, instead of manually attaching a
"nb1" to PKGNAME. Thanks!


 - Hubert


On Tue, 27 Nov 2001, 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:
> 
> 	http://www.feyrer.de/Misc/pkgrevision.patch
> 
> 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/