pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Binary packages (again)

(PLEASE STOP CC to ME, I've just want to said, "TNF pkgsrc build machines 
should build
 binary packages for 5.1.2 instead of 5.0.2"!)

On Wed, 06 Jun 2012 18:57:40 +0900, Aleksey Cheusov <> 

On Wed, Jun 6, 2012 at 12:08 AM, Luca Sironi <> wrote:

As for the third number on the release version
Panoramix2# pkg_add ettercap-NG
pkg_add: Warning: package `ettercap-NG-0.7.3nb5' was built for a platform:
pkg_add: NetBSD/i386 5.1 (pkg) vs. NetBSD/i386 5.1.2 (this host)
I guess these warnings are useless, right?

Yes. You are right.
Such warnings should definitely be fixed.
The real fix is system-dependent, though.
On Linux, for example, kernel version doesn't matter at all.

I wondered we may define default acceptable patterns,
for example, NetBSD:

ABI_COMPATIBLE_VERSION?= ${OS_VERSION:C/([0-9]*\.[0-9]*).*/\1/}*

Then, we can additionally put following pkg's Makefile currently depending on 
For document only packages:

Of course, PKG_ACCEPTABLE_PLATFORM must be included in binary package, and 
related tools must handle it properly.

OBATA Akio /

Home | Main Index | Thread Index | Old Index