r5 - 2013-08-05 - 06:37:20 - HarlanStennYou are here: NTP >  Dev Web > DevelopmentIssues > EmbeddedVersionStringContent
NTF needs your help to qualify to participate in the Combined Federal Campaign so we can continue our mission to improve Network Time. We only need a few thousand dollars more by December 31st - any sized donation helps! Please join an NTF Consortium or make a donation to NTF now! THANKS!

Embedded Version String Content

While fixing bug_small.png Bug #683 it was noted that the version string in the code takes the form:

 Version @ CSet [ build-flags ] date buildnumber

where:

Version
the version string, eg 4.2.3p29
@
the @ sign
CSet
A number indicating the latest changeset in the repository

build-flags:

-o
for OpenSSL support

date
the date and time of program linkage
buildnumber
(n), where n counts the number of times the program has been linked in this directory

Note that previous versions of NTP used different values for build-flags and the file scripts/mkver describes them.

  • As of 4.2.7p272, 12 April 2012, the mkver script uses VER_SUFFIX, and the value -o means we have OpenSSL.
  • As of 6 Aug 2004, 4.2.1, a suffix of -o means we have -lcrypto and -? means some other crypto library is available.
  • As of 4 May 2000, the suffix -a meant Autokey was supported, in additon to -r for RSA.
  • As of 25 Feb 2000, the suffix was changed to -r.
  • As of 24 Feb 2000, the suffix was changed to -RSAREF.
  • 4.0.99: In July of 1999, the suffix RSAREF meant that the RSA libraries were available.

It has been suggested that some users are confused by the information after the @. While the remaining information is important and useful, it is not part of the software version.

The following suggestions have been made in this regard:

  • Leave it alone
  • Get rid of the information after the @
    • Harlan says not without finding somewhere else for the info
  • Change the @ to something else:
    • 4.2.3p29; 1.123-o
    • 4.2.3p29, build 1.123-o

-- HarlanStenn - 22 Aug 2006

-- DaveHart (added -a for Autokey) - 23 May 2010

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
SSL security by CAcert
Get the CAcert Root Certificate
This site is powered by the TWiki collaboration platform
IPv6 Ready
Copyright & 1999-2014 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site? Send feedback