<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>
Eric S. Raymond pushed to branch master
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/ea9d8bd9509680303972d1f8b8f75263c0d953c7">ea9d8bd9</a></strong>
<div>
<span>by Sanjeev Gupta</span>
<i>at 2016-02-26T05:25:02-05:00</i>
</div>
<pre class='commit-message'>Testing utils: bumpclock.c compiles and works</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/f2916fdff63dd62ec7003255a477292aa05b148b">f2916fdf</a></strong>
<div>
<span>by Sanjeev Gupta</span>
<i>at 2016-02-26T05:25:02-05:00</i>
</div>
<pre class='commit-message'>Testing utils: Add "Tested" date</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/6dfb963d867114be747a58bb291beebac5348b83">6dfb963d</a></strong>
<div>
<span>by Sanjeev Gupta</span>
<i>at 2016-02-26T05:25:02-05:00</i>
</div>
<pre class='commit-message'>Fix shebang line and re-enable perl warnings</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/77c3ef0d9e826bb295d93ec0aafbaa7efe7402b1">77c3ef0d</a></strong>
<div>
<span>by Sanjeev Gupta</span>
<i>at 2016-02-26T05:25:02-05:00</i>
</div>
<pre class='commit-message'>Convert calc_tickadj to use ntpfrob</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/9d407889ea0a640055824bca630b1fe215799724">9d407889</a></strong>
<div>
<span>by Sanjeev Gupta</span>
<i>at 2016-02-26T05:25:02-05:00</i>
</div>
<pre class='commit-message'>Update calc_tickadj documentation</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/e6171635886f67100fe1bb7bd5442f5789ef6e04">e6171635</a></strong>
<div>
<span>by Sanjeev Gupta</span>
<i>at 2016-02-26T05:25:02-05:00</i>
</div>
<pre class='commit-message'>Fix documentation page

As the man page will not be built by waf, asciidoc.conf may
not be available, so hardcode Project Name, etc.</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/1b5f2a412531b103ec9cc4088a93d2c98c3eea8c">1b5f2a41</a></strong>
<div>
<span>by Sanjeev Gupta</span>
<i>at 2016-02-26T05:25:02-05:00</i>
</div>
<pre class='commit-message'>Update README about hist.c</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/d2337db2a55a15b875b017f31249b9c19a9c2526">d2337db2</a></strong>
<div>
<span>by Sanjeev Gupta</span>
<i>at 2016-02-26T05:25:02-05:00</i>
</div>
<pre class='commit-message'>Tested ntpver</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/a4257d83b15b79485f0f81c28fa4f18aa9bd3603">a4257d83</a></strong>
<div>
<span>by Sanjeev Gupta</span>
<i>at 2016-02-26T05:25:02-05:00</i>
</div>
<pre class='commit-message'>Added info on ntpdate wrapper in README</pre>
</li>
</ul>
<h4>3 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
util/README
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
util/calc_tickadj/calc_tickadj
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
util/calc_tickadj/calc_tickadj.txt
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/aa01ef7e1677c7bc9bd7a1a3b5f96c7730d219a8...a4257d83b15b79485f0f81c28fa4f18aa9bd3603#diff-0'>
<strong>
util/README
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/util/README
</span><span style="color: #000000;background-color: #ddffdd">+++ b/util/README
</span><span style="color: #aaaaaa">@@ -5,6 +5,7 @@ They are not installed by default. Not much documentation, alas.  Read
</span> the header comments.
 
 calc_tickadj:: Calculates "optimal" value for tick given ntp.drift file
<span style="color: #000000;background-color: #ddffdd">+                Tested: 20160226
</span> 
 audio-pcm.c::  Probe the capabilities of your sound card.  Assumes the
                SADA (Sun Audio Driver) interface from
<span style="color: #aaaaaa">@@ -14,7 +15,8 @@ audio-pcm.c::    Probe the capabilities of your sound card.  Assumes the
</span> bumpclock.c::     This is a simple program to bump the system clock so
                you can see how ntpd and your OS respond.  The single
                argument is the time-to-bump in microseconds.  The
<span style="color: #000000;background-color: #ffdddd">-                default is 100000.
</span><span style="color: #000000;background-color: #ddffdd">+           default is 100000.  Stand-alone compile.
+               Tested: 20160226
</span> 
 hist.c::       This program can be used to calibrate the clock reading
                jitter of a particular CPU and operating system. It
<span style="color: #aaaaaa">@@ -23,6 +25,10 @@ hist.c::        This program can be used to calibrate the clock reading
</span>           gettimeofday() and, finally, writes out the time
                values for later analysis. From this you can determine
                the jitter and if the clock ever runs backwards.
<span style="color: #000000;background-color: #ddffdd">+                To compile in the util directory, run waf configure and:
+               gcc -I ../include/ -I ../build/ hist.c
+               There is no docimentation on how to interpret results.
+               Tested: 20160226
</span> 
 kern.c::       Header comment from deep in the mists of past time says:
                "This program simulates a first-order, type-II
<span style="color: #aaaaaa">@@ -36,11 +42,16 @@ kern.c::       Header comment from deep in the mists of past time says:
</span> monitoring::      Directory containing perl scripts useful for monitoring
                 operations
 
