pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/41087 (OS_VERSION should be removed from PKGPATH)
The following reply was made to PR pkg/41087; it has been noted by GNATS.
From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/41087 (OS_VERSION should be removed from PKGPATH)
Date: Mon, 07 Dec 2009 12:55:14 +0900
On Mon, 07 Dec 2009 10:55:54 +0900, <dholland%netbsd.org@localhost> wrote:
> Synopsis: OS_VERSION should be removed from PKGPATH
>
> State-Changed-From-To: open->closed
> State-Changed-By: dholland%NetBSD.org@localhost
> State-Changed-When: Mon, 07 Dec 2009 01:55:53 +0000
> State-Changed-Why:
> As lsof is a kmem-groveler, it *is* dependent on exact kernel version, you
> *should* recompile it after changing kernels, and having the kernel version
> in the package name is a convenient way to make sure this happens.
>
> also see PR 23425.
IMO, it is not a role of PKGNAME.
The solution for PR#23425 is not that lintpkgsrc notice just "need to update
lsof package",
but "need to switch lsof package for your new kernel", or pkgsrc allow to use
mixed package
for different kernel version.
For example, add a function to lintpkgsrc (or pkg_chk) for checking OS_VERSION
in each
installed package's BUILD_INFO with running OS's OS_VERSION.
Home |
Main Index |
Thread Index |
Old Index