Subject: pkg/32783: sysutils/xuvmstat DISTNAME incorrect (revbump fallout) (+fix - bad one)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 02/09/2006 13:10:00
>Number: 32783
>Category: pkg
>Synopsis: sysutils/xuvmstat DISTNAME incorrect (+fix - bad one)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 09 13:10:00 +0000 2006
>Originator: Robert Elz
>Release: NetBSD 3.99.15 (pkgsrc current as of a few huors ago)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
The DISTNAME for sysutils/xuvmstat is formed from the
PKGNAME - when the revbump occurred a few days ago, that
had the side-effect of appending "nb1" to the DISTNAME.
This package was never intended to have PKGREVISION set,
since it is a local NetBSD package, any changes would
simply make a new version of the distfile. hence it
doesn't work very well with a PKGREVISION set.
>How-To-Repeat:
# no need to remove any old distfiles you cannot have the one
# it wants, there is no such thing
cd ..../pkgsrc/sysutils/xuvmstat
make fetch
>Fix:
The patch below works around the problem. I know this
isn't the way the pkgsrc people are going to fix it,
they will derive PKGNAME from DISTNAME instead. But
this works, and might allow anyone else who needs to
recompile xuvmstat after the revbump disaster to survive
until the correct fix is comitted.
--- Makefile.was 2006-02-06 16:16:18.000000000 +0700
+++ Makefile 2006-02-09 20:02:50.000000000 +0700
@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.15 2006/02/05 23:10:59 joerg Exp $
#
-DISTNAME= ${PKGNAME:S/-//}
+DISTNAME= xuvmstat20050909
PKGNAME= xuvmstat-20050909
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.NetBSD.org/~chuck/gz/