pkgsrc-Users archive

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

Re: Binary packages (again)



On Wed, Jun 06, 2012 at 07:28:42PM +0900, OBATA Akio wrote:
 > >>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:
 > [snip]

Patterns aren't so good for comparing versions. Wouldn't it be better
to generate a version range, and then use the pkgsrc-dewey logic to
check it?

E.g. on netbsd the version range would be something like
NetBSD>=${MAJOR}.0<${MAJOR}.99.9999, or maybe just
NetBSD>=${MAJOR}.0<${MAJOR}.99.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index