Commits (4)
......@@ -97,12 +97,12 @@ liberation::
The OS X build has been tested in this environment:
OS X Version : 10.11.x (El Capitan)
Xcode Version : 7.1
Xcode Comand Line Tools : 7.2-beta
OS X Version : 10.11.x (El Capitan)
Xcode Version : 7.1
Xcode Command Line Tools : 7.2-beta
All you will require is the Xcode command line tools with no additions.
There is currently no support for using Xcode's builder. The NTPsec's standard
There is currently no support for using Xcode's builder. NTPsec's standard
waf based build system is used.
The OS X build of NTPsec requires the OS X port of the libevent2 library:
......@@ -148,6 +148,11 @@ Under Unix, the simplest way to compile this package is:
Under OS X you can build NTPsec using Xcode command line tools with no
additions. There is currently no support for using Xcode's builder.
== Qualification testing ==
Details on how to qualify NTPsec if you've never used it before
are at devel/testing.txt.
== Bugs ==
The configuration system is a work in progress, and occasionally acts
......
......@@ -19,7 +19,7 @@ logfile data that can be helpful for identifying problems such as
misconfigured servers. It replaces a messy and poorly documented pile
of ancient Perl, awk, and S scripts; those have been removed.
It is now possible (and sometimes usful) to say "minpoll 0" for a
It is now possible (and sometimes useful) to say "minpoll 0" for a
1-second interval.
== 2016-08-16: 0.9.4 ==
......
#!/usr/bin/env python
# coding: utf-8
import os
from gps import *
import time
from datetime import datetime
......
......@@ -17,7 +17,7 @@ ENABLE_KILL_ON_TRAP # Die on seccomp trap
MSSNTP_PATH # Set a default path for the MSSNTP feature.
NTP_VAR # Path to NTP statistics directory
# Formerly used on some embedded systems. Kepr around in case of re-port
# Formerly used on some embedded systems. Keep around in case of re-port
NO_MAIN_ALLOWED # Used to be set by VxWorks.
# System capabilities that waf should detect but does not.
......
......@@ -51,7 +51,7 @@ in with derivationOptions; rec {
name = "ntpsec";
src = tarball;
buildInputs = with pkgs; [ perl python27 bison libevent openssl asciidoc ];
buildInputs = with pkgs; [ python27 bison libevent openssl asciidoc ];
configurePhase = ''
runHook preConfigure
......
......@@ -16,7 +16,7 @@ A spurious 'not running' message can result from queries being disabled.
#SPDX-License-Identifier: BSD-2-Clause
from __future__ import print_function, division
import os, sys, getopt, re, time
import sys, getopt, re, time
from ntp.packet import *
# General notes on Python 2/3 compatibility:
......
......@@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: BSD-2-clause
from __future__ import print_function, division
import os, sys, socket, select, struct, curses.ascii
import sys, socket, select, struct, curses.ascii
CTL_MAX_DATA_LEN = 468 # Max data in a control packet
......
......@@ -32,7 +32,7 @@ typedef struct {
//----------------------------------------------------------------------
// reference comparision
// This is implementad as a full signed MP-subtract in 3 limbs, where
// This is implemented as a full signed MP-subtract in 3 limbs, where
// the operands are zero or sign extended before the subtraction is
// executed.
//----------------------------------------------------------------------
......
import os
from waflib.Configure import conf
from wafhelpers.util import msg, msg_setting
......
......@@ -10,7 +10,6 @@ int main () {
@conf
def check_type(ctx, typename, headers=[], mandatory=False):
import os
name = "HAVE_%s" % typename.upper().replace(" ", "_")
src = ""
for hdr in headers:
......