From owner-freebsd-stable Wed Nov 19 15:21:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA11526 for stable-outgoing; Wed, 19 Nov 1997 15:21:12 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from shasta.wstein.com (joes@shasta.wstein.com [207.173.11.132]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA11493 for ; Wed, 19 Nov 1997 15:21:02 -0800 (PST) (envelope-from joes@shasta.wstein.com) Received: (from joes@localhost) by shasta.wstein.com (8.8.8/8.8.8) id PAA02638; Wed, 19 Nov 1997 15:20:10 -0800 (PST) From: Joseph Stein Message-Id: <199711192320.PAA02638@shasta.wstein.com> Subject: Re: Version Resolution? In-Reply-To: from Annelise Anderson at "Nov 19, 97 01:59:44 pm" To: andrsn@andrsn.stanford.edu Date: Wed, 19 Nov 1997 15:20:10 -0800 (PST) Cc: nate@mt.sri.com, rkw@dataplex.net, freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Anyway, here's what uname -r does for me right now: > > 2.2.5-STABLE-971118 > > Perhaps it would be better if it just said 2.2.5-971118. However, the > date should somehow or other come with the sources and identify the > build as based on sources as of a particular date (with time if > necessary). At least that's how it seems to me. So you make newvers.sh a dynamic file, with some hook or other(tm) built in to cvsup or whatever method you used -- even something as simple as looking at /usr/sup/* to get the timestamp from the sup statistics... to make it look like this: 2.2.5-STABLE-879981548 -- the time value in seconds since epoch. (okay, that's kind of lame, I admit, but...) joe