Subject: OS release in "make bin-install"
To: None <tech-pkg@netbsd.org>
From: =?iso-8859-1?q?Gr=E9goire=20Sutre?= <sutre@labri.fr>
List: tech-pkg
Date: 07/04/2003 12:23:01
Hi everybody,

I just installed NetBSD 1.6.1, and I noticed that when trying to install =
a=20
package with make bin-install, a binary package is looked for in:

ftp://ftp.netbsd.org/pub/NetBSD/packages/1.6/i386/All

instead of:

ftp://ftp.netbsd.org/pub/NetBSD/packages/1.6.1/i386/All

Is this the correct behavior?


Please reply to my email address.

Thanks,

Greg.


p.s. I guess this is due to the fact that in bsd.pkg.mk, the OS release i=
s=20
computed with:

rel=3D`${UNAME} -r | ${SED} 's@\.\([0-9]*\)[\._].*@\.\1@'`

which truncates the actual release version to the "first two components".