<span style="color: #000000;background-color: #ddffdd">+ntpdate::       Wrapper script to maintain compatibility. Maps options
+               to ntpdig and calls it.
+               Tested: 20160226
+
</span> ntpsweep::        prints per host given in <file> the NTP stratum level, the
                clock offset in seconds, the daemon version, the operating
                system and the processor.
 
 ntpver::       Simple script using ntpq to print out the suite version.
<span style="color: #000000;background-color: #ddffdd">+                Tested: 20160226
</span> 
 plot_summary:: Plot summaries generated by summary script.
 
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/aa01ef7e1677c7bc9bd7a1a3b5f96c7730d219a8...a4257d83b15b79485f0f81c28fa4f18aa9bd3603#diff-1'>
<strong>
util/calc_tickadj/calc_tickadj
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/util/calc_tickadj/calc_tickadj
</span><span style="color: #000000;background-color: #ddffdd">+++ b/util/calc_tickadj/calc_tickadj
</span><span style="color: #aaaaaa">@@ -1,8 +1,11 @@
</span><span style="color: #000000;background-color: #ffdddd">-#!/usr/bin/env -w
</span><span style="color: #000000;background-color: #ddffdd">+#!/usr/bin/env perl
</span> #
 # drift of 104.8576 -> +1 tick.  Base  of 10000 ticks.
 #
 # 970306 HMS Deal with nanoseconds.  Fix sign of adjustments.
<span style="color: #000000;background-color: #ddffdd">+
+use warnings;
+
</span> package calc_tickadj;
 use strict;
 
<span style="color: #aaaaaa">@@ -17,8 +20,8 @@ sub run {
</span>     my $tick       = $opts->{'tick'};
 
     if (!$tick) {
<span style="color: #000000;background-color: #ffdddd">-        my ($fl) = `ntptickadj`;
-        if (defined $fl && $fl =~ /(?:KERNEL|PRESET)?\s*tick\s+=\s+(\d+)/) {
</span><span style="color: #000000;background-color: #ddffdd">+        my ($fl) = `ntpfrob -A`;
+        if (defined $fl && $fl =~ /(\d+)/) {
</span>             $tick = $1;
         }
         else {
</code></pre>

<br>
</li>
<li id='diff-2'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/aa01ef7e1677c7bc9bd7a1a3b5f96c7730d219a8...a4257d83b15b79485f0f81c28fa4f18aa9bd3603#diff-2'>
<strong>
util/calc_tickadj/calc_tickadj.txt
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/util/calc_tickadj/calc_tickadj.txt
</span><span style="color: #000000;background-color: #ddffdd">+++ b/util/calc_tickadj/calc_tickadj.txt
</span><span style="color: #aaaaaa">@@ -10,7 +10,7 @@ calc_tickadj [-d 'string' | --drift-file='string'] [-t 'number' | --tick='number
</span> == DESCRIPTION ==
 
 The _calc_tickadj_ script uses provided NTP drift file to generate
<span style="color: #000000;background-color: #ffdddd">-optimal tick value. Generally, {ntpd} can do better job if the drift value
</span><span style="color: #000000;background-color: #ddffdd">+optimal tick value. Generally, +ntpd+ can do better job if the drift value
</span> is the smallest possible number.
 
 The example output of
<span style="color: #aaaaaa">@@ -32,20 +32,20 @@ If 'tick' on that box is 10,000,000 then by setting it to 9999779 the
</span> drift value will be somewhere around 0.0.
 
 _calc_tickadj_ tries to determine the tick value by using the
<span style="color: #000000;background-color: #ffdddd">-_tickadj_ program from the {project-shortname} package. If this
</span><span style="color: #000000;background-color: #ddffdd">++ntpfrob+ program from the +NTPSec+ package. If this
</span> doesn't work you can specify current tick manually on command line.
 
 == OPTIONS ==
 
 -d string, --drift-file=string::
<span style="color: #000000;background-color: #ffdddd">-  Ntp drift file to use. The default Istring for this option is:
</span><span style="color: #000000;background-color: #ddffdd">+  Ntp drift file to use. The default string for this option is:
</span> '/etc/ntp/drift'.
 +
 Use the specified drift file for calculations
 
 -t number, --tick=number::
   Tick value of this host. This option takes an integer number as its
<span style="color: #000000;background-color: #ffdddd">-  argument.  The default value is obtained by calling tickadj(1).
</span><span style="color: #000000;background-color: #ddffdd">+  argument.  The default value is obtained by calling ntpfrob(1).
</span> +
 The current tick which to adjustment will be calculated
 
<span style="color: #aaaaaa">@@ -58,3 +58,7 @@ One of the following exit values will be returned:
</span> 1 (EXIT_FAILURE)::
   The operation failed or the command syntax was not valid.
 
<span style="color: #000000;background-color: #ddffdd">+== STATUS ==
+
+calc_tickadj has been updated to work in the NTPSec
+distribution, but is not actively maintained.
</span></code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/compare/aa01ef7e1677c7bc9bd7a1a3b5f96c7730d219a8...a4257d83b15b79485f0f81c28fa4f18aa9bd3603">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.

</p>
</div>
</body>
</html>