From owner-freebsd-arch Sun Jul 21 1:49:57 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAF4E37B400 for ; Sun, 21 Jul 2002 01:49:54 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CFA043E3B for ; Sun, 21 Jul 2002 01:49:51 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g6L8nBF03281; Sun, 21 Jul 2002 11:49:11 +0300 (EEST) (envelope-from ru) Date: Sun, 21 Jul 2002 11:49:11 +0300 From: Ruslan Ermilov To: "M. Warner Losh" Cc: mark@thuvia.demon.co.uk, arch@FreeBSD.ORG Subject: Re: [POLL] need a good name for share/mk API versioning Message-ID: <20020721084911.GA2361@sunbay.com> References: <20020720.121407.17240249.imp@bsdimp.com> <200207201833.g6KIX1FC087737@dotar.thuvia.org> <20020720.123456.79140066.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <20020720.123456.79140066.imp@bsdimp.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 20, 2002 at 12:34:56PM -0600, M. Warner Losh wrote: > In message: <200207201833.g6KIX1FC087737@dotar.thuvia.org> > Mark Valentine writes: > : > From: "M. Warner Losh" > : > Date: Sat 20 Jul, 2002 > : > Subject: Re: [POLL] need a good name for share/mk API versioning > :=20 > : > Using OSVERSION may be sufficient for the ports. Using a > : > __FREEBSD_MK_API_VERSION variable would also be sufficient, as well as > : > allowing for people that use the bsd.*.mk files externally to the > : > project to continue to do so and cope with the different APIs. > :=20 > : Indeed, if we have __FREEBSD_MK_API_VERSION or equivalent, then ports > : should also use that where appropriate rather than OSVERSION. >=20 > Yes. Exactly my point :-) >=20 Using OSVERSION (kern.osreldate) is the big pessimization in assuming that the userland (share/mk in particular) is of the same date as the running kernel. Using OSVERSION from /usr/include/osreldate.h is the lesser pessimization and that is what I plan to use as a fine-grained replacement for BOOTSTRAPPING hacks in /usr/src. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9OnWHUkv4P6juNwoRAvJWAJ0V1B2wk3ZDCYm8D/0zhm4EyruumgCfZefC 4dhL81v0YBC60w6zXhwO8mY= =bhaD -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message