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 <cheusov%tut.by@localhost> 
wrote:

On Wed, Jun 6, 2012 at 12:08 AM, Luca Sironi <luca%sironi.tk@localhost> 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/}*
PKG_ACCEPTABLE_PLATFORM?= ${OPSYS}-${ABI_COMPATIBLE_VERSION}-${MACHINE_ARCH}

Then, we can additionally put following pkg's Makefile currently depending on 
pkgtools/osabi:
PKG_ACCEPTABLE_PLATFORM= ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}
For document only packages:
PKG_ACCEPTABLE_PLATFORM= *-*-*

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

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index