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: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost,
Aleksey Cheusov <vle%gmx.net@localhost>
Subject: Re: pkg/41087 (OS_VERSION should be removed from PKGPATH)
Date: Wed, 17 Feb 2010 22:54:34 +0200
>> What does come to mind is adding a dummy package whose version
>> *is* the kernel version and having lsof depend on it. This would also
>> solve the problem and be less messy.
Such a special package and special dependency marks a package as "needs
to be upgrade". PkgSrc is a cross-platforms packaging system.
Therefore this type of dictate doesn't look to me like a real solution
for all supported platforms.
I'd prefer to see OSVERSION_SPECIFIC a part of pkg_summary(5) generated
by "pkg_info -X". Next step is to improve package manager, e.g.,
pkg_chk. That is, the idea is to _recommend_ an upgrade.
P.S. Reminder: ${OS_VERSION} as a part of PKGNAME makes a package
broken due to special characters (e.g. `-') in OS_VERSION under Linux
and probably other OSes too.
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index