misc/163804: with uname -a return also date of source
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Tue Jan 3 22:55:32 UTC 2012
On 3. Jan 2012, at 22:45 , Коньков Евгений wrote:
> Здравствуйте, Bjoern.
> Вы писали 4 января 2012 г., 0:30:12:
> BAZ> The following reply was made to PR misc/163804; it has been noted by GNATS.
> BAZ> From: "Bjoern A. Zeeb" <bzeeb-lists at lists.zabbadoz.net>
> BAZ> To: bug-followup at FreeBSD.org, kes-kes at yandex.ru
> BAZ> Cc:
> BAZ> Subject: Re: misc/163804: with uname -a return also date of source tree
> BAZ> update
> BAZ> Date: Tue, 3 Jan 2012 22:26:33 +0000 (UTC)
> BAZ> If you build form SVN and have SVn installed it includes the exact
> BAZ> revision.
> BAZ> ... FreeBSD 10.0-CURRENT #0 r228926: Wed Dec 28 11:53:19 UTC 2011 ...
> I use cvsup. Maybe it may include CVS revision?
CVS has no notion of "the last change" or "an atomic revision" or
"a timestamp of the last change". You can probably get the latter by
going through the entire tree but that's hugely expensive.
sys/conf/newver.sh has logic for SVN and for people using git locally.
I fear for CVS/csup/cvsup you'll have to live with what's been there
and use out-of-band information remembering when you last cvsupped or
checkout to a date and patch aforementioned script to get that information.
Bjoern A. Zeeb You have to have visions!
It does not matter how good you are. It matters what good you do!
More information about the freebsd-bugs