diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index f8f4c681cb80..15e9f2b6df2f 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -99,6 +99,13 @@ OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.ubsan_cxx-x86_64.a OLD_DIRS+=usr/lib/clang/3.6.1/lib/freebsd OLD_DIRS+=usr/lib/clang/3.6.1/lib OLD_DIRS+=usr/lib/clang/3.6.1 +# 20150705: Rename DTrace provider man pages. +OLD_FILES+=usr/share/man/man4/dtrace-io.4.gz +OLD_FILES+=usr/share/man/man4/dtrace-ip.4.gz +OLD_FILES+=usr/share/man/man4/dtrace-proc.4.gz +OLD_FILES+=usr/share/man/man4/dtrace-sched.4.gz +OLD_FILES+=usr/share/man/man4/dtrace-tcp.4.gz +OLD_FILES+=usr/share/man/man4/dtrace-udp.4.gz # 20150604: Move nvlist man pages to section 9. OLD_FILES+=usr/share/man/man3/libnv.3.gz OLD_FILES+=usr/share/man/man3/nvlist.3.gz diff --git a/UPDATING b/UPDATING index 4598fe95566d..b1cfe1490cbd 100644 --- a/UPDATING +++ b/UPDATING @@ -36,6 +36,20 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW: 20141231 entry below for information about prerequisites and upgrading, if you are not already using 3.5.0 or higher. +20150706: + sendmail has been updated to 8.15.2. Starting with FreeBSD 11.0 + and sendmail 8.15, sendmail uses uncompressed IPv6 addresses by + default, i.e., they will not contain "::". For example, instead + of ::1, it will be 0:0:0:0:0:0:0:1. This permits a zero subnet + to have a more specific match, such as different map entries for + IPv6:0:0 vs IPv6:0. This change requires that configuration + data (including maps, files, classes, custom ruleset, etc.) must + use the same format, so make certain such configuration data is + upgrading. As a very simple check search for patterns like + 'IPv6:[0-9a-fA-F:]*::' and 'IPv6::'. To return to the old + behavior, set the m4 option confUSE_COMPRESSED_IPV6_ADDRESSES or + the cf option UseCompressedIPv6Addresses. + 20150630: The default kernel entropy-processing algorithm is now Fortuna, replacing Yarrow. diff --git a/contrib/ntp/ChangeLog b/contrib/ntp/ChangeLog index e75384c88fab..738ae225867d 100644 --- a/contrib/ntp/ChangeLog +++ b/contrib/ntp/ChangeLog @@ -1,8 +1,145 @@ --- +(4.2.8p3) 2015/06/29 Released by Harlan Stenn + +* [Sec 2853] Crafted remote config packet can crash some versions of + ntpd. Aleksis Kauppinen, Juergen Perlinger, Harlan Stenn. +* [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. +* [Bug 1060] Buffer overruns in libparse/clk_rawdcf.c. Helge Oldach. +* [Bug 2846] Report 'unsynchronized' status during the leap second. + Fixed in Martin's changes to Bug 2855. Martin Burnicki. +* [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. +* [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel. +* README.leapsmear added. Martin Burnicki. +* README.leapsmear edited. Harlan Stenn. +* tests/libntp/msyslog.c: fixed a gcc warning. Tomasz Flendrich. +* ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. +* html/miscopt.html: Document leapsmearinterval, other cleanup. Harlan Stenn. +--- +(4.2.8p3-RC3) 2015/06/27 Released by Harlan Stenn + +* [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. +* [Bug 2855] Report leap smear in the REFID. Harlan Stenn. +* [Bug 2856] ntpd should wait() on terminated child processes. Paul Green. +* [Bug 2857] Stratus VOS does not support SIGIO. Paul Green. +* html/drivers/driver22.html: typo fix. Harlan Stenn. +* refidsmear test cleanup. Tomasz Flendrich. +* refidsmear function support and tests. Harlan Stenn. +* sntp/tests/Makefile.am: remove g_nameresolution.cpp as it tested + something that was only in the 4.2.6 sntp. Harlan Stenn. +* Modified tests/bug-2803/Makefile.am so it builds Unity framework tests. + Damir Tomić +* Modified tests/libtnp/Makefile.am so it builds Unity framework tests. + Damir Tomić +* Modified sntp/tests/Makefile.am so it builds Unity framework tests. + Damir Tomić +* tests/sandbox/smeartest.c: Harlan Stenn, Damir Tomic, Juergen Perlinger. +* Converted from gtest to Unity: tests/bug-2803/. Damir Tomić +* Converted from gtest to Unity: tests/libntp/ a_md5encrypt, atoint.c, + atouint.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c, + calyearstart.c, clocktime.c, hextoint.c, lfpfunc.c, modetoa.c, + numtoa.c, numtohost.c, refnumtoa.c, ssl_init.c, statestr.c, + timespecops.c, timevalops.c, uglydate.c, vi64ops.c, ymd2yd.c. + Damir Tomić +* Converted from gtest to Unity: sntp/tests/ kodDatabase.c, kodFile.c, + networking.c, keyFile.c, utilities.cpp, sntptest.h, + fileHandlingTest.h. Damir Tomić +* Converted from gtest to Unity: sntp/tests/ caltontp.c, humandate.c, + msyslog.c, prettydate.c, recvbuff.c, sfptostr.c, tstotv.c, tvtots.c, + sntp/tests/packetProcessing.c. Tomasz Flendrich +--- +(4.2.8p3-RC2) 2015/06/24 Released by Harlan Stenn + +* [Bug 2778] Implement "apeers" ntpq command to include associd. +* [Bug 2805] ntpd fails to join multicast group. +* [Bug 2824] Convert update-leap to perl. (also see 2769) +* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + NTPD transfers the current TAI (instead of an announcement) now. + This might still needed improvement. + Update autokey data ASAP when 'sys_tai' changes. + Fix unit test that was broken by changes for autokey update. + Avoid potential signature length issue and use DPRINTF where possible + in ntp_crypto.c. +* [Bug 2832] refclock_jjy.c supports the TDC-300. +* [Bug 2834] Correct a broken html tag in html/refclock.html +* [Bug 2836] DFC77 patches from Frank Kardel to make decoding more + robust, and require 2 consecutive timestamps to be consistent. +* [Bug 2837] Allow a configurable DSCP value. +* [Bug 2837] add test for DSCP to ntpd/complete.conf.in +* [Bug 2842] Glitch in ntp.conf.def documentation stanza. +* [Bug 2842] Bug in mdoc2man. +* [Bug 2843] make check fails on 4.3.36 + Fixed compiler warnings about numeric range overflow + (The original topic was fixed in a byplay to bug#2830) +* [Bug 2845] Harden memory allocation in ntpd. +* [Bug 2852] 'make check' can't find unity.h. Hal Murray. +* [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida. +* [Bug 2855] Implement conditional leap smear code. Martin Burnicki. +* [Bug 2855] leap smear cleanup. Harlan Stenn. +* Initial support for experimental leap smear code. Harlan Stenn. +* Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn. +* Report select() debug messages at debug level 3 now. +* sntp/scripts/genLocInfo: treat raspbian as debian. +* Unity test framework fixes. + ** Requires ruby for changes to tests. +* Initial support for PACKAGE_VERSION tests. +* sntp/libpkgver belongs in EXTRA_DIST, not DIST_SUBDIRS. +* tests/bug-2803/Makefile.am must distribute bug-2803.h. +* automake-1.15 cleanup for sntp/tests/fileHandlingTest.h.in . Harlan Stenn. +--- +(4.2.8p3-RC1) 2015/05/12 Released by Harlan Stenn + +* CID 739725: Fix a rare resource leak in libevent/listener.c. +* CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776. +* CID 1296235: Fix refclock_jjy.c and correcting type of the driver40-ja.html +* CID 1269537: Clean up a line of dead code in getShmTime(). +* [Bug 2590] autogen-5.18.5. +* [Bug 2612] restrict: Warn when 'monitor' can't be disabled because + of 'limited'. +* [Bug 2650] fix includefile processing. +* [Bug 2745] ntpd -x steps clock on leap second + Fixed an initial-value problem that caused misbehaviour in absence of + any leapsecond information. + Do leap second stepping only of the step adjustment is beyond the + proper jump distance limit and step correction is allowed at all. +* [Bug 2750] build for Win64 + Building for 32bit of loopback ppsapi needs def file +* [Bug 2776] Improve ntpq's 'help keytype'. +* [Bug 2782] Refactor refclock_shm.c, add memory barrier protection. +* [Bug 2792] If the IFF_RUNNING interface flag is supported then an + interface is ignored as long as this flag is not set since the + interface is not usable (e.g., no link). +* [Bug 2794] Clean up kernel clock status reports. +* [Bug 2800] refclock_true.c true_debug() can't open debug log because + of incompatible open/fdopen parameters. +* [Bug 2804] install-local-data assumes GNU 'find' semantics. +* [Bug 2806] refclock_jjy.c supports the Telephone JJY. +* [Bug 2808] GPSD_JSON driver enhancements, step 1. + Fix crash during cleanup if GPS device not present and char device. + Increase internal token buffer to parse all JSON data, even SKY. + Defer logging of errors during driver init until the first unit is + started, so the syslog is not cluttered when the driver is not used. + Various improvements, see http://bugs.ntp.org/2808 for details. + Changed libjsmn to a more recent version. +* [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX. +* [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h. +* [Bug 2815] net-snmp before v5.4 has circular library dependencies. +* [Bug 2821] Add a missing NTP_PRINTF and a missing const. +* [Bug 2822] New leap column in sntp broke NTP::Util.pm. +* [Bug 2825] Quiet file installation in html/ . +* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + NTPD transfers the current TAI (instead of an announcement) now. + This might still needed improvement. +* Add an assert to the ntpq ifstats code. +* Clean up the RLIMIT_STACK code. +* Improve the ntpq documentation around the controlkey keyid. +* ntpq.c cleanup. +* Windows port build cleanup. +--- (4.2.8p2) 2015/04/07 Released by Harlan Stenn (4.2.8p2-RC3) 2015/04/03 Released by Harlan Stenn * [Bug 2763] Fix for different thresholds for forward and backward steps. +* Initial import of the Unity test framework. --- (4.2.8p2-RC2) 2015/04/03 Released by Harlan Stenn @@ -62,6 +199,7 @@ * [Sec 2781] Authentication doesn't protect symmetric associations against DoS attacks. * [Bug 2783] Quiet autoconf warnings about missing AC_LANG_SOURCE. +* [Bug 2784] Fix for 2782 uses clock_gettime() instead of get_ostime(). * [Bug 2789] Quiet compiler warnings from libevent. * [Bug 2790] If ntpd sets the Windows MM timer highest resolution pause briefly before measuring system clock precision to yield diff --git a/contrib/ntp/CommitLog b/contrib/ntp/CommitLog index 0e87846dbfbd..b1f2a30ffe14 100644 --- a/contrib/ntp/CommitLog +++ b/contrib/ntp/CommitLog @@ -1,3 +1,6748 @@ +ChangeSet@1.3491, 2015-06-29 16:34:44-04:00, stenn@deacon.udel.edu + NTP_4_2_8P3 + TAG: NTP_4_2_8P3 + + ChangeLog@1.1680 +1 -0 + NTP_4_2_8P3 + + ntpd/invoke-ntp.conf.texi@1.188 +1 -1 + NTP_4_2_8P3 + + ntpd/invoke-ntp.keys.texi@1.182 +1 -1 + NTP_4_2_8P3 + + ntpd/invoke-ntpd.texi@1.499 +2 -2 + NTP_4_2_8P3 + + ntpd/ntp.conf.5man@1.222 +3 -3 + NTP_4_2_8P3 + + ntpd/ntp.conf.5mdoc@1.222 +1 -1 + NTP_4_2_8P3 + + ntpd/ntp.conf.html@1.177 +15 -1 + NTP_4_2_8P3 + + ntpd/ntp.conf.man.in@1.222 +3 -3 + NTP_4_2_8P3 + + ntpd/ntp.conf.mdoc.in@1.222 +1 -1 + NTP_4_2_8P3 + + ntpd/ntp.keys.5man@1.216 +2 -2 + NTP_4_2_8P3 + + ntpd/ntp.keys.5mdoc@1.216 +2 -2 + NTP_4_2_8P3 + + ntpd/ntp.keys.html@1.178 +1 -1 + NTP_4_2_8P3 + + ntpd/ntp.keys.man.in@1.216 +2 -2 + NTP_4_2_8P3 + + ntpd/ntp.keys.mdoc.in@1.216 +2 -2 + NTP_4_2_8P3 + + ntpd/ntpd-opts.c@1.521 +245 -245 + NTP_4_2_8P3 + + ntpd/ntpd-opts.h@1.520 +3 -3 + NTP_4_2_8P3 + + ntpd/ntpd.1ntpdman@1.328 +3 -3 + NTP_4_2_8P3 + + ntpd/ntpd.1ntpdmdoc@1.328 +2 -2 + NTP_4_2_8P3 + + ntpd/ntpd.html@1.172 +2 -2 + NTP_4_2_8P3 + + ntpd/ntpd.man.in@1.328 +3 -3 + NTP_4_2_8P3 + + ntpd/ntpd.mdoc.in@1.328 +2 -2 + NTP_4_2_8P3 + + ntpdc/invoke-ntpdc.texi@1.496 +2 -2 + NTP_4_2_8P3 + + ntpdc/ntpdc-opts.c@1.514 +107 -107 + NTP_4_2_8P3 + + ntpdc/ntpdc-opts.h@1.513 +3 -3 + NTP_4_2_8P3 + + ntpdc/ntpdc.1ntpdcman@1.327 +3 -3 + NTP_4_2_8P3 + + ntpdc/ntpdc.1ntpdcmdoc@1.327 +2 -2 + NTP_4_2_8P3 + + ntpdc/ntpdc.html@1.340 +2 -2 + NTP_4_2_8P3 + + ntpdc/ntpdc.man.in@1.327 +3 -3 + NTP_4_2_8P3 + + ntpdc/ntpdc.mdoc.in@1.327 +2 -2 + NTP_4_2_8P3 + + ntpq/invoke-ntpq.texi@1.503 +2 -2 + NTP_4_2_8P3 + + ntpq/ntpq-opts.c@1.520 +106 -106 + NTP_4_2_8P3 + + ntpq/ntpq-opts.h@1.518 +3 -3 + NTP_4_2_8P3 + + ntpq/ntpq.1ntpqman@1.331 +3 -3 + NTP_4_2_8P3 + + ntpq/ntpq.1ntpqmdoc@1.331 +2 -2 + NTP_4_2_8P3 + + ntpq/ntpq.html@1.169 +2 -2 + NTP_4_2_8P3 + + ntpq/ntpq.man.in@1.331 +3 -3 + NTP_4_2_8P3 + + ntpq/ntpq.mdoc.in@1.331 +2 -2 + NTP_4_2_8P3 + + ntpsnmpd/invoke-ntpsnmpd.texi@1.498 +2 -2 + NTP_4_2_8P3 + + ntpsnmpd/ntpsnmpd-opts.c@1.516 +68 -68 + NTP_4_2_8P3 + + ntpsnmpd/ntpsnmpd-opts.h@1.515 +3 -3 + NTP_4_2_8P3 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.327 +3 -3 + NTP_4_2_8P3 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.327 +2 -2 + NTP_4_2_8P3 + + ntpsnmpd/ntpsnmpd.html@1.167 +1 -1 + NTP_4_2_8P3 + + ntpsnmpd/ntpsnmpd.man.in@1.327 +3 -3 + NTP_4_2_8P3 + + ntpsnmpd/ntpsnmpd.mdoc.in@1.327 +2 -2 + NTP_4_2_8P3 + + packageinfo.sh@1.515 +2 -2 + NTP_4_2_8P3 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.88 +3 -3 + NTP_4_2_8P3 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.89 +2 -2 + NTP_4_2_8P3 + + scripts/calc_tickadj/calc_tickadj.html@1.90 +1 -1 + NTP_4_2_8P3 + + scripts/calc_tickadj/calc_tickadj.man.in@1.87 +3 -3 + NTP_4_2_8P3 + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.89 +2 -2 + NTP_4_2_8P3 + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.92 +1 -1 + NTP_4_2_8P3 + + scripts/invoke-plot_summary.texi@1.109 +2 -2 + NTP_4_2_8P3 + + scripts/invoke-summary.texi@1.109 +2 -2 + NTP_4_2_8P3 + + scripts/ntp-wait/invoke-ntp-wait.texi@1.319 +2 -2 + NTP_4_2_8P3 + + scripts/ntp-wait/ntp-wait-opts@1.55 +2 -2 + NTP_4_2_8P3 + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.316 +3 -3 + NTP_4_2_8P3 + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.317 +2 -2 + NTP_4_2_8P3 + + scripts/ntp-wait/ntp-wait.html@1.336 +2 -2 + NTP_4_2_8P3 + + scripts/ntp-wait/ntp-wait.man.in@1.316 +3 -3 + NTP_4_2_8P3 + + scripts/ntp-wait/ntp-wait.mdoc.in@1.317 +2 -2 + NTP_4_2_8P3 + + scripts/ntpsweep/invoke-ntpsweep.texi@1.107 +2 -2 + NTP_4_2_8P3 + + scripts/ntpsweep/ntpsweep-opts@1.57 +2 -2 + NTP_4_2_8P3 + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.95 +3 -3 + NTP_4_2_8P3 + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.95 +2 -2 + NTP_4_2_8P3 + + scripts/ntpsweep/ntpsweep.html@1.108 +2 -2 + NTP_4_2_8P3 + + scripts/ntpsweep/ntpsweep.man.in@1.95 +3 -3 + NTP_4_2_8P3 + + scripts/ntpsweep/ntpsweep.mdoc.in@1.96 +2 -2 + NTP_4_2_8P3 + + scripts/ntptrace/invoke-ntptrace.texi@1.108 +2 -2 + NTP_4_2_8P3 + + scripts/ntptrace/ntptrace-opts@1.57 +2 -2 + NTP_4_2_8P3 + + scripts/ntptrace/ntptrace.1ntptraceman@1.95 +3 -3 + NTP_4_2_8P3 + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.96 +2 -2 + NTP_4_2_8P3 + + scripts/ntptrace/ntptrace.html@1.109 +2 -2 + NTP_4_2_8P3 + + scripts/ntptrace/ntptrace.man.in@1.95 +3 -3 + NTP_4_2_8P3 + + scripts/ntptrace/ntptrace.mdoc.in@1.97 +2 -2 + NTP_4_2_8P3 + + scripts/plot_summary-opts@1.57 +2 -2 + NTP_4_2_8P3 + + scripts/plot_summary.1plot_summaryman@1.107 +3 -3 + NTP_4_2_8P3 + + scripts/plot_summary.1plot_summarymdoc@1.107 +2 -2 + NTP_4_2_8P3 + + scripts/plot_summary.html@1.110 +2 -2 + NTP_4_2_8P3 + + scripts/plot_summary.man.in@1.107 +3 -3 + NTP_4_2_8P3 + + scripts/plot_summary.mdoc.in@1.107 +2 -2 + NTP_4_2_8P3 + + scripts/summary-opts@1.57 +2 -2 + NTP_4_2_8P3 + + scripts/summary.1summaryman@1.107 +3 -3 + NTP_4_2_8P3 + + scripts/summary.1summarymdoc@1.107 +2 -2 + NTP_4_2_8P3 + + scripts/summary.html@1.110 +2 -2 + NTP_4_2_8P3 + + scripts/summary.man.in@1.107 +3 -3 + NTP_4_2_8P3 + + scripts/summary.mdoc.in@1.107 +2 -2 + NTP_4_2_8P3 + + scripts/update-leap/invoke-update-leap.texi@1.8 +1 -1 + NTP_4_2_8P3 + + scripts/update-leap/update-leap-opts@1.8 +2 -2 + NTP_4_2_8P3 + + scripts/update-leap/update-leap.1update-leapman@1.8 +3 -3 + NTP_4_2_8P3 + + scripts/update-leap/update-leap.1update-leapmdoc@1.8 +2 -2 + NTP_4_2_8P3 + + scripts/update-leap/update-leap.html@1.8 +1 -1 + NTP_4_2_8P3 + + scripts/update-leap/update-leap.man.in@1.8 +3 -3 + NTP_4_2_8P3 + + scripts/update-leap/update-leap.mdoc.in@1.8 +2 -2 + NTP_4_2_8P3 + + sntp/invoke-sntp.texi@1.496 +2 -2 + NTP_4_2_8P3 + + sntp/sntp-opts.c@1.515 +159 -159 + NTP_4_2_8P3 + + sntp/sntp-opts.h@1.513 +3 -3 + NTP_4_2_8P3 + + sntp/sntp.1sntpman@1.331 +3 -3 + NTP_4_2_8P3 + + sntp/sntp.1sntpmdoc@1.331 +2 -2 + NTP_4_2_8P3 + + sntp/sntp.html@1.511 +2 -2 + NTP_4_2_8P3 + + sntp/sntp.man.in@1.331 +3 -3 + NTP_4_2_8P3 + + sntp/sntp.mdoc.in@1.331 +2 -2 + NTP_4_2_8P3 + + util/invoke-ntp-keygen.texi@1.499 +2 -2 + NTP_4_2_8P3 + + util/ntp-keygen-opts.c@1.517 +173 -173 + NTP_4_2_8P3 + + util/ntp-keygen-opts.h@1.515 +3 -3 + NTP_4_2_8P3 + + util/ntp-keygen.1ntp-keygenman@1.327 +3 -3 + NTP_4_2_8P3 + + util/ntp-keygen.1ntp-keygenmdoc@1.327 +2 -2 + NTP_4_2_8P3 + + util/ntp-keygen.html@1.173 +2 -2 + NTP_4_2_8P3 + + util/ntp-keygen.man.in@1.327 +3 -3 + NTP_4_2_8P3 + + util/ntp-keygen.mdoc.in@1.327 +2 -2 + NTP_4_2_8P3 + +ChangeSet@1.3490, 2015-06-29 16:11:13-04:00, stenn@deacon.udel.edu + Release ntp-4.2.8p3 + + packageinfo.sh@1.514 +1 -1 + Release ntp-4.2.8p3 + +ChangeSet@1.3489, 2015-06-29 19:33:22+00:00, stenn@psp-at1.ntp.org + NEWS file update for bug 2853 + + NEWS@1.144 +18 -3 + NEWS file update for bug 2853 + +ChangeSet@1.3473.1.40, 2015-06-29 06:00:52+00:00, stenn@psp-at1.ntp.org + html/miscopt.html: Document leapsmearinterval, other cleanup. Harlan Stenn. + + ChangeLog@1.1666.1.19 +1 -0 + html/miscopt.html: Document leapsmearinterval, other cleanup. Harlan Stenn. + + html/miscopt.html@1.82 +18 -15 + html/miscopt.html: Document leapsmearinterval, other cleanup. Harlan Stenn. + +ChangeSet@1.3473.1.39, 2015-06-29 05:28:47+00:00, stenn@psp-at1.ntp.org + ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. + + ChangeLog@1.1666.1.18 +1 -0 + ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. + + ntpd/invoke-ntp.conf.texi@1.187 +17 -1 + ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. + + ntpd/ntp.conf.5man@1.221 +21 -3 + ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. + + ntpd/ntp.conf.5mdoc@1.221 +18 -2 + ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. + + ntpd/ntp.conf.def@1.17 +16 -0 + ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. + + ntpd/ntp.conf.man.in@1.221 +21 -3 + ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. + + ntpd/ntp.conf.mdoc.in@1.221 +18 -2 + ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. + +ChangeSet@1.3486, 2015-06-29 03:39:39+00:00, stenn@psp-at1.ntp.org + Updated entry for Sec 2853 + + ChangeLog@1.1677 +2 -1 + Updated entry for Sec 2853 + +ChangeSet@1.3473.3.2, 2015-06-29 04:57:16+02:00, tomek@tomek-n56vz.(none) + ChangeLog: + moved a change to the proper place + + ChangeLog@1.1666.2.2 +1 -1 + moved a change to the proper place + +ChangeSet@1.3473.3.1, 2015-06-29 04:50:55+02:00, tomek@tomek-n56vz.(none) + ChangeLog: + updated my changes + msyslog.c: + fixed a gcc warning + run-msyslog.c: + checking in the autogenerated file + + ChangeLog@1.1666.2.1 +4 -0 + updated my changes + + tests/libntp/msyslog.c@1.3 +2 -2 + fixed a gcc warning + + tests/libntp/run-msyslog.c@1.3 +1 -0 + checking in the autogenerated file + +ChangeSet@1.3473.1.37, 2015-06-29 01:16:44+00:00, stenn@psp-at1.ntp.org + [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel. + + ChangeLog@1.1666.1.16 +1 -0 + [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel. + + NEWS@1.143 +1 -0 + [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel. + + ntpq/ntpq-subs.c@1.109 +1 -1 + [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel. + +ChangeSet@1.3473.1.36, 2015-06-29 01:13:38+00:00, stenn@psp-at1.ntp.org + Update the NEWS file with info about README.leapsmear + + NEWS@1.142 +2 -1 + Update the NEWS file with info about README.leapsmear + +ChangeSet@1.3473.1.35, 2015-06-29 00:10:53+00:00, stenn@psp-at1.ntp.org + README.leapsmear edited. Harlan Stenn. + + ChangeLog@1.1666.1.15 +1 -0 + README.leapsmear edited. Harlan Stenn. + + README.leapsmear@1.2 +240 -75 + README.leapsmear edited. Harlan Stenn. + +ChangeSet@1.3473.1.34, 2015-06-28 21:20:27+00:00, stenn@psp-at1.ntp.org + README.leapsmear added. Martin Burnicki. + + ChangeLog@1.1666.1.14 +1 -0 + README.leapsmear added. Martin Burnicki. + + Makefile.am@1.132 +1 -0 + README.leapsmear added. Martin Burnicki. + + README.leapsmear@1.1 +107 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable/README.leapsmear + + README.leapsmear@1.0 +0 -0 + +ChangeSet@1.3473.1.33, 2015-06-27 23:05:51-04:00, stenn@deacon.udel.edu + [Bug 2846] Report 'unsynchronized' status during the leap second. Fixed in Martin's changes to Bug 2855. Martin Burnicki. + + ChangeLog@1.1666.1.13 +2 -0 + [Bug 2846] Report 'unsynchronized' status during the leap second. Fixed in Martin's changes to Bug 2855. Martin Burnicki. + +ChangeSet@1.3473.1.32, 2015-06-27 21:34:55+00:00, stenn@psp-at1.ntp.org + NEWS file update + + NEWS@1.141 +12 -0 + NEWS file update + +ChangeSet@1.3473.1.31, 2015-06-27 19:25:39+00:00, stenn@psp-at1.ntp.org + [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. + + ChangeLog@1.1666.1.12 +4 -0 + [Bug 1060] Buffer overruns in libparse/clk_rawdcf.c. Helge Oldach. + + include/parse.h@1.13 +3 -3 + [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. + + libparse/clk_meinberg.c@1.15 +2 -2 + [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. + + libparse/clk_rawdcf.c@1.22 +100 -12 + [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. + + libparse/clk_schmid.c@1.14 +2 -2 + [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. + + ntpd/refclock_parse.c@1.80 +4 -4 + [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. + + parseutil/dcfd.c@1.29 +1 -1 + [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. + + parseutil/testdcf.c@1.11 +1 -1 + [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. + +ChangeSet@1.3473.1.30, 2015-06-27 05:21:56-04:00, stenn@deacon.udel.edu + NTP_4_2_8P3_RC3 + TAG: NTP_4_2_8P3_RC3 + + ChangeLog@1.1666.1.11 +1 -0 + NTP_4_2_8P3_RC3 + + ntpd/invoke-ntp.conf.texi@1.186 +1 -1 + NTP_4_2_8P3_RC3 + + ntpd/invoke-ntp.keys.texi@1.181 +1 -1 + NTP_4_2_8P3_RC3 + + ntpd/invoke-ntpd.texi@1.498 +2 -2 + NTP_4_2_8P3_RC3 + + ntpd/ntp.conf.5man@1.220 +3 -3 + NTP_4_2_8P3_RC3 + + ntpd/ntp.conf.5mdoc@1.220 +2 -2 + NTP_4_2_8P3_RC3 + + ntpd/ntp.conf.html@1.176 +1 -1 + NTP_4_2_8P3_RC3 + + ntpd/ntp.conf.man.in@1.220 +3 -3 + NTP_4_2_8P3_RC3 + + ntpd/ntp.conf.mdoc.in@1.220 +2 -2 + NTP_4_2_8P3_RC3 + + ntpd/ntp.keys.5man@1.215 +2 -2 + NTP_4_2_8P3_RC3 + + ntpd/ntp.keys.5mdoc@1.215 +2 -2 + NTP_4_2_8P3_RC3 + + ntpd/ntp.keys.html@1.177 +1 -1 + NTP_4_2_8P3_RC3 + + ntpd/ntp.keys.man.in@1.215 +2 -2 + NTP_4_2_8P3_RC3 + + ntpd/ntp.keys.mdoc.in@1.215 +2 -2 + NTP_4_2_8P3_RC3 + + ntpd/ntpd-opts.c@1.520 +7 -7 + NTP_4_2_8P3_RC3 + + ntpd/ntpd-opts.h@1.519 +3 -3 + NTP_4_2_8P3_RC3 + + ntpd/ntpd.1ntpdman@1.327 +3 -3 + NTP_4_2_8P3_RC3 + + ntpd/ntpd.1ntpdmdoc@1.327 +2 -2 + NTP_4_2_8P3_RC3 + + ntpd/ntpd.html@1.171 +2 -2 + NTP_4_2_8P3_RC3 + + ntpd/ntpd.man.in@1.327 +3 -3 + NTP_4_2_8P3_RC3 + + ntpd/ntpd.mdoc.in@1.327 +2 -2 + NTP_4_2_8P3_RC3 + + ntpdc/invoke-ntpdc.texi@1.495 +2 -2 + NTP_4_2_8P3_RC3 + + ntpdc/ntpdc-opts.c@1.513 +7 -7 + NTP_4_2_8P3_RC3 + + ntpdc/ntpdc-opts.h@1.512 +3 -3 + NTP_4_2_8P3_RC3 + + ntpdc/ntpdc.1ntpdcman@1.326 +3 -3 + NTP_4_2_8P3_RC3 + + ntpdc/ntpdc.1ntpdcmdoc@1.326 +2 -2 + NTP_4_2_8P3_RC3 + + ntpdc/ntpdc.html@1.339 +2 -2 + NTP_4_2_8P3_RC3 + + ntpdc/ntpdc.man.in@1.326 +3 -3 + NTP_4_2_8P3_RC3 + + ntpdc/ntpdc.mdoc.in@1.326 +2 -2 + NTP_4_2_8P3_RC3 + + ntpq/invoke-ntpq.texi@1.502 +2 -2 + NTP_4_2_8P3_RC3 + + ntpq/ntpq-opts.c@1.519 +7 -7 + NTP_4_2_8P3_RC3 + + ntpq/ntpq-opts.h@1.517 +3 -3 + NTP_4_2_8P3_RC3 + + ntpq/ntpq.1ntpqman@1.330 +3 -3 + NTP_4_2_8P3_RC3 + + ntpq/ntpq.1ntpqmdoc@1.330 +2 -2 + NTP_4_2_8P3_RC3 + + ntpq/ntpq.html@1.168 +2 -2 + NTP_4_2_8P3_RC3 + + ntpq/ntpq.man.in@1.330 +3 -3 + NTP_4_2_8P3_RC3 + + ntpq/ntpq.mdoc.in@1.330 +2 -2 + NTP_4_2_8P3_RC3 + + ntpsnmpd/invoke-ntpsnmpd.texi@1.497 +2 -2 + NTP_4_2_8P3_RC3 + + ntpsnmpd/ntpsnmpd-opts.c@1.515 +7 -7 + NTP_4_2_8P3_RC3 + + ntpsnmpd/ntpsnmpd-opts.h@1.514 +3 -3 + NTP_4_2_8P3_RC3 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.326 +3 -3 + NTP_4_2_8P3_RC3 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.326 +2 -2 + NTP_4_2_8P3_RC3 + + ntpsnmpd/ntpsnmpd.html@1.166 +1 -1 + NTP_4_2_8P3_RC3 + + ntpsnmpd/ntpsnmpd.man.in@1.326 +3 -3 + NTP_4_2_8P3_RC3 + + ntpsnmpd/ntpsnmpd.mdoc.in@1.326 +2 -2 + NTP_4_2_8P3_RC3 + + packageinfo.sh@1.513 +1 -1 + NTP_4_2_8P3_RC3 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.87 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.88 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/calc_tickadj/calc_tickadj.html@1.89 +1 -1 + NTP_4_2_8P3_RC3 + + scripts/calc_tickadj/calc_tickadj.man.in@1.86 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.88 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.91 +1 -1 + NTP_4_2_8P3_RC3 + + scripts/invoke-plot_summary.texi@1.108 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/invoke-summary.texi@1.108 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntp-wait/invoke-ntp-wait.texi@1.318 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntp-wait/ntp-wait-opts@1.54 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.315 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.316 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntp-wait/ntp-wait.html@1.335 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntp-wait/ntp-wait.man.in@1.315 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/ntp-wait/ntp-wait.mdoc.in@1.316 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntpsweep/invoke-ntpsweep.texi@1.106 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntpsweep/ntpsweep-opts@1.56 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.94 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.94 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntpsweep/ntpsweep.html@1.107 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntpsweep/ntpsweep.man.in@1.94 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/ntpsweep/ntpsweep.mdoc.in@1.95 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntptrace/invoke-ntptrace.texi@1.107 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntptrace/ntptrace-opts@1.56 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntptrace/ntptrace.1ntptraceman@1.94 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.95 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntptrace/ntptrace.html@1.108 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/ntptrace/ntptrace.man.in@1.94 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/ntptrace/ntptrace.mdoc.in@1.96 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/plot_summary-opts@1.56 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/plot_summary.1plot_summaryman@1.106 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/plot_summary.1plot_summarymdoc@1.106 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/plot_summary.html@1.109 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/plot_summary.man.in@1.106 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/plot_summary.mdoc.in@1.106 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/summary-opts@1.56 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/summary.1summaryman@1.106 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/summary.1summarymdoc@1.106 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/summary.html@1.109 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/summary.man.in@1.106 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/summary.mdoc.in@1.106 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/update-leap/invoke-update-leap.texi@1.7 +1 -1 + NTP_4_2_8P3_RC3 + + scripts/update-leap/update-leap-opts@1.7 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/update-leap/update-leap.1update-leapman@1.7 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/update-leap/update-leap.1update-leapmdoc@1.7 +2 -2 + NTP_4_2_8P3_RC3 + + scripts/update-leap/update-leap.html@1.7 +51 -2 + NTP_4_2_8P3_RC3 + + scripts/update-leap/update-leap.man.in@1.7 +3 -3 + NTP_4_2_8P3_RC3 + + scripts/update-leap/update-leap.mdoc.in@1.7 +2 -2 + NTP_4_2_8P3_RC3 + + sntp/invoke-sntp.texi@1.495 +2 -2 + NTP_4_2_8P3_RC3 + + sntp/sntp-opts.c@1.514 +7 -7 + NTP_4_2_8P3_RC3 + + sntp/sntp-opts.h@1.512 +3 -3 + NTP_4_2_8P3_RC3 + + sntp/sntp.1sntpman@1.330 +3 -3 + NTP_4_2_8P3_RC3 + + sntp/sntp.1sntpmdoc@1.330 +2 -2 + NTP_4_2_8P3_RC3 + + sntp/sntp.html@1.510 +2 -2 + NTP_4_2_8P3_RC3 + + sntp/sntp.man.in@1.330 +3 -3 + NTP_4_2_8P3_RC3 + + sntp/sntp.mdoc.in@1.330 +2 -2 + NTP_4_2_8P3_RC3 + + util/invoke-ntp-keygen.texi@1.498 +2 -2 + NTP_4_2_8P3_RC3 + + util/ntp-keygen-opts.c@1.516 +7 -7 + NTP_4_2_8P3_RC3 + + util/ntp-keygen-opts.h@1.514 +3 -3 + NTP_4_2_8P3_RC3 + + util/ntp-keygen.1ntp-keygenman@1.326 +3 -3 + NTP_4_2_8P3_RC3 + + util/ntp-keygen.1ntp-keygenmdoc@1.326 +2 -2 + NTP_4_2_8P3_RC3 + + util/ntp-keygen.html@1.172 +2 -2 + NTP_4_2_8P3_RC3 + + util/ntp-keygen.man.in@1.326 +3 -3 + NTP_4_2_8P3_RC3 + + util/ntp-keygen.mdoc.in@1.326 +2 -2 + NTP_4_2_8P3_RC3 + +ChangeSet@1.3473.1.29, 2015-06-27 04:45:02-04:00, stenn@deacon.udel.edu + Update the NEWS file for 4.2.8p3-RC3 + + NEWS@1.140 +26 -0 + Update the NEWS file for 4.2.8p3-RC3 + +ChangeSet@1.3473.1.28, 2015-06-27 04:20:07-04:00, stenn@deacon.udel.edu + html/drivers/driver22.html: typo fix. Harlan Stenn. + + ChangeLog@1.1666.1.10 +1 -0 + html/drivers/driver22.html: typo fix. Harlan Stenn. + + html/drivers/driver22.html@1.23 +1 -1 + html/drivers/driver22.html: typo fix. Harlan Stenn. + +ChangeSet@1.3473.1.27, 2015-06-27 02:22:09-04:00, stenn@deacon.udel.edu + [Bug 2857] Stratus VOS does not support SIGIO. Paul Green. + + ChangeLog@1.1666.1.9 +1 -0 + [Bug 2857] Stratus VOS does not support SIGIO. Paul Green. + + configure.ac@1.596.1.1 +9 -0 + [Bug 2857] Stratus VOS does not support SIGIO. Paul Green. + + sntp/m4/ntp_libntp.m4@1.30 +9 -0 + [Bug 2857] Stratus VOS does not support SIGIO. Paul Green. + +ChangeSet@1.3473.1.26, 2015-06-27 01:58:07-04:00, stenn@deacon.udel.edu + [Bug 2856] ntpd should wait() on terminated child processes. Paul Green. + + ChangeLog@1.1666.1.8 +1 -0 + [Bug 2856] ntpd should wait() on terminated child processes. Paul Green. + + libntp/work_fork.c@1.14 +23 -4 + [Bug 2856] ntpd should wait() on terminated child processes. Paul Green. + +ChangeSet@1.3473.1.25, 2015-06-27 05:12:21+00:00, stenn@psp-at1.ntp.org + [Bug 2855] Report leap smear in the REFID. Harlan Stenn. + + ChangeLog@1.1666.1.7 +1 -0 + [Bug 2855] Report leap smear in the REFID. Harlan Stenn. + + ntpd/ntp_proto.c@1.361 +8 -2 + [Bug 2855] Report leap smear in the REFID. Harlan Stenn. + +ChangeSet@1.3473.1.24, 2015-06-27 04:53:42+00:00, stenn@psp-at1.ntp.org + refidsmear test cleanup. Tomasz Flendrich. + + ChangeLog@1.1666.1.6 +1 -0 + refidsmear test cleanup. Tomasz Flendrich. + + tests/libntp/refidsmear.c@1.4 +4 -5 + refidsmear test cleanup. Tomasz Flendrich. + +ChangeSet@1.3473.1.23, 2015-06-27 06:44:17+02:00, tomek@tomek-n56vz.(none) + refidsmear.c: + moved assertions to proper places + + tests/libntp/refidsmear.c@1.3 +4 -2 + moved assertions to proper places + +ChangeSet@1.3473.1.22, 2015-06-27 04:46:21+02:00, tomek@tomek-n56vz.(none) + run-refidsmear.c: + updated autogenerated file + refidsmear.c: + added the assertions and a nice message if a test fails + + tests/libntp/refidsmear.c@1.2 +22 -9 + added the assertions and a nice message if a test fails + + tests/libntp/run-refidsmear.c@1.2 +1 -1 + updated autogenerated file + +ChangeSet@1.3473.1.21, 2015-06-27 01:16:47+00:00, stenn@psp-at1.ntp.org + refidsmear function support and tests. Harlan Stenn. + + ChangeLog@1.1666.1.5 +1 -0 + refidsmear function support and tests. Harlan Stenn. + + include/Makefile.am@1.51 +1 -0 + refidsmear function support and tests. Harlan Stenn. + + include/refidsmear.h@1.1 +3 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/include/refidsmear.h + + include/refidsmear.h@1.0 +0 -0 + + libntp/Makefile.am@1.76 +1 -0 + refidsmear function support and tests. Harlan Stenn. + + libntp/refidsmear.c@1.1 +58 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/libntp/refidsmear.c + + libntp/refidsmear.c@1.0 +0 -0 + + tests/libntp/Makefile.am@1.83 +439 -378 + refidsmear function support and tests. Harlan Stenn. + + tests/libntp/refidsmear.c@1.1 +127 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/libntp/refidsmear.c + + tests/libntp/refidsmear.c@1.0 +0 -0 + + tests/libntp/run-refidsmear.c@1.1 +52 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/libntp/run-refidsmear.c + + tests/libntp/run-refidsmear.c@1.0 +0 -0 + +ChangeSet@1.3473.1.20, 2015-06-26 22:45:16+00:00, stenn@psp-at1.ntp.org + tests/sandbox/smeartest.c: Harlan Stenn, Damir Tomic, Juergen Perlinger. + + ChangeLog@1.1666.1.4 +1 -0 + tests/sandbox/smeartest.c: Harlan Stenn, Damir Tomic, Juergen Perlinger. + +ChangeSet@1.3473.1.19, 2015-06-26 20:10:51+00:00, stenn@psp-at1.ntp.org + smeartest.c fixes from Harlan + + tests/sandbox/smeartest.c@1.5 +52 -1 + smeartest.c fixes from Harlan + +ChangeSet@1.3473.1.18, 2015-06-26 18:43:39+00:00, stenn@psp-at1.ntp.org + smeartest.c fixes from Juergen, Damir, and Harlan + + tests/sandbox/smeartest.c@1.4 +26 -17 + smeartest.c fixes from Juergen, Damir, and Harlan + +ChangeSet@1.3473.1.17, 2015-06-26 11:24:43+00:00, stenn@psp-at1.ntp.org + smeartest.c - Harlan Stenn + + tests/sandbox/smeartest.c@1.3 +2 -2 + smeartest.c - Harlan Stenn + +ChangeSet@1.3473.1.16, 2015-06-26 11:20:59+00:00, stenn@psp-at1.ntp.org + smeartest.c - Harlan Stenn + + tests/sandbox/smeartest.c@1.2 +4 -0 + smeartest.c - Harlan Stenn + +ChangeSet@1.3473.1.15, 2015-06-26 10:58:41+00:00, stenn@psp-at1.ntp.org + smeartest.c - Harlan Stenn + + tests/sandbox/Makefile.am@1.4 +1 -1 + smeartest.c - Harlan Stenn + + tests/sandbox/smeartest.c@1.1 +104 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/sandbox/smeartest.c + + tests/sandbox/smeartest.c@1.0 +0 -0 + +ChangeSet@1.3473.1.14, 2015-06-25 18:22:10+00:00, stenn@psp-at1.ntp.org + sntp/tests/Makefile.am: remove g_nameresolution.cpp as it tested something that was only in the 4.2.6 sntp. Harlan Stenn. + + ChangeLog@1.1666.1.3 +18 -8 + sntp/tests/Makefile.am: remove g_nameresolution.cpp as it tested something that was only in the 4.2.6 sntp. Harlan Stenn. + + sntp/tests/Makefile.am@1.55 +4 -2 + sntp/tests/Makefile.am: remove g_nameresolution.cpp as it tested something that was only in the 4.2.6 sntp. Harlan Stenn. + +ChangeSet@1.3473.1.13, 2015-06-25 16:34:19+02:00, viperus@ubuntu.(none) + packetProcessing.c: + fixed SetUp() -> setUp() and TearDown() -> tearDown() which seemed to work because of extern functions + + sntp/tests/packetProcessing.c@1.4 +11 -11 + fixed SetUp() -> setUp() and TearDown() -> tearDown() which seemed to work because of extern functions + + sntp/tests/run-packetProcessing.c@1.3 +6 -6 + +ChangeSet@1.3473.1.12, 2015-06-25 16:08:41+02:00, viperus@ubuntu.(none) + packetHandling.c: + put init_lib() every time. Unlike init_auth(), works every time in setUp() without causing segfault + added init_lib() in setUp(), so now stuff works! + + sntp/tests/packetHandling.c@1.3 +2 -2 + put init_lib() every time. Unlike init_auth(), works every time in setUp() without causing segfault + + sntp/tests/packetHandling.c@1.2 +19 -5 + added init_lib() in setUp(), so now stuff works! + + sntp/tests/run-packetHandling.c@1.2 +10 -10 + +ChangeSet@1.3473.1.11, 2015-06-25 14:21:11+02:00, viperus@ubuntu.(none) + sntptest.h: + added sntptest_destroy() + packetProcessing.c: + added a bunch of snptest_destroy() + + sntp/tests/packetProcessing.c@1.3 +14 -6 + added a bunch of snptest_destroy() + + sntp/tests/run-packetProcessing.c@1.2 +18 -18 + + sntp/tests/sntptest.h@1.3 +4 -5 + added sntptest_destroy() + +ChangeSet@1.3473.1.10, 2015-06-25 12:16:34+02:00, viperus@ubuntu.(none) + nameresolution.cpp~a54f29b6c06a0baf: + Delete: sntp/tests/nameresolution.cpp + + BitKeeper/deleted/a0/nameresolution.cpp~a54f29b6c06a0baf@1.3 +0 -0 + Delete: sntp/tests/nameresolution.cpp + +ChangeSet@1.3473.1.9, 2015-06-25 12:15:27+02:00, viperus@ubuntu.(none) + run-packetProcessing.c: + new file + packetHandling.cpp~39b5af94c298eb8c: + Delete: sntp/tests/packetHandling.cpp + Makefile.am: + merged lokesh and tomasz work + + BitKeeper/deleted/f3/packetHandling.cpp~39b5af94c298eb8c@1.12 +0 -0 + Delete: sntp/tests/packetHandling.cpp + + sntp/tests/Makefile.am@1.54 +6 -6 + merged lokesh and tomasz work + + sntp/tests/run-packetProcessing.c@1.1 +86 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-packetProcessing.c + + sntp/tests/run-packetProcessing.c@1.0 +0 -0 + +ChangeSet@1.3473.1.7, 2015-06-25 11:39:39+02:00, tomek@tomek-n56vz.(none) + Makefile.am: + added pocketProcessing.c + + sntp/tests/Makefile.am@1.52 +33 -15 + added pocketProcessing.c + +ChangeSet@1.3473.2.1, 2015-06-25 11:32:47+02:00, tomek@tomek-n56vz.(none) + packetProcessing.c: + new file + g_packetProcessing.cpp: + Rename: sntp/tests/packetProcessing.cpp -> sntp/tests/g_packetProcessing.cpp + packetProcessing.c: + fixed array size, so that it doesn't crash on 64bit integer + + sntp/tests/g_packetProcessing.cpp@1.7 +0 -0 + Rename: sntp/tests/packetProcessing.cpp -> sntp/tests/g_packetProcessing.cpp + + sntp/tests/packetProcessing.c@1.2 +1 -1 + fixed array size, so that it doesn't crash on 64bit integer + + sntp/tests/packetProcessing.c@1.1 +331 -0 + BitKeeper file /home/tomek/ntp/packetProcessing/ntp-stable-unity/sntp/tests/packetProcessing.c + + sntp/tests/packetProcessing.c@1.0 +0 -0 + +ChangeSet@1.3473.1.5, 2015-06-25 10:10:48+02:00, viperus@ubuntu.(none) + lfpfunc.c: + replaced TEST_ASSERT_EQUAL_MEMORY(&a,&b,sizeof(a)) with TEST_ASSERT_EQUAL_l_fp(a,b). It's safer this way, because structs can be compared even if they aren't initiated with memset (due to padding bytes) + + tests/libntp/lfpfunc.c@1.7 +25 -8 + replaced TEST_ASSERT_EQUAL_MEMORY(&a,&b,sizeof(a)) with TEST_ASSERT_EQUAL_l_fp(a,b). It's safer this way, because structs can be compared even if they aren't initiated with memset (due to padding bytes) + + tests/libntp/run-lfpfunc.c@1.10 +10 -9 + +ChangeSet@1.3473.1.4, 2015-06-25 09:38:11+02:00, viperus@ubuntu.(none) + ChangeLog: + added my changes + + ChangeLog@1.1666.1.2 +8 -0 + added my changes + +ChangeSet@1.3458.2.1, 2015-06-25 07:21:48+00:00, viperus@psp-fb1.ntp.org + g_crypto.cpp: + Rename: sntp/tests/crypto.cpp -> sntp/tests/g_crypto.cpp + g_crypto.cpp~cb769256579f1186: + Delete: sntp/tests/g_crypto.cpp + + BitKeeper/deleted/aa/g_crypto.cpp~cb769256579f1186@1.2, stenn@psp-at1.ntp.org +0 -0 + Delete: sntp/tests/g_crypto.cpp + + sntp/tests/g_crypto.cpp@1.6, stenn@psp-at1.ntp.org +0 -0 + Rename: sntp/tests/crypto.cpp -> sntp/tests/g_crypto.cpp + +ChangeSet@1.3473.1.2, 2015-06-25 09:19:32+02:00, viperus@ubuntu.(none) + Makefile.am: + minor fix for buildin libunity.a + minor fix for building libunity.a + crypto.c~1ed7d1829a6a73e5: + Delete: sntp/tests/crypto.c + crypto.c: + Rename: BitKeeper/deleted/23/crypto.c~1ed7d1829a6a73e5 -> sntp/tests/crypto.c + bug-2803.c: + function now returns x instead of 0 + + sntp/tests/crypto.c@1.5 +0 -0 + Rename: BitKeeper/deleted/23/crypto.c~1ed7d1829a6a73e5 -> sntp/tests/crypto.c + + BitKeeper/deleted/23/crypto.c~1ed7d1829a6a73e5@1.4 +0 -0 + Delete: sntp/tests/crypto.c + + tests/bug-2803/Makefile.am@1.12 +1 -1 + minor fix for building libunity.a + + tests/bug-2803/bug-2803.c@1.9 +7 -7 + function now returns x instead of 0 + + tests/libntp/Makefile.am@1.82 +1 -1 + minor fix for buildin libunity.a + + tests/libntp/run-sfptostr.c@1.2 +1 -0 + +ChangeSet@1.3479, 2015-06-25 04:26:18+00:00, stenn@psp-at1.ntp.org + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + + tests/sec-2853/sec-2853.c@1.4 +4 -6 + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + +ChangeSet@1.3473.1.1, 2015-06-25 04:10:56+00:00, stenn@psp-at1.ntp.org + [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. + + ChangeLog@1.1666.1.1 +3 -0 + [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. + + ntpd/keyword-gen-utd@1.26 +1 -1 + [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. + + ntpd/keyword-gen.c@1.32 +0 -2 + [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. + + ntpd/ntp_keyword.h@1.28 +446 -433 + [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. + + ntpd/ntp_parser.c@1.97 +1397 -1147 + [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. + + ntpd/ntp_parser.h@1.62 +230 -216 + [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. + + ntpd/ntp_parser.y@1.87 +5 -0 + [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. + +ChangeSet@1.3478, 2015-06-25 02:48:14+00:00, stenn@psp-at1.ntp.org + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + + tests/sec-2853/run-sec-2853.c@1.2 +2 -2 + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + + tests/sec-2853/sec-2853.c@1.3 +0 -2 + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + +ChangeSet@1.3477, 2015-06-25 02:43:46+00:00, stenn@psp-at1.ntp.org + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + + tests/sec-2853/sec-2853.c@1.2 +58 -2 + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + +ChangeSet@1.3476, 2015-06-25 02:29:11+00:00, stenn@psp-at1.ntp.org + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + + ChangeLog@1.1670 +1 -0 + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + + ntpd/Makefile.am@1.133 +1 -0 + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + + ntpd/ntp_control.c@1.200 +2 -29 + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + + ntpd/rc_cmdlength.c@1.1 +35 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-2853/ntpd/rc_cmdlength.c + + ntpd/rc_cmdlength.c@1.0 +0 -0 + + tests/sec-2853/Makefile.am@1.2 +9 -3 + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + + tests/sec-2853/Makefile.in@1.2 +513 -161 + [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. + +ChangeSet@1.3475, 2015-06-24 10:59:01-07:00, harlan@hms-mbp11.pfcs.com + [Sec 2853] FICORA #829967. Juergen Perlinger, Harlan Stenn. + + ChangeLog@1.1669 +1 -1 + [Sec 2853] FICORA #829967. Juergen Perlinger, Harlan Stenn. + + ChangeLog@1.1668 +3 -1 + merge cleanup + + configure.ac@1.597 +1 -0 + [Sec 2853] FICORA #829967. Juergen Perlinger, Harlan Stenn. + + tests/Makefile.am@1.10 +2 -0 + [Sec 2853] FICORA #829967. Juergen Perlinger, Harlan Stenn. + + tests/sec-2853/Makefile.am@1.1 +72 -0 + BitKeeper file /Users/harlan/src/ntp-stable-2853/tests/sec-2853/Makefile.am + + tests/sec-2853/Makefile.am@1.0 +0 -0 + + tests/sec-2853/Makefile.in@1.1 +918 -0 + BitKeeper file /Users/harlan/src/ntp-stable-2853/tests/sec-2853/Makefile.in + + tests/sec-2853/Makefile.in@1.0 +0 -0 + + tests/sec-2853/run-sec-2853.c@1.1 +54 -0 + BitKeeper file /Users/harlan/src/ntp-stable-2853/tests/sec-2853/run-sec-2853.c + + tests/sec-2853/run-sec-2853.c@1.0 +0 -0 + + tests/sec-2853/sec-2853.c@1.1 +68 -0 + BitKeeper file /Users/harlan/src/ntp-stable-2853/tests/sec-2853/sec-2853.c + + tests/sec-2853/sec-2853.c@1.0 +0 -0 + +ChangeSet@1.3473, 2015-06-24 11:06:56-04:00, stenn@deacon.udel.edu + NTP_4_2_8P3_RC2 + TAG: NTP_4_2_8P3_RC2 + + ChangeLog@1.1666 +1 -0 + NTP_4_2_8P3_RC2 + + ntpd/invoke-ntp.conf.texi@1.185 +1 -1 + NTP_4_2_8P3_RC2 + + ntpd/invoke-ntp.keys.texi@1.180 +1 -1 + NTP_4_2_8P3_RC2 + + ntpd/invoke-ntpd.texi@1.497 +2 -2 + NTP_4_2_8P3_RC2 + + ntpd/ntp.conf.5man@1.219 +76 -76 + NTP_4_2_8P3_RC2 + + ntpd/ntp.conf.5mdoc@1.219 +2 -2 + NTP_4_2_8P3_RC2 + + ntpd/ntp.conf.html@1.175 +2 -2 + NTP_4_2_8P3_RC2 + + ntpd/ntp.conf.man.in@1.219 +76 -76 + NTP_4_2_8P3_RC2 + + ntpd/ntp.conf.mdoc.in@1.219 +2 -2 + NTP_4_2_8P3_RC2 + + ntpd/ntp.keys.5man@1.214 +11 -11 + NTP_4_2_8P3_RC2 + + ntpd/ntp.keys.5mdoc@1.214 +2 -2 + NTP_4_2_8P3_RC2 + + ntpd/ntp.keys.html@1.176 +1 -1 + NTP_4_2_8P3_RC2 + + ntpd/ntp.keys.man.in@1.214 +11 -11 + NTP_4_2_8P3_RC2 + + ntpd/ntp.keys.mdoc.in@1.214 +2 -2 + NTP_4_2_8P3_RC2 + + ntpd/ntpd-opts.c@1.519 +7 -7 + NTP_4_2_8P3_RC2 + + ntpd/ntpd-opts.h@1.518 +3 -3 + NTP_4_2_8P3_RC2 + + ntpd/ntpd.1ntpdman@1.326 +30 -30 + NTP_4_2_8P3_RC2 + + ntpd/ntpd.1ntpdmdoc@1.326 +2 -2 + NTP_4_2_8P3_RC2 + + ntpd/ntpd.html@1.170 +2 -2 + NTP_4_2_8P3_RC2 + + ntpd/ntpd.man.in@1.326 +30 -30 + NTP_4_2_8P3_RC2 + + ntpd/ntpd.mdoc.in@1.326 +2 -2 + NTP_4_2_8P3_RC2 + + ntpdc/invoke-ntpdc.texi@1.494 +2 -2 + NTP_4_2_8P3_RC2 + + ntpdc/ntpdc-opts.c@1.512 +7 -7 + NTP_4_2_8P3_RC2 + + ntpdc/ntpdc-opts.h@1.511 +3 -3 + NTP_4_2_8P3_RC2 + + ntpdc/ntpdc.1ntpdcman@1.325 +16 -16 + NTP_4_2_8P3_RC2 + + ntpdc/ntpdc.1ntpdcmdoc@1.325 +2 -2 + NTP_4_2_8P3_RC2 + + ntpdc/ntpdc.html@1.338 +2 -2 + NTP_4_2_8P3_RC2 + + ntpdc/ntpdc.man.in@1.325 +16 -16 + NTP_4_2_8P3_RC2 + + ntpdc/ntpdc.mdoc.in@1.325 +2 -2 + NTP_4_2_8P3_RC2 + + ntpq/invoke-ntpq.texi@1.501 +2 -2 + NTP_4_2_8P3_RC2 + + ntpq/ntpq-opts.c@1.518 +7 -7 + NTP_4_2_8P3_RC2 + + ntpq/ntpq-opts.h@1.516 +3 -3 + NTP_4_2_8P3_RC2 + + ntpq/ntpq.1ntpqman@1.329 +3 -3 + NTP_4_2_8P3_RC2 + + ntpq/ntpq.1ntpqmdoc@1.329 +2 -2 + NTP_4_2_8P3_RC2 + + ntpq/ntpq.html@1.167 +14 -4 + NTP_4_2_8P3_RC2 + + ntpq/ntpq.man.in@1.329 +3 -3 + NTP_4_2_8P3_RC2 + + ntpq/ntpq.mdoc.in@1.329 +2 -2 + NTP_4_2_8P3_RC2 + + ntpsnmpd/invoke-ntpsnmpd.texi@1.496 +2 -2 + NTP_4_2_8P3_RC2 + + ntpsnmpd/ntpsnmpd-opts.c@1.514 +7 -7 + NTP_4_2_8P3_RC2 + + ntpsnmpd/ntpsnmpd-opts.h@1.513 +3 -3 + NTP_4_2_8P3_RC2 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.325 +5 -5 + NTP_4_2_8P3_RC2 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.325 +2 -2 + NTP_4_2_8P3_RC2 + + ntpsnmpd/ntpsnmpd.html@1.165 +1 -1 + NTP_4_2_8P3_RC2 + + ntpsnmpd/ntpsnmpd.man.in@1.325 +5 -5 + NTP_4_2_8P3_RC2 + + ntpsnmpd/ntpsnmpd.mdoc.in@1.325 +2 -2 + NTP_4_2_8P3_RC2 + + packageinfo.sh@1.512 +1 -1 + NTP_4_2_8P3_RC2 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.86 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.87 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/calc_tickadj/calc_tickadj.html@1.88 +1 -1 + NTP_4_2_8P3_RC2 + + scripts/calc_tickadj/calc_tickadj.man.in@1.85 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.87 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.90 +1 -1 + NTP_4_2_8P3_RC2 + + scripts/invoke-plot_summary.texi@1.107 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/invoke-summary.texi@1.107 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntp-wait/invoke-ntp-wait.texi@1.317 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntp-wait/ntp-wait-opts@1.53 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.314 +5 -5 + NTP_4_2_8P3_RC2 + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.315 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntp-wait/ntp-wait.html@1.334 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntp-wait/ntp-wait.man.in@1.314 +5 -5 + NTP_4_2_8P3_RC2 + + scripts/ntp-wait/ntp-wait.mdoc.in@1.315 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntpsweep/invoke-ntpsweep.texi@1.105 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntpsweep/ntpsweep-opts@1.55 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.93 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.93 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntpsweep/ntpsweep.html@1.106 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntpsweep/ntpsweep.man.in@1.93 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/ntpsweep/ntpsweep.mdoc.in@1.94 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntptrace/invoke-ntptrace.texi@1.106 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntptrace/ntptrace-opts@1.55 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntptrace/ntptrace.1ntptraceman@1.93 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.94 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntptrace/ntptrace.html@1.107 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/ntptrace/ntptrace.man.in@1.93 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/ntptrace/ntptrace.mdoc.in@1.95 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/plot_summary-opts@1.55 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/plot_summary.1plot_summaryman@1.105 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/plot_summary.1plot_summarymdoc@1.105 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/plot_summary.html@1.108 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/plot_summary.man.in@1.105 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/plot_summary.mdoc.in@1.105 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/summary-opts@1.55 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/summary.1summaryman@1.105 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/summary.1summarymdoc@1.105 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/summary.html@1.108 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/summary.man.in@1.105 +3 -3 + NTP_4_2_8P3_RC2 + + scripts/summary.mdoc.in@1.105 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/update-leap/invoke-update-leap.texi@1.6 +51 -2 + NTP_4_2_8P3_RC2 + + scripts/update-leap/update-leap-opts@1.6 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/update-leap/update-leap.1update-leapman@1.6 +4 -4 + NTP_4_2_8P3_RC2 + + scripts/update-leap/update-leap.1update-leapmdoc@1.6 +2 -2 + NTP_4_2_8P3_RC2 + + scripts/update-leap/update-leap.html@1.6 +1 -1 + NTP_4_2_8P3_RC2 + + scripts/update-leap/update-leap.man.in@1.6 +4 -4 + NTP_4_2_8P3_RC2 + + scripts/update-leap/update-leap.mdoc.in@1.6 +2 -2 + NTP_4_2_8P3_RC2 + + sntp/invoke-sntp.texi@1.494 +2 -2 + NTP_4_2_8P3_RC2 + + sntp/sntp-opts.c@1.513 +7 -7 + NTP_4_2_8P3_RC2 + + sntp/sntp-opts.h@1.511 +3 -3 + NTP_4_2_8P3_RC2 + + sntp/sntp.1sntpman@1.329 +7 -7 + NTP_4_2_8P3_RC2 + + sntp/sntp.1sntpmdoc@1.329 +2 -2 + NTP_4_2_8P3_RC2 + + sntp/sntp.html@1.509 +2 -2 + NTP_4_2_8P3_RC2 + + sntp/sntp.man.in@1.329 +7 -7 + NTP_4_2_8P3_RC2 + + sntp/sntp.mdoc.in@1.329 +2 -2 + NTP_4_2_8P3_RC2 + + util/invoke-ntp-keygen.texi@1.497 +2 -2 + NTP_4_2_8P3_RC2 + + util/ntp-keygen-opts.c@1.515 +7 -7 + NTP_4_2_8P3_RC2 + + util/ntp-keygen-opts.h@1.513 +3 -3 + NTP_4_2_8P3_RC2 + + util/ntp-keygen.1ntp-keygenman@1.325 +18 -18 + NTP_4_2_8P3_RC2 + + util/ntp-keygen.1ntp-keygenmdoc@1.325 +2 -2 + NTP_4_2_8P3_RC2 + + util/ntp-keygen.html@1.171 +2 -2 + NTP_4_2_8P3_RC2 + + util/ntp-keygen.man.in@1.325 +18 -18 + NTP_4_2_8P3_RC2 + + util/ntp-keygen.mdoc.in@1.325 +2 -2 + NTP_4_2_8P3_RC2 + +ChangeSet@1.3472, 2015-06-24 10:25:48-04:00, stenn@deacon.udel.edu + automake-1.15 cleanup for sntp/tests/fileHandlingTest.h.in . Harlan Stenn. + + ChangeLog@1.1665 +1 -0 + automake-1.15 cleanup for sntp/tests/fileHandlingTest.h.in . Harlan Stenn. + + sntp/tests/fileHandlingTest.h.in@1.11 +3 -3 + automake-1.15 cleanup for sntp/tests/fileHandlingTest.h.in . Harlan Stenn. + +ChangeSet@1.3471, 2015-06-24 10:22:13-04:00, stenn@deacon.udel.edu + [Bug 2855] leap smear cleanup. Harlan Stenn. + + ChangeLog@1.1664 +1 -0 + [Bug 2855] leap smear cleanup. Harlan Stenn. + + ntpd/complete.conf.in@1.30 +1 -1 + [Bug 2855] leap smear cleanup. Harlan Stenn. + + ntpd/keyword-gen-utd@1.25 +1 -1 + [Bug 2855] leap smear cleanup. Harlan Stenn. + + ntpd/ntp_keyword.h@1.27 +433 -446 + [Bug 2855] leap smear cleanup. Harlan Stenn. + + ntpd/ntp_parser.c@1.96 +147 -147 + [Bug 2855] leap smear cleanup. Harlan Stenn. + + ntpd/ntp_parser.h@1.61 +4 -4 + [Bug 2855] leap smear cleanup. Harlan Stenn. + + ntpd/ntp_proto.c@1.360 +1 -1 + [Bug 2855] leap smear cleanup. Harlan Stenn. + +ChangeSet@1.3470, 2015-06-24 10:17:03-04:00, stenn@deacon.udel.edu + Cleanup for ntp-4.2.3p8-RC2 + + ChangeLog@1.1663 +1 -1 + Cleanup for ntp-4.2.3p8-RC2 + + NEWS@1.139 +35 -1 + Cleanup for ntp-4.2.3p8-RC2 + + configure.ac@1.596 +3 -1 + Cleanup for ntp-4.2.3p8-RC2 + +ChangeSet@1.3469, 2015-06-24 11:25:11+00:00, stenn@psp-at1.ntp.org + [Bug 2855] Implement conditional leap smear code. Martin Burnicki. + + ChangeLog@1.1662 +1 -1 + [Bug 2855] Implement conditional leap smear code. Martin Burnicki. + +ChangeSet@1.3466.1.1, 2015-06-24 09:18:52+02:00, jnperlin@hydra.(none) + Bug 2853 - FICORA #829967 + + ChangeLog@1.1660.1.1 +1 -0 + Bug 2853 - FICORA #829967 + + ntpd/ntp_control.c@1.196.1.1 +56 -21 + Bug 2853 - FICORA #829967 + +ChangeSet@1.3458.1.3, 2015-06-23 12:56:23+05:30, loki@dadasgift.(none) + PacketHandling test changes + + sntp/tests/Makefile.am@1.50.1.3 +11 -11 + + sntp/tests/g_packetHandling.cpp@1.1 +264 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/sntp/tests/g_packetHandling.cpp + + sntp/tests/g_packetHandling.cpp@1.0 +0 -0 + + sntp/tests/packetHandling.c@1.1 +260 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/sntp/tests/packetHandling.c + + sntp/tests/packetHandling.c@1.0 +0 -0 + + sntp/tests/run-packetHandling.c@1.1 +70 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/sntp/tests/run-packetHandling.c + + sntp/tests/run-packetHandling.c@1.0 +0 -0 + +ChangeSet@1.3468, 2015-06-22 17:31:28+02:00, martin@pc-martin.(none) + [Bug 2855] Implement conditional leap smear feature. + + ChangeLog@1.1661 +1 -0 + [Bug 2855] Implement conditional leap smear feature. + + include/ntpd.h@1.191 +3 -0 + Protected leap smearing code by preprocessor symbol LEAP_SMEAR. + + ntpd/keyword-gen.c@1.31 +2 -0 + Protected leap smearing code by preprocessor symbol LEAP_SMEAR. + + ntpd/ntp_config.c@1.330 +2 -0 + Protected leap smearing code by preprocessor symbol LEAP_SMEAR. + + ntpd/ntp_control.c@1.198 +4 -0 + Protected leap smearing code by preprocessor symbol LEAP_SMEAR. + + ntpd/ntp_io.c@1.403 +8 -1 + Protected leap smearing code by preprocessor symbol LEAP_SMEAR. + + ntpd/ntp_leapsec.h@1.14 +5 -0 + Protected leap smearing code by preprocessor symbol LEAP_SMEAR. + + ntpd/ntp_proto.c@1.359 +30 -2 + Protected leap smearing code by preprocessor symbol LEAP_SMEAR. + + ntpd/ntp_timer.c@1.91 +21 -12 + Protected leap smearing code by preprocessor symbol LEAP_SMEAR. + +ChangeSet@1.3466, 2015-06-22 07:45:39+00:00, stenn@psp-at1.ntp.org + Initial support for experimental leap smear code. Harlan Stenn. + + ChangeLog@1.1660 +1 -0 + Initial support for experimental leap smear code. Harlan Stenn. + + configure.ac@1.595 +21 -0 + Initial support for experimental leap smear code. Harlan Stenn. + +ChangeSet@1.3458.1.2, 2015-06-22 13:06:53+05:30, loki@dadasgift.(none) + Nameresolution test + + sntp/tests/Makefile.am@1.50.1.2 +20 -0 + + sntp/tests/g_nameresolution.cpp@1.1 +171 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/sntp/tests/g_nameresolution.cpp + + sntp/tests/g_nameresolution.cpp@1.0 +0 -0 + + sntp/tests/nameresolution.c@1.1 +162 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/sntp/tests/nameresolution.c + + sntp/tests/nameresolution.c@1.0 +0 -0 + + sntp/tests/run-nameresolution.c@1.1 +51 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/sntp/tests/run-nameresolution.c + + sntp/tests/run-nameresolution.c@1.0 +0 -0 + +ChangeSet@1.3453.1.3, 2015-06-22 12:56:31+05:30, loki@dadasgift.(none) + Makefile changes + + sntp/tests/Makefile.am@1.48.1.1 +20 -0 + +ChangeSet@1.3465, 2015-06-22 06:50:39+00:00, stenn@psp-at1.ntp.org + Regenerate some unity test runners to declare resetTest() + + tests/libntp/run-caljulian.c@1.8 +1 -0 + Regenerate some unity test runners to declare resetTest() + + tests/libntp/run-decodenetnum.c@1.3 +1 -0 + Regenerate some unity test runners to declare resetTest() + + tests/libntp/run-hextolfp.c@1.4 +1 -0 + Regenerate some unity test runners to declare resetTest() + + tests/libntp/run-netof.c@1.3 +1 -0 + Regenerate some unity test runners to declare resetTest() + + tests/libntp/run-vi64ops.c@1.3 +1 -0 + Regenerate some unity test runners to declare resetTest() + +ChangeSet@1.3464, 2015-06-21 05:15:32+00:00, stenn@psp-at1.ntp.org + Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn. + + ChangeLog@1.1659 +1 -0 + Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn. + + sntp/configure.ac@1.81 +1 -0 + Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn. + + sntp/tests/fileHandlingTest.h.in@1.10 +3 -11 + Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn. + + sntp/tests/fileHandlingTest.h.in@1.9, stenn@psp-fb1.ntp.org +0 -0 + Rename: sntp/tests/fileHandlingTest.h -> sntp/tests/fileHandlingTest.h.in + +ChangeSet@1.3463, 2015-06-20 23:18:33+00:00, stenn@psp-at1.ntp.org + [Bug 2852] 'make check' can't find unity.h. Hal Murray. + + ChangeLog@1.1658 +1 -0 + [Bug 2852] 'make check' can't find unity.h. Hal Murray. + +ChangeSet@1.3462, 2015-06-20 23:12:10+00:00, stenn@psp-at1.ntp.org + [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida. + + ChangeLog@1.1657 +1 -0 + [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida. + + libntp/strdup.c@1.9 +9 -10 + [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida. + +ChangeSet@1.3461, 2015-06-20 22:41:34+00:00, stenn@psp-at1.ntp.org + gtest->Unity cleanup + + sntp/tests/Makefile.am@1.51 +10 -6 + gtest->Unity cleanup + + sntp/tests_main.cpp@1.9 +4 -0 + gtest->Unity cleanup + + tests/libntp/g_buftvtots.cpp@1.5 +1 -1 + gtest->Unity cleanup + + tests/libntp/g_decodenetnum.cpp@1.2 +1 -1 + gtest->Unity cleanup + + tests/libntp/g_hextolfp.cpp@1.2 +1 -1 + gtest->Unity cleanup + + tests/libntp/g_netof.cpp@1.2 +1 -1 + gtest->Unity cleanup + + tests/libntp/g_socktoa.cpp@1.2 +1 -1 + gtest->Unity cleanup + + tests/libntp/g_strtolfp.cpp@1.2 +1 -1 + gtest->Unity cleanup + + tests/libntp/g_tvtots.cpp@1.8 +1 -1 + gtest->Unity cleanup + +ChangeSet@1.3460, 2015-06-20 21:41:29+00:00, stenn@psp-at1.ntp.org + re-apply lost typo fix + + sntp/tests/g_crypto.cpp@1.1.1.1 +1 -1 + re-apply lost typo fix + +ChangeSet@1.3458, 2015-06-20 14:32:03+02:00, viperus@ubuntu.(none) + run-crypto.c: + new file + Makefile.am: + minor rearrange + crypto.c: + minor fix with #define, now works even without openSSL + + sntp/tests/Makefile.am@1.50 +16 -18 + minor rearrange + + sntp/tests/crypto.c@1.3 +11 -4 + minor fix with #define, now works even without openSSL + + sntp/tests/run-crypto.c@1.1 +62 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-crypto.c + + sntp/tests/run-crypto.c@1.0 +0 -0 + +ChangeSet@1.3456, 2015-06-20 14:14:57+02:00, viperus@ubuntu.(none) + Makefile.am: + added a few more test files to cleanfiles + g_utilities.cpp: + Rename: sntp/tests/utilities.cpp -> sntp/tests/g_utilities.cpp + bug-2803.h~e9cdd024b7db50f6: + Delete: tests/bug-2803/bug-2803.h + Many files: + new file + Makefile.am: + added utilities test, fixed a minor bug with CLEANFILES var + generate_test_runner.rb: + for now, I'm giving up on removing functions that are written twice (because of declaraion and defintion). That regex is difficult because ruby script splits with newline, ; and { and }. I just added declaration for resetTest, to avoid warnings + + BitKeeper/deleted/4b/bug-2803.h~e9cdd024b7db50f6@1.2 +0 -0 + Delete: tests/bug-2803/bug-2803.h + + sntp/tests/Makefile.am@1.46.1.2 +1 -1 + added a few more test files to cleanfiles + + sntp/tests/Makefile.am@1.46.1.1 +50 -32 + added utilities test, fixed a minor bug with CLEANFILES var + + sntp/tests/data/debug-output-lfp-bin@1.1 +3 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/data/debug-output-lfp-bin + + sntp/tests/data/debug-output-lfp-bin@1.0 +0 -0 + + sntp/tests/data/debug-output-lfp-dec@1.1 +3 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/data/debug-output-lfp-dec + + sntp/tests/data/debug-output-lfp-dec@1.0 +0 -0 + + sntp/tests/data/debug-output-pkt@1.1 +8 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/data/debug-output-pkt + + sntp/tests/data/debug-output-pkt@1.0 +0 -0 + + sntp/tests/g_utilities.cpp@1.11 +0 -0 + Rename: sntp/tests/utilities.cpp -> sntp/tests/g_utilities.cpp + + sntp/tests/run-utilities.c@1.1 +64 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-utilities.c + + sntp/tests/run-utilities.c@1.0 +0 -0 + + sntp/tests/utilities.c@1.1 +177 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/utilities.c + + sntp/tests/utilities.c@1.0 +0 -0 + + sntp/unity/auto/generate_test_runner.rb@1.5.1.1 +1 -0 + for now, I'm giving up on removing functions that are written twice (because of declaraion and defintion). That regex is difficult because ruby script splits with newline, ; and { and }. I just added declaration for resetTest, to avoid warnings + + tests/bug-2803/bug-2803.c@1.8 +1 -1 + + tests/bug-2803/bug-2803.c@1.7 +4 -1 + + tests/bug-2803/run-bug-2803.c@1.7 +3 -2 + +ChangeSet@1.3453.1.2, 2015-06-20 16:11:49+05:30, loki@dadasgift.(none) + Crypto test file + + sntp/tests/Makefile.am@1.48 +19 -1 + + sntp/tests/crypto.c@1.2 +1 -1 + +ChangeSet@1.3452.1.1, 2015-06-20 09:07:37+00:00, stenn@psp-at1.ntp.org + typo + + sntp/unity/auto/colour_prompt.rb@1.2 +0 -0 + Change mode to -rw-rw-r-- + + sntp/unity/auto/colour_reporter.rb@1.2 +0 -0 + Change mode to -rw-rw-r-- + + sntp/unity/auto/generate_config.yml@1.2 +0 -0 + Change mode to -rw-rw-r-- + + sntp/unity/auto/generate_module.rb@1.2 +0 -0 + Change mode to -rw-rw-r-- + + sntp/unity/auto/generate_test_runner.rb@1.6 +0 -0 + Change mode to -rw-rw-r-- + + sntp/unity/auto/test_file_filter.rb@1.2 +0 -0 + Change mode to -rw-rw-r-- + + sntp/unity/auto/unity_test_summary.rb@1.2 +0 -0 + Change mode to -rw-rw-r-- + + tests/libntp/sfptostr.c@1.2 +1 -1 + typo + +ChangeSet@1.3455, 2015-06-20 10:10:34+02:00, viperus@ubuntu.(none) + bug-2803.h: + new file + bug-2803.c: + removed declarations, and put them into bug-2803.h + + tests/bug-2803/bug-2803.c@1.6 +1 -4 + removed declarations, and put them into bug-2803.h + + tests/bug-2803/bug-2803.h@1.1 +14 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/bug-2803/bug-2803.h + + tests/bug-2803/bug-2803.h@1.0 +0 -0 + + tests/bug-2803/run-bug-2803.c@1.6 +1 -3 + +ChangeSet@1.3454, 2015-06-20 09:57:06+02:00, viperus@ubuntu.(none) + testcalshims.c~f84485d2b13cef55: + Delete: tests/libntp/testcalshims.c + testcalshims.h~5612fd527e4d6de9: + Delete: tests/libntp/testcalshims.h + + BitKeeper/deleted/3e/testcalshims.c~f84485d2b13cef55@1.5 +0 -0 + Delete: tests/libntp/testcalshims.c + + BitKeeper/deleted/ac/testcalshims.h~5612fd527e4d6de9@1.5 +0 -0 + Delete: tests/libntp/testcalshims.h + +ChangeSet@1.3453, 2015-06-20 09:19:13+02:00, viperus@ubuntu.(none) + run-buftvtots.c, buftvtots.c: + new file + Makefile.am: + minor fix to the alphabetic list + added buftvtots + + tests/libntp/Makefile.am@1.80 +2 -2 + minor fix to the alphabetic list + + tests/libntp/Makefile.am@1.79 +26 -6 + added buftvtots + + tests/libntp/buftvtots.c@1.1 +78 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/buftvtots.c + + tests/libntp/buftvtots.c@1.0 +0 -0 + + tests/libntp/run-buftvtots.c@1.1 +57 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-buftvtots.c + + tests/libntp/run-buftvtots.c@1.0 +0 -0 + +ChangeSet@1.3452, 2015-06-20 04:02:48+00:00, stenn@psp-at1.ntp.org + unity cleanup + + sntp/tests/utilities.cpp@1.10 +5 -5 + unity cleanup + +ChangeSet@1.3451, 2015-06-20 04:00:43+00:00, stenn@psp-at1.ntp.org + tests/libntp cleanup for Unity + + tests/libntp/Makefile.am@1.78 +7 -7 + tests/libntp cleanup for Unity + + tests/libntp/clocktime.c@1.3 +1 -5 + tests/libntp cleanup for Unity + + tests/libntp/decodenetnum.c@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_a_md5encrypt.cpp@1.7 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_atoint.cpp@1.4 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_atouint.cpp@1.3 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_authkeys.cpp@1.9 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_buftvtots.cpp@1.4, stenn@psp-fb1.ntp.org +0 -0 + Rename: tests/libntp/buftvtots.cpp -> tests/libntp/g_buftvtots.cpp + + tests/libntp/g_calendar.cpp@1.3 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_caljulian.cpp@1.7 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_caltontp.cpp@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_calyearstart.cpp@1.5 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_clocktime.cpp@1.6 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_hextoint.cpp@1.5 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_humandate.cpp@1.4 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_lfpfunc.cpp@1.4 +2 -2 + tests/libntp cleanup for Unity + + tests/libntp/g_lfptest.h@1.7 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_lfptest.h@1.6, stenn@psp-fb1.ntp.org +0 -0 + Rename: tests/libntp/lfptest.h -> tests/libntp/g_lfptest.h + + tests/libntp/g_lfptostr.cpp@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_libntptest.cpp@1.5 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_libntptest.cpp@1.4, stenn@psp-fb1.ntp.org +0 -0 + Rename: tests/libntp/libntptest.cpp -> tests/libntp/g_libntptest.cpp + + tests/libntp/g_libntptest.h@1.5, stenn@psp-fb1.ntp.org +0 -0 + Rename: tests/libntp/libntptest.h -> tests/libntp/g_libntptest.h + + tests/libntp/g_modetoa.cpp@1.3 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_msyslog.cpp@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_numtoa.cpp@1.4 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_numtohost.cpp@1.3 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_octtoint.cpp@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_prettydate.cpp@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_recvbuff.cpp@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_refnumtoa.cpp@1.4 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_sfptostr.cpp@1.3 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_sockaddrtest.h@1.5 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_sockaddrtest.h@1.4, stenn@psp-fb1.ntp.org +0 -0 + Rename: tests/libntp/sockaddrtest.h -> tests/libntp/g_sockaddrtest.h + + tests/libntp/g_ssl_init.cpp@1.5 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_statestr.cpp@1.4 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_timespecops.cpp@1.10 +2 -2 + tests/libntp cleanup for Unity + + tests/libntp/g_timestructs.cpp@1.6 +2 -2 + tests/libntp cleanup for Unity + + tests/libntp/g_timestructs.cpp@1.5, stenn@psp-fb1.ntp.org +0 -0 + Rename: tests/libntp/timestructs.cpp -> tests/libntp/g_timestructs.cpp + + tests/libntp/g_timestructs.h@1.5, stenn@psp-fb1.ntp.org +0 -0 + Rename: tests/libntp/timestructs.h -> tests/libntp/g_timestructs.h + + tests/libntp/g_timevalops.cpp@1.10 +2 -2 + tests/libntp cleanup for Unity + + tests/libntp/g_tstotv.cpp@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_uglydate.cpp@1.4 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_vi64ops.cpp@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/g_ymd2yd.cpp@1.3 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/hextolfp.c@1.4 +3 -1 + tests/libntp cleanup for Unity + + tests/libntp/humandate.c@1.3 +3 -2 + tests/libntp cleanup for Unity + + tests/libntp/lfpfunc.c@1.6 +0 -2 + tests/libntp cleanup for Unity + + tests/libntp/lfptest.h@1.3 +0 -0 + Rename: tests/libntp/c_lfptest.h -> tests/libntp/lfptest.h + + tests/libntp/lfptostr.c@1.2 +2 -1 + tests/libntp cleanup for Unity + + tests/libntp/msyslog.c@1.2 +2 -3 + tests/libntp cleanup for Unity + + tests/libntp/netof.c@1.3 +4 -4 + tests/libntp cleanup for Unity + + tests/libntp/octtoint.c@1.3 +1 -3 + tests/libntp cleanup for Unity + + tests/libntp/prettydate.c@1.2 +2 -1 + tests/libntp cleanup for Unity + + tests/libntp/recvbuff.c@1.4 +3 -4 + tests/libntp cleanup for Unity + + tests/libntp/refnumtoa.c@1.2 +1 -0 + tests/libntp cleanup for Unity + + tests/libntp/run-clocktime.c@1.4 +8 -8 + tests/libntp cleanup for Unity + + tests/libntp/run-hextolfp.c@1.3 +6 -6 + tests/libntp cleanup for Unity + + tests/libntp/run-humandate.c@1.2 +2 -2 + tests/libntp cleanup for Unity + + tests/libntp/run-lfpfunc.c@1.9 +9 -9 + tests/libntp cleanup for Unity + + tests/libntp/run-lfptostr.c@1.2 +11 -11 + tests/libntp cleanup for Unity + + tests/libntp/run-msyslog.c@1.2 +8 -8 + tests/libntp cleanup for Unity + + tests/libntp/run-octtoint.c@1.4 +7 -7 + tests/libntp cleanup for Unity + + tests/libntp/run-prettydate.c@1.2 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/run-recvbuff.c@1.2 +3 -3 + tests/libntp cleanup for Unity + + tests/libntp/run-refnumtoa.c@1.3 +2 -2 + tests/libntp cleanup for Unity + + tests/libntp/run-socktoa.c@1.6 +6 -6 + tests/libntp cleanup for Unity + + tests/libntp/run-ssl_init.c@1.4 +5 -5 + tests/libntp cleanup for Unity + + tests/libntp/run-strtolfp.c@1.2 +7 -7 + tests/libntp cleanup for Unity + + tests/libntp/run-timespecops.c@1.3 +28 -28 + tests/libntp cleanup for Unity + + tests/libntp/run-timevalops.c@1.5 +28 -28 + tests/libntp cleanup for Unity + + tests/libntp/run-tstotv.c@1.2 +3 -3 + tests/libntp cleanup for Unity + + tests/libntp/run-tvtots.c@1.2 +3 -3 + tests/libntp cleanup for Unity + + tests/libntp/run-uglydate.c@1.7 +1 -1 + tests/libntp cleanup for Unity + + tests/libntp/sockaddrtest.h@1.3 +0 -0 + Rename: tests/libntp/c_sockaddrtest.h -> tests/libntp/sockaddrtest.h + + tests/libntp/socktoa.c@1.3 +3 -1 + tests/libntp cleanup for Unity + + tests/libntp/ssl_init.c@1.5 +2 -1 + tests/libntp cleanup for Unity + + tests/libntp/strtolfp.c@1.2 +3 -1 + tests/libntp cleanup for Unity + + tests/libntp/test-libntp.c@1.9 +1 -0 + tests/libntp cleanup for Unity + + tests/libntp/testcalshims.h@1.4 +0 -3 + tests/libntp cleanup for Unity + + tests/libntp/timespecops.c@1.2 +0 -1 + tests/libntp cleanup for Unity + + tests/libntp/timestructs.c@1.2 +0 -0 + Rename: tests/libntp/c_timestructs.c -> tests/libntp/timestructs.c + + tests/libntp/timestructs.h@1.2 +0 -0 + Rename: tests/libntp/c_timestructs.h -> tests/libntp/timestructs.h + + tests/libntp/timevalops.c@1.5 +2 -4 + tests/libntp cleanup for Unity + + tests/libntp/tstotv.c@1.2 +3 -1 + tests/libntp cleanup for Unity + + tests/libntp/tvtots.c@1.3 +3 -2 + tests/libntp cleanup for Unity + + tests/libntp/uglydate.c@1.5 +1 -0 + tests/libntp cleanup for Unity + + tests/libntp/vi64ops.c@1.2 +2 -2 + tests/libntp cleanup for Unity + +ChangeSet@1.3450, 2015-06-20 02:39:45+00:00, stenn@psp-fb1.ntp.org + Unity cleanup of sntp/tests/ + + sntp/tests/Makefile.am@1.46 +4 -3 + Unity cleanup of sntp/tests/ + + sntp/tests/crypto.cpp@1.5 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/fileHandlingTest.h@1.8 +8 -7 + Unity cleanup of sntp/tests/ + + sntp/tests/fileHandlingTest.h@1.7 +0 -0 + Rename: sntp/tests/c_fileHandlingTest.h -> sntp/tests/fileHandlingTest.h + + sntp/tests/g_fileHandlingTest.h@1.6 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/g_fileHandlingTest.h@1.5 +0 -0 + Rename: sntp/tests/fileHandlingTest.h -> sntp/tests/g_fileHandlingTest.h + + sntp/tests/g_keyFile.cpp@1.8 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/g_kodDatabase.cpp@1.5 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/g_kodFile.cpp@1.10 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/g_networking.cpp@1.10 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/g_sntptest.h@1.6 +0 -0 + Rename: sntp/tests/sntptest.h -> sntp/tests/g_sntptest.h + + sntp/tests/keyFile.c@1.3 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/kodDatabase.c@1.2 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/kodFile.c@1.5 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/nameresolution.cpp@1.2 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/networking.c@1.3 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/packetHandling.cpp@1.11 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/packetProcessing.cpp@1.6 +1 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/run-keyFile.c@1.4 +0 -1 + Unity cleanup of sntp/tests/ + + sntp/tests/sntptest.h@1.2 +0 -0 + Rename: sntp/tests/c_sntptest.h -> sntp/tests/sntptest.h + + sntp/tests/utilities.cpp@1.9 +2 -2 + Unity cleanup of sntp/tests/ + +ChangeSet@1.3449, 2015-06-20 01:25:54+00:00, stenn@psp-fb1.ntp.org + Remove obsolete gtest files + + BitKeeper/deleted/03/atolfp.cpp~4b2bfa141cb6e704@1.10, stenn@psp-at1.ntp.org +0 -0 + Delete: tests/libntp/strtolfp.cpp + + BitKeeper/deleted/11/octtoint.cpp~50548df6cb56ca39@1.3, stenn@psp-at1.ntp.org +0 -0 + Delete: tests/libntp/octtoint.cpp + + BitKeeper/deleted/1e/lfptostr.cpp~fc33022cca22f4a0@1.4, stenn@psp-at1.ntp.org +0 -0 + Delete: tests/libntp/lfptostr.cpp + + BitKeeper/deleted/29/netof.cpp~ce09accf46a3055c@1.2, stenn@psp-at1.ntp.org +0 -0 + Delete: tests/libntp/netof.cpp + + BitKeeper/deleted/36/hextolfp.cpp~bdb41862b8a92a90@1.6, stenn@psp-at1.ntp.org +0 -0 + Delete: tests/libntp/hextolfp.cpp + + BitKeeper/deleted/c0/decodenetnum.cpp~eb55b950b046942f@1.3, stenn@psp-at1.ntp.org +0 -0 + Delete: tests/libntp/decodenetnum.cpp + +ChangeSet@1.3447, 2015-06-20 00:57:57+00:00, tflendrich@psp-deb1.ntp.org + Makefile.am: + dashes are now lined up + + tests/libntp/Makefile.am@1.77 +9 -9 + dashes are now lined up + +ChangeSet@1.3445.1.1, 2015-06-20 00:57:43+00:00, stenn@psp-at1.ntp.org + sntp/tests/Makefile.am cleanup + + sntp/tests/Makefile.am@1.45 +41 -37 + sntp/tests/Makefile.am cleanup + +ChangeSet@1.3446, 2015-06-20 00:55:15+00:00, tflendrich@psp-deb1.ntp.org + Makefile.am: + changed the indent from spaces to tabs + + tests/libntp/Makefile.am@1.76 +5 -5 + changed the indent from spaces to tabs + +ChangeSet@1.3445, 2015-06-19 23:49:56+00:00, tflendrich@psp-deb1.ntp.org + Makefile.am: + added a missing "-lpthread" + + tests/libntp/Makefile.am@1.75 +1 -0 + added a missing "-lpthread" + +ChangeSet@1.3444, 2015-06-19 23:34:57+00:00, tflendrich@psp-deb1.ntp.org + Makefile.am: + fixed the merge + + tests/libntp/Makefile.am@1.74 +1 -0 + fixed the merge + +ChangeSet@1.3429.3.3, 2015-06-20 00:33:19+02:00, tomek@tomek-n56vz.(none) + converted humandate from gtest to unity + + tests/libntp/Makefile.am@1.68.3.3 +20 -1 + added humandate.c + + tests/libntp/g_humandate.cpp@1.3 +0 -0 + Rename: tests/libntp/humandate.cpp -> tests/libntp/g_humandate.cpp + + tests/libntp/humandate.c@1.2 +25 -31 + + tests/libntp/humandate.c@1.1 +41 -0 + BitKeeper file /home/tomek/ntp/kod/head/ntp-stable-unity/tests/libntp/humandate.c + + tests/libntp/humandate.c@1.0 +0 -0 + + tests/libntp/run-humandate.c@1.1 +53 -0 + BitKeeper file /home/tomek/ntp/kod/head/ntp-stable-unity/tests/libntp/run-humandate.c + + tests/libntp/run-humandate.c@1.0 +0 -0 + + tests/libntp/run-sfptostr.c@1.1 +65 -0 + BitKeeper file /home/tomek/ntp/kod/head/ntp-stable-unity/tests/libntp/run-sfptostr.c + + tests/libntp/run-sfptostr.c@1.0 +0 -0 + +ChangeSet@1.3442, 2015-06-19 23:52:11+02:00, viperus@ubuntu.(none) + kodFile.c: + removed debug printfs + + sntp/tests/kodFile.c@1.4 +7 -7 + removed debug printfs + +ChangeSet@1.3441, 2015-06-19 23:15:36+02:00, viperus@ubuntu.(none) + Makefile.am: + added some clean and distclean stuff + c_fileHandlingTest.h: + added more debug printfs + kodFile.c: + changed CreatePath so new files are written in a writeable directory + + sntp/tests/Makefile.am@1.43 +2 -1 + added some clean and distclean stuff + + sntp/tests/c_fileHandlingTest.h@1.6 +1 -1 + added more debug printfs + + sntp/tests/kodFile.c@1.3 +7 -4 + changed CreatePath so new files are written in a writeable directory + + sntp/tests/run-kodFile.c@1.2 +2 -2 + +ChangeSet@1.3429.3.2, 2015-06-19 23:07:51+02:00, tomek@tomek-n56vz.(none) + converted sfptostr from GTest to Unity + + sntp/tests/Makefile.am@1.40.3.1 +1 -1 + makefile now works if someone has gtest + + sntp/tests/g_keyFile.cpp@1.4.2.1 +0 -0 + Rename: sntp/tests/keyFile.cpp -> sntp/tests/g_keyFile.cpp + + tests/libntp/Makefile.am@1.68.3.2 +21 -1 + added sfptostr.c + + tests/libntp/g_sfptostr.cpp@1.2 +0 -0 + Rename: tests/libntp/sfptostr.cpp -> tests/libntp/g_sfptostr.cpp + + tests/libntp/sfptostr.c@1.1 +73 -0 + BitKeeper file /home/tomek/ntp/kod/head/ntp-stable-unity/tests/libntp/sfptostr.c + + tests/libntp/sfptostr.c@1.0 +0 -0 + +ChangeSet@1.3429.3.1, 2015-06-19 22:31:16+02:00, tomek@tomek-n56vz.(none) + converted tvtots from gtest to unity + + tests/libntp/Makefile.am@1.68.3.1 +21 -1 + added tvtots.c + + tests/libntp/g_tvtots.cpp@1.7 +0 -0 + Rename: tests/libntp/tvtots.cpp -> tests/libntp/g_tvtots.cpp + + tests/libntp/run-tvtots.c@1.1 +55 -0 + BitKeeper file /home/tomek/ntp/kod/head/ntp-stable-unity/tests/libntp/run-tvtots.c + + tests/libntp/run-tvtots.c@1.0 +0 -0 + + tests/libntp/tvtots.c@1.2 +53 -0 + converted to unity + + tests/libntp/tvtots.c@1.1 +0 -0 + BitKeeper file /home/tomek/ntp/kod/head/ntp-stable-unity/tests/libntp/tvtots.c + + tests/libntp/tvtots.c@1.0 +0 -0 + +ChangeSet@1.3429.1.9, 2015-06-19 18:00:35+00:00, tflendrich@psp-deb1.ntp.org + bring back two files that were wrongfully removed + + tests/libntp/test-libntp.c@1.8 +0 -0 + Rename: BitKeeper/deleted/a4/test-libntp.c~4efce7533d11e808 -> tests/libntp/test-libntp.c + + tests/libntp/test-libntp.h@1.6 +0 -0 + Rename: BitKeeper/deleted/01/test-libntp.h~c19218ad555ac21 -> tests/libntp/test-libntp.h + +ChangeSet@1.3439, 2015-06-19 17:51:30+02:00, viperus@ubuntu.(none) + c_fileHandlingTest.h: + added new cases with strcpy(path,....) + run-strtolfp.c, run-lfptostr.c: + new file + + sntp/tests/c_fileHandlingTest.h@1.5 +4 -1 + added new cases with strcpy(path,....) + + tests/libntp/run-lfptostr.c@1.1 +71 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-lfptostr.c + + tests/libntp/run-lfptostr.c@1.0 +0 -0 + + tests/libntp/run-strtolfp.c@1.1 +63 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-strtolfp.c + + tests/libntp/run-strtolfp.c@1.0 +0 -0 + +ChangeSet@1.3429.2.2, 2015-06-19 20:24:45+05:30, loki@dadasgift.(none) + Test - crypto.c from sntp + + sntp/tests/Makefile.am@1.40.2.1 +20 -1 + + sntp/tests/crypto.c@1.1 +127 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/sntp/tests/crypto.c + + sntp/tests/crypto.c@1.0 +0 -0 + + sntp/tests/g_crypto.cpp@1.1 +129 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/sntp/tests/g_crypto.cpp + + sntp/tests/g_crypto.cpp@1.0 +0 -0 + +ChangeSet@1.3413.3.4, 2015-06-19 16:06:35+02:00, martin@pc-martin.(none) + More support for smeared leap seconds. + + include/ntpd.h@1.190 +2 -0 + More support for smeared leap seconds. + + ntpd/ntp_config.c@1.329 +1 -0 + More support for smeared leap seconds. + + ntpd/ntp_control.c@1.197 +18 -1 + More support for smeared leap seconds. + + ntpd/ntp_leapsec.h@1.13 +1 -0 + More support for smeared leap seconds. + + ntpd/ntp_proto.c@1.358 +33 -14 + More support for smeared leap seconds. + + ntpd/ntp_timer.c@1.90 +40 -10 + More support for smeared leap seconds. + +ChangeSet@1.3435.1.1, 2015-06-19 13:51:57+00:00, viperus@psp-at1.ntp.org + c_fileHandlingTest.h: + added debug printfs, changed path value + kodFile.c: + added debug printfs + + sntp/tests/c_fileHandlingTest.h@1.4 +1 -1 + added debug printfs, changed path value + + sntp/tests/kodFile.c@1.2 +3 -3 + added debug printfs + +ChangeSet@1.3436, 2015-06-19 15:42:41+02:00, viperus@ubuntu.(none) + kod-output-single, kod-output-blank, kod-output-multiple: + new file + + sntp/tests/data/kod-output-blank@1.1 +0 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/data/kod-output-blank + + sntp/tests/data/kod-output-blank@1.0 +0 -0 + + sntp/tests/data/kod-output-multiple@1.1 +3 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/data/kod-output-multiple + + sntp/tests/data/kod-output-multiple@1.0 +0 -0 + + sntp/tests/data/kod-output-single@1.1 +1 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/data/kod-output-single + + sntp/tests/data/kod-output-single@1.0 +0 -0 + +ChangeSet@1.3435, 2015-06-19 13:58:37+02:00, viperus@ubuntu.(none) + c_fileHandlingTest.h: + added different paths depening on the build dir, maybe this will work on freebsd + run-keyFile.c: + slight change + + sntp/tests/c_fileHandlingTest.h@1.3 +16 -2 + added different paths depening on the build dir, maybe this will work on freebsd + + sntp/tests/run-keyFile.c@1.3 +1 -0 + slight change + +ChangeSet@1.3413.3.3, 2015-06-19 08:20:49+00:00, burnicki@psp-deb1.ntp.org + Updates by Harlan. + + ntpd/complete.conf.in@1.29 +1 -0 + Updates by Harlan. + + ntpd/ntp_parser.c@1.95 +1511 -1563 + Updates by Harlan. + + ntpd/ntp_parser.h@1.60 +230 -220 + Updates by Harlan. + +ChangeSet@1.3429.1.8, 2015-06-19 07:03:32+00:00, tflendrich@psp-at1.ntp.org + removed generated files that are not longer used + + BitKeeper/deleted/01/test-libntp.h~c19218ad555ac21@1.5 +0 -0 + Delete: tests/libntp/test-libntp.h + + BitKeeper/deleted/17/test-msyslog.c~36cfb2ff59dd5e9@1.2 +0 -0 + Delete: tests/libntp/test-msyslog.c + + BitKeeper/deleted/2a/test-recvbuff.c~1bf5e94672c41f5@1.2 +0 -0 + Delete: tests/libntp/test-recvbuff.c + + BitKeeper/deleted/67/test-tstotv.c~3117fe865385504e@1.2 +0 -0 + Delete: tests/libntp/test-tstotv.c + + BitKeeper/deleted/6f/test-ssl_init.c~2c5bc2112c1aaf15@1.2 +0 -0 + Delete: tests/libntp/test-ssl_init.c + + BitKeeper/deleted/91/test-vi64ops.c~3812d64e36653bf4@1.2 +0 -0 + Delete: tests/libntp/test-vi64ops.c + + BitKeeper/deleted/a4/test-libntp.c~4efce7533d11e808@1.7 +0 -0 + Delete: tests/libntp/test-libntp.c + + BitKeeper/deleted/b9/test-prettydate.c~ce9792d7bb10506b@1.2 +0 -0 + Delete: tests/libntp/test-prettydate.c + + BitKeeper/deleted/bb/test-caltontp.c~8cc124d6c538f1cb@1.2 +0 -0 + Delete: tests/libntp/test-caltontp.c + +ChangeSet@1.3429.1.7, 2015-06-19 06:43:05+00:00, tflendrich@psp-at1.ntp.org + deleted old, unused generated files + + BitKeeper/deleted/27/run-test-prettydate.c~93d1bdc762261643@1.2 +0 -0 + Delete: tests/libntp/run-test-prettydate.c + + BitKeeper/deleted/31/run-test-vi64ops.c~ddc8f15be90f476c@1.2 +0 -0 + Delete: tests/libntp/run-test-vi64ops.c + + BitKeeper/deleted/40/run-test-ssl_init.c~7ed3e3db79be5452@1.2 +0 -0 + Delete: tests/libntp/run-test-ssl_init.c + + BitKeeper/deleted/55/run-test-caltontp.c~989b072c54cd2ccd@1.2 +0 -0 + Delete: tests/libntp/run-test-caltontp.c + + BitKeeper/deleted/67/run-test-tstotv.c~48cf1897ca453301@1.2 +0 -0 + Delete: tests/libntp/run-test-tstotv.c + + BitKeeper/deleted/9f/run-test-msyslog.c~fb1907a46fb63895@1.2 +0 -0 + Delete: tests/libntp/run-test-msyslog.c + + BitKeeper/deleted/bc/run-test-recvbuff.c~cf87735b269fb6c2@1.2 +0 -0 + Delete: tests/libntp/run-test-recvbuff.c + +ChangeSet@1.3413.1.3, 2015-06-19 12:04:49+05:30, loki@dadasgift.(none) + lfptostr & strtolfp tests + + tests/libntp/Makefile.am@1.64.1.3 +38 -2 + +ChangeSet@1.3429.1.6, 2015-06-19 06:20:32+00:00, tflendrich@psp-deb1.ntp.org + added autogenerated files + + tests/libntp/run-caltontp.c@1.1 +57 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/run-caltontp.c + + tests/libntp/run-caltontp.c@1.0 +0 -0 + + tests/libntp/run-msyslog.c@1.1 +65 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/run-msyslog.c + + tests/libntp/run-msyslog.c@1.0 +0 -0 + + tests/libntp/run-prettydate.c@1.1 +51 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/run-prettydate.c + + tests/libntp/run-prettydate.c@1.0 +0 -0 + + tests/libntp/run-recvbuff.c@1.1 +55 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/run-recvbuff.c + + tests/libntp/run-recvbuff.c@1.0 +0 -0 + + tests/libntp/run-tstotv.c@1.1 +55 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/run-tstotv.c + + tests/libntp/run-tstotv.c@1.0 +0 -0 + + tests/libntp/test-caltontp.c@1.1 +0 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/test-caltontp.c + + tests/libntp/test-caltontp.c@1.0 +0 -0 + + tests/libntp/test-msyslog.c@1.1 +0 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/test-msyslog.c + + tests/libntp/test-msyslog.c@1.0 +0 -0 + + tests/libntp/test-prettydate.c@1.1 +0 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/test-prettydate.c + + tests/libntp/test-prettydate.c@1.0 +0 -0 + + tests/libntp/test-recvbuff.c@1.1 +0 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/test-recvbuff.c + + tests/libntp/test-recvbuff.c@1.0 +0 -0 + + tests/libntp/test-ssl_init.c@1.1 +0 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/test-ssl_init.c + + tests/libntp/test-ssl_init.c@1.0 +0 -0 + + tests/libntp/test-tstotv.c@1.1 +0 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/test-tstotv.c + + tests/libntp/test-tstotv.c@1.0 +0 -0 + + tests/libntp/test-vi64ops.c@1.1 +0 -0 + BitKeeper file /home/tflendrich/develpment/harlans/ntp-stable-unity/tests/libntp/test-vi64ops.c + + tests/libntp/test-vi64ops.c@1.0 +0 -0 + +ChangeSet@1.3429.1.5, 2015-06-19 07:09:46+02:00, tomek@tomek-n56vz.(none) + recvbuff.c: + removed testcalshims.h + + tests/libntp/recvbuff.c@1.3 +2 -2 + removed testcalshims.h + +ChangeSet@1.3429.1.4, 2015-06-19 04:16:11+00:00, tflendrich@psp-deb1.ntp.org + Makefile.am: + added -lpthread + + tests/libntp/Makefile.am@1.71 +1 -0 + added -lpthread + +ChangeSet@1.3429.1.3, 2015-06-19 05:59:58+02:00, tomek@tomek-n56vz.(none) + fixed a makefile: it didn't work if we had gtest enabled + + sntp/tests/Makefile.am@1.40.1.1 +2 -2 + + sntp/tests/g_keyFile.cpp@1.4.1.1 +0 -0 + Rename: sntp/tests/keyFile.cpp -> sntp/tests/g_keyFile.cpp + + tests/libntp/Makefile.am@1.70 +106 -11 + +ChangeSet@1.3434, 2015-06-19 03:25:54+02:00, viperus@ubuntu.(none) + + tests/libntp/run-caljulian.c@1.7 +4 -4 + +ChangeSet@1.3433, 2015-06-19 03:13:24+02:00, viperus@ubuntu.(none) + g_kodFile.cpp: + Rename: sntp/tests/kodFile.cpp -> sntp/tests/g_kodFile.cpp + g_keyFile.cpp: + Rename: sntp/tests/keyFile.cpp -> sntp/tests/g_keyFile.cpp + run-kodFile.c, kodFile.c: + new file + Makefile.am: + replaced ../version.c with $(top_builddir)/version.c. Converted new test. + c_fileHandlingTest.h: + converted all functions from C++ to C + keyFile.c: + uncommented all functions, 90% converted + + sntp/tests/Makefile.am@1.41 +26 -4 + replaced ../version.c with $(top_builddir)/version.c. Converted new test. + + sntp/tests/c_fileHandlingTest.h@1.2 +53 -26 + converted all functions from C++ to C + + sntp/tests/g_keyFile.cpp@1.5 +0 -0 + Rename: sntp/tests/keyFile.cpp -> sntp/tests/g_keyFile.cpp + + sntp/tests/g_kodFile.cpp@1.9 +0 -0 + Rename: sntp/tests/kodFile.cpp -> sntp/tests/g_kodFile.cpp + + sntp/tests/keyFile.c@1.2 +51 -47 + uncommented all functions, 90% converted + + sntp/tests/kodFile.c@1.1 +142 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/kodFile.c + + sntp/tests/kodFile.c@1.0 +0 -0 + + sntp/tests/run-keyFile.c@1.2 +10 -0 + + sntp/tests/run-kodFile.c@1.1 +61 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-kodFile.c + + sntp/tests/run-kodFile.c@1.0 +0 -0 + +ChangeSet@1.3432, 2015-06-18 23:33:19+02:00, viperus@ubuntu.(none) + caljulian.c: + replacing malloc.h with "ntp_stdlib.h" + + tests/libntp/caljulian.c@1.6 +3 -1 + replacing malloc.h with "ntp_stdlib.h" + +ChangeSet@1.3413.3.2, 2015-06-18 18:05:44+02:00, martin@pc-martin.(none) + Started to support leap smear. + + include/ntpd.h@1.189 +1 -0 + Started to support leap smear. + + ntpd/keyword-gen-utd@1.24 +1 -1 + Started to support leap smear. + + ntpd/keyword-gen.c@1.30 +17 -16 + Started to support leap smear. + + ntpd/ntp_config.c@1.328 +5 -1 + Started to support leap smear. + + ntpd/ntp_io.c@1.402 +2 -1 + Started to support leap smear. + + ntpd/ntp_keyword.h@1.26 +670 -656 + Started to support leap smear. + + ntpd/ntp_leapsec.h@1.12 +12 -0 + Started to support leap smear. + + ntpd/ntp_parser.c@1.94 +2031 -1971 + Started to support leap smear. + + ntpd/ntp_parser.h@1.59 +339 -345 + Started to support leap smear. + + ntpd/ntp_parser.y@1.86 +51 -46 + Started to support leap smear. + + ntpd/ntp_proto.c@1.357 +35 -2 + Started to support leap smear. + + ntpd/ntp_timer.c@1.89 +55 -9 + Started to support leap smear. + +ChangeSet@1.3413.3.1, 2015-06-18 16:45:21+02:00, martin@pc-martin.(none) + Removed trailing whitespace. + + ntpd/ntp_leapsec.c@1.22 +17 -17 + Removed trailing whitespace. + + ntpd/ntp_leapsec.h@1.11 +2 -2 + Removed trailing whitespace. + + ntpd/ntp_timer.c@1.88 +6 -6 + Removed trailing whitespace. + +ChangeSet@1.3429.1.1, 2015-06-18 08:48:31+00:00, stenn@psp-at1.ntp.org + typo + + sntp/tests/Makefile.am@1.40 +1 -1 + typo + +ChangeSet@1.3429, 2015-06-18 08:34:39+00:00, stenn@psp-at1.ntp.org + sntp/tests/networking.c build fixes + + sntp/tests/Makefile.am@1.39 +2 -1 + sntp/tests/networking.c build fixes + +ChangeSet@1.3427.1.2, 2015-06-18 10:21:18+02:00, viperus@ubuntu.(none) + caljulian.c: + included malloc.h to avoid implicit declaration + + tests/libntp/caljulian.c@1.5 +1 -0 + included malloc.h to avoid implicit declaration + + tests/libntp/run-caljulian.c@1.6 +4 -4 + +ChangeSet@1.3427.1.1, 2015-06-18 10:09:02+02:00, viperus@ubuntu.(none) + ssl_init.c: + fixing a test bug with #ifdef OPENSSL + + tests/libntp/run-ssl_init.c@1.1.1.1 +2 -0 + + tests/libntp/ssl_init.c@1.2.1.1 +5 -2 + fixing a test bug with #ifdef OPENSSL + +ChangeSet@1.3428, 2015-06-18 08:05:23+00:00, stenn@psp-at1.ntp.org + Unity ssl_init typo fix + + tests/libntp/run-ssl_init.c@1.2 +2 -0 + Unity ssl_init typo fix + + tests/libntp/ssl_init.c@1.3 +1 -1 + Unity ssl_init typo fix + +ChangeSet@1.3427, 2015-06-18 07:55:11+00:00, stenn@psp-at1.ntp.org + Unity update to sntp/Makefile.am + + sntp/Makefile.am@1.84 +0 -2 + Unity update to sntp/Makefile.am + +ChangeSet@1.3426, 2015-06-18 07:49:21+00:00, stenn@psp-at1.ntp.org + Unity cleanup + + BitKeeper/deleted/46/run-test-keyFile.c~4bf68803bc8e2c40@1.2 +0 -0 + Delete: sntp/tests/run-test-keyFile.c + + BitKeeper/deleted/56/run-test-kodDatabase.c~d8bb8b62b1e08d30@1.2 +0 -0 + Delete: sntp/tests/run-test-kodDatabase.c + + BitKeeper/deleted/fc/run-test-networking.c~b2cd2d50f3d83a90@1.2 +0 -0 + Delete: sntp/tests/run-test-networking.c + + sntp/tests/Makefile.am@1.38 +19 -17 + Unity cleanup + +ChangeSet@1.3425, 2015-06-18 09:06:24+02:00, viperus@ubuntu.(none) + removing duplicate file + + BitKeeper/deleted/61/socktoa.cpp~151e8671c6e040ac@1.3 +0 -0 + Delete: tests/libntp/socktoa.cpp + +ChangeSet@1.3424, 2015-06-18 09:04:46+02:00, viperus@ubuntu.(none) + run-keyFile.c, run-networking.c, run-kodDatabase.c: + new file + Makefile.am: + hopefully fixing bug-2852 + + sntp/tests/run-keyFile.c@1.1 +49 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-keyFile.c + + sntp/tests/run-keyFile.c@1.0 +0 -0 + + sntp/tests/run-kodDatabase.c@1.1 +59 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-kodDatabase.c + + sntp/tests/run-kodDatabase.c@1.0 +0 -0 + + sntp/tests/run-networking.c@1.1 +49 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-networking.c + + sntp/tests/run-networking.c@1.0 +0 -0 + + tests/libntp/Makefile.am@1.68 +1 -1 + hopefully fixing bug-2852 + +ChangeSet@1.3423, 2015-06-17 19:45:59+02:00, viperus@ubuntu.(none) + clocktime.c: + fixed the warning about implicit declaration, because mike_t said so, and mike_t is a wizard XD + bug-2803.c: + added declarations at the top of the file to fix warnings + + tests/bug-2803/bug-2803.c@1.5 +4 -1 + added declarations at the top of the file to fix warnings + + tests/bug-2803/run-bug-2803.c@1.5 +4 -2 + + tests/libntp/clocktime.c@1.2 +6 -0 + fixed the warning about implicit declaration, because mike_t said so, and mike_t is a wizard XD + + tests/libntp/run-clocktime.c@1.3 +8 -8 + +ChangeSet@1.3422, 2015-06-17 13:26:20+02:00, viperus@ubuntu.(none) + Makefile.am: + minor cleanup + + sntp/tests/Makefile.am@1.37 +2 -2 + minor cleanup + +ChangeSet@1.3421, 2015-06-17 13:17:39+02:00, viperus@ubuntu.(none) + run-ssl_init.c: + new file + ssl_init.c: + fix for minor #else warning + Makefile.am: + modified /sntp/tests/Makefile.am so it is consistent to harlans /tests/libntp/Makefile.am changes, including the run-test-* -> run-* + fixed the stuff I broke with automerge XD + + sntp/tests/Makefile.am@1.36 +18 -17 + modified /sntp/tests/Makefile.am so it is consistent to harlans /tests/libntp/Makefile.am changes, including the run-test-* -> run-* + + tests/libntp/Makefile.am@1.67 +15 -9 + fixed the stuff I broke with automerge XD + + tests/libntp/run-ssl_init.c@1.1 +57 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-ssl_init.c + + tests/libntp/run-ssl_init.c@1.0 +0 -0 + + tests/libntp/ssl_init.c@1.2 +2 -1 + fix for minor #else warning + +ChangeSet@1.3413.2.1, 2015-06-17 15:12:46+05:30, loki@dadasgift.(none) + Changes for & tests + + tests/libntp/Makefile.am@1.64.2.1 +41 -3 + + tests/libntp/g_lfptostr.cpp@1.1 +103 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/g_lfptostr.cpp + + tests/libntp/g_lfptostr.cpp@1.0 +0 -0 + + tests/libntp/g_strtolfp.cpp@1.1 +107 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/g_strtolfp.cpp + + tests/libntp/g_strtolfp.cpp@1.0 +0 -0 + + tests/libntp/lfptostr.c@1.1 +102 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/lfptostr.c + + tests/libntp/lfptostr.c@1.0 +0 -0 + + tests/libntp/strtolfp.c@1.1 +112 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/strtolfp.c + + tests/libntp/strtolfp.c@1.0 +0 -0 + +ChangeSet@1.3419, 2015-06-17 11:30:50+02:00, viperus@ubuntu.(none) + Many files: + new file + Makefile.am: + removed keyFile test from check_Programs for now + + sntp/tests/Makefile.am@1.35 +19 -2 + removed keyFile test from check_Programs for now + + sntp/tests/c_fileHandlingTest.h@1.1 +63 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/c_fileHandlingTest.h + + sntp/tests/c_fileHandlingTest.h@1.0 +0 -0 + + sntp/tests/keyFile.c@1.1 +136 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/keyFile.c + + sntp/tests/keyFile.c@1.0 +0 -0 + + sntp/tests/kodDatabase.c@1.1 +126 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/kodDatabase.c + + sntp/tests/kodDatabase.c@1.0 +0 -0 + + sntp/tests/run-test-keyFile.c@1.1 +49 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-test-keyFile.c + + sntp/tests/run-test-keyFile.c@1.0 +0 -0 + + sntp/tests/run-test-kodDatabase.c@1.1 +59 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-test-kodDatabase.c + + sntp/tests/run-test-kodDatabase.c@1.0 +0 -0 + +ChangeSet@1.3418, 2015-06-17 11:03:42+02:00, viperus@ubuntu.(none) + g_kodDatabase.cpp: + Rename: sntp/tests/kodDatabase.cpp -> sntp/tests/g_kodDatabase.cpp + g_networking.cpp: + Rename: sntp/tests/networking.cpp -> sntp/tests/g_networking.cpp + Makefile.am: + renamed *.cpp files to g_*.cpp + + sntp/tests/Makefile.am@1.34 +2 -2 + renamed *.cpp files to g_*.cpp + + sntp/tests/g_kodDatabase.cpp@1.4 +0 -0 + Rename: sntp/tests/kodDatabase.cpp -> sntp/tests/g_kodDatabase.cpp + + sntp/tests/g_networking.cpp@1.9 +0 -0 + Rename: sntp/tests/networking.cpp -> sntp/tests/g_networking.cpp + +ChangeSet@1.3417, 2015-06-17 10:59:42+02:00, viperus@ubuntu.(none) + Makefile.am: + builds another test + added ../version.c so kodDatabase builds. Should be done via a rule, needs fixing! + added c_fileHandlingTest.h to noinst_HEADERS + GTEST_AVAILABLE check moved into /sntp/tests/Makefile.am so unity tests can be run + + sntp/Makefile.am@1.83 +2 -2 + GTEST_AVAILABLE check moved into /sntp/tests/Makefile.am so unity tests can be run + + sntp/tests/Makefile.am@1.33 +7 -5 + added ../version.c so kodDatabase builds. Should be done via a rule, needs fixing! + + sntp/tests/Makefile.am@1.32 +21 -1 + builds another test + + sntp/tests/Makefile.am@1.31 +1 -0 + added c_fileHandlingTest.h to noinst_HEADERS + +ChangeSet@1.3413.1.1, 2015-06-17 04:05:10-04:00, stenn@deacon.udel.edu + clean up unity test names + + BitKeeper/deleted/b6/Makefile-~7d9ad3536b5db654@1.2 +0 -0 + Delete: tests/bug-2803/Makefile- + + BitKeeper/deleted/b8/test-2803.c~ba74ad843e357700@1.2 +0 -0 + Delete: tests/bug-2803/test-2803.c + + bootstrap@1.49 +2 -2 + clean up unity test names + + tests/bug-2803/Makefile.am@1.11 +3 -3 + clean up unity test names + + tests/bug-2803/bug-2803.c@1.4 +0 -0 + Rename: tests/bug-2803/ut-2803.c -> tests/bug-2803/bug-2803.c + + tests/libntp/Makefile.am@1.64.1.1 +194 -194 + clean up unity test names + + tests/libntp/run-a_md5encrypt.c@1.8 +0 -0 + Rename: tests/libntp/run-test-a_md5encrypt.c -> tests/libntp/run-a_md5encrypt.c + + tests/libntp/run-atoint.c@1.6 +0 -0 + Rename: tests/libntp/run-test-atoint.c -> tests/libntp/run-atoint.c + + tests/libntp/run-atouint.c@1.6 +0 -0 + Rename: tests/libntp/run-test-atouint.c -> tests/libntp/run-atouint.c + + tests/libntp/run-authkeys.c@1.7 +0 -0 + Rename: tests/libntp/run-test-authkeys.c -> tests/libntp/run-authkeys.c + + tests/libntp/run-calendar.c@1.3 +0 -0 + Rename: tests/libntp/run-test-calendar.c -> tests/libntp/run-calendar.c + + tests/libntp/run-caljulian.c@1.5 +0 -0 + Rename: tests/libntp/run-test-caljulian.c -> tests/libntp/run-caljulian.c + + tests/libntp/run-calyearstart.c@1.3 +0 -0 + Rename: tests/libntp/run-test-calyearstart.c -> tests/libntp/run-calyearstart.c + + tests/libntp/run-clocktime.c@1.2 +0 -0 + Rename: tests/libntp/run-test-clocktime.c -> tests/libntp/run-clocktime.c + + tests/libntp/run-decodenetnum.c@1.2 +0 -0 + Rename: tests/libntp/run-test-decodenetnum.c -> tests/libntp/run-decodenetnum.c + + tests/libntp/run-hextoint.c@1.6 +0 -0 + Rename: tests/libntp/run-test-hextoint.c -> tests/libntp/run-hextoint.c + + tests/libntp/run-hextolfp.c@1.2 +0 -0 + Rename: tests/libntp/run-test-hextolfp.c -> tests/libntp/run-hextolfp.c + + tests/libntp/run-lfpfunc.c@1.8 +0 -0 + Rename: tests/libntp/run-test-lfpfunc.c -> tests/libntp/run-lfpfunc.c + + tests/libntp/run-modetoa.c@1.7 +0 -0 + Rename: tests/libntp/run-test-modetoa.c -> tests/libntp/run-modetoa.c + + tests/libntp/run-netof.c@1.2 +0 -0 + Rename: tests/libntp/run-test-netof.c -> tests/libntp/run-netof.c + + tests/libntp/run-numtoa.c@1.6 +0 -0 + Rename: tests/libntp/run-test-numtoa.c -> tests/libntp/run-numtoa.c + + tests/libntp/run-numtohost.c@1.6 +0 -0 + Rename: tests/libntp/run-test-numtohost.c -> tests/libntp/run-numtohost.c + + tests/libntp/run-octtoint.c@1.3 +0 -0 + Rename: tests/libntp/run-test-octtoint.c -> tests/libntp/run-octtoint.c + + tests/libntp/run-refnumtoa.c@1.2 +0 -0 + Rename: tests/libntp/run-test-refnumtoa.c -> tests/libntp/run-refnumtoa.c + + tests/libntp/run-socktoa.c@1.2.1.1 +0 -0 + Rename: tests/libntp/run-test-socktoa.c -> tests/libntp/run-socktoa.c + + tests/libntp/run-statestr.c@1.6 +0 -0 + Rename: tests/libntp/run-test-statestr.c -> tests/libntp/run-statestr.c + + tests/libntp/run-timespecops.c@1.2 +0 -0 + Rename: tests/libntp/run-test-timespecops.c -> tests/libntp/run-timespecops.c + + tests/libntp/run-timevalops.c@1.4 +0 -0 + Rename: tests/libntp/run-test-timevalops.c -> tests/libntp/run-timevalops.c + + tests/libntp/run-uglydate.c@1.6 +0 -0 + Rename: tests/libntp/run-test-uglydate.c -> tests/libntp/run-uglydate.c + + tests/libntp/run-vi64ops.c@1.2 +0 -0 + Rename: tests/libntp/run-test-vi64ops.c -> tests/libntp/run-vi64ops.c + + tests/libntp/run-ymd2yd.c@1.6 +0 -0 + Rename: tests/libntp/run-test-ymd2yd.c -> tests/libntp/run-ymd2yd.c + + tests/sandbox/Makefile.am@1.3 +19 -20 + clean up unity test names + + tests/sandbox/run-modetoa.c@1.2 +0 -0 + Rename: tests/sandbox/run-second-test.c -> tests/sandbox/run-modetoa.c + + tests/sandbox/run-uglydate.c@1.2 +0 -0 + Rename: tests/sandbox/run-first-test.c -> tests/sandbox/run-uglydate.c + +ChangeSet@1.3416, 2015-06-17 09:35:55+02:00, viperus@ubuntu.(none) + run-test-networking.c, c_sntptest.h: + new file + networking.c: + added c_sntptest.h include + Makefile.am: + modified so Makefile.am runs unity tests and gtests + + sntp/tests/Makefile.am@1.30 +24 -9 + modified so Makefile.am runs unity tests and gtests + + sntp/tests/c_sntptest.h@1.1 +32 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/c_sntptest.h + + sntp/tests/c_sntptest.h@1.0 +0 -0 + + sntp/tests/networking.c@1.2 +4 -1 + added c_sntptest.h include + + sntp/tests/run-test-networking.c@1.1 +49 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/run-test-networking.c + + sntp/tests/run-test-networking.c@1.0 +0 -0 + +ChangeSet@1.3415, 2015-06-17 08:47:17+02:00, viperus@ubuntu.(none) + networking.c: + new file + Makefile.am: + started adding unity test framework support + + sntp/tests/Makefile.am@1.29 +36 -1 + started adding unity test framework support + + sntp/tests/networking.c@1.1 +4 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/sntp/tests/networking.c + + sntp/tests/networking.c@1.0 +0 -0 + +ChangeSet@1.3414, 2015-06-17 07:45:38+02:00, viperus@ubuntu.(none) + ssl_init.c, run-test-ssl_init.c: + new file + Makefile.am: + added ssl-init.c building + g_ssl_init.cpp: + Rename: tests/libntp/ssl_init.cpp -> tests/libntp/g_ssl_init.cpp + + tests/libntp/Makefile.am@1.65 +21 -2 + added ssl-init.c building + + tests/libntp/g_ssl_init.cpp@1.4 +0 -0 + Rename: tests/libntp/ssl_init.cpp -> tests/libntp/g_ssl_init.cpp + + tests/libntp/run-test-socktoa.c@1.3 +1 -1 + + tests/libntp/run-test-ssl_init.c@1.1 +57 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-ssl_init.c + + tests/libntp/run-test-ssl_init.c@1.0 +0 -0 + + tests/libntp/ssl_init.c@1.1 +53 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/ssl_init.c + + tests/libntp/ssl_init.c@1.0 +0 -0 + +ChangeSet@1.3413, 2015-06-16 18:48:26+02:00, viperus@ubuntu.(none) + socktoa.c: + added new function which replaces EXPECT_NE from gtest + + tests/libntp/run-test-socktoa.c@1.2 +1 -1 + + tests/libntp/socktoa.c@1.2 +4 -0 + added new function which replaces EXPECT_NE from gtest + +ChangeSet@1.3412, 2015-06-16 18:29:22+02:00, viperus@ubuntu.(none) + forgot to rename old .cpp file + + tests/libntp/g_timespecops.cpp@1.9 +0 -0 + Rename: tests/libntp/timespecops.cpp -> tests/libntp/g_timespecops.cpp + +ChangeSet@1.3411, 2015-06-16 18:26:31+02:00, viperus@ubuntu.(none) + timespecops.c : 95% done, lacks printf error messages. Contains 2 unity_helper functions which should be moved ot unity_helper.h + + tests/libntp/Makefile.am@1.64 +19 -1 + + tests/libntp/run-test-timespecops.c@1.1 +105 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-timespecops.c + + tests/libntp/run-test-timespecops.c@1.0 +0 -0 + + tests/libntp/run-test-timevalops.c@1.3 +5 -1 + + tests/libntp/timespecops.c@1.1 +588 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/timespecops.c + + tests/libntp/timespecops.c@1.0 +0 -0 + + tests/libntp/timevalops.c@1.4 +9 -9 + forgot to uncomment a few converted functions + +ChangeSet@1.3410, 2015-06-16 16:45:06+02:00, viperus@ubuntu.(none) + timevalops.c: + 95% done, a few printfs in case of an error have to be converted + + tests/libntp/run-test-timevalops.c@1.2 +32 -20 + + tests/libntp/timevalops.c@1.3 +81 -45 + 95% done, a few printfs in case of an error have to be converted + +ChangeSet@1.3409, 2015-06-16 15:33:51+02:00, viperus@ubuntu.(none) + timevalops.c: + replaced TEST_ASSERT_EQUAL_INT64 with TEST_ASSERT_EQUAL() (TEST_ASSER_EQUAL_INT() also autodetects 32 bit or 64 bit long int, which time_t uses) + + tests/libntp/timevalops.c@1.2 +1 -1 + replaced TEST_ASSERT_EQUAL_INT64 with TEST_ASSERT_EQUAL() (TEST_ASSER_EQUAL_INT() also autodetects 32 bit or 64 bit long int, which time_t uses) + +ChangeSet@1.3408, 2015-06-16 12:46:58+02:00, viperus@ubuntu.(none) + Makefile.am: + added building timevalops.c + run-test-timevalops.c, timevalops.c: + new file + lfpfunc.c: + removed sstream + g_timevalops.cpp: + Rename: tests/libntp/timevalops.cpp -> tests/libntp/g_timevalops.cpp + + tests/libntp/Makefile.am@1.63 +20 -1 + added building timevalops.c + + tests/libntp/g_timevalops.cpp@1.9 +0 -0 + Rename: tests/libntp/timevalops.cpp -> tests/libntp/g_timevalops.cpp + + tests/libntp/lfpfunc.c@1.5 +1 -2 + removed sstream + + tests/libntp/run-test-lfpfunc.c@1.7 +9 -9 + + tests/libntp/run-test-timevalops.c@1.1 +89 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-timevalops.c + + tests/libntp/run-test-timevalops.c@1.0 +0 -0 + + tests/libntp/timevalops.c@1.1 +564 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/timevalops.c + + tests/libntp/timevalops.c@1.0 +0 -0 + +ChangeSet@1.3407, 2015-06-16 01:29:44+02:00, viperus@ubuntu.(none) + Makefile.am: + added -lpthread to decodenetnum_LDADD. Temporary solution, until I get an answer from jnperlin + + tests/libntp/Makefile.am@1.62 +1 -0 + added -lpthread to decodenetnum_LDADD. Temporary solution, until I get an answer from jnperlin + +ChangeSet@1.3406, 2015-06-16 00:54:42+02:00, viperus@ubuntu.(none) + c_sockaddrtest.h: + removed stuff like 1==1 with TRUE. Also added cin cout stuff, should be replaced b + Many files: + new file + Makefile.am: + fixes to Lokesh-Damir merge, added new .h to noinst_SOURCES + c_lfptest.h: + put the static vars back in here, removed them from hextolfp.c, because more files will need them. + hextolfp.c: + removed static consts, placed them in c_lpftest.h + octtoint.c: + removed outdates testcalshims.h, replaced with required includes + + tests/libntp/Makefile.am@1.61 +62 -45 + fixes to Lokesh-Damir merge, added new .h to noinst_SOURCES + + tests/libntp/c_lfptest.h@1.2 +15 -2 + put the static vars back in here, removed them from hextolfp.c, because more files will need them. + + tests/libntp/c_sockaddrtest.h@1.2 +14 -6 + removed stuff like 1==1 with TRUE. Also added cin cout stuff, should be replaced b + + tests/libntp/hextolfp.c@1.3 +0 -7 + removed static consts, placed them in c_lpftest.h + + tests/libntp/octtoint.c@1.2 +4 -1 + removed outdates testcalshims.h, replaced with required includes + + tests/libntp/run-test-decodenetnum.c@1.1 +61 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-decodenetnum.c + + tests/libntp/run-test-decodenetnum.c@1.0 +0 -0 + + tests/libntp/run-test-hextolfp.c@1.1 +61 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-hextolfp.c + + tests/libntp/run-test-hextolfp.c@1.0 +0 -0 + + tests/libntp/run-test-netof.c@1.1 +57 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-netof.c + + tests/libntp/run-test-netof.c@1.0 +0 -0 + + tests/libntp/run-test-octtoint.c@1.2 +11 -8 + + tests/libntp/run-test-socktoa.c@1.1 +61 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-socktoa.c + + tests/libntp/run-test-socktoa.c@1.0 +0 -0 + +ChangeSet@1.3383.1.7, 2015-06-15 23:53:38+05:30, loki@dadasgift.(none) + Changes wrt to test + + tests/libntp/Makefile.am@1.59 +27 -8 + + tests/libntp/g_socktoa.cpp@1.1 +100 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/g_socktoa.cpp + + tests/libntp/g_socktoa.cpp@1.0 +0 -0 + + tests/libntp/socktoa.c@1.1 +103 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/socktoa.c + + tests/libntp/socktoa.c@1.0 +0 -0 + +ChangeSet@1.3383.1.6, 2015-06-15 11:59:18+05:30, loki@dadasgift.(none) + Changes for test + + tests/libntp/Makefile.am@1.58 +16 -3 + + tests/libntp/decodenetnum.c@1.1 +96 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/decodenetnum.c + + tests/libntp/decodenetnum.c@1.0 +0 -0 + + tests/libntp/g_decodenetnum.cpp@1.1 +93 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/g_decodenetnum.cpp + + tests/libntp/g_decodenetnum.cpp@1.0 +0 -0 + +ChangeSet@1.3383.1.5, 2015-06-15 11:21:38+05:30, loki@dadasgift.(none) + Changes wrt to test + + tests/libntp/c_lfptest.h@1.1 +17 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/c_lfptest.h + + tests/libntp/c_lfptest.h@1.0 +0 -0 + + tests/libntp/hextolfp.c@1.2 +24 -17 + + tests/libntp/lfptest.h@1.5 +0 -23 + +ChangeSet@1.3383.1.4, 2015-06-15 11:05:04+05:30, loki@dadasgift.(none) + Changes for tests + + tests/libntp/c_sockaddrtest.h@1.1 +49 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/c_sockaddrtest.h + + tests/libntp/c_sockaddrtest.h@1.0 +0 -0 + + tests/libntp/netof.c@1.2 +1 -1 + + tests/libntp/sockaddrtest.h@1.3 +0 -52 + +ChangeSet@1.3391.1.6, 2015-06-15 01:34:31+02:00, tomek@tomek-n56vz.(none) + Makefile.am: + fixed double definition of something + + tests/libntp/Makefile.am@1.54.3.3 +0 -6 + fixed double definition of something + +ChangeSet@1.3391.1.5, 2015-06-15 01:12:49+02:00, tomek@tomek-n56vz.(none) + Makefile.am: + missing backslashes added + + tests/libntp/Makefile.am@1.54.3.2 +10 -10 + missing backslashes added + +ChangeSet@1.3391.1.4, 2015-06-15 00:51:33+02:00, tomek@tomek-n56vz.(none) + vi64ops.c: + used a simpler assertion + + tests/libntp/vi64ops.c@1.2 +6 -6 + used a simpler assertion + +ChangeSet@1.3391.1.3, 2015-06-15 00:49:59+02:00, tomek@tomek-n56vz.(none) + used TEST_ASSERT_NULL instead of ASSERT_TRUE(ptr == NULL) in test/libntp/recvbuff.c + + tests/libntp/recvbuff.c@1.2 +1 -1 + +ChangeSet@1.3391.1.2, 2015-06-15 00:45:57+02:00, tomek@tomek-n56vz.(none) + edited a makefile in test/libntp to build those tests + + tests/libntp/Makefile.am@1.54.3.1 +108 -7 + +ChangeSet@1.3391.1.1, 2015-06-15 00:42:12+02:00, tomek@tomek-n56vz.(none) + converted a bunch of test from GTest to Unity in test/libntp/ + + BitKeeper/deleted/5b/msyslog.c~2253255e7e9701a2@1.2 +0 -0 + Delete: tests/libntp/msyslog.c + + tests/libntp/msyslog.c@1.1 +137 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/msyslog.c + + tests/libntp/msyslog.c@1.0 +0 -0 + + BitKeeper/deleted/5e/prettydate.cpp~f50578082d92e04@1.4 +0 -0 + Delete: tests/libntp/prettydate.cpp + + BitKeeper/deleted/8d/tstotv.cpp~44f3d9a5f5de991@1.3 +0 -0 + Delete: tests/libntp/tstotv.cpp + + BitKeeper/deleted/a9/recvbuff.cpp~64ef3a6926361d4@1.2 +0 -0 + Delete: tests/libntp/recvbuff.cpp + + BitKeeper/deleted/bb/caltontp.cpp~625109d015181aab@1.2 +0 -0 + Delete: tests/libntp/caltontp.cpp + + BitKeeper/deleted/d2/vi64ops.cpp~8587c242374ab4ce@1.1.1.1 +0 -0 + Delete: tests/libntp/vi64ops.cpp + + BitKeeper/deleted/e2/msyslog.cpp~439edfb748fb30dd@1.4 +0 -0 + Delete: tests/libntp/msyslog.cpp + + tests/libntp/caltontp.c@1.1 +48 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/caltontp.c + + tests/libntp/caltontp.c@1.0 +0 -0 + + tests/libntp/g_caltontp.cpp@1.1 +49 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/g_caltontp.cpp + + tests/libntp/g_caltontp.cpp@1.0 +0 -0 + + tests/libntp/g_msyslog.cpp@1.1 +137 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/g_msyslog.cpp + + tests/libntp/g_msyslog.cpp@1.0 +0 -0 + + tests/libntp/g_prettydate.cpp@1.1 +16 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/g_prettydate.cpp + + tests/libntp/g_prettydate.cpp@1.0 +0 -0 + + tests/libntp/g_recvbuff.cpp@1.1 +38 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/g_recvbuff.cpp + + tests/libntp/g_recvbuff.cpp@1.0 +0 -0 + + tests/libntp/g_tstotv.cpp@1.1 +57 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/g_tstotv.cpp + + tests/libntp/g_tstotv.cpp@1.0 +0 -0 + + tests/libntp/g_vi64ops.cpp@1.1 +64 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/g_vi64ops.cpp + + tests/libntp/g_vi64ops.cpp@1.0 +0 -0 + + tests/libntp/msyslog.c@1.1 +137 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/msyslog.c + + tests/libntp/msyslog.c@1.0 +0 -0 + + tests/libntp/prettydate.c@1.1 +16 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/prettydate.c + + tests/libntp/prettydate.c@1.0 +0 -0 + + tests/libntp/recvbuff.c@1.1 +43 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/recvbuff.c + + tests/libntp/recvbuff.c@1.0 +0 -0 + + tests/libntp/run-test-caltontp.c@1.1 +57 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/run-test-caltontp.c + + tests/libntp/run-test-caltontp.c@1.0 +0 -0 + + tests/libntp/run-test-msyslog.c@1.1 +65 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/run-test-msyslog.c + + tests/libntp/run-test-msyslog.c@1.0 +0 -0 + + tests/libntp/run-test-prettydate.c@1.1 +51 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/run-test-prettydate.c + + tests/libntp/run-test-prettydate.c@1.0 +0 -0 + + tests/libntp/run-test-recvbuff.c@1.1 +55 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/run-test-recvbuff.c + + tests/libntp/run-test-recvbuff.c@1.0 +0 -0 + + tests/libntp/run-test-tstotv.c@1.1 +55 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/run-test-tstotv.c + + tests/libntp/run-test-tstotv.c@1.0 +0 -0 + + tests/libntp/run-test-vi64ops.c@1.1 +55 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/run-test-vi64ops.c + + tests/libntp/run-test-vi64ops.c@1.0 +0 -0 + + tests/libntp/tstotv.c@1.1 +42 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/tstotv.c + + tests/libntp/tstotv.c@1.0 +0 -0 + + tests/libntp/vi64ops.c@1.1 +52 -0 + BitKeeper file /home/tomek/ntp/kod/harlans/ntp-stable-unity/tests/libntp/vi64ops.c + + tests/libntp/vi64ops.c@1.0 +0 -0 + +ChangeSet@1.3404, 2015-06-14 19:01:51+02:00, viperus@ubuntu.(none) + Makefile.am: + added -lpthread to test_caljuliaj_LDADD, because it's not in $(PTHREAD_LIBS) + + tests/libntp/Makefile.am@1.54.1.9 +1 -0 + added -lpthread to test_caljuliaj_LDADD, because it's not in $(PTHREAD_LIBS) + +ChangeSet@1.3403, 2015-06-14 18:42:02+02:00, viperus@ubuntu.(none) + Makefile.am: + added test-libntp.h in noinst_HEADERS, otherwise you can't build make distcheck on my ubuntu + + tests/libntp/Makefile.am@1.54.1.8 +1 -0 + added test-libntp.h in noinst_HEADERS, otherwise you can't build make distcheck on my ubuntu + +ChangeSet@1.3402, 2015-06-14 18:34:38+02:00, viperus@ubuntu.(none) + testlibntp.c: + Rename: tests/libntp/test-libntp.c -> tests/libntp/testlibntp.c + testlibntp.h: + Rename: tests/libntp/test-libntp.h -> tests/libntp/testlibntp.h + test-libntp.h: + Rename: tests/libntp/testlibntp.h -> tests/libntp/test-libntp.h + test-libntp.c: + Rename: tests/libntp/testlibntp.c -> tests/libntp/test-libntp.c + + tests/libntp/test-libntp.c@1.6 +0 -0 + Rename: tests/libntp/testlibntp.c -> tests/libntp/test-libntp.c + + tests/libntp/testlibntp.c@1.5 +0 -0 + Rename: tests/libntp/test-libntp.c -> tests/libntp/testlibntp.c + + tests/libntp/test-libntp.h@1.4 +0 -0 + Rename: tests/libntp/testlibntp.h -> tests/libntp/test-libntp.h + + tests/libntp/testlibntp.h@1.3 +0 -0 + Rename: tests/libntp/test-libntp.h -> tests/libntp/testlibntp.h + +ChangeSet@1.3401, 2015-06-14 16:17:06+00:00, viperus@psp-deb1.ntp.org + Makefile.am: + removed the folder /unity-framework/ + + Makefile.am@1.131 +0 -1 + removed the folder /unity-framework/ + +ChangeSet@1.3400, 2015-06-14 16:14:29+00:00, viperus@psp-deb1.ntp.org + ProductionCode.h~fac233823798db21: + Delete: tests/unity-framework/ProductionCode.h + TestProductionCode.c~4b9dea2fdb531435: + Delete: tests/unity-framework/TestProductionCode.c + TestProductionCode_Runner.c~41a4ba4b8da8c72e: + Delete: tests/unity-framework/TestProductionCode_Runner.c + ProductionCode.c~2c2bc4c32341b018: + Delete: tests/unity-framework/ProductionCode.c + + BitKeeper/deleted/87/TestProductionCode.c~4b9dea2fdb531435@1.2 +0 -0 + Delete: tests/unity-framework/TestProductionCode.c + + BitKeeper/deleted/88/ProductionCode.h~fac233823798db21@1.2 +0 -0 + Delete: tests/unity-framework/ProductionCode.h + + BitKeeper/deleted/ae/ProductionCode.c~2c2bc4c32341b018@1.2 +0 -0 + Delete: tests/unity-framework/ProductionCode.c + + BitKeeper/deleted/af/TestProductionCode_Runner.c~41a4ba4b8da8c72e@1.2 +0 -0 + Delete: tests/unity-framework/TestProductionCode_Runner.c + +ChangeSet@1.3383.1.3, 2015-06-14 20:28:01+05:30, loki@dadasgift.(none) + Files related to test + + tests/libntp/Makefile.am@1.57 +19 -2 + + tests/libntp/sockaddrtest.h@1.2 +53 -0 + +ChangeSet@1.3383.1.2, 2015-06-14 20:26:51+05:30, loki@dadasgift.(none) + Files related to test + + tests/libntp/g_netof.cpp@1.1 +69 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/g_netof.cpp + + tests/libntp/g_netof.cpp@1.0 +0 -0 + + tests/libntp/netof.c@1.1 +74 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/netof.c + + tests/libntp/netof.c@1.0 +0 -0 + +ChangeSet@1.3399, 2015-06-14 12:22:39+00:00, viperus@psp-at1.ntp.org + g_calendar.cpp: + Rename: tests/libntp/calendar.cpp -> tests/libntp/g_calendar.cpp + Makefile.am: + renamed calendar.cpp to g_calendar.cpp, reflecting changes in Makefile.am + + tests/libntp/Makefile.am@1.54.1.7 +2 -1 + renamed calendar.cpp to g_calendar.cpp, reflecting changes in Makefile.am + + tests/libntp/g_calendar.cpp@1.2 +0 -0 + Rename: tests/libntp/calendar.cpp -> tests/libntp/g_calendar.cpp + +ChangeSet@1.3398, 2015-06-14 11:56:02+02:00, viperus@ubuntu.(none) + bug-2803.h~388af97e65bf386e: + Delete: tests/bug-2803/bug-2803.h + TestProductionCode_Runner.c~1dd6cbb7f125c42a: + Delete: tests/bug-2803/TestProductionCode_Runner.c + bug-2803.c~75ddf194e9fda1b8: + Delete: tests/bug-2803/bug-2803.c + Makefile.am: + removed outdated files + ut-2803.c: + merged with bug-2803.c|h, they are obsolete now + + BitKeeper/deleted/52/bug-2803.h~388af97e65bf386e@1.2 +0 -0 + Delete: tests/bug-2803/bug-2803.h + + BitKeeper/deleted/e9/TestProductionCode_Runner.c~1dd6cbb7f125c42a@1.3 +0 -0 + Delete: tests/bug-2803/TestProductionCode_Runner.c + + tests/bug-2803/TestProductionCode_Runner.c@1.2 +9 -25 + + BitKeeper/deleted/f4/bug-2803.c~75ddf194e9fda1b8@1.4 +0 -0 + Delete: tests/bug-2803/bug-2803.c + + tests/bug-2803/Makefile.am@1.10 +0 -2 + removed outdated files + + tests/bug-2803/run-bug-2803.c@1.4 +1 -1 + + tests/bug-2803/ut-2803.c@1.3 +100 -10 + merged with bug-2803.c|h, they are obsolete now + +ChangeSet@1.3397, 2015-06-14 11:34:05+02:00, viperus@ubuntu.(none) + calendar.c: + forgot to return 2 functions + + tests/libntp/calendar.c@1.2 +3 -18 + forgot to return 2 functions + + tests/libntp/run-test-calendar.c@1.2 +11 -11 + +ChangeSet@1.3396, 2015-06-14 11:26:43+02:00, viperus@ubuntu.(none) + caljulian.c: + removed an unnecessary printf + run-test-calendar.c, calendar.c: + new file + Makefile.am: + now builds calendar.c as well + + tests/libntp/Makefile.am@1.54.1.6 +23 -0 + now builds calendar.c as well + + tests/libntp/calendar.c@1.1 +431 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/calendar.c + + tests/libntp/calendar.c@1.0 +0 -0 + + tests/libntp/caljulian.c@1.4 +0 -1 + removed an unnecessary printf + + tests/libntp/run-test-calendar.c@1.1 +71 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-calendar.c + + tests/libntp/run-test-calendar.c@1.0 +0 -0 + + tests/libntp/run-test-caljulian.c@1.4 +4 -4 + +ChangeSet@1.3395, 2015-06-14 10:24:54+02:00, viperus@ubuntu.(none) + Makefile.am: + removed run-test-libntp.c, unncecessary + run-test-libntp.c~b495db21713a6587: + Delete: tests/libntp/run-test-libntp.c + + BitKeeper/deleted/78/run-test-libntp.c~b495db21713a6587@1.3 +0 -0 + Delete: tests/libntp/run-test-libntp.c + + tests/libntp/Makefile.am@1.54.1.5 +0 -1 + removed run-test-libntp.c, unncecessary + + tests/libntp/run-test-caljulian.c@1.3 +4 -4 + +ChangeSet@1.3394, 2015-06-14 10:05:45+02:00, viperus@ubuntu.(none) + caljulian.c: + minor cleanup + Makefile.am: + mereged with Harlan's Makefile.am@1.55 version. + + tests/libntp/Makefile.am@1.54.1.4 +162 -134 + mereged with Harlan's Makefile.am@1.55 version. + + tests/libntp/caljulian.c@1.3 +2 -9 + minor cleanup + +ChangeSet@1.3393, 2015-06-14 08:29:55+02:00, viperus@ubuntu.(none) + caljulian.c: + fixed printf in case of an error + + tests/libntp/caljulian.c@1.2 +24 -4 + fixed printf in case of an error + + tests/libntp/run-test-caljulian.c@1.2 +4 -4 + +ChangeSet@1.3391, 2015-06-14 05:15:48+00:00, stenn@psp-at1.ntp.org + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/ntpq-subs.c@1.108 +5 -4 + [Bug 2778] Implement "apeers" ntpq command to include associd + +ChangeSet@1.3390, 2015-06-14 03:18:13+00:00, stenn@psp-at1.ntp.org + merge cleanup + + ChangeLog@1.1656 +1 -1 + merge cleanup + +ChangeSet@1.3388, 2015-06-14 00:10:48+00:00, stenn@psp-at1.ntp.org + Unity updates + + bootstrap@1.48 +30 -13 + Unity updates + + tests/libntp/Makefile.am@1.54.1.2 +133 -148 + Unity updates + + tests/libntp/a_md5encrypt.c@1.6 +17 -15 + Unity updates + + tests/libntp/run-test-a_md5encrypt.c@1.7 +5 -5 + Unity updates + +ChangeSet@1.3386.1.4, 2015-06-14 01:42:05+02:00, viperus@ubuntu.(none) + forgot to rename the .cpp file + + tests/libntp/g_caljulian.cpp@1.6 +0 -0 + Rename: tests/libntp/caljulian.cpp -> tests/libntp/g_caljulian.cpp + +ChangeSet@1.3386.1.3, 2015-06-14 01:40:35+02:00, viperus@ubuntu.(none) + Many files: + new file + calyearstart.c: + removed the functions from here, put them in test-libntp.c + Makefile.am: + adding support for new tests + g_calyearstart.cpp: + Rename: tests/libntp/calyearstart.cpp -> tests/libntp/g_calyearstart.cpp + g_clocktime.cpp: + Rename: tests/libntp/clocktime.cpp -> tests/libntp/g_clocktime.cpp + test-libntp.h: + added headers for new functions + test-libntp.c: + moved the functions which 3 tests use into this file + run-test-calyearstart.c: + minor update + + tests/libntp/Makefile.am@1.54.2.3 +57 -12 + adding support for new tests + + tests/libntp/caljulian.c@1.1 +101 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/caljulian.c + + tests/libntp/caljulian.c@1.0 +0 -0 + + tests/libntp/calyearstart.c@1.2 +2 -19 + removed the functions from here, put them in test-libntp.c + + tests/libntp/calyearstart.c@1.1 +61 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/calyearstart.c + + tests/libntp/calyearstart.c@1.0 +0 -0 + + tests/libntp/clocktime.c@1.1 +199 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/clocktime.c + + tests/libntp/clocktime.c@1.0 +0 -0 + + tests/libntp/g_calyearstart.cpp@1.4 +0 -0 + Rename: tests/libntp/calyearstart.cpp -> tests/libntp/g_calyearstart.cpp + + tests/libntp/g_clocktime.cpp@1.5 +0 -0 + Rename: tests/libntp/clocktime.cpp -> tests/libntp/g_clocktime.cpp + + tests/libntp/run-test-caljulian.c@1.1 +57 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-caljulian.c + + tests/libntp/run-test-caljulian.c@1.0 +0 -0 + + tests/libntp/run-test-calyearstart.c@1.2 +3 -3 + minor update + + tests/libntp/run-test-calyearstart.c@1.1 +55 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-calyearstart.c + + tests/libntp/run-test-calyearstart.c@1.0 +0 -0 + + tests/libntp/run-test-clocktime.c@1.1 +65 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-clocktime.c + + tests/libntp/run-test-clocktime.c@1.0 +0 -0 + + tests/libntp/test-libntp.c@1.4 +14 -22 + moved the functions which 3 tests use into this file + + tests/libntp/test-libntp.h@1.2 +3 -6 + added headers for new functions + +ChangeSet@1.3386.1.2, 2015-06-14 00:20:14+02:00, viperus@ubuntu.(none) + Makefile.am: + added refnumtoa.c + run-test-vi64ops.c, refnumtoa.c, run-test-refnumtoa.c: + new file + g_refnumtoa.cpp: + Rename: tests/libntp/refnumtoa.cpp -> tests/libntp/g_refnumtoa.cpp + + tests/libntp/Makefile.am@1.54.2.2 +19 -2 + added refnumtoa.c + + tests/libntp/g_refnumtoa.cpp@1.3 +0 -0 + Rename: tests/libntp/refnumtoa.cpp -> tests/libntp/g_refnumtoa.cpp + + tests/libntp/refnumtoa.c@1.1 +63 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/refnumtoa.c + + tests/libntp/refnumtoa.c@1.0 +0 -0 + + tests/libntp/run-test-refnumtoa.c@1.1 +53 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-refnumtoa.c + + tests/libntp/run-test-refnumtoa.c@1.0 +0 -0 + + tests/libntp/run-test-vi64ops.c@1.1 +55 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-vi64ops.c + + tests/libntp/run-test-vi64ops.c@1.0 +0 -0 + +ChangeSet@1.3386.1.1, 2015-06-13 23:35:39+02:00, viperus@ubuntu.(none) + vi64ops.c: + new file + Makefile.am: + added stuff related to vi64ops.c + g_vi64ops.cpp: + Rename: tests/libntp/vi64ops.cpp -> tests/libntp/g_vi64ops.cpp + + tests/libntp/Makefile.am@1.54.2.1 +23 -2 + added stuff related to vi64ops.c + + tests/libntp/g_vi64ops.cpp@1.2 +0 -0 + Rename: tests/libntp/vi64ops.cpp -> tests/libntp/g_vi64ops.cpp + + tests/libntp/vi64ops.c@1.1 +72 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/vi64ops.c + + tests/libntp/vi64ops.c@1.0 +0 -0 + +ChangeSet@1.3387, 2015-06-13 18:35:19+00:00, stenn@psp-at1.ntp.org + Makefile.am unity-related cleanup + + tests/bug-2803/run-bug-2803.c@1.3 +5 -2 + template update + + tests/libntp/Makefile.am@1.54.1.1 +148 -133 + Makefile.am unity-related cleanup + +ChangeSet@1.3385, 2015-06-13 05:28:57-04:00, stenn@deacon.udel.edu + unity notes + + NEWS@1.138 +8 -1 + unity notes + +ChangeSet@1.3384, 2015-06-13 05:16:11-04:00, stenn@deacon.udel.edu + Note that Unity requires ruby, if tests change + + ChangeLog@1.1653 +1 -0 + Note that Unity requires ruby, if tests change + +ChangeSet@1.3370.1.3, 2015-06-13 14:42:51+05:30, loki@dadasgift.(none) + hextolfp test converted to unity + + tests/libntp/Makefile.am@1.56 +19 -2 + + tests/libntp/g_hextolfp.cpp@1.1 +58 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/g_hextolfp.cpp + + tests/libntp/g_hextolfp.cpp@1.0 +0 -0 + + tests/libntp/hextolfp.c@1.1 +61 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/hextolfp.c + + tests/libntp/hextolfp.c@1.0 +0 -0 + + tests/libntp/lfptest.h@1.4 +25 -1 + +ChangeSet@1.3383, 2015-06-13 02:47:12+00:00, stenn@psp-fb1.ntp.org + testcalshims.h cleanup + + tests/libntp/a_md5encrypt.c@1.5 +1 -5 + testcalshims.h cleanup + + tests/libntp/atoint.c@1.3 +4 -1 + testcalshims.h cleanup + + tests/libntp/atouint.c@1.3 +4 -2 + testcalshims.h cleanup + + tests/libntp/authkeys.c@1.6 +5 -3 + testcalshims.h cleanup + + tests/libntp/hextoint.c@1.3 +5 -3 + testcalshims.h cleanup + + tests/libntp/lfpfunc.c@1.4 +4 -13 + testcalshims.h cleanup + + tests/libntp/modetoa.c@1.5 +5 -5 + testcalshims.h cleanup + + tests/libntp/numtoa.c@1.3 +5 -2 + testcalshims.h cleanup + + tests/libntp/numtohost.c@1.3 +4 -2 + testcalshims.h cleanup + + tests/libntp/run-test-a_md5encrypt.c@1.6 +5 -5 + testcalshims.h cleanup + + tests/libntp/run-test-atoint.c@1.5 +6 -6 + testcalshims.h cleanup + + tests/libntp/run-test-atouint.c@1.5 +5 -5 + testcalshims.h cleanup + + tests/libntp/run-test-authkeys.c@1.6 +6 -6 + testcalshims.h cleanup + + tests/libntp/run-test-hextoint.c@1.5 +5 -5 + testcalshims.h cleanup + + tests/libntp/run-test-lfpfunc.c@1.6 +9 -9 + testcalshims.h cleanup + + tests/libntp/run-test-numtoa.c@1.5 +2 -2 + testcalshims.h cleanup + + tests/libntp/run-test-numtohost.c@1.5 +1 -1 + testcalshims.h cleanup + + tests/libntp/run-test-statestr.c@1.5 +4 -4 + testcalshims.h cleanup + + tests/libntp/run-test-ymd2yd.c@1.5 +4 -4 + testcalshims.h cleanup + + tests/libntp/statestr.c@1.3 +6 -5 + testcalshims.h cleanup + + tests/libntp/testcalshims.c@1.4 +4 -1 + testcalshims.h cleanup + + tests/libntp/uglydate.c@1.4 +4 -4 + testcalshims.h cleanup + + tests/libntp/ymd2yd.c@1.3 +5 -1 + testcalshims.h cleanup + +ChangeSet@1.3370.1.2, 2015-06-12 16:39:36+05:30, loki@dadasgift.(none) + Makefile.am modified for octotint.c file + + tests/libntp/Makefile.am@1.55 +20 -2 + +ChangeSet@1.3382, 2015-06-12 10:53:55+00:00, stenn@psp-fb1.ntp.org + md5encrypt tests need current_time + + tests/libntp/a_md5encrypt.c@1.4 +2 -0 + md5encrypt tests need current_time + + tests/libntp/run-test-a_md5encrypt.c@1.5 +5 -5 + md5encrypt tests need current_time + +ChangeSet@1.3370.1.1, 2015-06-12 15:50:51+05:30, loki@dadasgift.(none) + octtoint.cpp converted to unity framework + + tests/libntp/g_octtoint.cpp@1.1 +57 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/g_octtoint.cpp + + tests/libntp/g_octtoint.cpp@1.0 +0 -0 + + tests/libntp/octtoint.c@1.1 +63 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/octtoint.c + + tests/libntp/octtoint.c@1.0 +0 -0 + + tests/libntp/run-test-octtoint.c@1.1 +60 -0 + BitKeeper file /home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity/tests/libntp/run-test-octtoint.c + + tests/libntp/run-test-octtoint.c@1.0 +0 -0 + +ChangeSet@1.3345.1.11, 2015-06-12 10:14:37+00:00, stenn@psp-at1.ntp.org + sntp/unity/Makefile.am: Use default AUTOMAKE_OPTIONS + + sntp/unity/Makefile.am@1.3.1.1 +1 -1 + sntp/unity/Makefile.am: Use default AUTOMAKE_OPTIONS + +ChangeSet@1.3379, 2015-06-12 09:58:12+00:00, stenn@psp-at1.ntp.org + EOL cleanup + + sntp/unity/unity_internals.h@1.3 +4 -4 + EOL cleanup + +ChangeSet@1.3378, 2015-06-12 09:29:49+00:00, stenn@psp-at1.ntp.org + Distribute unity/auto/ + + sntp/Makefile.am@1.82 +1 -0 + Distribute unity/auto/ + +ChangeSet@1.3377, 2015-06-12 11:27:01+02:00, viperus@ubuntu.(none) + authkeys.c: + added code which runs init_auth() only in the 1st setUp, prevents segfault + generate_test_runner.rb: + removed init_lib() and init_auth() from here. Put it into setUp() in the test, but it should be run only once + + sntp/unity/auto/generate_test_runner.rb@1.5 +3 -2 + removed init_lib() and init_auth() from here. Put it into setUp() in the test, but it should be run only once + + tests/libntp/authkeys.c@1.5 +6 -2 + added code which runs init_auth() only in the 1st setUp, prevents segfault + + tests/libntp/run-test-a_md5encrypt.c@1.4 +0 -2 + + tests/libntp/run-test-atoint.c@1.4 +0 -2 + + tests/libntp/run-test-atouint.c@1.4 +0 -2 + + tests/libntp/run-test-authkeys.c@1.5 +6 -8 + + tests/libntp/run-test-hextoint.c@1.4 +0 -2 + + tests/libntp/run-test-lfpfunc.c@1.5 +0 -2 + + tests/libntp/run-test-modetoa.c@1.6 +0 -2 + + tests/libntp/run-test-numtoa.c@1.4 +0 -2 + + tests/libntp/run-test-numtohost.c@1.4 +0 -2 + + tests/libntp/run-test-statestr.c@1.4 +0 -2 + + tests/libntp/run-test-uglydate.c@1.5 +0 -2 + + tests/libntp/run-test-ymd2yd.c@1.4 +0 -2 + +ChangeSet@1.3376, 2015-06-12 11:14:36+02:00, viperus@ubuntu.(none) + test-libntp.c: + removed stuff that was placed elsewhere + + tests/libntp/run-test-a_md5encrypt.c@1.3 +2 -0 + + tests/libntp/run-test-atoint.c@1.3 +2 -0 + + tests/libntp/run-test-atouint.c@1.3 +2 -0 + + tests/libntp/run-test-authkeys.c@1.4 +8 -8 + + tests/libntp/run-test-hextoint.c@1.3 +2 -0 + + tests/libntp/run-test-lfpfunc.c@1.4 +2 -0 + + tests/libntp/run-test-modetoa.c@1.5 +2 -0 + + tests/libntp/run-test-numtoa.c@1.3 +2 -0 + + tests/libntp/run-test-numtohost.c@1.3 +2 -0 + + tests/libntp/run-test-statestr.c@1.3 +2 -0 + + tests/libntp/run-test-uglydate.c@1.4 +2 -0 + + tests/libntp/run-test-ymd2yd.c@1.3 +2 -0 + + tests/libntp/test-libntp.c@1.3 +5 -3 + removed stuff that was placed elsewhere + +ChangeSet@1.3375, 2015-06-12 10:50:27+02:00, viperus@ubuntu.(none) + generate_test_runner.rb: + test runners main() will always call init_lib() and init_auth() + + sntp/unity/auto/generate_test_runner.rb@1.4 +2 -1 + test runners main() will always call init_lib() and init_auth() + + tests/libntp/authkeys.c@1.4 +3 -1 + +ChangeSet@1.3374, 2015-06-12 10:37:47+02:00, viperus@ubuntu.(none) + updating autogenerated testrunners with progname = argv[0] + + tests/libntp/run-test-a_md5encrypt.c@1.2 +9 -6 + + tests/libntp/run-test-atoint.c@1.2 +10 -7 + + tests/libntp/run-test-atouint.c@1.2 +9 -6 + + tests/libntp/run-test-authkeys.c@1.3 +6 -3 + + tests/libntp/run-test-hextoint.c@1.2 +9 -6 + + tests/libntp/run-test-lfpfunc.c@1.3 +15 -8 + + tests/libntp/run-test-modetoa.c@1.4 +6 -3 + + tests/libntp/run-test-numtoa.c@1.2 +6 -3 + + tests/libntp/run-test-numtohost.c@1.2 +5 -2 + + tests/libntp/run-test-statestr.c@1.2 +8 -5 + + tests/libntp/run-test-uglydate.c@1.3 +5 -2 + + tests/libntp/run-test-ymd2yd.c@1.2 +8 -5 + +ChangeSet@1.3373, 2015-06-12 10:33:08+02:00, viperus@ubuntu.(none) + testcalshims.h: + also removed progname and current_time var + testcalshims.c: + removed progname and current_time var + + tests/libntp/authkeys.c@1.3 +3 -1 + + tests/libntp/testcalshims.c@1.3 +2 -2 + removed progname and current_time var + + tests/libntp/testcalshims.h@1.3 +2 -2 + also removed progname and current_time var + +ChangeSet@1.3372, 2015-06-12 10:14:36+02:00, viperus@ubuntu.(none) + generate_test_runner.rb: + Added progname = argv[0] in main() function of each runner. + + sntp/unity/auto/generate_test_runner.rb@1.3 +8 -1 + Added progname = argv[0] in main() function of each runner. + +ChangeSet@1.3371, 2015-06-12 06:25:21+00:00, viperus@psp-at1.ntp.org + removed the outdated functions made purely for testing unity + + tests/bug-2803/Makefile.am@1.9 +3 -3 + + tests/bug-2803/run-bug-2803.c@1.2 +4 -2 + + tests/bug-2803/ut-2803.c@1.2 +1 -12 + +ChangeSet@1.3369, 2015-06-11 23:00:26+02:00, viperus@ubuntu.(none) + manually merged a few lines in tests/bug-2803/Makefile.am + + tests/bug-2803/Makefile.am@1.8 +6 -2 + +ChangeSet@1.3345.1.9, 2015-06-11 20:01:57+00:00, stenn@psp-at1.ntp.org + test/Makefile.am DIST_SUBDIRS cleanup + + tests/Makefile.am@1.9 +7 -0 + test/Makefile.am DIST_SUBDIRS cleanup + +ChangeSet@1.3345.1.8, 2015-06-11 19:00:08+00:00, stenn@psp-at1.ntp.org + Fix a typo in tests/libntp/modetoa.c + + tests/libntp/modetoa.c@1.1.1.1 +1 -1 + Fix a typo in tests/libntp/modetoa.c + +ChangeSet@1.3367, 2015-06-11 20:50:24+02:00, viperus@ubuntu.(none) + finished this test, changed TEST_ASSERT_DOUBLE_WITHIN(...) as jnperlin suggested + + tests/libntp/lfpfunc.c@1.3 +158 -237 + +ChangeSet@1.3345.1.7, 2015-06-11 18:48:46+00:00, stenn@psp-at1.ntp.org + Updates to tests/libntp/ + + tests/libntp/run-test-libntp.c@1.2 +2 -2 + Updates to tests/libntp/ + + tests/libntp/test-libntp.c@1.2 +9 -1 + Updates to tests/libntp/ + +ChangeSet@1.3326.12.3, 2015-06-11 20:08:33+02:00, jnperlin@hydra.(none) + [Bug 2843] make check fails on 4.3.36 + Fixed compiler warnings about numeric range overflow (The original topic was fixed in a byplay to bug#2830) + + ChangeLog@1.1641.10.3 +3 -0 + [Bug 2843] make check fails on 4.3.36 + Fixed compiler warnings about numeric range overflow (The original topic was fixed in a byplay to bug#2830) + + tests/ntpd/leapsec.cpp@1.14 +21 -21 + [Bug 2843] make check fails on 4.3.36 + Fixed compiler warnings about numeric range overflow (The original topic was fixed in a byplay to bug#2830) + +ChangeSet@1.3345.1.6, 2015-06-11 17:55:32+00:00, stenn@psp-at1.ntp.org + tests/bug-2803/Makefile.am must distribute bug-2803.h + + ChangeLog@1.1648.1.5 +1 -0 + tests/bug-2803/Makefile.am must distribute bug-2803.h + + tests/bug-2803/Makefile.am@1.7 +1 -0 + tests/bug-2803/Makefile.am must distribute bug-2803.h + +ChangeSet@1.3345.1.5, 2015-06-11 17:54:00+00:00, stenn@psp-at1.ntp.org + sntp/libpkgver belongs in EXTRA_DIST, not DIST_SUBDIRS + + ChangeLog@1.1648.1.4 +1 -0 + sntp/libpkgver belongs in EXTRA_DIST, not DIST_SUBDIRS + + sntp/Makefile.am@1.81 +2 -1 + sntp/libpkgver belongs in EXTRA_DIST, not DIST_SUBDIRS + +ChangeSet@1.3326.12.2, 2015-06-10 22:23:44-04:00, stenn@deacon.udel.edu + Typo: Bug 2887 -> Bug 2778 + + ChangeLog@1.1641.10.2 +1 -1 + Typo: Bug 2887 -> Bug 2778 + +ChangeSet@1.3366, 2015-06-10 13:09:48+02:00, viperus@ubuntu.(none) + minor change in testrunner + + tests/libntp/run-test-lfpfunc.c@1.2 +9 -5 + +ChangeSet@1.3365, 2015-06-10 13:08:39+02:00, viperus@ubuntu.(none) + + Makefile.am: + added -DUNITY_DOUBLE_INCLUDE to CFLAGS, so I don't get linker errors anymore (because asserting double is disabled by default in unity) + + Makefile.am: (/tests/libntp/Makefile.am) + added -DUNITY.... to makefile when building lfpfunc.c. Maybe I should add -DUNITY... to CFLAGS_unity or something like that' + lfpfunc.c: + converted more tests + + + sntp/unity/Makefile.am@1.2.1.1 +4 -0 + added -DUNITY_DOUBLE_INCLUDE to CFLAGS, so I don't get linker errors anymore (because asserting double is disabled by default in unity) + + tests/libntp/Makefile.am@1.54 +2 -1 + 'added -DUNITY.... to makefile when building lfpfunc.c. Maybe I should add -DUNITY... to CFLAGS_unity or something like that' + + tests/libntp/lfpfunc.c@1.2 +72 -80 + 'added -DUNITY.... to makefile when building lfpfunc.c. Maybe I should add -DUNITY... to CFLAGS_unity or somethign like that' + +ChangeSet@1.3326.12.1, 2015-06-10 10:52:55+00:00, stenn@psp-at1.ntp.org + [Bug 2778] Implement "apeers" ntpq command to include associd + + ChangeLog@1.1641.10.1 +1 -0 + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/invoke-ntpq.texi@1.500 +11 -1 + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/ntpq-opts.c@1.517 +1 -1 + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/ntpq-opts.def@1.26 +8 -0 + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/ntpq-opts.h@1.515 +1 -1 + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/ntpq-subs.c@1.105.1.1 +140 -2 + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/ntpq.1ntpqman@1.328 +15 -4 + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/ntpq.1ntpqmdoc@1.328 +10 -2 + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/ntpq.man.in@1.328 +15 -4 + [Bug 2778] Implement "apeers" ntpq command to include associd + + ntpq/ntpq.mdoc.in@1.328 +10 -2 + [Bug 2778] Implement "apeers" ntpq command to include associd + +ChangeSet@1.3364, 2015-06-10 10:21:01+02:00, viperus@ubuntu.(none) + Makefile.am: + Added LIBM in LDADD. + + tests/libntp/Makefile.am@1.53 +30 -10 + Added LIBM in LDADD. + +ChangeSet@1.3326.7.16, 2015-06-09 23:58:56+02:00, jnperlin@nemesis.localnet + [Bug 2845] Harden memory allocation in ntpd + implement and use 'eallocarray(...)' where appropriate + + ChangeLog@1.1641.7.12 +1 -0 + [Bug 2845] Harden memory allocation in ntpd + implement and use 'eallocarray(...)' where appropriate + + include/ntp_stdlib.h@1.78 +19 -10 + [Bug 2845] Harden memory allocation in ntpd + add 'oreallocarray()' prototypes and the macros 'eallocarray' and 'ereallocarray' + use proper parentheses in allocation macro expansions + + libntp/emalloc.c@1.18 +53 -0 + [Bug 2845] Harden memory allocation in ntpd + add 'oreallocarry()' implementation + + ntpd/ntp_config.c@1.327 +4 -3 + [Bug 2845] Harden memory allocation in ntpd + use 'eallocarray(...)' where appropriate + + ntpd/ntp_crypto.c@1.179 +2 -2 + [Bug 2845] Harden memory allocation in ntpd + use 'eallocarray(...)' where appropriate + + ntpd/ntp_monitor.c@1.42 +1 -1 + [Bug 2845] Harden memory allocation in ntpd + use 'eallocarray(...)' where appropriate + + ntpq/ntpq-subs.c@1.106 +1 -1 + [Bug 2845] Harden memory allocation in ntpd + use 'eallocarray(...)' where appropriate + + sntp/kod_management.c@1.33 +2 -2 + [Bug 2845] Harden memory allocation in ntpd + use 'eallocarray(...)' where appropriate + +ChangeSet@1.3363, 2015-06-08 10:29:19+02:00, viperus@ubuntu.(none) + added incomplete test for lfpfunc.c. Changes to makefile and created c_timestructs.c and .h, because timestructs.cpp is a big c++ wrapper. Slowly converting it all to C code + + tests/libntp/c_timestructs.c@1.1 +155 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/c_timestructs.c + + tests/libntp/c_timestructs.c@1.0 +0 -0 + + tests/libntp/c_timestructs.h@1.1 +213 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/c_timestructs.h + + tests/libntp/c_timestructs.h@1.0 +0 -0 + + tests/libntp/g_lfpfunc.cpp@1.3 +0 -0 + Rename: tests/libntp/lfpfunc.cpp -> tests/libntp/g_lfpfunc.cpp + + tests/libntp/lfpfunc.c@1.1 +643 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/lfpfunc.c + + tests/libntp/lfpfunc.c@1.0 +0 -0 + + tests/libntp/run-test-lfpfunc.c@1.1 +56 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-lfpfunc.c + + tests/libntp/run-test-lfpfunc.c@1.0 +0 -0 + +ChangeSet@1.3326.7.15, 2015-06-07 21:20:28-04:00, stenn@deacon.udel.edu + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + + ntpd/ntp_timer.c@1.87 +10 -0 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + +ChangeSet@1.3326.7.14, 2015-06-07 23:11:26+02:00, jnperlin@hydra.(none) + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + - add changelog entry + - add ASSERTS to ntp_crypto.c for length of signature + + ChangeLog@1.1641.7.11 +4 -0 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + - add missing entries + + ntpd/ntp_crypto.c@1.178 +34 -11 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + - add asserts to signature length code + +ChangeSet@1.3362, 2015-06-07 17:14:49+02:00, viperus@ubuntu.(none) + removed some spaces from Makefile.am, removed init_auth from setUp, because every test was calling it. Added init_auth inside run-test-authkeys.c. This is aproblem because I had to modify an autogenerated file! + + tests/libntp/Makefile.am@1.52 +1 -4 + + tests/libntp/authkeys.c@1.2 +2 -0 + + tests/libntp/run-test-authkeys.c@1.2 +8 -6 + +ChangeSet@1.3361, 2015-06-07 13:22:51+00:00, viperus@psp-at1.ntp.org + loaded math lib for some tests so building works on psp-at1 and psp-fb1 + + tests/libntp/Makefile.am@1.51 +7 -1 + +ChangeSet@1.3360, 2015-06-07 15:09:23+02:00, viperus@ubuntu.(none) + re-enabled a_md5encrypt test + + tests/libntp/Makefile.am@1.50 +1 -2 + +ChangeSet@1.3359, 2015-06-07 15:04:05+02:00, viperus@ubuntu.(none) + temporarily removed #test-a_md5encrypt due to log10, linking with math lib + + tests/libntp/Makefile.am@1.49 +2 -1 + +ChangeSet@1.3358, 2015-06-07 14:39:28+02:00, viperus@ubuntu.(none) + added new includes in all files + + tests/libntp/a_md5encrypt.c@1.3 +3 -3 + + tests/libntp/atoint.c@1.2 +1 -0 + + tests/libntp/atouint.c@1.2 +2 -1 + + tests/libntp/hextoint.c@1.2 +2 -1 + + tests/libntp/modetoa.c@1.3 +1 -0 + + tests/libntp/numtoa.c@1.2 +2 -1 + + tests/libntp/numtohost.c@1.2 +2 -1 + + tests/libntp/statestr.c@1.2 +2 -1 + + tests/libntp/uglydate.c@1.3 +1 -1 + + tests/libntp/ymd2yd.c@1.2 +1 -0 + +ChangeSet@1.3357, 2015-06-07 14:31:53+02:00, viperus@ubuntu.(none) + removed a minor makefile bug, put added new include in uglydate.c + + tests/libntp/Makefile.am@1.48 +0 -1 + + tests/libntp/uglydate.c@1.2 +1 -0 + +ChangeSet@1.3356, 2015-06-07 11:37:45+02:00, viperus@ubuntu.(none) + for some reason this file isnt available on psp-deb1 + + tests/libntp/a_md5encrypt.c@1.2 +1 -0 + +ChangeSet@1.3326.11.2, 2015-06-07 11:25:17+02:00, jnperlin@hydra.(none) + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + - fix test case that got damaged by changes to TAI table limit logic + + tests/ntpd/leapsec.cpp@1.13 +6 -2 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + - fix test case that got damaged by changes to TAI table limit logic + +ChangeSet@1.3355, 2015-06-07 11:02:10+02:00, viperus@ubuntu.(none) + adding new test files and their runners + + tests/libntp/a_md5encrypt.c@1.1 +98 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/a_md5encrypt.c + + tests/libntp/a_md5encrypt.c@1.0 +0 -0 + + tests/libntp/atouint.c@1.1 +40 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/atouint.c + + tests/libntp/atouint.c@1.0 +0 -0 + + tests/libntp/authkeys.c@1.1 +107 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/authkeys.c + + tests/libntp/authkeys.c@1.0 +0 -0 + + tests/libntp/run-test-a_md5encrypt.c@1.1 +56 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-a_md5encrypt.c + + tests/libntp/run-test-a_md5encrypt.c@1.0 +0 -0 + + tests/libntp/run-test-atouint.c@1.1 +56 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-atouint.c + + tests/libntp/run-test-atouint.c@1.0 +0 -0 + + tests/libntp/run-test-authkeys.c@1.1 +58 -0 + BitKeeper file /home/viperus/Desktop/ntp-stable-unity/tests/libntp/run-test-authkeys.c + + tests/libntp/run-test-authkeys.c@1.0 +0 -0 + +ChangeSet@1.3353, 2015-06-07 10:51:34+02:00, viperus@ubuntu.(none) + forgot to ci a few files + + tests/libntp/Makefile.am@1.47 +51 -4 + + tests/libntp/testcalshims.c@1.2 +7 -3 + + tests/libntp/testcalshims.h@1.2 +7 -3 + +ChangeSet@1.3352, 2015-06-07 10:30:09+02:00, viperus@ubuntu.(none) + modified testcalshims.h to suppoer md5encrypt.c and authkeys.c , added new tests, and modified Makefile.am + + tests/libntp/g_a_md5encrypt.cpp@1.6 +0 -0 + Rename: tests/libntp/a_md5encrypt.cpp -> tests/libntp/g_a_md5encrypt.cpp + + tests/libntp/g_atouint.cpp@1.2 +0 -0 + Rename: tests/libntp/atouint.cpp -> tests/libntp/g_atouint.cpp + + tests/libntp/g_authkeys.cpp@1.8 +0 -0 + Rename: tests/libntp/authkeys.cpp -> tests/libntp/g_authkeys.cpp + +ChangeSet@1.3326.7.12, 2015-06-07 04:00:46-04:00, stenn@deacon.udel.edu + sntp/scripts/genLocInfo: treat raspbian as debian + + ChangeLog@1.1641.7.10 +1 -0 + sntp/scripts/genLocInfo: treat raspbian as debian + + sntp/scripts/genLocInfo@1.18 +8 -0 + sntp/scripts/genLocInfo: treat raspbian as debian + +ChangeSet@1.3326.7.11, 2015-06-07 06:16:41+00:00, stenn@psp-at1.ntp.org + [Bug 2842] Bug in mdoc2man + + ChangeLog@1.1641.7.9 +1 -0 + [Bug 2842] Bug in mdoc2man + + sntp/ag-tpl/Mdoc.pm@1.1 +542 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable/sntp/ag-tpl/Mdoc.pm + + sntp/ag-tpl/Mdoc.pm@1.0 +0 -0 + + sntp/ag-tpl/mdoc2man@1.1 +219 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable/sntp/ag-tpl/mdoc2man + + sntp/ag-tpl/mdoc2man@1.0 +0 -0 + +ChangeSet@1.3326.7.10, 2015-06-07 03:16:04+00:00, stenn@psp-fb1.ntp.org + [Bug 2836] DFC77 patches from Frank Kardel to make decoding more robust, and require 2 consecutive timestamps to be consistent + + ChangeLog@1.1641.7.8 +2 -0 + [Bug 2836] DFC77 patches from Frank Kardel to make decoding more robust, and require 2 consecutive timestamps to be consistent + + libparse/clk_rawdcf.c@1.21 +6 -4 + [Bug 2836] DFC77 patches from Frank Kardel to make decoding more robust, and require 2 consecutive timestamps to be consistent + + libparse/parse.c@1.20 +2 -2 + [Bug 2836] DFC77 patches from Frank Kardel to make decoding more robust, and require 2 consecutive timestamps to be consistent + + ntpd/refclock_parse.c@1.79 +2 -0 + [Bug 2836] DFC77 patches from Frank Kardel to make decoding more robust, and require 2 consecutive timestamps to be consistent + +ChangeSet@1.3351, 2015-06-06 08:38:18+00:00, viperus@psp-deb1.ntp.org + adding new unity test files, changes to Makefile.am + + tests/libntp/Makefile.am@1.46 +119 -15 + + tests/libntp/atoint.c@1.1 +47 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/atoint.c + + tests/libntp/atoint.c@1.0 +0 -0 + + tests/libntp/g_atoint.cpp@1.3 +0 -0 + Rename: tests/libntp/atoint.cpp -> tests/libntp/g_atoint.cpp + + tests/libntp/g_hextoint.cpp@1.4 +0 -0 + Rename: tests/libntp/hextoint.cpp -> tests/libntp/g_hextoint.cpp + + tests/libntp/g_numtoa.cpp@1.3 +0 -0 + Rename: tests/libntp/numtoa.cpp -> tests/libntp/g_numtoa.cpp + + tests/libntp/g_numtohost.cpp@1.2 +0 -0 + Rename: tests/libntp/numtohost.cpp -> tests/libntp/g_numtohost.cpp + + tests/libntp/g_statestr.cpp@1.3 +1 -0 + + tests/libntp/g_statestr.cpp@1.2 +0 -0 + Rename: tests/libntp/statestr.cpp -> tests/libntp/g_statestr.cpp + + tests/libntp/g_ymd2yd.cpp@1.2 +0 -0 + Rename: tests/libntp/ymd2yd.cpp -> tests/libntp/g_ymd2yd.cpp + + tests/libntp/hextoint.c@1.1 +44 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/hextoint.c + + tests/libntp/hextoint.c@1.0 +0 -0 + + tests/libntp/modetoa.c@1.2 +2 -3 + + tests/libntp/numtoa.c@1.1 +27 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/numtoa.c + + tests/libntp/numtoa.c@1.0 +0 -0 + + tests/libntp/numtohost.c@1.1 +16 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/numtohost.c + + tests/libntp/numtohost.c@1.0 +0 -0 + + tests/libntp/run-test-atoint.c@1.1 +58 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/run-test-atoint.c + + tests/libntp/run-test-atoint.c@1.0 +0 -0 + + tests/libntp/run-test-hextoint.c@1.1 +56 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/run-test-hextoint.c + + tests/libntp/run-test-hextoint.c@1.0 +0 -0 + + tests/libntp/run-test-modetoa.c@1.3 +1 -1 + + tests/libntp/run-test-numtoa.c@1.1 +50 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/run-test-numtoa.c + + tests/libntp/run-test-numtoa.c@1.0 +0 -0 + + tests/libntp/run-test-numtohost.c@1.1 +48 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/run-test-numtohost.c + + tests/libntp/run-test-numtohost.c@1.0 +0 -0 + + tests/libntp/run-test-statestr.c@1.1 +54 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/run-test-statestr.c + + tests/libntp/run-test-statestr.c@1.0 +0 -0 + + tests/libntp/run-test-ymd2yd.c@1.1 +54 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/run-test-ymd2yd.c + + tests/libntp/run-test-ymd2yd.c@1.0 +0 -0 + + tests/libntp/statestr.c@1.1 +34 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/statestr.c + + tests/libntp/statestr.c@1.0 +0 -0 + + tests/libntp/ymd2yd.c@1.1 +30 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/ymd2yd.c + + tests/libntp/ymd2yd.c@1.0 +0 -0 + +ChangeSet@1.3326.7.9, 2015-06-05 08:24:51+00:00, stenn@psp-at1.ntp.org + [Bug 2837] add test for DSCP to ntpd/complete.conf.in - from Hal Murray + + ChangeLog@1.1641.7.7 +1 -0 + [Bug 2837] add test for DSCP to ntpd/complete.conf.in - from Hal Murray + + ntpd/complete.conf.in@1.28 +1 -0 + [Bug 2837] add test for DSCP to ntpd/complete.conf.in - from Hal Murray + +ChangeSet@1.3326.11.1, 2015-06-05 06:31:07+02:00, jnperlin@hydra.(none) + Bug 2830 - ntpd doesn't always transfer the correct TAI offset via autokey + - trigger a possible autokey update on change of 'sys_tai' + + include/ntpd.h@1.188 +1 -0 + Bug 2830 - ntpd doesn't always transfer the correct TAI offset via autokey + add 'crypto_update_taichange()': update autokey data after TAI change if possible + + ntpd/ntp_crypto.c@1.177 +75 -113 + Bug 2830 - ntpd doesn't always transfer the correct TAI offset via autokey + - add 'crypto_update_taichange()': update autokey data after TAI change if possible + - fix potential problem with signature size + - use DPRINTF where possible + + ntpd/ntp_timer.c@1.86 +7 -1 + Bug 2830 - ntpd doesn't always transfer the correct TAI offset via autokey + possibly update autokey data after 'sys_tai' changes + +ChangeSet@1.3326.7.8, 2015-06-05 02:42:26+00:00, stenn@psp-at1.ntp.org + 2830 fixes from Pearly + + ChangeLog@1.1641.7.6 +3 -0 + 2830 fixes from Pearly + +ChangeSet@1.3326.8.10, 2015-06-04 19:39:40+00:00, stenn@psp-at1.ntp.org + [Bug 2842] Glitch in ntp.conf.def documentation stanza + + ChangeLog@1.1641.8.9 +1 -0 + [Bug 2842] Glitch in ntp.conf.def documentation stanza + + ntpd/invoke-ntp.conf.texi@1.184 +3 -3 + [Bug 2842] Glitch in ntp.conf.def documentation stanza + + ntpd/ntp.conf.5man@1.218 +6 -6 + [Bug 2842] Glitch in ntp.conf.def documentation stanza + + ntpd/ntp.conf.5mdoc@1.218 +4 -4 + [Bug 2842] Glitch in ntp.conf.def documentation stanza + + ntpd/ntp.conf.def@1.16 +2 -2 + [Bug 2842] Glitch in ntp.conf.def documentation stanza + + ntpd/ntp.conf.man.in@1.218 +6 -6 + [Bug 2842] Glitch in ntp.conf.def documentation stanza + + ntpd/ntp.conf.mdoc.in@1.218 +4 -4 + [Bug 2842] Glitch in ntp.conf.def documentation stanza + +ChangeSet@1.3326.10.2, 2015-06-04 03:24:16-04:00, stenn@deacon.udel.edu + [Bug 2824] Convert update-leap to perl. (also see 2769) + + configure.ac@1.588.1.1 +1 -0 + [Bug 2824] Convert update-leap to perl. (also see 2769) + + scripts/update-leap/update-leap.in@1.2 +2 -3 + [Bug 2824] Convert update-leap to perl. (also see 2769) + +ChangeSet@1.3326.10.1, 2015-06-04 03:21:27-04:00, stenn@deacon.udel.edu + [Bug 2837] Allow a configurable DSCP value + + ntpd/keyword-gen-utd@1.23 +1 -1 + [Bug 2837] Allow a configurable DSCP value + + ntpd/ntp_keyword.h@1.25 +842 -838 + [Bug 2837] Allow a configurable DSCP value + + ntpd/ntp_parser.c@1.93 +1074 -1060 + [Bug 2837] Allow a configurable DSCP value + + ntpd/ntp_parser.h@1.58 +320 -318 + [Bug 2837] Allow a configurable DSCP value + +ChangeSet@1.3326.8.8, 2015-06-04 03:14:37+00:00, stenn@psp-fb1.ntp.org + Report select() debug messages at debug level 3 now + + ChangeLog@1.1641.8.8 +1 -1 + Report select() debug messages at debug level 3 now + +ChangeSet@1.3326.8.7, 2015-06-03 17:04:21+02:00, martin@pc-martin.(none) + Increased the debug level at which a tiny debug message is printed. + + ChangeLog@1.1641.8.7 +1 -0 + Increased the debug level at which a tiny debug message is printed. + + ntpd/ntp_io.c@1.399.1.2 +1 -1 + Increased the debug level at which a tiny debug message is printed. + +ChangeSet@1.3326.8.6, 2015-06-03 09:30:35+00:00, stenn@psp-at1.ntp.org + [Bug 2837] Allow a configurable DSCP value + + ChangeLog@1.1641.8.6 +2 -1 + [Bug 2837] Allow a configurable DSCP value + + html/miscopt.html@1.81 +2 -0 + [Bug 2837] Allow a configurable DSCP value + + include/ntp_io.h@1.22 +1 -0 + [Bug 2837] Allow a configurable DSCP value + + ntpd/keyword-gen.c@1.29 +1 -0 + [Bug 2837] Allow a configurable DSCP value + + ntpd/ntp_config.c@1.326 +8 -1 + [Bug 2837] Allow a configurable DSCP value + + ntpd/ntp_io.c@1.399.1.1 +5 -5 + [Bug 2837] Allow a configurable DSCP value + + ntpd/ntp_parser.y@1.85 +13 -0 + [Bug 2837] Allow a configurable DSCP value + +ChangeSet@1.3326.8.5, 2015-06-03 03:46:57-04:00, stenn@deacon.udel.edu + ChangeLog cleanup + + ChangeLog@1.1641.8.5 +2 -2 + ChangeLog cleanup + +ChangeSet@1.3326.8.3, 2015-06-03 05:39:07+00:00, stenn@psp-at1.ntp.org + ChangeLog order cleanup + + ChangeLog@1.1641.8.3 +2 -2 + ChangeLog order cleanup + +ChangeSet@1.3326.9.2, 2015-06-03 01:07:20-04:00, stenn@deacon.udel.edu + update-leap conversion is bug 2824, not 2769 + + ChangeLog@1.1641.9.2 +1 -1 + update-leap conversion is bug 2824, not 2769 + +ChangeSet@1.3326.7.6, 2015-06-02 09:11:10+02:00, jnperlin@hydra.(none) + Bug 2830 - ntpd doesn't always transfer the correct TAI offset via autokey + fix a few bad ideas and missing links + + ntpd/ntp_crypto.c@1.176 +34 -39 + Bug 2830 - ntpd doesn't always transfer the correct TAI offset via autokey + - fix the autokey TAI data block (initial value, never omit data) + + ntpd/ntp_leapsec.c@1.21 +25 -16 + Bug 2830 - ntpd doesn't always transfer the correct TAI offset via autokey + - loading the leap frame should always copy the data (not just after the close monitoring time) + - loading the table data via build time limit keeps the last 10 years before build data + - lstostr() should return 'const char*' + +ChangeSet@1.3345.1.1, 2015-06-01 10:42:57+00:00, stenn@psp-fb1.ntp.org + add unity_fixture to the unity library + + sntp/unity/Makefile.am@1.3 +9 -5 + add unity_fixture to the unity library + + sntp/unity/unity_fixture.c@1.1 +398 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/unity_fixture.c + + sntp/unity/unity_fixture.c@1.0 +0 -0 + + sntp/unity/unity_fixture.h@1.1 +86 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/unity_fixture.h + + sntp/unity/unity_fixture.h@1.0 +0 -0 + + sntp/unity/unity_fixture_internals.h@1.1 +44 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/unity_fixture_internals.h + + sntp/unity/unity_fixture_internals.h@1.0 +0 -0 + + sntp/unity/unity_fixture_malloc_overrides.h@1.1 +21 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/unity_fixture_malloc_overrides.h + + sntp/unity/unity_fixture_malloc_overrides.h@1.0 +0 -0 + +ChangeSet@1.3326.7.5, 2015-06-01 07:24:52+02:00, jnperlin@hydra.(none) + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + NTPD transfers the current TAI (instead of an announcement) now. This might still needed improvement. + + ChangeLog@1.1641.7.4 +2 -3 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + NTPD transfers the current TAI (instead of an announcement) now. This might still needed improvement. + + ntpd/ntp_crypto.c@1.175 +55 -34 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + transmit/receive the current leap era instead of of the latest announcement in autokey packets + + ntpd/ntp_leapsec.c@1.20 +116 -1 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + Support adjustment of transmitting the current TAI offset via autokey. + Needs support to shift the table values in absence of fixed entries. + + ntpd/ntp_leapsec.h@1.10 +42 -5 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + Support adjustment of transmitting the current TAI offset via autokey. + Needs support to shift the table values in absence of fixed entries. + + tests/ntpd/leapsec.cpp@1.12 +82 -5 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + Test processing of TAI offset shifts as used by autokey + +ChangeSet@1.3326.9.1, 2015-05-30 07:19:56+00:00, stenn@psp-fb1.ntp.org + [Bug 2769] Convert update-leap to perl + + ChangeLog@1.1641.9.1 +3 -0 + [Bug 2769] Convert update-leap to perl + + scripts/update-leap/Makefile.am@1.4 +2 -1 + [Bug 2769] Convert update-leap to perl + + scripts/update-leap/update-leap.in@1.1 +425 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable/scripts/update-leap/update-leap.in + + scripts/update-leap/update-leap.in@1.0 +0 -0 + + scripts/update-leap/update-leap.sh@1.2 +0 -0 + Rename: scripts/update-leap/update-leap -> scripts/update-leap/update-leap.sh + +ChangeSet@1.3350, 2015-05-27 09:51:28+00:00, viperus@psp-deb1.ntp.org + modified the ruby testRunner generator, so the test prints filesnames properly. ALSO, run-test-name.c files dont rebuild after I modify the ruby code + + sntp/unity/auto/generate_test_runner.rb@1.2 +2 -1 + + tests/libntp/run-test-modetoa.c@1.2 +1 -1 + + tests/libntp/run-test-uglydate.c@1.2 +1 -1 + +ChangeSet@1.3349, 2015-05-27 08:40:02+00:00, viperus@psp-deb1.ntp.org + added run-testmodeto.c and run-test.uglydate.c + + tests/libntp/run-test-modetoa.c@1.1 +50 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/run-test-modetoa.c + + tests/libntp/run-test-modetoa.c@1.0 +0 -0 + + tests/libntp/run-test-uglydate.c@1.1 +48 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/run-test-uglydate.c + + tests/libntp/run-test-uglydate.c@1.0 +0 -0 + +ChangeSet@1.3348, 2015-05-27 08:38:25+00:00, viperus@psp-deb1.ntp.org + modified makefile to work with multiple tests + + tests/libntp/Makefile.am@1.45 +45 -6 + +ChangeSet@1.3347, 2015-05-26 10:15:06+00:00, viperus@psp-deb1.ntp.org + ut-2803.c: + Removed unncessary include. + + tests/sandbox/ut-2803.c@1.3 +1 -1 + Removed unncessary include. + +ChangeSet@1.3346, 2015-05-26 10:11:49+00:00, viperus@psp-deb1.ntp.org + making better sandbox examples + + tests/sandbox/Makefile.am@1.2 +22 -5 + makefile now builds 3 seperate tests + + tests/sandbox/ut-2803.c@1.2 +44 -5 + added more test examples + +ChangeSet@1.3345, 2015-05-26 09:36:31+00:00, viperus@psp-deb1.ntp.org + we want to build tests/libntp even if no GTEST + + tests/Makefile.am@1.8 +8 -6 + we want to build tests/libntp even if no GTEST + + tests/libntp/Makefile.am@1.44 +6 -1 + we want to build tests/libntp even if no GTEST + +ChangeSet@1.3344, 2015-05-26 09:31:22+00:00, viperus@psp-deb1.ntp.org + added run-test-libntp.c + + tests/libntp/run-test-libntp.c@1.1 +50 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/run-test-libntp.c + + tests/libntp/run-test-libntp.c@1.0 +0 -0 + +ChangeSet@1.3343, 2015-05-26 09:23:18+00:00, viperus@psp-deb1.ntp.org + probably commited changes to tests/libntp/Makefile.am + + tests/libntp/Makefile.am@1.43 +44 -11 + modified makefile. + +ChangeSet@1.3342, 2015-05-26 09:13:23+00:00, viperus@psp-deb1.ntp.org + added more files to libntp/ and added some autogenerated tests to sandbox so other people can see how do they lok like. + + tests/libntp/g_modetoa.cpp@1.2 +0 -0 + Rename: tests/libntp/modetoa.cpp -> tests/libntp/g_modetoa.cpp + + tests/libntp/g_uglydate.cpp@1.3 +0 -0 + Rename: tests/libntp/uglydate.cpp -> tests/libntp/g_uglydate.cpp + + tests/libntp/modetoa.c@1.1 +20 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/modetoa.c + + tests/libntp/modetoa.c@1.0 +0 -0 + + tests/libntp/test-libntp.c@1.1 +29 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/test-libntp.c + + tests/libntp/test-libntp.c@1.0 +0 -0 + + tests/libntp/test-libntp.h@1.1 +6 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/test-libntp.h + + tests/libntp/test-libntp.h@1.0 +0 -0 + + tests/libntp/testcalshims.c@1.1 +27 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/testcalshims.c + + tests/libntp/testcalshims.c@1.0 +0 -0 + + tests/libntp/testcalshims.h@1.1 +9 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/testcalshims.h + + tests/libntp/testcalshims.h@1.0 +0 -0 + + tests/libntp/uglydate.c@1.1 +16 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/libntp/uglydate.c + + tests/libntp/uglydate.c@1.0 +0 -0 + + tests/sandbox/run-first-test.c@1.1 +48 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/sandbox/run-first-test.c + + tests/sandbox/run-first-test.c@1.0 +0 -0 + + tests/sandbox/run-second-test.c@1.1 +50 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/sandbox/run-second-test.c + + tests/sandbox/run-second-test.c@1.0 +0 -0 + + tests/sandbox/run-ut-2803.c@1.1 +58 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/sandbox/run-ut-2803.c + + tests/sandbox/run-ut-2803.c@1.0 +0 -0 + +ChangeSet@1.3341, 2015-05-26 08:45:31+00:00, viperus@psp-deb1.ntp.org + added a few more files to sandbox/ , updated unity to print FAIL instead of Failure + + tests/sandbox/modetoa.c@1.1 +20 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/sandbox/modetoa.c + + tests/sandbox/modetoa.c@1.0 +0 -0 + + tests/sandbox/uglydate.c@1.1 +16 -0 + BitKeeper file /home/viperus/ntp-stable-unity/tests/sandbox/uglydate.c + + tests/sandbox/uglydate.c@1.0 +0 -0 + +ChangeSet@1.3340, 2015-05-19 10:24:10+00:00, stenn@psp-at1.ntp.org + Unity test framework fixes + + configure.ac@1.592 +1 -1 + Unity test framework fixes + + sntp/configure.ac@1.80 +1 -1 + Unity test framework fixes + + sntp/m4/ntp_unitytest.m4@1.2 +1 -1 + Unity test framework fixes + +ChangeSet@1.3339, 2015-05-19 09:33:10+00:00, stenn@psp-deb1.ntp.org + Unity test framework fixes + + ChangeLog@1.1648 +1 -0 + Unity test framework fixes + + configure.ac@1.591 +3 -0 + Unity test framework fixes + + sntp/configure.ac@1.79 +1 -0 + Unity test framework fixes + + sntp/m4/ntp_unitytest.m4@1.1, stenn@psp-at1.ntp.org +19 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/m4/ntp_unitytest.m4 + + sntp/m4/ntp_unitytest.m4@1.0, stenn@psp-at1.ntp.org +0 -0 + +ChangeSet@1.3338, 2015-05-19 07:22:21+00:00, stenn@psp-at1.ntp.org + Unity framework cleanup + + tests/bug-2803/run-bug-2803.c@1.1 +46 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/bug-2803/run-bug-2803.c + + tests/bug-2803/run-bug-2803.c@1.0 +0 -0 + +ChangeSet@1.3337, 2015-05-18 06:30:54+00:00, viperus@psp-deb1.ntp.org + tests/sandbox cleanup + + BitKeeper/etc/ignore@1.88 +1 -0 + added tests/sandbox/Makefile.in + +ChangeSet@1.3336, 2015-05-18 06:29:35+00:00, viperus@psp-deb1.ntp.org + tests/sandbox cleanup + + BitKeeper/deleted/8f/Makefile.in~199a99ee888869a7@1.2 +0 -0 + Delete: tests/sandbox/Makefile.in + + configure.ac@1.590 +1 -0 + tests/sandbox cleanup + +ChangeSet@1.3335, 2015-05-17 22:30:55+00:00, stenn@psp-at1.ntp.org + Created tests/sandbox/ + + tests/Makefile.am@1.7 +1 -0 + Created tests/sandbox/ + + tests/sandbox/Makefile.am@1.1 +67 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/sandbox/Makefile.am + + tests/sandbox/Makefile.am@1.0 +0 -0 + + tests/sandbox/Makefile.in@1.1 +1258 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/sandbox/Makefile.in + + tests/sandbox/Makefile.in@1.0 +0 -0 + + tests/sandbox/bug-2803.c@1.1 +99 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/sandbox/bug-2803.c + + tests/sandbox/bug-2803.c@1.0 +0 -0 + + tests/sandbox/bug-2803.h@1.1 +1 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/sandbox/bug-2803.h + + tests/sandbox/bug-2803.h@1.0 +0 -0 + + tests/sandbox/run-bug-2803.c@1.1 +46 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/sandbox/run-bug-2803.c + + tests/sandbox/run-bug-2803.c@1.0 +0 -0 + + tests/sandbox/test-2803.c@1.1 +229 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/sandbox/test-2803.c + + tests/sandbox/test-2803.c@1.0 +0 -0 + + tests/sandbox/ut-2803.c@1.1 +41 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/sandbox/ut-2803.c + + tests/sandbox/ut-2803.c@1.0 +0 -0 + +ChangeSet@1.3334, 2015-05-17 22:16:38+00:00, stenn@psp-at1.ntp.org + Unity framework improvements + + sntp/unity/auto/colour_prompt.rb@1.1 +94 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/auto/colour_prompt.rb + + sntp/unity/auto/colour_prompt.rb@1.0 +0 -0 + + sntp/unity/auto/colour_reporter.rb@1.1 +39 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/auto/colour_reporter.rb + + sntp/unity/auto/colour_reporter.rb@1.0 +0 -0 + + sntp/unity/auto/generate_config.yml@1.1 +36 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/auto/generate_config.yml + + sntp/unity/auto/generate_config.yml@1.0 +0 -0 + + sntp/unity/auto/generate_module.rb@1.1 +202 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/auto/generate_module.rb + + sntp/unity/auto/generate_module.rb@1.0 +0 -0 + + sntp/unity/auto/generate_test_runner.rb@1.1 +298 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/auto/generate_test_runner.rb + + sntp/unity/auto/generate_test_runner.rb@1.0 +0 -0 + + sntp/unity/auto/runner_maybe.c@1.1 +52 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/auto/runner_maybe.c + + sntp/unity/auto/runner_maybe.c@1.0 +0 -0 + + sntp/unity/auto/test_file_filter.rb@1.1 +23 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/auto/test_file_filter.rb + + sntp/unity/auto/test_file_filter.rb@1.0 +0 -0 + + sntp/unity/auto/unity_test_summary.rb@1.1 +126 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/auto/unity_test_summary.rb + + sntp/unity/auto/unity_test_summary.rb@1.0 +0 -0 + + sntp/unity/unity.c@1.2 +110 -5 + Unity XFAIL patches from Damir Tomic + + sntp/unity/unity_internals.h@1.2 +11 -0 + Unity XFAIL patches from Damir Tomic + + tests/bug-2803/Makefile.am@1.6 +1 -1 + Unity cleanup + + tests/bug-2803/Makefile.am@1.5 +6 -1 + Unity cleanup + +ChangeSet@1.3333, 2015-05-17 06:47:45+00:00, stenn@psp-at1.ntp.org + Initial support for PACKAGE_VERSION tests + + ChangeLog@1.1647 +3 -0 + Initial support for PACKAGE_VERSION tests + + sntp/Makefile.am@1.80 +1 -1 + Added libpkgver + + sntp/libpkgver/colcomp.c@1.2 +2 -2 + import typo fix + + sntp/libpkgver/colcomp.c@1.1, stenn@psp-deb1.ntp.org +135 -0 + BitKeeper file /home/stenn/ntp-stable-unity/sntp/libpkgver/colcomp.c + + sntp/libpkgver/colcomp.c@1.0, stenn@psp-deb1.ntp.org +0 -0 + + sntp/libpkgver/pkgver.h@1.1, stenn@psp-deb1.ntp.org +19 -0 + BitKeeper file /home/stenn/ntp-stable-unity/sntp/libpkgver/pkgver.h + + sntp/libpkgver/pkgver.h@1.0, stenn@psp-deb1.ntp.org +0 -0 + + sntp/unity/Makefile.am@1.2 +1 -0 + Added colcomp.c from libpkgver + +ChangeSet@1.3332, 2015-05-16 08:58:44+00:00, stenn@psp-at1.ntp.org + Updates to bug-2803 tests + + tests/bug-2803/Makefile.am@1.4 +4 -2 + Updates to bug-2803 tests + + tests/bug-2803/TestProductionCode_Runner.c@1.1 +55 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/bug-2803/TestProductionCode_Runner.c + + tests/bug-2803/TestProductionCode_Runner.c@1.0 +0 -0 + + tests/bug-2803/bug-2803.c@1.3 +1 -1 + Updates to bug-2803 tests + + tests/bug-2803/bug-2803.h@1.1 +1 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/bug-2803/bug-2803.h + + tests/bug-2803/bug-2803.h@1.0 +0 -0 + + tests/bug-2803/ut-2803.c@1.1 +41 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/bug-2803/ut-2803.c + + tests/bug-2803/ut-2803.c@1.0 +0 -0 + +ChangeSet@1.3326.8.2, 2015-05-16 04:28:40+00:00, abe@psp-deb1.ntp.org + refclock.html, ChangeLog: + [Bug 2834] Correct a broken html tag in html/refclock.html + + ChangeLog@1.1641.8.2 +1 -0 + [Bug 2834] Correct a broken html tag in html/refclock.html + + html/refclock.html@1.45 +1 -1 + [Bug 2834] Correct a broken html tag in html/refclock.html + +ChangeSet@1.3326.8.1, 2015-05-15 11:43:04+00:00, abe@psp-deb1.ntp.org + driver40.html, refclock_jjy.c, driver40-ja.html, ChangeLog: + refclock_jjy.c supports the TDC-300 + + ChangeLog@1.1641.8.1 +1 -0 + refclock_jjy.c supports the TDC-300 + + html/drivers/driver40-ja.html@1.4 +62 -9 + refclock_jjy.c supports the TDC-300 + + html/drivers/driver40.html@1.19 +62 -9 + refclock_jjy.c supports the TDC-300 + + ntpd/refclock_jjy.c@1.29 +253 -1 + refclock_jjy.c supports the TDC-300 + +ChangeSet@1.3326.7.4, 2015-05-14 17:08:20+02:00, jnperlin@hydra.(none) + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + NTP does *not* transfer the TAI offset, but a leap second announcement. + Handling of these announcements and stepping over leap seconds needed improvement. + + ChangeLog@1.1641.7.3 +4 -0 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + NTP does *not* transfer the TAI offset, but a leap second announcement. + Handling of these announcements and stepping over leap seconds needed improvement. + + ntpd/ntp_leapsec.c@1.19 +60 -26 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + NTP does *not* transfer the TAI offset, but a leap second announcement. This needed some more work: + - Extending the expiration date via autokey without a new transition did not work. + - Assuming a positive leap transition at the first leap second helps when starting without leap file. + - Stepping over a leapsecond should not trigger the leap second transition detection. + + tests/ntpd/leapsec.cpp@1.11 +162 -4 + [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + Add/fix test cases to validate the changes to ntp_leapsec.c + +ChangeSet@1.3326.7.3, 2015-05-12 04:35:09-04:00, stenn@deacon.udel.edu + NTP_4_2_8P3_RC1 + TAG: NTP_4_2_8P3_RC1 + + ChangeLog@1.1641.7.2 +1 -0 + NTP_4_2_8P3_RC1 + + ntpd/invoke-ntp.conf.texi@1.183 +1 -1 + NTP_4_2_8P3_RC1 + + ntpd/invoke-ntp.keys.texi@1.179 +1 -1 + NTP_4_2_8P3_RC1 + + ntpd/invoke-ntpd.texi@1.496 +2 -2 + NTP_4_2_8P3_RC1 + + ntpd/ntp.conf.5man@1.217 +3 -3 + NTP_4_2_8P3_RC1 + + ntpd/ntp.conf.5mdoc@1.217 +2 -2 + NTP_4_2_8P3_RC1 + + ntpd/ntp.conf.html@1.174 +1 -1 + NTP_4_2_8P3_RC1 + + ntpd/ntp.conf.man.in@1.217 +3 -3 + NTP_4_2_8P3_RC1 + + ntpd/ntp.conf.mdoc.in@1.217 +2 -2 + NTP_4_2_8P3_RC1 + + ntpd/ntp.keys.5man@1.213 +2 -2 + NTP_4_2_8P3_RC1 + + ntpd/ntp.keys.5mdoc@1.213 +2 -2 + NTP_4_2_8P3_RC1 + + ntpd/ntp.keys.html@1.175 +1 -1 + NTP_4_2_8P3_RC1 + + ntpd/ntp.keys.man.in@1.213 +2 -2 + NTP_4_2_8P3_RC1 + + ntpd/ntp.keys.mdoc.in@1.213 +2 -2 + NTP_4_2_8P3_RC1 + + ntpd/ntpd-opts.c@1.518 +268 -268 + NTP_4_2_8P3_RC1 + + ntpd/ntpd-opts.h@1.517 +3 -3 + NTP_4_2_8P3_RC1 + + ntpd/ntpd.1ntpdman@1.325 +3 -3 + NTP_4_2_8P3_RC1 + + ntpd/ntpd.1ntpdmdoc@1.325 +2 -2 + NTP_4_2_8P3_RC1 + + ntpd/ntpd.html@1.169 +2 -2 + NTP_4_2_8P3_RC1 + + ntpd/ntpd.man.in@1.325 +3 -3 + NTP_4_2_8P3_RC1 + + ntpd/ntpd.mdoc.in@1.325 +2 -2 + NTP_4_2_8P3_RC1 + + ntpdc/invoke-ntpdc.texi@1.493 +2 -2 + NTP_4_2_8P3_RC1 + + ntpdc/ntpdc-opts.c@1.511 +130 -130 + NTP_4_2_8P3_RC1 + + ntpdc/ntpdc-opts.h@1.510 +3 -3 + NTP_4_2_8P3_RC1 + + ntpdc/ntpdc.1ntpdcman@1.324 +3 -3 + NTP_4_2_8P3_RC1 + + ntpdc/ntpdc.1ntpdcmdoc@1.324 +2 -2 + NTP_4_2_8P3_RC1 + + ntpdc/ntpdc.html@1.337 +2 -2 + NTP_4_2_8P3_RC1 + + ntpdc/ntpdc.man.in@1.324 +3 -3 + NTP_4_2_8P3_RC1 + + ntpdc/ntpdc.mdoc.in@1.324 +2 -2 + NTP_4_2_8P3_RC1 + + ntpq/invoke-ntpq.texi@1.499 +5 -3 + NTP_4_2_8P3_RC1 + + ntpq/ntpq-opts.c@1.516 +129 -129 + NTP_4_2_8P3_RC1 + + ntpq/ntpq-opts.h@1.514 +3 -3 + NTP_4_2_8P3_RC1 + + ntpq/ntpq.1ntpqman@1.327 +6 -4 + NTP_4_2_8P3_RC1 + + ntpq/ntpq.1ntpqmdoc@1.327 +5 -3 + NTP_4_2_8P3_RC1 + + ntpq/ntpq.html@1.166 +2 -2 + NTP_4_2_8P3_RC1 + + ntpq/ntpq.man.in@1.327 +6 -4 + NTP_4_2_8P3_RC1 + + ntpq/ntpq.mdoc.in@1.327 +5 -3 + NTP_4_2_8P3_RC1 + + ntpsnmpd/invoke-ntpsnmpd.texi@1.495 +2 -2 + NTP_4_2_8P3_RC1 + + ntpsnmpd/ntpsnmpd-opts.c@1.513 +91 -91 + NTP_4_2_8P3_RC1 + + ntpsnmpd/ntpsnmpd-opts.h@1.512 +3 -3 + NTP_4_2_8P3_RC1 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.324 +3 -3 + NTP_4_2_8P3_RC1 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.324 +2 -2 + NTP_4_2_8P3_RC1 + + ntpsnmpd/ntpsnmpd.html@1.164 +1 -1 + NTP_4_2_8P3_RC1 + + ntpsnmpd/ntpsnmpd.man.in@1.324 +3 -3 + NTP_4_2_8P3_RC1 + + ntpsnmpd/ntpsnmpd.mdoc.in@1.324 +2 -2 + NTP_4_2_8P3_RC1 + + packageinfo.sh@1.511 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.85 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.86 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/calc_tickadj/calc_tickadj.html@1.87 +1 -1 + NTP_4_2_8P3_RC1 + + scripts/calc_tickadj/calc_tickadj.man.in@1.84 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.86 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.89 +1 -1 + NTP_4_2_8P3_RC1 + + scripts/invoke-plot_summary.texi@1.106 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/invoke-summary.texi@1.106 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntp-wait/invoke-ntp-wait.texi@1.316 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntp-wait/ntp-wait-opts@1.52 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.313 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.314 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntp-wait/ntp-wait.html@1.333 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntp-wait/ntp-wait.man.in@1.313 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/ntp-wait/ntp-wait.mdoc.in@1.314 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntpsweep/invoke-ntpsweep.texi@1.104 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntpsweep/ntpsweep-opts@1.54 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.92 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.92 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntpsweep/ntpsweep.html@1.105 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntpsweep/ntpsweep.man.in@1.92 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/ntpsweep/ntpsweep.mdoc.in@1.93 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntptrace/invoke-ntptrace.texi@1.105 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntptrace/ntptrace-opts@1.54 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntptrace/ntptrace.1ntptraceman@1.92 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.93 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntptrace/ntptrace.html@1.106 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/ntptrace/ntptrace.man.in@1.92 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/ntptrace/ntptrace.mdoc.in@1.94 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/plot_summary-opts@1.54 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/plot_summary.1plot_summaryman@1.104 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/plot_summary.1plot_summarymdoc@1.104 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/plot_summary.html@1.107 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/plot_summary.man.in@1.104 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/plot_summary.mdoc.in@1.104 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/summary-opts@1.54 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/summary.1summaryman@1.104 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/summary.1summarymdoc@1.104 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/summary.html@1.107 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/summary.man.in@1.104 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/summary.mdoc.in@1.104 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/update-leap/invoke-update-leap.texi@1.5 +1 -1 + NTP_4_2_8P3_RC1 + + scripts/update-leap/update-leap-opts@1.5 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/update-leap/update-leap.1update-leapman@1.5 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/update-leap/update-leap.1update-leapmdoc@1.5 +2 -2 + NTP_4_2_8P3_RC1 + + scripts/update-leap/update-leap.html@1.5 +1 -1 + NTP_4_2_8P3_RC1 + + scripts/update-leap/update-leap.man.in@1.5 +3 -3 + NTP_4_2_8P3_RC1 + + scripts/update-leap/update-leap.mdoc.in@1.5 +2 -2 + NTP_4_2_8P3_RC1 + + sntp/invoke-sntp.texi@1.493 +2 -2 + NTP_4_2_8P3_RC1 + + sntp/sntp-opts.c@1.512 +185 -185 + NTP_4_2_8P3_RC1 + + sntp/sntp-opts.h@1.510 +3 -3 + NTP_4_2_8P3_RC1 + + sntp/sntp.1sntpman@1.328 +3 -3 + NTP_4_2_8P3_RC1 + + sntp/sntp.1sntpmdoc@1.328 +2 -2 + NTP_4_2_8P3_RC1 + + sntp/sntp.html@1.508 +2 -2 + NTP_4_2_8P3_RC1 + + sntp/sntp.man.in@1.328 +3 -3 + NTP_4_2_8P3_RC1 + + sntp/sntp.mdoc.in@1.328 +2 -2 + NTP_4_2_8P3_RC1 + + util/invoke-ntp-keygen.texi@1.496 +2 -2 + NTP_4_2_8P3_RC1 + + util/ntp-keygen-opts.c@1.514 +198 -198 + NTP_4_2_8P3_RC1 + + util/ntp-keygen-opts.h@1.512 +3 -3 + NTP_4_2_8P3_RC1 + + util/ntp-keygen.1ntp-keygenman@1.324 +3 -3 + NTP_4_2_8P3_RC1 + + util/ntp-keygen.1ntp-keygenmdoc@1.324 +2 -2 + NTP_4_2_8P3_RC1 + + util/ntp-keygen.html@1.170 +2 -2 + NTP_4_2_8P3_RC1 + + util/ntp-keygen.man.in@1.324 +3 -3 + NTP_4_2_8P3_RC1 + + util/ntp-keygen.mdoc.in@1.324 +2 -2 + NTP_4_2_8P3_RC1 + +ChangeSet@1.3326.7.2, 2015-05-12 04:02:33-04:00, stenn@deacon.udel.edu + 4.2.8p3-RC1 + + NEWS@1.137 +51 -1 + 4.2.8p3-RC1 + + packageinfo.sh@1.510 +1 -1 + 4.2.8p3-RC1 + +ChangeSet@1.3326.1.11, 2015-05-08 23:35:28-04:00, stenn@deacon.udel.edu + cleanup + + ChangeLog@1.1641.1.11 +3 -3 + cleanup + +ChangeSet@1.3326.1.9, 2015-05-09 03:28:48+00:00, stenn@psp-at1.ntp.org + minor cleanup + + ChangeLog@1.1641.1.9 +3 -3 + minor cleanup + + lib/isc/unix/ifiter_getifaddrs.c@1.16 +2 -0 + minor cleanup + +ChangeSet@1.3326.4.6, 2015-05-08 23:57:16+02:00, jnperlin@hydra.(none) + * [Bug 2745] ntpd -x steps clock on leap second + removed dead test code block in ntpd/ntp_leapsec.c + + ntpd/ntp_leapsec.c@1.18 +0 -8 + * [Bug 2745] ntpd -x steps clock on leap second + removed dead test code block + + +ChangeSet@1.3326.4.5, 2015-05-08 23:35:42+02:00, jnperlin@hydra.(none) + * [Bug 2745] ntpd -x steps clock on leap second + Fixed an initial-value problem that caused misbehaviour in absence of any leapsecond information. + + ChangeLog@1.1641.4.4 +2 -0 + * [Bug 2745] ntpd -x steps clock on leap second + Fixed an initial-value problem that caused misbehaviour in absence of any leapsecond information. + + ntpd/ntp_leapsec.c@1.17 +29 -3 + * [Bug 2745] ntpd -x steps clock on leap second + Fixed an initial-value problem that caused misbehaviour in absence of any leapsecond information. + Added support function to reset to pristine state for unit tests. + + ntpd/ntp_leapsec.h@1.9 +3 -0 + * [Bug 2745] ntpd -x steps clock on leap second + Added support function to reset to pristine state for unit tests. + + tests/ntpd/leapsec.cpp@1.10 +20 -10 + * [Bug 2745] ntpd -x steps clock on leap second + Added test case to validate the behaviour of queries in pristine state. + +ChangeSet@1.3326.6.1, 2015-05-08 21:25:22+02:00, jnperlin@hydra.(none) + * [Bug 2808] GPSD_JSON driver enhancements, step 1. + Fix crash during cleanup if GPS device not present and char device. + + ChangeLog@1.1641.6.1 +1 -0 + * [Bug 2808] GPSD_JSON driver enhancements, step 1. + Fix crash during cleanup if GPS device not present and char device. + + ntpd/refclock_gpsdjson.c@1.22 +12 -3 + * [Bug 2808] GPSD_JSON driver enhancements, step 1. + Fix crash during cleanup if GPS device not present and char device. + +ChangeSet@1.3326.1.8, 2015-05-08 12:25:43+02:00, martin@pc-martin.(none) + [Bug 2792] If the IFF_RUNNING interface flag is supported then an interface is ignored + as long as this flag is not set since the interface is not usable (e.g., no link). + + ChangeLog@1.1641.1.8 +3 -0 + [Bug 2792] If the IFF_RUNNING interface flag is supported then an interface is ignored + as long as this flag is not set since the interface is not usable (e.g., no link). + + lib/isc/unix/ifiter_getifaddrs.c@1.15 +17 -0 + [Bug 2792] If the IFF_RUNNING interface flag is supported then an interface is ignored + as long as this flag is not set since the interface is not usable (e.g., no link). + +ChangeSet@1.3326.1.7, 2015-05-08 08:29:08+00:00, stenn@psp-at1.ntp.org + CID 739725: Fix a rare resource leak in libevent/listener.c + + ChangeLog@1.1641.1.7 +1 -0 + CID 739725: Fix a rare resource leak in libevent/listener.c + + sntp/libevent/listener.c@1.8 +2 -0 + CID 739725: Fix a rare resource leak in libevent/listener.c + +ChangeSet@1.3326.1.6, 2015-05-08 08:19:06+00:00, stenn@psp-at1.ntp.org + [Bug 2821] Add a missing NTP_PRINTF and a missing const + + ChangeLog@1.1641.1.6 +1 -0 + [Bug 2821] Add a missing NTP_PRINTF and a missing const + + ntpd/refclock_gpsdjson.c@1.21 +1 -1 + [Bug 2821] Add a missing NTP_PRINTF and a missing const + + sntp/main.c@1.96 +1 -1 + [Bug 2821] Add a missing NTP_PRINTF and a missing const + +ChangeSet@1.3326.1.5, 2015-05-08 07:48:27+00:00, stenn@psp-at1.ntp.org + cleanup + + ChangeLog@1.1641.1.5 +3 -2 + cleanup + +ChangeSet@1.3326.3.3, 2015-05-08 07:37:35+00:00, stenn@psp-at1.ntp.org + merge cleanup + + ChangeLog@1.1641.3.3 +3 -4 + merge cleanup + +ChangeSet@1.3326.5.2, 2015-05-08 05:35:12+00:00, stenn@psp-at1.ntp.org + Add an assert to the ntpq ifstats code + + ChangeLog@1.1641.5.2 +1 -0 + Add an assert to the ntpq ifstats code + + ntpq/ntpq-subs.c@1.105 +1 -0 + Add an assert to the ntpq ifstats code + +ChangeSet@1.3326.5.1, 2015-05-08 04:59:19+00:00, stenn@psp-at1.ntp.org + Clean up the RLIMIT_STACK code + + ChangeLog@1.1641.5.1 +1 -0 + Clean up the RLIMIT_STACK code + + ntpd/ntp_config.c@1.325 +3 -2 + Clean up the RLIMIT_STACK code + +ChangeSet@1.3326.4.4, 2015-05-07 23:55:59+02:00, jnperlin@hydra.(none) + [Bug 2745] ntpd -x steps clock on leap second + provide test case for empty table lookup with real leap second + don't step with '-x' or if step min. step > 1sec + + ChangeLog@1.1641.4.3 +3 -3 + [Bug 2745] ntpd -x steps clock on leap second + provide test case for empty table lookup with real leap second + don't step with '-x' or if step min. step > 1sec + + tests/ntpd/leapsec.cpp@1.9 +43 -0 + [Bug 2745] ntpd -x steps clock on leap second + provide test case for empty table lookup with real leap second + +ChangeSet@1.3326.4.2, 2015-05-07 04:55:15+00:00, stenn@psp-at1.ntp.org + [Bug 2825] Quiet file installation in html/ + + ChangeLog@1.1641.4.1 +1 -0 + [Bug 2825] Quiet file installation in html/ + + Makefile.am@1.128.1.1 +3 -2 + [Bug 2825] Quiet file installation in html/ + +ChangeSet@1.3326.4.1, 2015-05-07 00:03:30+00:00, stenn@psp-at1.ntp.org + bk gone file cleanup + + BitKeeper/etc/gone@1.13 +0 -8 + bk gone file cleanup + +ChangeSet@1.3326.3.1, 2015-05-06 22:38:12+02:00, jnperlin@hydra.(none) + [Bug 2808] GPSD_JSON driver enhancements, step 1. + Increase internal token buffer to parse all JSON data, even SKY. + Avoid syslog clutter when driver has init problems but is nout used later on. + + ChangeLog@1.1641.3.1 +4 -0 + [Bug 2808] GPSD_JSON driver enhancements, step 1. + Increase internal token buffer to parse all JSON data, even SKY. + Avoid syslog clutter when driver has init problems but is nout used later on. + + ntpd/refclock_gpsdjson.c@1.20 +87 -11 + [Bug 2808] GPSD_JSON driver enhancements, step 1. + Increase internal token buffer to parse all JSON data, even SKY. + Avoid syslog clutter when driver has init problems but is nout used later on. + +ChangeSet@1.3326.1.3, 2015-05-05 23:32:59+02:00, jnperlin@nemesis.localnet + [Bug 2750] build for Win64 + loopback ppsapi dll needs def-file for entry point renaming in x86 target builds + + BitKeeper/etc/ignore@1.87 +6 -1 + [Bug 2750] build for Win64 + add all '.suo' files + add {Win32,x64}-{tmp,out} dirs + + ChangeLog@1.1641.1.3 +2 -1 + [Bug 2750] build for Win64 + use def-file for entry point renaming in x86 target builds of loopback ppsapi provider + + ports/winnt/ppsapi/loopback/src/loopback-ppsapi.def@1.4 +3 -1 + [Bug 2750] build for Win64 + add comment to explain why this is needed + + ports/winnt/ppsapi/loopback/src/loopback-ppsapi.def@1.3 +0 -0 + Rename: BitKeeper/deleted/74/loopback-ppsapi.def~c04da70eaf86d30 -> ports/winnt/ppsapi/loopback/src/loopback-ppsapi.def + + ports/winnt/vs2008/loopback-pps/loopback-ppsapi-provider.vcproj@1.3 +2 -0 + [Bug 2750] build for Win64 + use def-file for entry point renaming in x86 target builds + + ports/winnt/vs2013/loopback-pps/loopback-ppsapi-provider.vcxproj@1.5 +4 -0 + [Bug 2750] build for Win64 + use def-file for entry point renaming in x86 target builds + +ChangeSet@1.3326.1.2, 2015-05-04 22:51:42+00:00, stenn@psp-at1.ntp.org + Remove vs2013/ntp.v12.suo and vs2013/ntp.sdf + + BitKeeper/etc/gone@1.12 +1 -0 + Add items with bk gone + + BitKeeper/etc/gone@1.11 +0 -0 + Turn on MONOTONIC flag + + BitKeeper/etc/gone@1.10 +1 -0 + Add items with bk gone + +ChangeSet@1.3326.1.1, 2015-05-04 06:46:05+00:00, stenn@psp-at1.ntp.org + [Bug 2822] New leap column in sntp broke NTP::Util.pm + + ChangeLog@1.1641.1.2 +1 -0 + [Bug 2822] New leap column in sntp broke NTP::Util.pm + + scripts/lib/NTP/Util.pm@1.4 +1 -1 + [Bug 2822] New leap column in sntp broke NTP::Util.pm + +ChangeSet@1.3326, 2015-05-03 08:00:35+00:00, stenn@psp-deb1.ntp.org + Windows port build cleanup + + ChangeLog@1.1641.1.1 +1 -0 + Windows port build cleanup + +ChangeSet@1.3320.1.13, 2015-05-03 07:11:22+00:00, stenn@psp-at1.ntp.org + unity framework + + Makefile.am@1.129 +1 -0 + unity framework + + sntp/Makefile.am@1.79 +2 -2 + unity framework + + tests/unity-framework/ProductionCode.c@1.1 +24 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/unity-framework/ProductionCode.c + + tests/unity-framework/ProductionCode.c@1.0 +0 -0 + + tests/unity-framework/ProductionCode.h@1.1 +3 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/unity-framework/ProductionCode.h + + tests/unity-framework/ProductionCode.h@1.0 +0 -0 + + tests/unity-framework/TestProductionCode.c@1.1 +62 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/unity-framework/TestProductionCode.c + + tests/unity-framework/TestProductionCode.c@1.0 +0 -0 + + tests/unity-framework/TestProductionCode_Runner.c@1.1 +37 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/unity-framework/TestProductionCode_Runner.c + + tests/unity-framework/TestProductionCode_Runner.c@1.0 +0 -0 + +ChangeSet@1.3320.1.12, 2015-05-03 03:50:55+00:00, stenn@psp-at1.ntp.org + typo + + tests/bug-2803/Makefile.am@1.3 +1 -1 + typo + +ChangeSet@1.3320.1.11, 2015-05-03 03:41:35+00:00, stenn@psp-at1.ntp.org + bug-2803 framework + + sntp/configure.ac@1.78 +1 -0 + bug-2803 framework + + sntp/unity/Makefile.am@1.1 +15 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/Makefile.am + + sntp/unity/Makefile.am@1.0 +0 -0 + + tests/bug-2803/Makefile.am@1.2 +14 -8 + bug-2803 framework + + tests/bug-2803/bug-2803.c@1.2 +4 -134 + bug-2803 framework + +ChangeSet@1.3320.1.10, 2015-05-03 02:43:24+00:00, stenn@psp-at1.ntp.org + Updates for bug-2803/ tests + + configure.ac@1.589 +1 -0 + Updates for bug-2803/ tests + + tests/Makefile.am@1.6 +3 -0 + Updates for bug-2803/ tests + + tests/bug-2803/Makefile.am@1.1 +54 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/bug-2803/Makefile.am + + tests/bug-2803/Makefile.am@1.0 +0 -0 + +ChangeSet@1.3320.1.8, 2015-05-02 04:05:14+00:00, stenn@psp-at1.ntp.org + cleanup + + ChangeLog@1.1641 +1 -1 + cleanup + +ChangeSet@1.3320.1.7, 2015-05-01 13:27:32+00:00, abe@psp-deb1.ntp.org + driver40-ja.html: + [BUG 2806] Correcting typo of the driver40-ja.html + ChangeLog: + [BUG 2806] CID 1296235: refclock_jjy.c and correcting typo of driver40-ja.html + refclock_jjy.c: + [BUG 2806] CID 1296235: Fix refclock_jjy.c and some changes to avoid claims by the check tool + + ChangeLog@1.1640 +1 -0 + [BUG 2806] CID 1296235: refclock_jjy.c and correcting typo of driver40-ja.html + + html/drivers/driver40-ja.html@1.3 +2 -2 + [BUG 2806] Correcting typo of the driver40-ja.html + + ntpd/refclock_jjy.c@1.28 +12 -2 + [BUG 2806] CID 1296235: Fix refclock_jjy.c and some changes to avoid claims by the check tool + +ChangeSet@1.3320.4.13, 2015-05-01 05:59:34-04:00, stenn@deacon.udel.edu + [Bug 2590] autogen-5.18.5 + + ChangeLog@1.1635.3.8 +1 -1 + [Bug 2590] autogen-5.18.5 + + sntp/include/autogen-version.def@1.22 +1 -1 + [Bug 2590] autogen-5.18.5 + +ChangeSet@1.3320.4.12, 2015-05-01 09:25:56+00:00, stenn@psp-at1.ntp.org + [Bug 2650] fix includefile processing + + ChangeLog@1.1635.3.7 +1 -0 + [Bug 2650] fix includefile processing + +ChangeSet@1.3320.10.2, 2015-05-01 01:08:05+02:00, jnperlin@hydra.(none) + [Bug 2650] includefile processing broken. + rework and cleanup of config processing after merge from 4.2.8p2 + + ntpd/keyword-gen.c@1.28 +0 -2 + [Bug 2650] includefile processing broken. + rework and cleanup of config processing after merge from 4.2.8p2 + + ntpd/ntp_parser.c@1.92 +405 -412 + [Bug 2650] includefile processing broken. + rework and cleanup of config processing after merge from 4.2.8p2 + + ntpd/ntp_scanner.c@1.48 +56 -45 + [Bug 2650] includefile processing broken. + rework and cleanup of config processing after merge from 4.2.8p2 + + ntpd/ntp_scanner.h@1.20 +8 -1 + [Bug 2650] includefile processing broken. + rework and cleanup of config processing after merge from 4.2.8p2 + +ChangeSet@1.3320.4.10, 2015-04-30 05:55:00+00:00, stenn@psp-at1.ntp.org + update dates + + html/drivers/driver40-ja.html@1.2 +1 -1 + update dates + + html/drivers/driver40.html@1.18 +1 -1 + update dates + + html/drivers/driver46.html@1.7 +1 -1 + update dates + +ChangeSet@1.3320.4.9, 2015-04-30 05:01:21+00:00, stenn@psp-at1.ntp.org + cleanup + + ChangeLog@1.1635.3.6 +0 -3 + cleanup + + ntpd/refclock_shm.c@1.31.1.3 +4 -0 + cleanup + +ChangeSet@1.3320.3.5, 2015-04-30 04:02:23+00:00, stenn@psp-at1.ntp.org + cleanup + + ChangeLog@1.1635.2.4 +3 -3 + cleanup + + ntpd/ntp_timer.c@1.85 +1 -1 + cleanup + + ntpd/refclock_shm.c@1.31.3.1 +4 -1 + cleanup + +ChangeSet@1.3320.7.3, 2015-04-29 22:58:45+00:00, stenn@psp-at1.ntp.org + cleanup + + ChangeLog@1.1635.5.2 +1 -1 + cleanup + +ChangeSet@1.3292.1.21, 2015-04-29 20:07:39+02:00, jnperlin@hydra.(none) + [bug 2650] includefile processing broken + forward from lost/orphaned repo + + ntpd/ntp_config.c@1.322.1.1 +20 -38 + [bug 2650] includefile processing broken + forward from lost/orphaned repo + + ntpd/ntp_parser.c@1.89.1.1 +404 -411 + [bug 2650] includefile processing broken + forward from lost/orphaned repo + + ntpd/ntp_parser.h@1.55.1.1 +2 -2 + [bug 2650] includefile processing broken + forward from lost/orphaned repo + + ntpd/ntp_parser.y@1.82.1.1 +43 -51 + [bug 2650] includefile processing broken + forward from lost/orphaned repo + + ntpd/ntp_scanner.c@1.47 +297 -128 + [bug 2650] includefile processing broken + forward from lost/orphaned repo + + ntpd/ntp_scanner.h@1.19 +27 -22 + [bug 2650] includefile processing broken + forward from lost/orphaned repo + +ChangeSet@1.3320.3.2, 2015-04-29 19:29:16+02:00, jnperlin@hydra.(none) + [Bug 2745] ntpd -x steps clock on leap second + Better syslog messages when not stepping + + ntpd/ntp_timer.c@1.84 +19 -4 + [Bug 2745] ntpd -x steps clock on leap second + Better syslog messages when not stepping + +ChangeSet@1.3320.4.6, 2015-04-29 18:58:30+02:00, jnperlin@hydra.(none) + [Bug 2808] - GPSD_JSON driver enhancements, step 1 + fix coverity issues in refclock_shm and refclock_gpsdjson + + ChangeLog@1.1635.3.3 +2 -0 + [Bug 2808] - GPSD_JSON driver enhancements, step 1 + fix coverity issues in refclock_shm and refclock_gpsdjson + + libjsmn/jsmn.c@1.5 +6 -5 + [Bug 2808] - GPSD_JSON driver enhancements, step 1 + fix coverity issue with potential NULL pointer access + + ntpd/refclock_gpsdjson.c@1.19 +3 -2 + [Bug 2808] - GPSD_JSON driver enhancements, step 1 + fix coverity issue with negative array index + + ntpd/refclock_shm.c@1.31.2.1 +0 -1 + [Bug 2808] - GPSD_JSON driver enhancements, step 1 + fix coverity issue with unreachable code + +ChangeSet@1.3320.8.1, 2015-04-29 07:03:32+00:00, stenn@psp-at1.ntp.org + [Bug 2805] ntpd fails to join multicast group + + ChangeLog@1.1635.6.1 +1 -0 + [Bug 2805] ntpd fails to join multicast group + + ntpd/ntp_io.c@1.400 +30 -9 + [Bug 2805] ntpd fails to join multicast group + +ChangeSet@1.3320.7.2, 2015-04-28 12:08:31+00:00, abe@psp-deb1.ntp.org + ChangeLog: + [BUG 2806] refclock_jjy.c supports the Tel-JJY + + ChangeLog@1.1635.5.1 +1 -0 + [BUG 2806] refclock_jjy.c supports the Tel-JJY + +ChangeSet@1.3320.7.1, 2015-04-28 11:47:00+00:00, abe@psp-deb1.ntp.org + driver40-ja.html: + new file + driver40.html, refclock_jjy.c: + [BUG 2806] refclock_jjy.c supports the Tel-JJY + + html/drivers/driver40-ja.html@1.1 +481 -0 + BitKeeper file /home/abe/ntp-stable-2806/html/drivers/driver40-ja.html + + html/drivers/driver40-ja.html@1.0 +0 -0 + + html/drivers/driver40.html@1.17 +265 -48 + [BUG 2806] refclock_jjy.c supports the Tel-JJY + + ntpd/refclock_jjy.c@1.27 +3570 -1117 + [BUG 2806] refclock_jjy.c supports the Tel-JJY + +ChangeSet@1.3320.5.10, 2015-04-28 09:13:57+00:00, stenn@psp-at1.ntp.org + bug-2803 tests + + tests/bug-2803/Makefile-@1.1 +10 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/bug-2803/Makefile- + + tests/bug-2803/Makefile-@1.0 +0 -0 + + tests/bug-2803/bug-2803.c@1.1 +229 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/bug-2803/bug-2803.c + + tests/bug-2803/bug-2803.c@1.0 +0 -0 + + tests/bug-2803/test-2803.c@1.1 +229 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/tests/bug-2803/test-2803.c + + tests/bug-2803/test-2803.c@1.0 +0 -0 + +ChangeSet@1.3320.5.8, 2015-04-27 20:49:41+00:00, stenn@psp-at1.ntp.org + [Bug 2612] restrict: Warn when 'monitor' can't be disabled because of 'limited' + + ChangeLog@1.1635.4.6 +2 -0 + [Bug 2612] restrict: Warn when 'monitor' can't be disabled because of 'limited' + + ntpd/ntp_proto.c@1.356 +5 -1 + [Bug 2612] restrict: Warn when 'monitor' can't be disabled because of 'limited' + +ChangeSet@1.3320.5.7, 2015-04-27 10:48:48+00:00, stenn@psp-at1.ntp.org + [Bug 2815] net-snmp before v5.4 has circular library dependencies + + ChangeLog@1.1635.4.5 +1 -0 + [Bug 2815] net-snmp before v5.4 has circular library dependencies + + configure.ac@1.584.1.2 +14 -0 + [Bug 2815] net-snmp before v5.4 has circular library dependencies + +ChangeSet@1.3320.2.11, 2015-04-27 08:41:41+00:00, stenn@psp-deb1.ntp.org + [Bug 2776] Clean up EVP_MD_do_all_sorted() test + + sntp/m4/ntp_openssl.m4@1.24 +3 -1 + [Bug 2776] Clean up EVP_MD_do_all_sorted() test + +ChangeSet@1.3320.5.6, 2015-04-26 19:53:46+00:00, stenn@psp-at1.ntp.org + [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h + + ChangeLog@1.1635.4.4 +1 -0 + [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h + + include/ntp_types.h@1.34 +5 -0 + [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h + + sntp/m4/os_cflags.m4@1.10 +2 -2 + [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h + +ChangeSet@1.3320.5.5, 2015-04-26 18:44:23+00:00, stenn@psp-at1.ntp.org + autogen-5.18.5 + + ChangeLog@1.1635.4.3 +1 -0 + autogen-5.18.5 + + sntp/libopts/COPYING.gplv3@1.8 +1 -1 + autogen-5.18.5 + + sntp/libopts/COPYING.lgplv3@1.8 +1 -1 + autogen-5.18.5 + + sntp/libopts/COPYING.mbsd@1.3 +1 -0 + autogen-5.18.5 + + sntp/libopts/README@1.10 +1 -1 + autogen-5.18.5 + + sntp/libopts/ag-char-map.h@1.31 +2 -2 + autogen-5.18.5 + + sntp/libopts/alias.c@1.8 +1 -1 + autogen-5.18.5 + + sntp/libopts/ao-strs.c@1.17 +2 -2 + autogen-5.18.5 + + sntp/libopts/ao-strs.h@1.16 +2 -2 + autogen-5.18.5 + + sntp/libopts/autoopts.c@1.20 +4 -4 + autogen-5.18.5 + + sntp/libopts/autoopts.h@1.21 +12 -12 + autogen-5.18.5 + + sntp/libopts/autoopts/options.h@1.30 +96 -96 + autogen-5.18.5 + + sntp/libopts/autoopts/project.h@1.8 +1 -1 + autogen-5.18.5 + + sntp/libopts/autoopts/usage-txt.h@1.29 +15 -15 + autogen-5.18.5 + + sntp/libopts/boolean.c@1.15 +5 -5 + autogen-5.18.5 + + sntp/libopts/check.c@1.8 +1 -1 + autogen-5.18.5 + + sntp/libopts/compat/compat.h@1.16 +1 -1 + autogen-5.18.5 + + sntp/libopts/compat/pathfind.c@1.11 +13 -13 + autogen-5.18.5 + + sntp/libopts/compat/windows-config.h@1.14 +1 -1 + autogen-5.18.5 + + sntp/libopts/configfile.c@1.23 +54 -55 + autogen-5.18.5 + + sntp/libopts/cook.c@1.15 +10 -10 + autogen-5.18.5 + + sntp/libopts/enum.c@1.13 +14 -14 + autogen-5.18.5 + + sntp/libopts/env.c@1.9 +4 -4 + autogen-5.18.5 + + sntp/libopts/file.c@1.16 +6 -6 + autogen-5.18.5 + + sntp/libopts/find.c@1.12 +10 -10 + autogen-5.18.5 + + sntp/libopts/genshell.c@1.31 +25 -25 + autogen-5.18.5 + + sntp/libopts/gettext.h@1.4 +1 -1 + autogen-5.18.5 + + sntp/libopts/init.c@1.8 +12 -13 + autogen-5.18.5 + + sntp/libopts/intprops.h@1.2 +1 -1 + autogen-5.18.5 + + sntp/libopts/libopts.c@1.9 +2 -0 + autogen-5.18.5 + + sntp/libopts/load.c@1.21 +8 -8 + autogen-5.18.5 + + sntp/libopts/m4/libopts.m4@1.34 +28 -28 + autogen-5.18.5 + + sntp/libopts/m4/liboptschk.m4@1.13 +1 -1 + autogen-5.18.5 + + sntp/libopts/m4/stdnoreturn.m4@1.2 +1 -1 + autogen-5.18.5 + + sntp/libopts/makeshell.c@1.20 +22 -17 + autogen-5.18.5 + + sntp/libopts/nested.c@1.16 +36 -36 + autogen-5.18.5 + + sntp/libopts/numeric.c@1.15 +10 -10 + autogen-5.18.5 + + sntp/libopts/option-value-type.c@1.18 +2 -2 + autogen-5.18.5 + + sntp/libopts/option-value-type.h@1.32 +1 -1 + autogen-5.18.5 + + sntp/libopts/option-xat-attribute.c@1.18 +2 -2 + autogen-5.18.5 + + sntp/libopts/option-xat-attribute.h@1.32 +1 -1 + autogen-5.18.5 + + sntp/libopts/parse-duration.c@1.14 +3 -3 + autogen-5.18.5 + + sntp/libopts/parse-duration.h@1.10 +1 -1 + autogen-5.18.5 + + sntp/libopts/pgusage.c@1.18 +5 -5 + autogen-5.18.5 + + sntp/libopts/proto.h@1.31 +2 -2 + autogen-5.18.5 + + sntp/libopts/putshell.c@1.15 +7 -7 + autogen-5.18.5 + + sntp/libopts/reset.c@1.17 +5 -5 + autogen-5.18.5 + + sntp/libopts/restore.c@1.14 +19 -19 + autogen-5.18.5 + + sntp/libopts/save.c@1.18 +11 -11 + autogen-5.18.5 + + sntp/libopts/sort.c@1.14 +5 -5 + autogen-5.18.5 + + sntp/libopts/stack.c@1.16 +15 -15 + autogen-5.18.5 + + sntp/libopts/stdnoreturn.in.h@1.2 +1 -1 + autogen-5.18.5 + + sntp/libopts/streqvcmp.c@1.16 +11 -11 + autogen-5.18.5 + + sntp/libopts/text_mmap.c@1.17 +11 -11 + autogen-5.18.5 + + sntp/libopts/time.c@1.15 +5 -5 + autogen-5.18.5 + + sntp/libopts/tokenize.c@1.13 +28 -28 + autogen-5.18.5 + + sntp/libopts/usage.c@1.21 +4 -4 + autogen-5.18.5 + + sntp/libopts/version.c@1.19 +9 -9 + autogen-5.18.5 + +ChangeSet@1.3320.5.4, 2015-04-26 05:26:11-04:00, stenn@deacon.udel.edu + CID 1269537: Clean up a line of dead code in getShmTime(). + + ChangeLog@1.1635.4.2 +1 -0 + CID 1269537: Clean up a line of dead code in getShmTime(). + + ntpd/refclock_shm.c@1.31.1.1 +4 -1 + CID 1269537: Clean up a line of dead code in getShmTime(). + +ChangeSet@1.3320.2.9, 2015-04-26 08:14:52+00:00, stenn@psp-at1.ntp.org + CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776 + + ChangeLog@1.1635.1.6 +2 -0 + CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776 + + ntpq/ntpq.c@1.158 +9 -0 + CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776 + +ChangeSet@1.3320.6.1, 2015-04-25 23:56:16+00:00, stenn@psp-fb1.ntp.org + Improve the ntpq documentation around the controlkey keyid + + ChangeLog@1.1635.4.1 +1 -0 + Improve the ntpq documentation around the controlkey keyid + + ntpq/ntpq-opts.def@1.25 +3 -1 + Improve the ntpq documentation around the controlkey keyid + +ChangeSet@1.3320.5.2, 2015-04-24 22:46:50-04:00, stenn@deacon.udel.edu + [Bug 2804] more cleanup to install-local-data + + Makefile.am@1.128 +1 -1 + [Bug 2804] more cleanup to install-local-data + +ChangeSet@1.3320.5.1, 2015-04-24 18:59:14-04:00, stenn@deacon.udel.edu + Fix regression in previous [Bug 2804] fix + + Makefile.am@1.127 +4 -4 + Fix regression in previous [Bug 2804] fix + +ChangeSet@1.3320.4.4, 2015-04-24 21:20:38+02:00, jnperlin@hydra.(none) + [Bug 2808] GPSD_JSON driver enhancements, step 1. + Add a few more tallies as per Hal Murray's suggestions + + ChangeLog@1.1635.3.2 +2 -0 + [Bug 2808] GPSD_JSON driver enhancements, step 1. + Add a few more tallies as per Hal Murray's suggestions + + + html/drivers/driver46.html@1.6 +54 -16 + [Bug 2808] GPSD_JSON driver enhancements, step 1. + Add a few more tallies as per Hal Murray's suggestions + + + ntpd/refclock_gpsdjson.c@1.18 +39 -18 + [Bug 2808] GPSD_JSON driver enhancements, step 1. + Add a few more tallies as per Hal Murray's suggestions + + +ChangeSet@1.3320.2.7, 2015-04-24 09:25:09+00:00, stenn@psp-at1.ntp.org + [Bug 2776] Improve ntpq's 'help keytype' + + sntp/m4/ntp_openssl.m4@1.23 +7 -1 + [Bug 2776] Improve ntpq's 'help keytype' + +ChangeSet@1.3320.4.3, 2015-04-24 01:25:50-04:00, stenn@deacon.udel.edu + refclock_true.c true_debug() can't open debug log because of incompatible open/fdopen parameters + + ChangeLog@1.1635.3.1 +2 -0 + refclock_true.c true_debug() can't open debug log because of incompatible open/fdopen parameters + + ntpd/refclock_true.c@1.24 +1 -1 + refclock_true.c true_debug() can't open debug log because of incompatible open/fdopen parameters + +ChangeSet@1.3320.4.2, 2015-04-22 13:49:17-04:00, stenn@deacon.udel.edu + Update NEWS file + + NEWS@1.136 +4 -1 + Update NEWS file + +ChangeSet@1.3320.2.5, 2015-04-22 17:33:08+00:00, stenn@psp-fb1.ntp.org + Fix typo in patch for bug 2776 + + ntpq/ntpq.c@1.157 +1 -1 + Fix typo in patch for bug 2776 + +ChangeSet@1.3320.2.4, 2015-04-22 11:25:54+00:00, stenn@psp-fb1.ntp.org + [Bug 2776] Improve ntpq's 'help keytype' + + ntpq/ntpq.c@1.156 +6 -1 + [Bug 2776] Improve ntpq's 'help keytype' + + sntp/m4/ntp_openssl.m4@1.22 +1 -0 + [Bug 2776] Improve ntpq's 'help keytype' + +ChangeSet@1.3320.4.1, 2015-04-22 08:36:46+00:00, stenn@psp-at1.ntp.org + [Bug 2804] install-local-data assumes GNU find semantics + + Makefile.am@1.126 +4 -4 + [Bug 2804] install-local-data assumes GNU find semantics + +ChangeSet@1.3320.3.1, 2015-04-21 21:08:11+02:00, jnperlin@hydra.(none) + [Bug 2745] ntpd -x steps clock on leap second + Do leap second stepping only of the step adjustment is beyond the proper jump distance limit and step correction is allowed at all. + + ChangeLog@1.1635.2.1 +3 -0 + [Bug 2745] ntpd -x steps clock on leap second + Do leap second stepping only of the step adjustment is beyond the proper jump distance limit and step correction is allowed at all. + + + ntpd/ntp_timer.c@1.83 +15 -5 + [Bug 2745] ntpd -x steps clock on leap second + Do leap second stepping only of the step adjustment is beyond the proper jump distance limit and step correction is allowed at all. + + +ChangeSet@1.3320.2.3, 2015-04-21 09:48:05+00:00, stenn@psp-deb1.ntp.org + [Bug 2776] Improve ntpq's 'help keytype' + + ChangeLog@1.1635.1.3 +1 -0 + [Bug 2776] Improve ntpq's 'help keytype' + + ntpq/ntpq.c@1.155 +132 -8 + [Bug 2776] Improve ntpq's 'help keytype' + +ChangeSet@1.3320.2.2, 2015-04-21 06:49:56+00:00, stenn@psp-fb1.ntp.org + [Bug 2794] Clean up kernel clock status reports + + ChangeLog@1.1635.1.2 +1 -0 + [Bug 2794] Clean up kernel clock status reports + + ntpd/ntp_loopfilter.c@1.184 +83 -8 + [Bug 2794] Clean up kernel clock status reports + +ChangeSet@1.3320.2.1, 2015-04-20 11:26:22+00:00, stenn@psp-fb1.ntp.org + [Bug 2804] install-local-data assumes GNU 'find' semantics' + + ChangeLog@1.1635.1.1 +1 -0 + [Bug 2804] install-local-data assumes GNU 'find' semantics' + + Makefile.am@1.125 +6 -4 + [Bug 2804] install-local-data assumes GNU 'find' semantics' + +ChangeSet@1.3320.1.4, 2015-04-20 10:00:46+00:00, stenn@psp-deb1.ntp.org + [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX + + ChangeLog@1.1637 +1 -0 + [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX + + configure.ac@1.587 +21 -5 + [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX + + ntpd/refclock_shm.c@1.35 +2 -2 + [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX + +ChangeSet@1.3320.1.2, 2015-04-19 23:50:36+00:00, stenn@psp-fb1.ntp.org + cleanup + + ChangeLog@1.1635 +4 -3 + cleanup + +ChangeSet@1.3323, 2015-04-19 12:38:34+02:00, jnperlin@nemesis.localnet + Fixed include file lists; improved generation of 'ntp_keyword.h' + + ports/winnt/vs2008/libntp/libntp.vcproj@1.54 +7 -15 + Fixed include file lists + + ports/winnt/vs2008/ntpd/gen-ntp_keyword.bat@1.4 +19 -7 + 'Touch' both output files to avoid needless cycles + + ports/winnt/vs2008/ntpd/ntpd.vcproj@1.48 +8 -16 + Fixed include file lists + + ports/winnt/vs2008/ntpdate/ntpdate.vcproj@1.16 +1 -1 + Fixed include file lists + + ports/winnt/vs2013/libntp/libntp.vcxproj@1.8 +5 -7 + Fixed include file lists + + ports/winnt/vs2013/libntp/libntp.vcxproj.filters@1.6 +15 -21 + Fixed include file lists + + ports/winnt/vs2013/ntpd/gen-ntp_keyword.bat@1.3 +18 -6 + 'Touch' both output files to avoid needless cycles + + ports/winnt/vs2013/ntpd/ntpd.vcxproj@1.6 +8 -9 + Fixed include file lists + + ports/winnt/vs2013/ntpd/ntpd.vcxproj.filters@1.4 +22 -25 + Fixed include file lists + + ports/winnt/vs2013/ntpdate/ntpdate.vcxproj@1.6 +1 -1 + Fixed include file lists + + ports/winnt/vs2013/ntpdate/ntpdate.vcxproj.filters@1.3 +3 -3 + Fixed include file lists + +ChangeSet@1.3322, 2015-04-13 23:24:19+02:00, jnperlin@nemesis.localnet + make sure batch files are executed via 'call' -- multiple custom build steps fail otherwise. + + ports/winnt/vs2013/loopback-pps/loopback-ppsapi-provider.vcxproj@1.4 +6 -6 + make sure batch files are executed via 'call' -- multiple custom build steps fail otherwise. + + ports/winnt/vs2013/ntp-keygen/ntp-keygen.vcxproj@1.5 +6 -6 + make sure batch files are executed via 'call' -- multiple custom build steps fail otherwise. + + ports/winnt/vs2013/ntpd/ntpd.vcxproj@1.5 +43 -41 + make sure batch files are executed via 'call' -- multiple custom build steps fail otherwise. + + ports/winnt/vs2013/ntpd/ntpd.vcxproj.filters@1.3 +3 -6 + make sure batch files are executed via 'call' -- multiple custom build steps fail otherwise. + + ports/winnt/vs2013/ntpdate/ntpdate.vcxproj@1.5 +6 -6 + make sure batch files are executed via 'call' -- multiple custom build steps fail otherwise. + + ports/winnt/vs2013/ntpdc/ntpdc.vcxproj@1.5 +6 -6 + make sure batch files are executed via 'call' -- multiple custom build steps fail otherwise. + + ports/winnt/vs2013/ntpq/ntpq.vcxproj@1.5 +6 -6 + make sure batch files are executed via 'call' -- multiple custom build steps fail otherwise. + +ChangeSet@1.3320.1.1, 2015-04-13 20:39:08+02:00, jnperlin@hydra.(none) + [Bug 2808] GPSD_JSON driver enhancements, step 1 + + ChangeLog@1.1634 +4 -0 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + + html/drivers/driver46.html@1.5 +210 -69 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + extended docs to reflect new modes, describe clockstat lines + + libjsmn/Makefile@1.2 +10 -2 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + update of libjsmn + + libjsmn/README.md@1.2 +16 -10 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + update of libjsmn + + libjsmn/example/jsondump.c@1.1 +112 -0 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + update of libjsmn + + libjsmn/example/jsondump.c@1.0 +0 -0 + + libjsmn/example/simple.c@1.1 +75 -0 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + update of libjsmn + + libjsmn/example/simple.c@1.0 +0 -0 + + libjsmn/jsmn.c@1.4 +68 -26 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + update of libjsmn + + libjsmn/jsmn.h@1.2 +13 -5 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + update of libjsmn + + libjsmn/jsmn_test.c@1.2 +269 -70 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + update of libjsmn + + ntpd/refclock_gpsdjson.c@1.17 +1242 -480 + [Bug 2808] GPSD_JSON driver enhancements, step 1 + +ChangeSet@1.3321, 2015-04-12 19:49:34+02:00, jnperlin@nemesis.localnet + WinBuild: cleanup of VS2008/VS2013 build, add 64bit build to VS2008 + + BitKeeper/deleted/1f/libntp.vcproj~633f10802d3dd886@1.2 +0 -0 + Delete: ports/winnt/vs2013/libntp/libntp.vcproj + + BitKeeper/deleted/2c/loopback-ppsapi-provider.vcproj~cc591e5b57f29333@1.2 +0 -0 + Delete: ports/winnt/vs2013/loopback-pps/loopback-ppsapi-provider.vcproj + + BitKeeper/deleted/4a/ntpdate.vcproj~25a4bb1b2b25d122@1.2 +0 -0 + Delete: ports/winnt/vs2013/ntpdate/ntpdate.vcproj + + BitKeeper/deleted/59/ntp-keygen.vcproj~113746c5269b75c1@1.2 +0 -0 + Delete: ports/winnt/vs2013/ntp-keygen/ntp-keygen.vcproj + + BitKeeper/deleted/74/loopback-ppsapi.def~c04da70eaf86d30@1.2 +0 -0 + Delete: ports/winnt/ppsapi/loopback/src/loopback-ppsapi.def + + BitKeeper/deleted/7d/instsrv.vcproj~d954b04479d96296@1.2 +0 -0 + Delete: ports/winnt/vs2013/instsrv/instsrv.vcproj + + BitKeeper/deleted/85/ntpq.vcproj~7315506e38872e71@1.2 +0 -0 + Delete: ports/winnt/vs2013/ntpq/ntpq.vcproj + + BitKeeper/deleted/be/ntpd-keyword-gen.vcproj~9da2e11a69865360@1.2 +0 -0 + Delete: ports/winnt/vs2013/ntpd-keyword-gen/ntpd-keyword-gen.vcproj + + BitKeeper/deleted/c6/ntpd.vcproj~b19ad49465a3e751@1.2 +0 -0 + Delete: ports/winnt/vs2013/ntpd/ntpd.vcproj + + BitKeeper/deleted/fc/ntpdc.vcproj~d5808b9e94b3c99@1.2 +0 -0 + Delete: ports/winnt/vs2013/ntpdc/ntpdc.vcproj + + ports/winnt/include/config.h@1.112 +6 -4 + OPENSSL set from property sheet + + ports/winnt/ppsapi/loopback/src/loopback-ppsapi.h@1.2 +4 -1 + avoid double definition of _CRT_SECURE_NO_WARNINGS + + ports/winnt/ppsapi/loopback/src/timepps.h@1.3 +21 -15 + reduce number of warnings + + ports/winnt/vs2008/common.vsprops@1.1 +53 -0 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/common.vsprops@1.0 +0 -0 + + ports/winnt/vs2008/debug-x64.vsprops@1.1 +20 -0 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/debug-x64.vsprops@1.0 +0 -0 + + ports/winnt/vs2008/debug.vsprops@1.1 +20 -0 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/debug.vsprops@1.0 +0 -0 + + ports/winnt/vs2008/instsrv/instsrv.vcproj@1.7 +200 -87 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/libntp/libntp.vcproj@1.53 +156 -49 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/loopback-pps/loopback-ppsapi-provider.vcproj@1.2 +190 -62 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/ntp-keygen/ntp-keygen.vcproj@1.15 +173 -137 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/ntp.sln@1.11 +39 -1 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/ntpd-keyword-gen/ntpd-keyword-gen.vcproj@1.3 +144 -53 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/ntpd/gen-ntp_keyword.bat@1.3 +6 -4 + minor cleanup & touch emulation + + ports/winnt/vs2008/ntpd/ntpd.vcproj@1.47 +253 -235 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/ntpdate/ntpdate.vcproj@1.15 +178 -116 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/ntpdc/ntpdc.vcproj@1.17 +178 -157 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/ntpq/ntpq.vcproj@1.16 +176 -149 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/release-x64.vsprops@1.1 +21 -0 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/release-x64.vsprops@1.0 +0 -0 + + ports/winnt/vs2008/release.vsprops@1.1 +21 -0 + add 64bit build, refactor into property sheets + + ports/winnt/vs2008/release.vsprops@1.0 +0 -0 + + ports/winnt/vs2013/common.props@1.1 +59 -0 + refactor into property sheets + + ports/winnt/vs2013/common.props@1.0 +0 -0 + + ports/winnt/vs2013/debug-x64.props@1.1 +23 -0 + refactor into property sheets + + ports/winnt/vs2013/debug-x64.props@1.0 +0 -0 + + ports/winnt/vs2013/debug.props@1.1 +24 -0 + refactor into property sheets + + ports/winnt/vs2013/debug.props@1.0 +0 -0 + + ports/winnt/vs2013/instsrv/instsrv.vcxproj@1.3 +88 -499 + refactor into property sheets + + ports/winnt/vs2013/instsrv/instsrv.vcxproj.filters@1.2 +9 -3 + refactor into property sheets + + ports/winnt/vs2013/libntp/libntp.vcxproj@1.7 +150 -462 + refactor into property sheets + + ports/winnt/vs2013/libntp/libntp.vcxproj.filters@1.5 +21 -24 + refactor into property sheets + + ports/winnt/vs2013/loopback-pps/loopback-ppsapi-provider.vcxproj@1.3 +95 -430 + refactor into property sheets + + ports/winnt/vs2013/loopback-pps/loopback-ppsapi-provider.vcxproj.filters@1.2 +4 -1 + refactor into property sheets + + ports/winnt/vs2013/ntp-keygen/ntp-keygen.vcxproj@1.4 +83 -565 + refactor into property sheets + + ports/winnt/vs2013/ntp-keygen/ntp-keygen.vcxproj.filters@1.2 +3 -3 + refactor into property sheets + + ports/winnt/vs2013/ntp.sln@1.3 +61 -61 + refactor into property sheets + + ports/winnt/vs2013/ntpd-keyword-gen/ntpd-keyword-gen.vcxproj@1.4 +85 -389 + refactor into property sheets + + ports/winnt/vs2013/ntpd/gen-ntp_keyword.bat@1.2 +6 -4 + minor cleanup & touch emulation + + ports/winnt/vs2013/ntpd/ntpd.vcxproj@1.4 +195 -728 + refactor into property sheets + + ports/winnt/vs2013/ntpd/ntpd.vcxproj.filters@1.2 +19 -31 + refactor into property sheets + + ports/winnt/vs2013/ntpdate/ntpdate.vcxproj@1.4 +84 -547 + refactor into property sheets + + ports/winnt/vs2013/ntpdate/ntpdate.vcxproj.filters@1.2 +3 -3 + refactor into property sheets + + ports/winnt/vs2013/ntpdc/ntpdc.vcxproj@1.4 +85 -575 + refactor into property sheets + + ports/winnt/vs2013/ntpdc/ntpdc.vcxproj.filters@1.2 +3 -3 + refactor into property sheets + + ports/winnt/vs2013/ntpq/ntpq.vcxproj@1.4 +74 -537 + refactor into property sheets + + ports/winnt/vs2013/ntpq/ntpq.vcxproj.filters@1.2 +3 -3 + refactor into property sheets + + ports/winnt/vs2013/release-x64.props@1.1 +24 -0 + refactor into property sheets + + ports/winnt/vs2013/release-x64.props@1.0 +0 -0 + + ports/winnt/vs2013/release.props@1.1 +25 -0 + refactor into property sheets + + ports/winnt/vs2013/release.props@1.0 +0 -0 + ChangeSet@1.3320, 2015-04-07 04:28:16-04:00, stenn@deacon.udel.edu NTP_4_2_8P2 TAG: NTP_4_2_8P2 @@ -344,6 +7089,32 @@ ChangeSet@1.3318, 2015-04-07 07:57:32+00:00, stenn@psp-fb1.ntp.org NEWS@1.135 +4 -2 NEWS update +ChangeSet@1.3314.1.4, 2015-04-07 07:43:04+00:00, stenn@psp-fb1.ntp.org + Initial import of the Unity test framework + + ChangeLog@1.1629.1.4 +1 -0 + Initial import of the Unity test framework + + sntp/unity/license.txt@1.1 +21 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/license.txt + + sntp/unity/license.txt@1.0 +0 -0 + + sntp/unity/unity.c@1.1 +1177 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/unity.c + + sntp/unity/unity.c@1.0 +0 -0 + + sntp/unity/unity.h@1.1 +272 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/unity.h + + sntp/unity/unity.h@1.0 +0 -0 + + sntp/unity/unity_internals.h@1.1 +692 -0 + BitKeeper file /a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity/sntp/unity/unity_internals.h + + sntp/unity/unity_internals.h@1.0 +0 -0 + ChangeSet@1.3314.1.3, 2015-04-03 03:56:38-04:00, stenn@deacon.udel.edu NTP_4_2_8P2_RC3 TAG: NTP_4_2_8P2_RC3 @@ -1199,19 +7970,19 @@ ChangeSet@1.3308.2.4, 2015-03-30 19:10:12+02:00, jnperlin@nemesis.localnet [Bug 2795] Cannot build without OpenSLL (on Win32) Provided a Win32 specific wrapper around libevent/arc4random.c -ChangeSet@1.3305.3.8, 2015-03-30 15:55:43+02:00, martin@pc-martin.(none) +ChangeSet@1.3305.4.8, 2015-03-30 15:55:43+02:00, martin@pc-martin.(none) [Bug 2794] Don't let reports on normal kernel status changes look like errors. - ChangeLog@1.1622.3.8 +2 -0 + ChangeLog@1.1622.4.8 +2 -0 [Bug 2794] Don't let reports on normal kernel status changes look like errors. ntpd/ntp_loopfilter.c@1.181 +30 -19 [Bug 2794] Don't let reports on normal kernel status changes look like errors. -ChangeSet@1.3305.3.7, 2015-03-30 11:23:48+02:00, martin@pc-martin.(none) +ChangeSet@1.3305.4.7, 2015-03-30 11:23:48+02:00, martin@pc-martin.(none) [Bug 2788] New flag -G (force_step_once) - ChangeLog@1.1622.3.7 +1 -0 + ChangeLog@1.1622.4.7 +1 -0 [Bug 2788] New flag -G (force_step_once) include/ntpd.h@1.185.1.1 +4 -3 @@ -1600,10 +8371,10 @@ ChangeSet@1.3308, 2015-03-29 01:49:10+00:00, stenn@psp-deb1.ntp.org ntpd/ntpd.c@1.159 +1 -0 [Bug 2346] "graceful termination" signals do not do peer cleanup -ChangeSet@1.3305.3.6, 2015-03-25 17:32:25+01:00, martin@pc-martin.(none) +ChangeSet@1.3305.4.6, 2015-03-25 17:32:25+01:00, martin@pc-martin.(none) [Bug 2592] Account for PPS sources which can provide an accurate absolute time stamp, and status information. - ChangeLog@1.1622.3.6 +2 -0 + ChangeLog@1.1622.4.6 +2 -0 [Bug 2592] Account for PPS sources which can provide an accurate absolute time stamp, and status information. include/ntp.h@1.213 +2 -1 @@ -1615,10 +8386,10 @@ ChangeSet@1.3305.3.6, 2015-03-25 17:32:25+01:00, martin@pc-martin.(none) ntpd/refclock_parse.c@1.78 +2 -2 [Bug 2592] Parse driver can return absolute timestamp with PPS, and status information. -ChangeSet@1.3305.3.5, 2015-03-25 17:24:59+01:00, martin@pc-martin.(none) +ChangeSet@1.3305.4.5, 2015-03-25 17:24:59+01:00, martin@pc-martin.(none) Fixed indention and removed trailing whitespace. - ChangeLog@1.1622.3.5 +1 -0 + ChangeLog@1.1622.4.5 +1 -0 Fixed indention and removed trailing whitespace. include/ntp.h@1.212 +4 -4 @@ -1633,25 +8404,25 @@ ChangeSet@1.3305.3.5, 2015-03-25 17:24:59+01:00, martin@pc-martin.(none) ntpd/refclock_parse.c@1.77 +16 -16 Fixed indention. -ChangeSet@1.3305.3.4, 2015-03-22 07:59:12+00:00, stenn@psp-fb1.ntp.org +ChangeSet@1.3305.4.4, 2015-03-22 07:59:12+00:00, stenn@psp-fb1.ntp.org merge cleanup - ChangeLog@1.1622.3.4 +0 -1 + ChangeLog@1.1622.4.4 +0 -1 merge cleanup -ChangeSet@1.3305.5.3, 2015-03-22 07:24:07+00:00, stenn@psp-fb1.ntp.org +ChangeSet@1.3305.6.3, 2015-03-22 07:24:07+00:00, stenn@psp-fb1.ntp.org Bug 2791 -> Bug 2789 - ChangeLog@1.1622.5.3 +1 -1 + ChangeLog@1.1622.6.3 +1 -1 Bug 2791 -> Bug 2789 -ChangeSet@1.3305.5.2, 2015-03-22 06:59:06+00:00, stenn@psp-fb1.ntp.org +ChangeSet@1.3305.6.2, 2015-03-22 06:59:06+00:00, stenn@psp-fb1.ntp.org Merge cleanup - ChangeLog@1.1622.5.2 +22 -22 + ChangeLog@1.1622.6.2 +22 -22 Merge cleanup -ChangeSet@1.3305.4.2, 2015-03-22 03:48:52+00:00, stenn@psp-fb1.ntp.org +ChangeSet@1.3305.5.2, 2015-03-22 03:48:52+00:00, stenn@psp-fb1.ntp.org [Bug 2769] New script: update-leap .point-changed-filelist@1.26 +7 -0 @@ -1660,16 +8431,16 @@ ChangeSet@1.3305.4.2, 2015-03-22 03:48:52+00:00, stenn@psp-fb1.ntp.org scripts/update-leap/Makefile.am@1.2 +2 -1 [Bug 2769] New script: update-leap -ChangeSet@1.3305.4.1, 2015-03-22 03:01:33+00:00, stenn@psp-fb1.ntp.org +ChangeSet@1.3305.5.1, 2015-03-22 03:01:33+00:00, stenn@psp-fb1.ntp.org [Bug 2769] New script: update-leap BitKeeper/etc/ignore@1.86 +1 -0 added Makefile.in - ChangeLog@1.1622.4.1 +1 -0 + ChangeLog@1.1622.5.1 +1 -0 [Bug 2769] New script: update-leap - configure.ac@1.585 +8 -7 + configure.ac@1.584.1.1 +8 -7 [Bug 2769] New script: update-leap scripts/Makefile.am@1.40 +1 -0 @@ -1756,11 +8527,11 @@ ChangeSet@1.3305.4.1, 2015-03-22 03:01:33+00:00, stenn@psp-fb1.ntp.org sntp/m4/ntp_locinfo.m4@1.18 +6 -0 [Bug 2769] New script: update-leap -ChangeSet@1.3305.3.1, 2015-03-20 13:03:38+01:00, burnicki@pc-martin4. +ChangeSet@1.3305.4.1, 2015-03-20 13:03:38+01:00, burnicki@pc-martin4. [Bug 2790] If ntpd sets the Windows MM timer highest resolution then pause briefly before measuring system clock precision to yield correct results. - ChangeLog@1.1622.3.1 +3 -1 + ChangeLog@1.1622.4.1 +3 -1 [Bug 2790] If ntpd sets the Windows MM timer highest resolution then pause briefly before measuring system clock precision to yield correct results. @@ -1768,19 +8539,19 @@ ChangeSet@1.3305.3.1, 2015-03-20 13:03:38+01:00, burnicki@pc-martin4. [Bug 2790] If ntpd sets the Windows MM timer highest resolution then pause briefly before measuring system clock precision to yield correct results. -ChangeSet@1.3305.2.6, 2015-03-20 11:47:15+01:00, martin@pc-martin.(none) +ChangeSet@1.3305.3.6, 2015-03-20 11:47:15+01:00, martin@pc-martin.(none) [Bug 2791] Quiet compiler warnings from libevent. - ChangeLog@1.1622.2.6 +1 -0 + ChangeLog@1.1622.3.6 +1 -0 [Bug 2791] Quiet compiler warnings from libevent. sntp/libevent/evthread-internal.h@1.8 +2 -2 [Bug 2791] Fixed function prototypes to quiet compiler warnings. -ChangeSet@1.3305.2.5, 2015-03-20 11:36:15+01:00, martin@pc-martin.(none) +ChangeSet@1.3305.3.5, 2015-03-20 11:36:15+01:00, martin@pc-martin.(none) [Bug 1787] DCF77's formerly "antenna" bit is "call bit" since 2003. - ChangeLog@1.1622.2.5 +4 -3 + ChangeLog@1.1622.3.5 +4 -3 [Bug 1787] DCF77's formerly "antenna" bit is "call bit" since 2003. include/parse.h@1.12 +3 -3 @@ -1809,23 +8580,23 @@ ChangeSet@1.3305.2.5, 2015-03-20 11:36:15+01:00, martin@pc-martin.(none) [Bug 1787] DCF77's formerly "antenna" bit is "call bit" since 2003. Removed trailing whitespace and fixed indention. -ChangeSet@1.3305.2.4, 2015-03-19 17:00:30+01:00, martin@pc-martin.(none) +ChangeSet@1.3305.3.4, 2015-03-19 17:00:30+01:00, martin@pc-martin.(none) Added a comment from Juergen Perlinger in ntp_date.c to make the code clearer. - ChangeLog@1.1622.2.4 +1 -0 + ChangeLog@1.1622.3.4 +1 -0 Added a comment from Juergen Perlinger in ntp_date.c to make the code clearer. libntp/ntp_calendar.c@1.15 +40 -34 Added a comment from Juergen Perlinger to make the code clearer. Removed trailing whitespace. -ChangeSet@1.3305.2.3, 2015-03-19 16:52:05+01:00, martin@pc-martin.(none) +ChangeSet@1.3305.3.3, 2015-03-19 16:52:05+01:00, martin@pc-martin.(none) Use predefined function types for parse driver functions used to set up function pointers. Account for changed prototype of parse_inp_fnc_t functions. Cast parse conversion results to appropriate types to avoid compiler warnings. Let ioctl() for Windows accept a (void *) to avoid compiler warnings when called with pointers to different types. - ChangeLog@1.1622.2.3 +7 -0 + ChangeLog@1.1622.3.3 +7 -0 Use predefined function types for parse driver functions used to set up function pointers. Account for changed prototype of parse_inp_fnc_t functions. Cast parse conversion results to appropriate types to avoid compiler warnings. @@ -1915,12 +8686,12 @@ ChangeSet@1.3305.2.3, 2015-03-19 16:52:05+01:00, martin@pc-martin.(none) ports/winnt/libntp/termios.c@1.30 +2 -1 Let ioctl() accept a (void *) to avoid compiler warnings when called with pointers to different types. -ChangeSet@1.3305.1.19, 2015-03-19 07:54:24+00:00, stenn@psp-deb1.ntp.org +ChangeSet@1.3305.2.4, 2015-03-19 07:54:24+00:00, stenn@psp-deb1.ntp.org ntp_proto.c, ChangeLog: [Sec 2779] ntpd accepts unauthenticated packets with symmetric key crypto. [Sec 2781] Authentication doesn't protect symmetric associations against DoS attacks. - ChangeLog@1.1622.1.16 +3 -0 + ChangeLog@1.1622.2.4 +3 -0 [Sec 2779] ntpd accepts unauthenticated packets with symmetric key crypto. [Sec 2781] Authentication doesn't protect symmetric associations against DoS attacks. @@ -1928,10 +8699,10 @@ ChangeSet@1.3305.1.19, 2015-03-19 07:54:24+00:00, stenn@psp-deb1.ntp.org [Sec 2779] ntpd accepts unauthenticated packets with symmetric key crypto. [Sec 2781] Authentication doesn't protect symmetric associations against DoS attacks. -ChangeSet@1.3305.1.18, 2015-03-16 09:17:42+00:00, stenn@psp-fb1.ntp.org +ChangeSet@1.3305.2.3, 2015-03-16 09:17:42+00:00, stenn@psp-fb1.ntp.org [Bug 2763] Allow different thresholds for forward and backward steps - ChangeLog@1.1622.1.15 +1 -0 + ChangeLog@1.1622.2.3 +1 -0 [Bug 2763] Allow different thresholds for forward and backward steps include/ntp.h@1.211 +13 -11 @@ -1982,7 +8753,7 @@ ChangeSet@1.3305.1.18, 2015-03-16 09:17:42+00:00, stenn@psp-fb1.ntp.org ntpd/ntp_parser.y@1.83 +4 -0 [Bug 2763] Allow different thresholds for forward and backward steps -ChangeSet@1.3305.2.2, 2015-03-13 10:28:32+01:00, martin@pc-martin.(none) +ChangeSet@1.3305.3.2, 2015-03-13 10:28:32+01:00, martin@pc-martin.(none) Removed non-ASCII characters from some copyright comments. Removed trailing whitespace. Updated definitions for Meinberg clocks from current Meinberg header files. Now use C99 fixed-width types and avoid non-ASCII characters in comments. @@ -1993,7 +8764,7 @@ ChangeSet@1.3305.2.2, 2015-03-13 10:28:32+01:00, martin@pc-martin.(none) Reworked mk_utcinfo() to avoid printing of ambiguous leap second dates. Modified mbg_tm_str() which now expexts an additional parameter controlling if the time status shall be printed. - ChangeLog@1.1622.2.2 +12 -0 + ChangeLog@1.1622.3.2 +12 -0 Removed non-ASCII characters from some copyright comments. Removed trailing whitespace. Updated definitions for Meinberg clocks from current Meinberg header files. Now use C99 fixed-width types and avoid non-ASCII characters in comments. @@ -2099,19 +8870,19 @@ ChangeSet@1.3305.2.2, 2015-03-13 10:28:32+01:00, martin@pc-martin.(none) parseutil/testdcf.c@1.9 +2 -2 Removed non-ASCII characters from copyright comment. -ChangeSet@1.3305.1.17, 2015-03-10 11:21:46+00:00, stenn@psp-fb1.ntp.org +ChangeSet@1.3305.2.2, 2015-03-10 11:21:46+00:00, stenn@psp-fb1.ntp.org merge cleanup - ChangeLog@1.1622.1.14 +1 -3 + ChangeLog@1.1622.2.2 +1 -3 merge cleanup ntpd/ntp_loopfilter.c@1.178 +5 -2 merge cleanup -ChangeSet@1.3305.2.1, 2015-03-10 10:48:25+01:00, martin@pc-martin.(none) +ChangeSet@1.3305.3.1, 2015-03-10 10:48:25+01:00, martin@pc-martin.(none) Fixed loops and decoding of Meinberg GPS satellite info. - ChangeLog@1.1622.2.1 +1 -0 + ChangeLog@1.1622.3.1 +1 -0 Fixed loops and decoding of Meinberg GPS satellite info. libparse/data_mbg.c@1.13 +3 -3 @@ -2120,16 +8891,43 @@ ChangeSet@1.3305.2.1, 2015-03-10 10:48:25+01:00, martin@pc-martin.(none) ntpd/refclock_parse.c@1.73 +44 -68 Fixed loops and decoding of Meinberg GPS satellite info. -ChangeSet@1.3305.1.16, 2015-03-09 06:36:19-04:00, murray@pogo.udel.edu +ChangeSet@1.3305.2.1, 2015-03-09 06:36:19-04:00, murray@pogo.udel.edu ChangeLog, ntp_loopfilter.c: Fix for bug 2774 - ChangeLog@1.1622.1.13 +3 -0 + ChangeLog@1.1622.2.1 +3 -0 Fix for bug 2774 ntpd/ntp_loopfilter.c@1.177 +4 -1 Fix for bug 2774 +ChangeSet@1.3305.1.18, 2015-03-07 23:04:03+00:00, stenn@psp-fb1.ntp.org + [Bug 2782] Refactor refclock_shm.c, add memory barrier protection + + ntpd/refclock_shm.c@1.34 +6 -1 + [Bug 2782] Refactor refclock_shm.c, add memory barrier protection + +ChangeSet@1.3305.1.17, 2015-03-07 01:51:49+00:00, stenn@stenn.ntp.org + [Bug 2784] Fix for 2782 uses clock_gettime() instead of get_ostime() + + ChangeLog@1.1622.1.14 +1 -0 + [Bug 2784] Fix for 2782 uses clock_gettime() instead of get_ostime() + + ntpd/refclock_shm.c@1.33 +1 -1 + [Bug 2784] Fix for 2782 uses clock_gettime() instead of get_ostime() + +ChangeSet@1.3305.1.16, 2015-03-05 20:08:21+00:00, stenn@stenn.ntp.org + [Bug 2782] Refactor refclock_shm.c, add memory barrier protection + + ChangeLog@1.1622.1.13 +1 -0 + [Bug 2782] Refactor refclock_shm.c, add memory barrier protection + + configure.ac@1.585 +7 -1 + [Bug 2782] Refactor refclock_shm.c, add memory barrier protection + + ntpd/refclock_shm.c@1.32 +196 -108 + [Bug 2782] Refactor refclock_shm.c, add memory barrier protection + ChangeSet@1.3305.1.15, 2015-03-05 10:17:02+00:00, stenn@psp-fb1.ntp.org [Bug 2783] Quiet autoconf warnings about missing AC_LANG_SOURCE diff --git a/contrib/ntp/Makefile.am b/contrib/ntp/Makefile.am index fc76719f0428..11b20bfdb971 100644 --- a/contrib/ntp/Makefile.am +++ b/contrib/ntp/Makefile.am @@ -34,6 +34,7 @@ EXTRA_DIST = \ NOTES.y2kfixes \ README.bk \ README.hackers \ + README.leapsmear \ README.patches \ README.refclocks \ README.versions \ @@ -113,10 +114,13 @@ dist-hook: @find $(distdir) -type d -name SCCS -print | xargs rm -rf install-data-local: - ( cd $(srcdir) && find html -name SCCS -prune -o -type d \ - -exec $(INSTALL) -d $(DESTDIR)$(htmldir)/{} ";" ) - ( cd $(srcdir) && find html -name SCCS -prune -o -type f \ - -exec $(INSTALL_DATA) {} $(DESTDIR)$(htmldir)/{} ";" ) + @echo "Installing stand-alone HTML documentation" + @( cd $(srcdir) && \ + for i in `find html -type d | grep -v SCCS` ; \ + do $(INSTALL) -d $(DESTDIR)$(htmldir)/$$i ; done ) + @( cd $(srcdir) && \ + for i in `find html -type f | grep -v SCCS` ; \ + do $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; done ) uninstall-local: rm -rf $(DESTDIR)$(htmldir)/html diff --git a/contrib/ntp/Makefile.in b/contrib/ntp/Makefile.in index 47232a60e2bd..4d71d85fd0d2 100644 --- a/contrib/ntp/Makefile.in +++ b/contrib/ntp/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -15,6 +14,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -34,18 +88,6 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ - $(top_srcdir)/configure ChangeLog INSTALL NEWS TODO compile \ - config.guess config.sub depcomp install-sh ltmain.sh missing \ - sntp/libevent/build-aux/compile \ - sntp/libevent/build-aux/config.guess \ - sntp/libevent/build-aux/config.sub \ - sntp/libevent/build-aux/depcomp \ - sntp/libevent/build-aux/install-sh \ - sntp/libevent/build-aux/ltmain.sh \ - sntp/libevent/build-aux/missing sntp/libevent/build-aux/ylwrap \ - ylwrap ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/libopts/m4/stdnoreturn.m4 \ @@ -76,6 +118,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -85,42 +128,99 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir dist dist-all distcheck +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(top_srcdir)/sntp/libevent/build-aux/ar-lib \ + $(top_srcdir)/sntp/libevent/build-aux/compile \ + $(top_srcdir)/sntp/libevent/build-aux/config.guess \ + $(top_srcdir)/sntp/libevent/build-aux/config.sub \ + $(top_srcdir)/sntp/libevent/build-aux/install-sh \ + $(top_srcdir)/sntp/libevent/build-aux/ltmain.sh \ + $(top_srcdir)/sntp/libevent/build-aux/missing ChangeLog \ + INSTALL NEWS README TODO compile config.guess config.sub \ + depcomp install-sh ltmain.sh missing \ + sntp/libevent/build-aux/ar-lib sntp/libevent/build-aux/compile \ + sntp/libevent/build-aux/config.guess \ + sntp/libevent/build-aux/config.sub \ + sntp/libevent/build-aux/depcomp \ + sntp/libevent/build-aux/install-sh \ + sntp/libevent/build-aux/ltmain.sh \ + sntp/libevent/build-aux/missing sntp/libevent/build-aux/ylwrap \ + ylwrap DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ - { test ! -d "$(distdir)" \ - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr "$(distdir)"; }; } + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ @@ -148,7 +248,10 @@ am__relativize = \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best +DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ @@ -199,6 +302,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -315,6 +419,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -444,6 +549,7 @@ EXTRA_DIST = \ NOTES.y2kfixes \ README.bk \ README.hackers \ + README.leapsmear \ README.patches \ README.refclocks \ README.versions \ @@ -488,7 +594,7 @@ all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: -am--refresh: +am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ @@ -503,7 +609,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -524,10 +629,8 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__aclocal_m4_deps): config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ - else :; fi + @test -f $@ || rm -f stamp-h1 + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 @@ -550,22 +653,25 @@ distclean-libtool: -rm -f libtool config.lt # This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ @@ -580,57 +686,12 @@ $(RECURSIVE_TARGETS): $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ @@ -646,12 +707,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -663,15 +719,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -680,9 +732,31 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) @@ -718,13 +792,10 @@ distdir: $(DISTFILES) done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ @@ -756,36 +827,42 @@ distdir: $(DISTFILES) || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) + $(am__post_remove_distdir) dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) -dist-lzma: distdir - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma - $(am__remove_distdir) +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) dist-xz: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz - $(am__remove_distdir) + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) dist-tarZ: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) + $(am__post_remove_distdir) dist-shar: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) + $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) + $(am__post_remove_distdir) -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another @@ -796,8 +873,8 @@ distcheck: dist GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ @@ -807,17 +884,19 @@ distcheck: dist *.zip*) \ unzip $(distdir).zip ;;\ esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ @@ -840,13 +919,21 @@ distcheck: dist && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 - $(am__remove_distdir) + $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: - @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ @@ -879,10 +966,15 @@ install-am: all-am installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -967,26 +1059,27 @@ ps-am: uninstall-am: uninstall-local -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ - ctags-recursive install install-am install-strip \ - tags-recursive +.MAKE: $(am__recursive_targets) all check install install-am \ + install-strip -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am am--refresh check check-am clean clean-generic \ - clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ - dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \ - dist-zip distcheck distclean distclean-generic distclean-hdr \ - distclean-libtool distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-data-local install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-local +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + clean-libtool cscope cscopelist-am ctags ctags-am dist \ + dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ + dist-tarZ dist-xz dist-zip distcheck distclean \ + distclean-generic distclean-hdr distclean-libtool \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-local install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am uninstall-local + +.PRECIOUS: Makefile .gcc-warning: @@ -1032,10 +1125,13 @@ dist-hook: @find $(distdir) -type d -name SCCS -print | xargs rm -rf install-data-local: - ( cd $(srcdir) && find html -name SCCS -prune -o -type d \ - -exec $(INSTALL) -d $(DESTDIR)$(htmldir)/{} ";" ) - ( cd $(srcdir) && find html -name SCCS -prune -o -type f \ - -exec $(INSTALL_DATA) {} $(DESTDIR)$(htmldir)/{} ";" ) + @echo "Installing stand-alone HTML documentation" + @( cd $(srcdir) && \ + for i in `find html -type d | grep -v SCCS` ; \ + do $(INSTALL) -d $(DESTDIR)$(htmldir)/$$i ; done ) + @( cd $(srcdir) && \ + for i in `find html -type f | grep -v SCCS` ; \ + do $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; done ) uninstall-local: rm -rf $(DESTDIR)$(htmldir)/html diff --git a/contrib/ntp/NEWS b/contrib/ntp/NEWS index a425a9a4dc3f..4e61d1b80bb7 100644 --- a/contrib/ntp/NEWS +++ b/contrib/ntp/NEWS @@ -1,5 +1,154 @@ --- -NTP 4.2.8p2 (Harlan Stenn , 2015/04/xx) +NTP 4.2.8p3 (Harlan Stenn , 2015/06/29) + +Focus: 1 Security fix. Bug fixes and enhancements. Leap-second improvements. + +Severity: MEDIUM + +Security Fix: + +* [Sec 2853] Crafted remote config packet can crash some versions of + ntpd. Aleksis Kauppinen, Juergen Perlinger, Harlan Stenn. + +Under specific circumstances an attacker can send a crafted packet to +cause a vulnerable ntpd instance to crash. This requires each of the +following to be true: + +1) ntpd set up to allow remote configuration (not allowed by default), and +2) knowledge of the configuration password, and +3) access to a computer entrusted to perform remote configuration. + +This vulnerability is considered low-risk. + +New features in this release: + +Optional (disabled by default) support to have ntpd provide smeared +leap second time. A specially built and configured ntpd will only +offer smeared time in response to client packets. These response +packets will also contain a "refid" of 254.a.b.c, where the 24 bits +of a, b, and c encode the amount of smear in a 2:22 integer:fraction +format. See README.leapsmear and http://bugs.ntp.org/2855 for more +information. + + *IF YOU CHOOSE TO CONFIGURE NTPD TO PROVIDE LEAP SMEAR TIME* + *BE SURE YOU DO NOT OFFER THAT TIME ON PUBLIC TIMESERVERS.* + +We've imported the Unity test framework, and have begun converting +the existing google-test items to this new framework. If you want +to write new tests or change old ones, you'll need to have ruby +installed. You don't need ruby to run the test suite. + +Bug Fixes and Improvements: + +* CID 739725: Fix a rare resource leak in libevent/listener.c. +* CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776. +* CID 1296235: Fix refclock_jjy.c and correcting type of the driver40-ja.html +* CID 1269537: Clean up a line of dead code in getShmTime(). +* [Bug 1060] Buffer overruns in libparse/clk_rawdcf.c. Helge Oldach. +* [Bug 2590] autogen-5.18.5. +* [Bug 2612] restrict: Warn when 'monitor' can't be disabled because + of 'limited'. +* [Bug 2650] fix includefile processing. +* [Bug 2745] ntpd -x steps clock on leap second + Fixed an initial-value problem that caused misbehaviour in absence of + any leapsecond information. + Do leap second stepping only of the step adjustment is beyond the + proper jump distance limit and step correction is allowed at all. +* [Bug 2750] build for Win64 + Building for 32bit of loopback ppsapi needs def file +* [Bug 2776] Improve ntpq's 'help keytype'. +* [Bug 2778] Implement "apeers" ntpq command to include associd. +* [Bug 2782] Refactor refclock_shm.c, add memory barrier protection. +* [Bug 2792] If the IFF_RUNNING interface flag is supported then an + interface is ignored as long as this flag is not set since the + interface is not usable (e.g., no link). +* [Bug 2794] Clean up kernel clock status reports. +* [Bug 2800] refclock_true.c true_debug() can't open debug log because + of incompatible open/fdopen parameters. +* [Bug 2804] install-local-data assumes GNU 'find' semantics. +* [Bug 2805] ntpd fails to join multicast group. +* [Bug 2806] refclock_jjy.c supports the Telephone JJY. +* [Bug 2808] GPSD_JSON driver enhancements, step 1. + Fix crash during cleanup if GPS device not present and char device. + Increase internal token buffer to parse all JSON data, even SKY. + Defer logging of errors during driver init until the first unit is + started, so the syslog is not cluttered when the driver is not used. + Various improvements, see http://bugs.ntp.org/2808 for details. + Changed libjsmn to a more recent version. +* [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX. +* [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h. +* [Bug 2815] net-snmp before v5.4 has circular library dependencies. +* [Bug 2821] Add a missing NTP_PRINTF and a missing const. +* [Bug 2822] New leap column in sntp broke NTP::Util.pm. +* [Bug 2824] Convert update-leap to perl. (also see 2769) +* [Bug 2825] Quiet file installation in html/ . +* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + NTPD transfers the current TAI (instead of an announcement) now. + This might still needed improvement. + Update autokey data ASAP when 'sys_tai' changes. + Fix unit test that was broken by changes for autokey update. + Avoid potential signature length issue and use DPRINTF where possible + in ntp_crypto.c. +* [Bug 2832] refclock_jjy.c supports the TDC-300. +* [Bug 2834] Correct a broken html tag in html/refclock.html +* [Bug 2836] DFC77 patches from Frank Kardel to make decoding more + robust, and require 2 consecutive timestamps to be consistent. +* [Bug 2837] Allow a configurable DSCP value. +* [Bug 2837] add test for DSCP to ntpd/complete.conf.in +* [Bug 2842] Glitch in ntp.conf.def documentation stanza. +* [Bug 2842] Bug in mdoc2man. +* [Bug 2843] make check fails on 4.3.36 + Fixed compiler warnings about numeric range overflow + (The original topic was fixed in a byplay to bug#2830) +* [Bug 2845] Harden memory allocation in ntpd. +* [Bug 2852] 'make check' can't find unity.h. Hal Murray. +* [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida. +* [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. +* [Bug 2855] Report leap smear in the REFID. Harlan Stenn. +* [Bug 2855] Implement conditional leap smear code. Martin Burnicki. +* [Bug 2856] ntpd should wait() on terminated child processes. Paul Green. +* [Bug 2857] Stratus VOS does not support SIGIO. Paul Green. +* [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. +* [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel. +* html/drivers/driver22.html: typo fix. Harlan Stenn. +* refidsmear test cleanup. Tomasz Flendrich. +* refidsmear function support and tests. Harlan Stenn. +* sntp/tests/Makefile.am: remove g_nameresolution.cpp as it tested + something that was only in the 4.2.6 sntp. Harlan Stenn. +* Modified tests/bug-2803/Makefile.am so it builds Unity framework tests. + Damir Tomić +* Modified tests/libtnp/Makefile.am so it builds Unity framework tests. + Damir Tomić +* Modified sntp/tests/Makefile.am so it builds Unity framework tests. + Damir Tomić +* tests/sandbox/smeartest.c: Harlan Stenn, Damir Tomic, Juergen Perlinger. +* Converted from gtest to Unity: tests/bug-2803/. Damir Tomić +* Converted from gtest to Unity: tests/libntp/ a_md5encrypt, atoint.c, + atouint.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c, + calyearstart.c, clocktime.c, hextoint.c, lfpfunc.c, modetoa.c, + numtoa.c, numtohost.c, refnumtoa.c, ssl_init.c, statestr.c, + timespecops.c, timevalops.c, uglydate.c, vi64ops.c, ymd2yd.c. + Damir Tomić +* Converted from gtest to Unity: sntp/tests/ kodDatabase.c, kodFile.c, + networking.c, keyFile.c, utilities.cpp, sntptest.h, + fileHandlingTest.h. Damir Tomić +* Initial support for experimental leap smear code. Harlan Stenn. +* Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn. +* Report select() debug messages at debug level 3 now. +* sntp/scripts/genLocInfo: treat raspbian as debian. +* Unity test framework fixes. + ** Requires ruby for changes to tests. +* Initial support for PACKAGE_VERSION tests. +* sntp/libpkgver belongs in EXTRA_DIST, not DIST_SUBDIRS. +* tests/bug-2803/Makefile.am must distribute bug-2803.h. +* Add an assert to the ntpq ifstats code. +* Clean up the RLIMIT_STACK code. +* Improve the ntpq documentation around the controlkey keyid. +* ntpq.c cleanup. +* Windows port build cleanup. + +--- +NTP 4.2.8p2 (Harlan Stenn , 2015/04/07) Focus: Security and Bug fixes, enhancements. diff --git a/contrib/ntp/README.leapsmear b/contrib/ntp/README.leapsmear new file mode 100644 index 000000000000..37f1c73a7de8 --- /dev/null +++ b/contrib/ntp/README.leapsmear @@ -0,0 +1,272 @@ +Leap Second Smearing with NTP +----------------------------- + +By Martin Burnicki +with some edits by Harlan Stenn + +The NTP software protocol and its reference implementation, ntpd, were +originally designed to distribute UTC time over a network as accurately as +possible. + +Unfortunately, leap seconds are scheduled to be inserted into or deleted +from the UTC time scale in irregular intervals to keep the UTC time scale +synchronized with the Earth rotation. Deletions haven't happened, yet, but +insertions have happened over 30 times. + +The problem is that POSIX requires 86400 seconds in a day, and there is no +prescribed way to handle leap seconds in POSIX. + +Whenever a leap second is to be handled ntpd either: + +- passes the leap second announcement down to the OS kernel (if the OS +supports this) and the kernel handles the leap second automatically, or + +- applies the leap second correction itself. + +NTP servers also pass a leap second warning flag down to their clients via +the normal NTP packet exchange, so clients also become aware of an +approaching leap second, and can handle the leap second appropriately. + + +The Problem on Unix-like Systems +-------------------------------- +If a leap second is to be inserted then in most Unix-like systems the OS +kernel just steps the time back by 1 second at the beginning of the leap +second, so the last second of the UTC day is repeated and thus duplicate +timestamps can occur. + +Unfortunately there are lots of applications which get confused it the +system time is stepped back, e.g. due to a leap second insertion. Thus, +many users have been looking for ways to avoid this, and tried to introduce +workarounds which may work properly, or not. + +So even though these Unix kernels normally can handle leap seconds, the way +they do this is not optimal for applications. + +One good way to handle the leap second is to use ntp_gettime() instead of +the usual calls, because ntp_gettime() includes a "clock state" variable +that will actually tell you if the time you are receiving is OK or not, and +if it is OK, if the current second is an in-progress leap second. But even +though this mechanism has been available for about 20 years' time, almost +nobody uses it. + + +NTP Client for Windows Contains a Workaround +-------------------------------------------- +The Windows system time knows nothing about leap seconds, so for many years +the Windows port of ntpd provides a workaround where the system time is +slewed by the client to compensate the leap second. + +Thus it is not required to use a smearing NTP server for Windows clients, +but of course the smearing server approach also works. + + +The Leap Smear Approach +----------------------- +Due to the reasons mentioned above some support for leap smearing has +recently been implemented in ntpd. This means that to insert a leap second +an NTP server adds a certain increasing "smear" offset to the real UTC time +sent to its clients, so that after some predefined interval the leap second +offset is compensated. The smear interval should be long enough, +e.g. several hours, so that NTP clients can easily follow the clock drift +caused by the smeared time. + +During the period while the leap smear is being performed, ntpd will include +a specially-formatted 'refid' in time packets that contain "smeared" time. +This refid is of the form 254.x.y.z, where x.y.z are 24 encoded bits of the +smear value. + +With this approach the time an NTP server sends to its clients still matches +UTC before the leap second, up to the beginning of the smear interval, and +again corresponds to UTC after the insertion of the leap second has +finished, at the end of the smear interval. By examining the first byte of +the refid, one can also determine if the server is offering smeared time or +not. + +Of course, clients which receive the "smeared" time from an NTP server don't +have to (and even must not) care about the leap second anymore. Smearing is +just transparent to the clients, and the clients don't even notice there's a +leap second. + + +Pros and Cons of the Smearing Approach +-------------------------------------- +The disadvantages of this approach are: + +- During the smear interval the time provided by smearing NTP servers +differs significantly from UTC, and thus from the time provided by normal, +non-smearing NTP servers. The difference can be up to 1 second, depending +on the smear algorithm. + +- Since smeared time differs from true UTC, and many applications require +correct legal time (UTC), there may be legal consequences to using smeared +time. Make sure you check to see if this requirement affects you. + +However, for applications where it's only important that all computers have +the same time and a temporary offset of up to 1 s to UTC is acceptable, a +better approach may be to slew the time in a well defined way, over a +certain interval, which is what we call smearing the leap second. + + +The Motivation to Implement Leap Smearing +----------------------------------------- +Here is some historical background for ntpd, related to smearing/slewing +time. + +Up to ntpd 4.2.4, if kernel support for leap seconds was either not +available or was not enabled, ntpd didn't care about the leap second at all. +So if ntpd was run with -x and thus kernel support wasn't used, ntpd saw a +sudden 1 s offset after the leap second and normally would have stepped the +time by -1 s a few minutes later. However, 'ntpd -x' does not step the time +but "slews" the 1-second correction, which takes 33 minutes and 20 seconds +to complete. This could be considered a bug, but certainly this was only an +accidental behavior. + +However, as we learned in the discussion in http://bugs.ntp.org/2745, this +behavior was very much appreciated since indeed the time was never stepped +back, and even though the start of the slewing was somewhat undefined and +depended on the poll interval. The system time was off by 1 second for +several minutes before slewing even started. + +In ntpd 4.2.6 some code was added which let ntpd step the time at UTC +midnight to insert a leap second, if kernel support was not used. +Unfortunately this also happened if ntpd was started with -x, so the folks +who expected that the time was never stepped when ntpd was run with -x found +this wasn't true anymore, and again from the discussion in NTP bug 2745 we +learn that there were even some folks who patched ntpd to get the 4.2.4 +behavior back. + +In 4.2.8 the leap second code was rewritten and some enhancements were +introduced, but the resulting code still showed the behavior of 4.2.6, +i.e. ntpd with -x would still step the time. This has only recently been +fixed in the current ntpd stable code, but this fix is only available with a +certain patch level of ntpd 4.2.8. + +So a possible solution for users who were looking for a way to come over the +leap second without the time being stepped could have been to check the +version of ntpd installed on each of their systems. If it's still 4.2.4 be +sure to start the client ntpd with -x. If it's 4.2.6 or 4.2.8 it won't work +anyway except if you had a patched ntpd version instead of the original +version. So you'd need to upgrade to the current -stable code to be able to +run ntpd with -x and get the desired result, so you'd still have the +requirement to check/update/configure every single machine in your network +that runs ntpd. + +Google's leap smear approach is a very efficient solution for this, for +sites that do not require correct timestamps for legal purposes. You just +have to take care that your NTP servers support leap smearing and configure +those few servers accordingly. If the smear interval is long enough so that +NTP clients can follow the smeared time it doesn't matter at all which +version of ntpd is installed on a client machine, it just works, and it even +works around kernel bugs due to the leap second. + +Since all clients follow the same smeared time the time difference between +the clients during the smear interval is as small as possible, compared to +the -x approach. The current leap second code in ntpd determines the point +in system time when the leap second is to be inserted, and given a +particular smear interval it's easy to determine the start point of the +smearing, and the smearing is finished when the leap second ends, i.e. the +next UTC day begins. + +The maximum error doesn't exceed what you'd get with the old smearing caused +by -x in ntpd 4.2.4, so if users could accept the old behavior they would +even accept the smearing at the server side. + +In order to affect the local timekeeping as little as possible the leap +smear support currently implemented in ntpd does not affect the internal +system time at all. Only the timestamps and refid in outgoing reply packets +*to clients* are modified by the smear offset, so this makes sure the basic +functionality of ntpd is not accidentally broken. Also peer packets +exchanged with other NTP servers are based on the real UTC system time and +the normal refid, as usual. + +The leap smear implementation is optionally available in ntp-4.2.8p3 and +later, and the changes can be tracked via http://bugs.ntp.org/2855. + + +Using NTP's Leap Second Smearing +-------------------------------- +- Leap Second Smearing MUST NOT be used for public servers, e.g. servers +provided by metrology institutes, or servers participating in the NTP pool +project. There would be a high risk that NTP clients get the time from a +mixture of smearing and non-smearing NTP servers which could result in +undefined client behavior. Instead, leap second smearing should only be +configured on time servers providing dedicated clients with time, if all +those clients can accept smeared time. + +- Leap Second Smearing is NOT configured by default. The only way to get +this behavior is to invoke the ./configure script from the NTP source code +package with the --enable-leap-smear parameter before the executables are +built. + +- Even if ntpd has been compiled to enable leap smearing support, leap +smearing is only done if explicitly configured. + +- The leap smear interval should be at least several hours' long, and up to +1 day (86400s). If the interval is too short then the applied smear offset +is applied too quickly for clients to follow. 86400s (1 day) is a good +choice. + +- If several NTP servers are set up for leap smearing then the *same* smear +interval should be configured on each server. + +- Smearing NTP servers DO NOT send a leap second warning flag to client time +requests. Since the leap second is applied gradually the clients don't even +notice there's a leap second being inserted, and thus there will be no log +message or similar related to the leap second be visible on the clients. + +- Since clients don't (and must not) become aware of the leap second at all, +clients getting the time from a smearing NTP server MUST NOT be configured +to use a leap second file. If they had a leap second file they would apply +the leap second twice: the smeared one from the server, plus another one +inserted by themselves due to the leap second file. As a result, the +additional correction would soon be detected and corrected/adjusted. + +- Clients MUST NOT be configured to poll both smearing and non-smearing NTP +servers at the same time. During the smear interval they would get +different times from different servers and wouldn't know which server(s) to +accept. + + +Setting Up A Smearing NTP Server +-------------------------------- +If an NTP server should perform leap smearing then the leap smear interval +(in seconds) needs to be specified in the NTP configuration file ntp.conf, +e.g.: + + leapsmearinterval 86400 + +Please keep in mind the leap smear interval should be between several and 24 +hours' long. With shorter values clients may not be able to follow the +drift caused by the smeared time, and with longer values the discrepancy +between system time and UTC will cause more problems when reconciling +timestamp differences. + +When ntpd starts and a smear interval has been specified then a log message +is generated, e.g.: + + ntpd[31120]: config: leap smear interval 86400 s + +While ntpd is running with a leap smear interval specified the command: + + ntpq -c rv + +reports the smear status, e.g.: + +# ntpq -c rv +associd=0 status=4419 leap_add_sec, sync_uhf_radio, 1 event, leap_armed, +version="ntpd 4.2.8p3-RC1@1.3349-o Mon Jun 22 14:24:09 UTC 2015 (26)", +processor="i586", system="Linux/3.7.1", leap=01, stratum=1, +precision=-18, rootdelay=0.000, rootdisp=1.075, refid=MRS, +reftime=d93dab96.09666671 Tue, Jun 30 2015 23:58:14.036, +clock=d93dab9b.3386a8d5 Tue, Jun 30 2015 23:58:19.201, peer=2335, +tc=3, mintc=3, offset=-0.097015, frequency=44.627, sys_jitter=0.003815, +clk_jitter=0.451, clk_wander=0.035, tai=35, leapsec=201507010000, +expire=201512280000, leapsmearinterval=86400, leapsmearoffset=-932.087 + +In the example above 'leapsmearinterval' reports the configured leap smear +interval all the time, while the 'leapsmearoffset' value is 0 outside the +interval and increases from 0 to -1000 ms over the interval. So this can be +used to monitor if and how the time sent to clients is smeared. With a +leapsmearoffset of -.932087, the refid reported in smeared packets would be +254.196.88.176. diff --git a/contrib/ntp/aclocal.m4 b/contrib/ntp/aclocal.m4 index 24036a425915..bbc54be40406 100644 --- a/contrib/ntp/aclocal.m4 +++ b/contrib/ntp/aclocal.m4 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- +# generated automatically by aclocal 1.15 -*- Autoconf -*- + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,13 +11,14 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, -[m4_warning([this file was generated for autoconf 2.68. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. -To do so, use the procedure documented by the package, typically `autoreconf'.])]) +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # serial 9 -*- Autoconf -*- # Enable extensions on systems that normally disable them. @@ -138,7 +139,7 @@ AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ]) -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2002-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -150,10 +151,10 @@ AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.11' +[am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11.1], [], +m4_if([$1], [1.15], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -169,22 +170,82 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.11.1])dnl +[AM_AUTOMAKE_VERSION([1.15])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) +# Copyright (C) 2011-2014 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_AR([ACT-IF-FAIL]) +# ------------------------- +# Try to determine the archiver interface, and trigger the ar-lib wrapper +# if it is needed. If the detection of archiver interface fails, run +# ACT-IF-FAIL (default is to abort configure with a proper error message). +AC_DEFUN([AM_PROG_AR], +[AC_BEFORE([$0], [LT_INIT])dnl +AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([ar-lib])dnl +AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) +: ${AR=ar} + +AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], + [AC_LANG_PUSH([C]) + am_cv_ar_interface=ar + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], + [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([am_ar_try]) + if test "$ac_status" -eq 0; then + am_cv_ar_interface=ar + else + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([am_ar_try]) + if test "$ac_status" -eq 0; then + am_cv_ar_interface=lib + else + am_cv_ar_interface=unknown + fi + fi + rm -f conftest.lib libconftest.a + ]) + AC_LANG_POP([C])]) + +case $am_cv_ar_interface in +ar) + ;; +lib) + # Microsoft lib, so override with the ar-lib wrapper script. + # FIXME: It is wrong to rewrite AR. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__AR in this case, + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something + # similar. + AR="$am_aux_dir/ar-lib $AR" + ;; +unknown) + m4_default([$1], + [AC_MSG_ERROR([could not determine $AR interface])]) + ;; +esac +AC_SUBST([AR])dnl +]) + # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and @@ -203,7 +264,7 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you +# harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, @@ -221,30 +282,26 @@ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], -[dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 -# Free Software Foundation, Inc. +# Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 9 - # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], -[AC_PREREQ(2.52)dnl - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +[AC_PREREQ([2.52])dnl + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl @@ -263,16 +320,14 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 -# Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 10 -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing @@ -282,7 +337,7 @@ fi])]) # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was @@ -295,12 +350,13 @@ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], - [$1], CXX, [depcc="$CXX" am_compiler_list=], - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], + [$1], [CXX], [depcc="$CXX" am_compiler_list=], + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], + [$1], [UPC], [depcc="$UPC" am_compiler_list=], + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], @@ -308,8 +364,9 @@ AC_CACHE_CHECK([dependency style of $depcc], # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -348,16 +405,16 @@ AC_CACHE_CHECK([dependency style of $depcc], : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - # We check with `-c' and `-o' for the sake of the "dashmstdout" + # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in @@ -366,16 +423,16 @@ AC_CACHE_CHECK([dependency style of $depcc], test "$am__universal" = false || continue ;; nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} @@ -423,7 +480,7 @@ AM_CONDITIONAL([am__fastdep$1], [ # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl @@ -433,34 +490,39 @@ AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE(dependency-tracking, -[ --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors]) +[AC_ARG_ENABLE([dependency-tracking], [dnl +AS_HELP_STRING( + [--enable-dependency-tracking], + [do not reject slow dependency extractors]) +AS_HELP_STRING( + [--disable-dependency-tracking], + [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' + am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -#serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ - # Autoconf 2.62 quotes --file arguments for eval, but not when files + # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in @@ -473,7 +535,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but + # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. @@ -485,21 +547,19 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], continue fi # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. + # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue + test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` @@ -517,7 +577,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will +# is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], @@ -527,18 +587,21 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 16 - # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. +m4_define([AC_PROG_CC], +m4_defn([AC_PROG_CC]) +[_AM_PROG_CC_C_O +]) + # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- @@ -551,7 +614,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.62])dnl +[AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl @@ -580,33 +643,42 @@ AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl +[AC_DIAGNOSE([obsolete], + [$0: two- and three-arguments forms are deprecated.]) +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, +m4_if( + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +AM_MISSING_PROG([AUTOCONF], [autoconf]) +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +AM_MISSING_PROG([AUTOHEADER], [autoheader]) +AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -AC_REQUIRE([AM_PROG_MKDIR_P])dnl -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl @@ -615,34 +687,82 @@ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl + [_AM_DEPENDENCIES([CC])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_REQUIRE([AM_SILENT_RULES])dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) + fi +fi +dnl The trailing newline in this macro's definition is deliberate, for +dnl backward compatibility and to allow trailing 'dnl'-style comments +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) - # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. @@ -664,7 +784,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -675,7 +795,7 @@ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh}" != xset; then +if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -683,16 +803,14 @@ if test x"${install_sh}" != xset; then install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi -AC_SUBST(install_sh)]) +AC_SUBST([install_sh])]) -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2003-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 2 - # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], @@ -708,14 +826,12 @@ AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 - # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. @@ -733,7 +849,7 @@ am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. +# Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include @@ -758,52 +874,14 @@ AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) -# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 6 - -# AM_PROG_CC_C_O -# -------------- -# Like AC_PROG_CC_C_O, but changed for automake. -AC_DEFUN([AM_PROG_CC_C_O], -[AC_REQUIRE([AC_PROG_CC_C_O])dnl -AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([compile])dnl -# FIXME: we rely on the cache variable name because -# there is no other way. -set dummy $CC -am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` -eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o -if test "$am_t" != yes; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi -dnl Make sure AC_PROG_CC is never called again, or it will override our -dnl setting of CC. -m4_define([AC_PROG_CC], - [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) -]) - # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. +# Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 6 - # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], @@ -811,11 +889,10 @@ AC_DEFUN([AM_MISSING_PROG], $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) - # AM_MISSING_HAS_RUN # ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl @@ -828,63 +905,35 @@ if test x"${MISSING+set}" != xset; then esac fi # Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " else am_missing_run= - AC_MSG_WARN([`missing' script is too old or missing]) + AC_MSG_WARN(['missing' script is too old or missing]) fi ]) -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_MKDIR_P -# --------------- -# Check for `mkdir -p'. -AC_DEFUN([AM_PROG_MKDIR_P], -[AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac -]) - # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 - # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) -# ------------------------------ +# -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- +# ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) @@ -895,24 +944,82 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Check to make sure that the build environment is sane. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 -# Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 5 +# _AM_PROG_CC_C_O +# --------------- +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC +# to automatically call this. +AC_DEFUN([_AM_PROG_CC_C_O], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +AC_LANG_PUSH([C])dnl +AC_CACHE_CHECK( + [whether $CC understands -c and -o together], + [am_cv_prog_cc_c_o], + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i]) +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +AC_LANG_POP([C])]) + +# For backward compatibility. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) + +# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN([AM_RUN_LOG], +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' @@ -923,32 +1030,40 @@ case `pwd` in esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac -# Do `set' in a subshell so we don't clobber the current shell's +# Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken + alias in your environment]) + fi + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done test "$[2]" = conftest.file ) then @@ -958,36 +1073,85 @@ else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi -AC_MSG_RESULT(yes)]) +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 1 - # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT -# (`yes' being less verbose, `no' or empty being verbose). +# ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], -[AC_ARG_ENABLE([silent-rules], -[ --enable-silent-rules less verbose build output (undo: `make V=1') - --disable-silent-rules verbose build output (undo: `make V=0')]) -case $enable_silent_rules in -yes) AM_DEFAULT_VERBOSITY=0;; -no) AM_DEFAULT_VERBOSITY=1;; -*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +[AC_ARG_ENABLE([silent-rules], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -995,34 +1159,32 @@ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl # AM_PROG_INSTALL_STRIP # --------------------- -# One issue with vendor `install' (even GNU) is that you can't +# One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize +# always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 2 - # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. @@ -1030,24 +1192,22 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])]) AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- +# -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2004-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 2 - # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. -# FORMAT should be one of `v7', `ustar', or `pax'. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory @@ -1057,75 +1217,114 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar +# AC_DEFUN([_AM_PROG_TAR], -[# Always define AMTAR for backward compatibility. -AM_MISSING_PROG([AMTAR], [tar]) -m4_if([$1], [v7], - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], - [m4_case([$1], [ustar],, [pax],, - [m4_fatal([Unknown tar format])]) -AC_MSG_CHECKING([how to create a $1 tar archive]) -# Loop over all known methods to create a tar archive until one works. +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) + +# We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' -_am_tools=${am_cv_prog_tar_$1-$_am_tools} -# Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. -for _am_tool in $_am_tools -do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; - do - AM_RUN_LOG([$_am_tar --version]) && break - done - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], - # tar/untar a dummy directory, and stop if the command works + [m4_case([$1], + [ustar], + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. + # There is notably a 21 bits limit for the UID and the GID. In fact, + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 + # and bug#13588). + am_max_uid=2097151 # 2^21 - 1 + am_max_gid=$am_max_uid + # The $UID and $GID variables are not portable, so we need to resort + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls + # below are definitely unexpected, so allow the users to see them + # (that is, avoid stderr redirection). + am_uid=`id -u || echo unknown` + am_gid=`id -g || echo unknown` + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) + if test $am_uid -le $am_max_uid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) + if test $am_gid -le $am_max_gid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi], + + [pax], + [], + + [m4_fatal([Unknown tar format])]) + + AC_MSG_CHECKING([how to create a $1 tar archive]) + + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_$1-$_am_tools} + + for _am_tool in $_am_tools; do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works. + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi + done rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) - rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG([$am__untar /dev/null 2>&1 && break - fi -done -rm -rf conftest.dir -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) + AC_MSG_RESULT([$am_cv_prog_tar_$1])]) + AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR @@ -1159,6 +1358,7 @@ m4_include([sntp/m4/ntp_pkg_config.m4]) m4_include([sntp/m4/ntp_prog_cc.m4]) m4_include([sntp/m4/ntp_rlimit.m4]) m4_include([sntp/m4/ntp_sntp.m4]) +m4_include([sntp/m4/ntp_unitytest.m4]) m4_include([sntp/m4/ntp_ver_suffix.m4]) m4_include([sntp/m4/ntp_vpathhack.m4]) m4_include([sntp/m4/openldap-thread-check.m4]) diff --git a/contrib/ntp/adjtimed/Makefile.in b/contrib/ntp/adjtimed/Makefile.in index 56f4dfbe1d62..716b9401e542 100644 --- a/contrib/ntp/adjtimed/Makefile.in +++ b/contrib/ntp/adjtimed/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -20,6 +19,61 @@ # subdir to warn folks if there is another version there. VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -42,9 +96,6 @@ bin_PROGRAMS = libexec_PROGRAMS = sbin_PROGRAMS = EXTRA_PROGRAMS = adjtimed$(EXEEXT) -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/bincheck.mf $(top_srcdir)/depsver.mf \ - $(top_srcdir)/includes.mf $(top_srcdir)/sntp/check-libntp.mf subdir = adjtimed ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ @@ -76,6 +127,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -85,6 +137,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = @@ -98,9 +151,22 @@ adjtimed_LDADD = $(LDADD) am__DEPENDENCIES_1 = adjtimed_DEPENDENCIES = ../libntp/libntp.a $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) -AM_V_lt = $(am__v_lt_$(V)) -am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent +am__v_lt_1 = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/sntp/libevent/build-aux/depcomp am__depfiles_maybe = depfiles @@ -111,26 +177,48 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_$(V)) -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) -am__v_CC_0 = @echo " CC " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_$(V)) -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CCLD_0 = @echo " CCLD " $@; -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = SOURCES = adjtimed.c DIST_SOURCES = adjtimed.c +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/bincheck.mf \ + $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf \ + $(top_srcdir)/sntp/check-libntp.mf \ + $(top_srcdir)/sntp/libevent/build-aux/depcomp README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ @@ -181,6 +269,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -297,6 +386,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -418,7 +508,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/bincheck.mf $(top_sr echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign adjtimed/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign adjtimed/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -427,6 +516,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; +$(top_srcdir)/bincheck.mf $(top_srcdir)/sntp/check-libntp.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh @@ -438,14 +528,19 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ - then echo "$$p"; echo "$$p"; else :; fi; \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ @@ -466,7 +561,8 @@ uninstall-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ + -e 's/$$/$(EXEEXT)/' \ + `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files @@ -481,14 +577,19 @@ clean-binPROGRAMS: rm -f $$list install-libexecPROGRAMS: $(libexec_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)" @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \ + fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ - then echo "$$p"; echo "$$p"; else :; fi; \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ @@ -509,7 +610,8 @@ uninstall-libexecPROGRAMS: @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ + -e 's/$$/$(EXEEXT)/' \ + `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(libexecdir)" && rm -f $$files @@ -524,14 +626,19 @@ clean-libexecPROGRAMS: rm -f $$list install-sbinPROGRAMS: $(sbin_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \ + fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ - then echo "$$p"; echo "$$p"; else :; fi; \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ @@ -552,7 +659,8 @@ uninstall-sbinPROGRAMS: @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ + -e 's/$$/$(EXEEXT)/' \ + `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(sbindir)" && rm -f $$files @@ -565,7 +673,8 @@ clean-sbinPROGRAMS: list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list -adjtimed$(EXEEXT): $(adjtimed_OBJECTS) $(adjtimed_DEPENDENCIES) + +adjtimed$(EXEEXT): $(adjtimed_OBJECTS) $(adjtimed_DEPENDENCIES) $(EXTRA_adjtimed_DEPENDENCIES) @rm -f adjtimed$(EXEEXT) $(AM_V_CCLD)$(LINK) $(adjtimed_OBJECTS) $(adjtimed_LDADD) $(LIBS) @@ -580,26 +689,23 @@ distclean-compile: .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo @@ -607,26 +713,15 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -638,15 +733,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -655,6 +746,21 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -708,10 +814,15 @@ install-am: all-am installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -801,22 +912,25 @@ uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \ .MAKE: all check install install-am install-exec-am install-strip -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ - clean-generic clean-libexecPROGRAMS clean-libtool \ - clean-sbinPROGRAMS ctags distclean distclean-compile \ - distclean-generic distclean-libtool distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-binPROGRAMS install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-exec-hook \ - install-html install-html-am install-info install-info-am \ +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ + clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \ + clean-libtool clean-sbinPROGRAMS cscopelist-am ctags ctags-am \ + distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-binPROGRAMS \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-exec-hook install-html \ + install-html-am install-info install-info-am \ install-libexecPROGRAMS install-man install-pdf install-pdf-am \ install-ps install-ps-am install-sbinPROGRAMS install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-binPROGRAMS \ + tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ uninstall-libexecPROGRAMS uninstall-sbinPROGRAMS +.PRECIOUS: Makefile + install-exec-hook: @test -z "${bin_PROGRAMS}${bin_SCRIPTS}" \ diff --git a/contrib/ntp/bootstrap b/contrib/ntp/bootstrap index 2368af3a6445..dcba5c7fa3a8 100755 --- a/contrib/ntp/bootstrap +++ b/contrib/ntp/bootstrap @@ -50,6 +50,7 @@ AUTORECONF=${AUTORECONF:-autoreconf} # ;; # esac +## Old way # 20060629: HMS: Let's try checking in libopts and the autogen-generated files ## The copy for ntp... #rm -rf libopts* @@ -64,22 +65,34 @@ AUTORECONF=${AUTORECONF:-autoreconf} # tar -xvf - # mv libopts-*.*.* libopts ) -def_files=`find [B-Za-z]* -type f -name '*.def' -print | fgrep -v /SCCS/` -prog_opt_files=`grep -l '^prog.name' $def_files` +## EOOld way + +## Unity test runners +# the ruby generator must be older than the test files. +# the test files must be older than the runner files. + +runner_files=`find [B-Za-z]* -type f -name 'run-*' -print | fgrep -v /SCCS/` +l= +lt= +lr= +for f in ${runner_files} +do + fb=`echo $f | sed -e 's/run-//'` + lt="$lt $fb" + lr="$lr $f" # Yes, lr and runner_files are eventually the same +done +touch $lt +echo "Touching <$lt>" +sleep 1 +touch $lr +echo "Touching <$lr>" + +## EOUnity test runners ## AutoGen stuff -#incdir=${PWD}/include - -#for f in ${prog_opt_files} -#do -# ( cd $(dirname ${f}) -# echo "Running autogen on $f..." -# autogen -L${incdir} $(basename ${f}) -# ) || exit 1 -#done - -## Non-AutoGen stuff +def_files=`find [B-Za-z]* -type f -name '*.def' -print | fgrep -v /SCCS/` +prog_opt_files=`grep -l '^prog.name' $def_files` # touch the stuff generated by the opt files @@ -129,6 +142,8 @@ esac ## EOAutoGen stuff +## Yacc/bison files + # Yacc/bison files ntp_parser.[ch] so we don't require the tool if # ntp_parser.y hasn't been updated. At the same time, keyword-gen-utd # and ntp_keyword.h which are derived from ntp_parser.h and @@ -136,6 +151,8 @@ esac touch ntpd/ntp_parser.[ch] ntpd/keyword-gen-utd ntpd/ntp_keyword.h +## EOYacc/bison files + cp bincheck.mf sntp/ cp depsver.mf sntp/ diff --git a/contrib/ntp/clockstuff/Makefile.in b/contrib/ntp/clockstuff/Makefile.in index c852adb9c940..0236354805cf 100644 --- a/contrib/ntp/clockstuff/Makefile.in +++ b/contrib/ntp/clockstuff/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -35,9 +89,6 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ EXTRA_PROGRAMS = propdelay$(EXEEXT) chutest$(EXEEXT) -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf \ - $(top_srcdir)/sntp/check-libntp.mf subdir = clockstuff ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ @@ -69,6 +120,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -78,6 +130,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = @@ -89,14 +142,27 @@ chutest_LDADD = $(LDADD) am__DEPENDENCIES_1 = chutest_DEPENDENCIES = ../libntp/libntp.a $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) -AM_V_lt = $(am__v_lt_$(V)) -am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent +am__v_lt_1 = propdelay_SOURCES = propdelay.c propdelay_OBJECTS = propdelay.$(OBJEXT) am__DEPENDENCIES_2 = ../libntp/libntp.a $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) propdelay_DEPENDENCIES = $(am__DEPENDENCIES_2) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/sntp/libevent/build-aux/depcomp am__depfiles_maybe = depfiles @@ -107,26 +173,47 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_$(V)) -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) -am__v_CC_0 = @echo " CC " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_$(V)) -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CCLD_0 = @echo " CCLD " $@; -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = SOURCES = chutest.c propdelay.c DIST_SOURCES = chutest.c propdelay.c +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depsver.mf \ + $(top_srcdir)/includes.mf $(top_srcdir)/sntp/check-libntp.mf \ + $(top_srcdir)/sntp/libevent/build-aux/depcomp README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ @@ -177,6 +264,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -293,6 +381,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -416,7 +505,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/sntp/check-libntp.mf echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign clockstuff/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign clockstuff/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -425,6 +513,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; +$(top_srcdir)/sntp/check-libntp.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh @@ -443,10 +532,12 @@ clean-noinstPROGRAMS: list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list -chutest$(EXEEXT): $(chutest_OBJECTS) $(chutest_DEPENDENCIES) + +chutest$(EXEEXT): $(chutest_OBJECTS) $(chutest_DEPENDENCIES) $(EXTRA_chutest_DEPENDENCIES) @rm -f chutest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(chutest_OBJECTS) $(chutest_LDADD) $(LIBS) -propdelay$(EXEEXT): $(propdelay_OBJECTS) $(propdelay_DEPENDENCIES) + +propdelay$(EXEEXT): $(propdelay_OBJECTS) $(propdelay_DEPENDENCIES) $(EXTRA_propdelay_DEPENDENCIES) @rm -f propdelay$(EXEEXT) $(AM_V_CCLD)$(LINK) $(propdelay_OBJECTS) $(propdelay_LDADD) $(LIBS) @@ -462,26 +553,23 @@ distclean-compile: .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo @@ -489,26 +577,15 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -520,15 +597,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -537,6 +610,21 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -587,10 +675,15 @@ install-am: all-am installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -677,18 +770,21 @@ uninstall-am: .MAKE: all check install install-am install-strip -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstPROGRAMS ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstPROGRAMS cscopelist-am ctags \ + ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am + +.PRECIOUS: Makefile check-libntp: ../libntp/libntp.a diff --git a/contrib/ntp/config.h.in b/contrib/ntp/config.h.in index 5ca9484a00c7..81867c7b0771 100644 --- a/contrib/ntp/config.h.in +++ b/contrib/ntp/config.h.in @@ -333,6 +333,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_NAMESER_H +/* Define to 1 if you have the `atomic_thread_fence' function. */ +#undef HAVE_ATOMIC_THREAD_FENCE + /* Do we have audio support? */ #undef HAVE_AUDIO @@ -386,6 +389,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ERRNO_H +/* Define to 1 if you have the `EVP_MD_do_all_sorted' function. */ +#undef HAVE_EVP_MD_DO_ALL_SORTED + /* Define to 1 if you have the `fchmod' function. */ #undef HAVE_FCHMOD @@ -821,6 +827,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STDARG_H +/* Define to 1 if you have the header file. */ +#undef HAVE_STDATOMIC_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDBOOL_H @@ -1315,6 +1324,9 @@ /* define to 1 if library is thread safe */ #undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE +/* leap smear mechanism */ +#undef LEAP_SMEAR + /* Define to any value to include libseccomp sandboxing. */ #undef LIBSECCOMP @@ -1473,8 +1485,8 @@ /* Do we want the SCO clock hacks? */ #undef SCO5_CLOCK -/* The size of `char*', as computed by sizeof. */ -#undef SIZEOF_CHARP +/* The size of `char *', as computed by sizeof. */ +#undef SIZEOF_CHAR_P /* The size of `int', as computed by sizeof. */ #undef SIZEOF_INT diff --git a/contrib/ntp/configure b/contrib/ntp/configure index 29d777c34ea0..1d686cbdcba8 100755 --- a/contrib/ntp/configure +++ b/contrib/ntp/configure @@ -1,13 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for ntp 4.2.8p2. +# Generated by GNU Autoconf 2.69 for ntp 4.2.8p3. # # Report bugs to . # # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -136,6 +134,31 @@ export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh @@ -169,7 +192,8 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi -test x\$exitcode = x0 || exit 1" +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && @@ -222,21 +246,25 @@ IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - # Preserve -v and -x to the replacement shell. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; - esac - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi if test x$as_have_required = xno; then : @@ -339,6 +367,14 @@ $as_echo X"$as_dir" | } # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take @@ -460,6 +496,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). @@ -494,16 +534,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -515,28 +555,8 @@ else as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -570,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ntp' PACKAGE_TARNAME='ntp' -PACKAGE_VERSION='4.2.8p2' -PACKAGE_STRING='ntp 4.2.8p2' +PACKAGE_VERSION='4.2.8p3' +PACKAGE_STRING='ntp 4.2.8p3' PACKAGE_BUGREPORT='http://bugs.ntp.org./' PACKAGE_URL='http://www.ntp.org./' @@ -626,6 +646,10 @@ GTEST_CXXFLAGS GTEST_LIBS GTEST_LDFLAGS GTEST_CONFIG +UNITYBUILD_AVAILABLE_FALSE +UNITYBUILD_AVAILABLE_TRUE +PATH_RUBY +HAVE_LEAPSMEARINTERVAL SAVECONFIG_ENABLED_FALSE SAVECONFIG_ENABLED_TRUE LSCF @@ -698,8 +722,6 @@ NMEDIT DSYMUTIL MANIFEST_TOOL RANLIB -ac_ct_AR -AR DLLTOOL OBJDUMP LN_S @@ -710,6 +732,8 @@ LD FGREP SED LIBTOOL +ac_ct_AR +AR INSTALL_UPDATE_LEAP_FALSE INSTALL_UPDATE_LEAP_TRUE UPDATE_LEAP_NI @@ -817,6 +841,7 @@ CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE +am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE @@ -840,6 +865,8 @@ build_cpu build AM_BACKSLASH AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V am__untar am__tar AMTAR @@ -1021,6 +1048,7 @@ enable_ipv6 with_kame enable_getifaddrs enable_saveconfig +enable_leap_smear with_gtest ' ac_precious_vars='build_alias @@ -1493,8 +1521,6 @@ target=$target_alias if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1580,7 +1606,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ntp 4.2.8p2 to adapt to many kinds of systems. +\`configure' configures ntp 4.2.8p3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1650,7 +1676,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ntp 4.2.8p2:";; + short | recursive ) echo "Configuration of ntp 4.2.8p3:";; esac cat <<\_ACEOF @@ -1660,10 +1686,12 @@ Optional Features and Packages: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --enable-silent-rules less verbose build output (undo: `make V=1') - --disable-silent-rules verbose build output (undo: `make V=0') - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build --with-locfile=XXX os-specific or "legacy" --enable-shared[=PKGS] build shared libraries [default=no] --enable-static[=PKGS] build static libraries [default=yes] @@ -1791,6 +1819,7 @@ Optional Features and Packages: --with-kame - =/usr/local/v6 --enable-getifaddrs + Enable the use of getifaddrs() [[yes|no]]. --enable-saveconfig + saveconfig mechanism + --enable-leap-smear - experimental leap smear code --with-gtest Use the gtest framework (Default: if it's available) Some influential environment variables: @@ -1879,10 +1908,10 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ntp configure 4.2.8p2 -generated by GNU Autoconf 2.68 +ntp configure 4.2.8p3 +generated by GNU Autoconf 2.69 -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -2159,7 +2188,7 @@ $as_echo "$ac_try_echo"; } >&5 test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext + test -x conftest$ac_exeext }; then : ac_retval=0 else @@ -2347,7 +2376,7 @@ $as_echo "$ac_try_echo"; } >&5 test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext + test -x conftest$ac_exeext }; then : ac_retval=0 else @@ -2437,7 +2466,8 @@ int main () { static int test_array [1 - 2 * !(($2) >= 0)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2453,7 +2483,8 @@ int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2479,7 +2510,8 @@ int main () { static int test_array [1 - 2 * !(($2) < 0)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2495,7 +2527,8 @@ int main () { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2529,7 +2562,8 @@ int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2704,8 +2738,8 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ntp $as_me 4.2.8p2, which was -generated by GNU Autoconf 2.68. Invocation command line was +It was created by ntp $as_me 4.2.8p3, which was +generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3213,7 +3247,7 @@ $as_echo "$as_me: $cache_file version: $c_version" >&6;} NTP_CACHEVERSION_PARENT='main' ; export NTP_CACHEVERSION_PARENT -am__api_version='1.11' +am__api_version='1.15' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or @@ -3252,7 +3286,7 @@ case $as_dir/ in #(( # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. @@ -3310,9 +3344,6 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' @@ -3323,32 +3354,40 @@ case `pwd` in esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac -# Do `set' in a subshell so we don't clobber the current shell's +# Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken -alias in your environment" "$LINENO" 5 - fi + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done test "$2" = conftest.file ) then @@ -3360,6 +3399,16 @@ Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. @@ -3370,8 +3419,8 @@ test "$program_suffix" != NONE && ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in @@ -3382,15 +3431,15 @@ if test x"${MISSING+set}" != xset; then esac fi # Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " else am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi -if test x"${install_sh}" != xset; then +if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -3399,10 +3448,10 @@ if test x"${install_sh}" != xset; then esac fi -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. +# will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. @@ -3421,7 +3470,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3461,7 +3510,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3512,7 +3561,7 @@ do test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ @@ -3541,12 +3590,6 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. @@ -3565,7 +3608,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3629,6 +3672,45 @@ else fi rmdir .tst 2>/dev/null +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -3651,7 +3733,7 @@ fi # Define the identity of the package. PACKAGE='ntp' - VERSION='4.2.8p2' + VERSION='4.2.8p3' cat >>confdefs.h <<_ACEOF @@ -3679,29 +3761,109 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +mkdir_p='$(MKDIR_P)' -AMTAR=${AMTAR-"${am_missing_run}tar"} +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar pax cpio none' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 + fi +fi + + # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi -case $enable_silent_rules in -yes) AM_DEFAULT_VERBOSITY=0;; -no) AM_DEFAULT_VERBOSITY=1;; -*) AM_DEFAULT_VERBOSITY=0;; +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi AM_BACKSLASH='\' @@ -3809,7 +3971,7 @@ am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. +# Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include @@ -3842,6 +4004,7 @@ fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' + am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= @@ -3874,7 +4037,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3914,7 +4077,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3967,7 +4130,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4008,7 +4171,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue @@ -4066,7 +4229,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4110,7 +4273,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4556,8 +4719,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -4642,6 +4804,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 @@ -4653,8 +4874,9 @@ else # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -4688,16 +4910,16 @@ else : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - # We check with `-c' and `-o' for the sake of the "dashmstdout" + # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in @@ -4706,16 +4928,16 @@ else test "$am__universal" = false || continue ;; nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} @@ -4924,7 +5146,7 @@ do for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in @@ -4990,7 +5212,7 @@ do for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in @@ -5238,116 +5460,6 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h -if test "x$CC" != xcc; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 -$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 -$as_echo_n "checking whether cc understands -c and -o together... " >&6; } -fi -set dummy $CC; ac_cc=`$as_echo "$2" | - sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` -if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -# Make sure it works both with $CC and with simple cc. -# We do the test twice because some compilers refuse to overwrite an -# existing .o file with -o, though they will create one. -ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' -rm -f conftest2.* -if { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && - test -f conftest2.$ac_objext && { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; -then - eval ac_cv_prog_cc_${ac_cc}_c_o=yes - if test "x$CC" != xcc; then - # Test first that cc exists at all. - if { ac_try='cc -c conftest.$ac_ext >&5' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' - rm -f conftest2.* - if { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && - test -f conftest2.$ac_objext && { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; - then - # cc works too. - : - else - # cc exists but doesn't like -o. - eval ac_cv_prog_cc_${ac_cc}_c_o=no - fi - fi - fi -else - eval ac_cv_prog_cc_${ac_cc}_c_o=no -fi -rm -f core conftest* - -fi -if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h - -fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } @@ -5360,8 +5472,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -5587,7 +5698,7 @@ main () return 0; } _ACEOF -for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : @@ -5644,7 +5755,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5684,7 +5795,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5737,7 +5848,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5778,7 +5889,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue @@ -5836,7 +5947,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5880,7 +5991,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6076,8 +6187,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -6162,6 +6272,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 @@ -6173,8 +6342,9 @@ else # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -6208,16 +6378,16 @@ else : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - # We check with `-c' and `-o' for the sake of the "dashmstdout" + # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in @@ -6226,16 +6396,16 @@ else test "$am__universal" = false || continue ;; nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} @@ -6291,20 +6461,6 @@ fi # Ralf Wildenhues: With per-target flags we need CC_C_O # AM_PROG_CC_C_O supersets AC_PROG_CC_C_O -# FIXME: we rely on the cache variable name because -# there is no other way. -set dummy $CC -am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` -eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o -if test "$am_t" != yes; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi - if test $ac_cv_c_compiler_gnu = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 @@ -6655,7 +6811,7 @@ $as_echo_n "checking additional compiler flags... " >&6; } ntp_os_cflags="-Ae -Wp,-H18816" ;; esac - ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE" + ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L" ;; hpux*) case "$GCC" in @@ -6665,7 +6821,7 @@ $as_echo_n "checking additional compiler flags... " >&6; } # use Ansi compiler on HPUX ntp_os_cflags="-Ae" esac - ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE" + ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L" ;; irix6*) case "$CC" in @@ -7248,6 +7404,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +# Do we need CXX for anything besides google test? ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -7276,7 +7433,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7320,7 +7477,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7516,8 +7673,9 @@ else # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -7551,16 +7709,16 @@ else : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - # We check with `-c' and `-o' for the sake of the "dashmstdout" + # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in @@ -7569,16 +7727,16 @@ else test "$am__universal" = false || continue ;; nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} @@ -7650,7 +7808,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_YACC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -8002,6 +8160,177 @@ fi +if test -n "$ac_tool_prefix"; then + for ac_prog in ar lib "link -lib" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar lib "link -lib" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 +$as_echo_n "checking the archiver ($AR) interface... " >&6; } +if ${am_cv_ar_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + am_cv_ar_interface=ar + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int some_variable = 0; +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=ar + else + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=lib + else + am_cv_ar_interface=unknown + fi + fi + rm -f conftest.lib libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 +$as_echo "$am_cv_ar_interface" >&6; } + +case $am_cv_ar_interface in +ar) + ;; +lib) + # Microsoft lib, so override with the ar-lib wrapper script. + # FIXME: It is wrong to rewrite AR. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__AR in this case, + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something + # similar. + AR="$am_aux_dir/ar-lib $AR" + ;; +unknown) + as_fn_error $? "could not determine $AR interface" "$LINENO" 5 + ;; +esac + # So far, the only shared library we might use is libopts. @@ -8045,8 +8374,8 @@ esac -macro_version='2.4' -macro_revision='1.3293' +macro_version='2.4.2' +macro_revision='1.3337' @@ -8153,7 +8482,7 @@ do for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue + as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in @@ -8232,7 +8561,7 @@ do for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue + as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in @@ -8488,7 +8817,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -8532,7 +8861,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -8951,7 +9280,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -8991,7 +9320,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9297,7 +9626,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9337,7 +9666,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9440,7 +9769,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9484,7 +9813,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9609,7 +9938,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9649,7 +9978,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9708,7 +10037,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9748,7 +10077,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10383,7 +10712,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10423,7 +10752,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10503,7 +10832,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10543,7 +10872,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10595,7 +10924,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10635,7 +10964,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10687,7 +11016,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10727,7 +11056,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10779,7 +11108,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10819,7 +11148,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10871,7 +11200,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -10911,7 +11240,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -18805,32 +19134,32 @@ fi # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char*" >&5 -$as_echo_n "checking size of char*... " >&6; } -if ${ac_cv_sizeof_charp+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char *" >&5 +$as_echo_n "checking size of char *... " >&6; } +if ${ac_cv_sizeof_char_p+:} false; then : $as_echo_n "(cached) " >&6 else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char*))" "ac_cv_sizeof_charp" "$ac_includes_default"; then : + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char *))" "ac_cv_sizeof_char_p" "$ac_includes_default"; then : else - if test "$ac_cv_type_charp" = yes; then + if test "$ac_cv_type_char_p" = yes; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (char*) +as_fn_error 77 "cannot compute sizeof (char *) See \`config.log' for more details" "$LINENO" 5; } else - ac_cv_sizeof_charp=0 + ac_cv_sizeof_char_p=0 fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_charp" >&5 -$as_echo "$ac_cv_sizeof_charp" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char_p" >&5 +$as_echo "$ac_cv_sizeof_char_p" >&6; } cat >>confdefs.h <<_ACEOF -#define SIZEOF_CHARP $ac_cv_sizeof_charp +#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p _ACEOF @@ -19294,7 +19623,7 @@ do for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue + as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in @@ -19498,7 +19827,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -19541,7 +19870,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -19758,6 +20087,63 @@ done + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 +$as_echo_n "checking for unsigned long long int... " >&6; } +if ${ac_cv_type_unsigned_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_type_unsigned_long_long_int=yes + if test "x${ac_cv_prog_cc_c99-no}" = xno; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63; +int +main () +{ +/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +else + ac_cv_type_unsigned_long_long_int=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } + if test $ac_cv_type_unsigned_long_long_int = yes; then + +$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h + + fi + + ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" if test "x$ac_cv_func_vsnprintf" = xyes; then : hw_cv_func_vsnprintf=yes @@ -19890,7 +20276,8 @@ main () { static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */ sizeof (double) <= sizeof (long double))]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -19913,75 +20300,47 @@ $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 $as_echo_n "checking for long long int... " >&6; } if ${ac_cv_type_long_long_int+:} false; then : $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - /* For now, do not test the preprocessor; as of 2007 there are too many - implementations with broken preprocessors. Perhaps this can - be revisited in 2012. In the meantime, code should not expect - #if to work with literals wider than 32 bits. */ - /* Test literals. */ - long long int ll = 9223372036854775807ll; - long long int nll = -9223372036854775807LL; - unsigned long long int ull = 18446744073709551615ULL; - /* Test constant expressions. */ - typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) - ? 1 : -1)]; - typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 - ? 1 : -1)]; - int i = 63; -int -main () -{ -/* Test availability of runtime routines for shift and division. */ - long long int llmax = 9223372036854775807ll; - unsigned long long int ullmax = 18446744073709551615ull; - return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) - | (llmax / ll) | (llmax % ll) - | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) - | (ullmax / ull) | (ullmax % ull)); - ; - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if test "$cross_compiling" = yes; then : ac_cv_type_long_long_int=yes + if test "x${ac_cv_prog_cc_c99-no}" = xno; then + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int + if test $ac_cv_type_long_long_int = yes; then + if test "$cross_compiling" = yes; then : + : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifndef LLONG_MAX - # define HALF \ - (1LL << (sizeof (long long int) * CHAR_BIT - 2)) - # define LLONG_MAX (HALF - 1 + HALF) - #endif + #ifndef LLONG_MAX + # define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + # define LLONG_MAX (HALF - 1 + HALF) + #endif int main () { long long int n = 1; - int i; - for (i = 0; ; i++) - { - long long int m = n << i; - if (m >> i != n) - return 1; - if (LLONG_MAX / 2 < m) - break; - } - return 0; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : - ac_cv_type_long_long_int=yes + else ac_cv_type_long_long_int=no fi @@ -19989,11 +20348,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi -else - ac_cv_type_long_long_int=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + fi + fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 $as_echo "$ac_cv_type_long_long_int" >&6; } @@ -20009,7 +20365,9 @@ $as_echo_n "checking for unsigned long long int... " >&6; } if ${ac_cv_type_unsigned_long_long_int+:} false; then : $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_cv_type_unsigned_long_long_int=yes + if test "x${ac_cv_prog_cc_c99-no}" = xno; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many @@ -20042,12 +20400,13 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_type_unsigned_long_long_int=yes + else ac_cv_type_unsigned_long_long_int=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext + fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } @@ -20122,7 +20481,8 @@ int main () { static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -20176,11 +20536,11 @@ else int main () { -/* FIXME: Include the comments suggested by Paul. */ + #ifndef __cplusplus - /* Ultrix mips cc rejects this. */ + /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; - const charset cs; + const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; @@ -20197,8 +20557,9 @@ main () ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; + { /* SCO 3.2v4 cc rejects this sort of thing. */ + char tx; + char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; @@ -20214,10 +20575,10 @@ main () iptr p = 0; ++p; } - { /* AIX XL C 1.02.0.0 rejects this saying + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; + struct s { int j; const int *ap[3]; } bx; + struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; @@ -20340,11 +20701,11 @@ else int main () { -/* FIXME: Include the comments suggested by Paul. */ + #ifndef __cplusplus - /* Ultrix mips cc rejects this. */ + /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; - const charset cs; + const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; @@ -20361,8 +20722,9 @@ main () ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; + { /* SCO 3.2v4 cc rejects this sort of thing. */ + char tx; + char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; @@ -20378,10 +20740,10 @@ main () iptr p = 0; ++p; } - { /* AIX XL C 1.02.0.0 rejects this saying + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; + struct s { int j; const int *ap[3]; } bx; + struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; @@ -21263,23 +21625,20 @@ else /* end confdefs.h. */ $ac_includes_default int -find_stack_direction () +find_stack_direction (int *addr, int depth) { - static char *addr = 0; - auto char dummy; - if (addr == 0) - { - addr = &dummy; - return find_stack_direction (); - } - else - return (&dummy > addr) ? 1 : -1; + int dir, dummy = 0; + if (! addr) + addr = &dummy; + *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; + dir = depth ? find_stack_direction (addr, depth - 1) : 0; + return dir + dummy; } int -main () +main (int argc, char **argv) { - return find_stack_direction () < 0; + return find_stack_direction (0, argc + !argv + 20) < 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : @@ -22252,7 +22611,8 @@ int main () { static int test_array [1 - 2 * !(((char) -1) < 0)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -22651,7 +23011,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -28278,6 +28638,9 @@ case "$ntp_cv_hdr_def_sigio" in *-sni-sysv*) ans=no ;; + *-stratus-vos) + ans=no + ;; *-univel-sysv*) ans=no ;; @@ -28356,6 +28719,9 @@ case "$ntp_cv_hdr_def_sigpoll" in *-sni-sysv*) ans=no ;; + *-stratus-vos) + ans=no + ;; *-*-aix[4-9]*) # XXX Only verified thru AIX6 ans=no @@ -28419,6 +28785,9 @@ case "$ntp_cv_hdr_def_sigpoll" in *-sni-sysv*) ans=no ;; + *-stratus-vos) + ans=no + ;; *-*-aix[4-9]*) # XXX Only verified thru AIX6 ans=no @@ -28598,7 +28967,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -28745,7 +29114,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PATH_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -28786,7 +29155,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PATH_TEST="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -28861,7 +29230,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PATH_NET_SNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -28889,6 +29258,20 @@ esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_NET_SNMP_CONFIG" >&5 $as_echo "$PATH_NET_SNMP_CONFIG" >&6; } +case "$PATH_NET_SNMP_CONFIG" in + /*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for net-snmp version" >&5 +$as_echo_n "checking for net-snmp version... " >&6; } +if ${ntp_cv_net_snmp_version+:} false; then : + $as_echo_n "(cached) " >&6 +else + ntp_cv_net_snmp_version=`$PATH_NET_SNMP_CONFIG --version` + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_net_snmp_version" >&5 +$as_echo "$ntp_cv_net_snmp_version" >&6; } + ;; +esac + case "$host" in *-*-vxworks*) ac_link="$ac_link $VX_KERNEL" @@ -29309,7 +29692,7 @@ fi done -for ac_header in sgtty.h stdlib.h string.h termio.h +for ac_header in sgtty.h stdatomic.h stdlib.h string.h termio.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" @@ -29627,6 +30010,53 @@ done ;; esac +case "$ac_cv_header_stdatomic_h" in + yes) + for ac_func in atomic_thread_fence +do : + ac_fn_c_check_func "$LINENO" "atomic_thread_fence" "ac_cv_func_atomic_thread_fence" +if test "x$ac_cv_func_atomic_thread_fence" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_ATOMIC_THREAD_FENCE 1 +_ACEOF + +fi +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic_thread_fence()" >&5 +$as_echo_n "checking for atomic_thread_fence()... " >&6; } +if ${ntp_cv_func_atomic_thread_fence+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + +int +main () +{ + + atomic_thread_fence(memory_order_seq_cst); + + + ; + return 0; +} + ntp_cv_func_atomic_thread_fence=yes +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ntp_cv_func_atomic_thread_fence=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_func_atomic_thread_fence" >&5 +$as_echo "$ntp_cv_func_atomic_thread_fence" >&6; } + ;; +esac + case "$host" in *-*-solaris2.6) # Broken... @@ -33974,7 +34404,26 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS_NTP="$CFLAGS_NTP -Wstrict-prototypes" esac +# Because we don't want -Werror for the EVP_MD_do_all_sorted check CFLAGS="$NTPO_SAVED_CFLAGS" + +case "$ntp_openssl" in + yes) + LIBS="$NTPO_SAVED_LIBS $LDADD_NTP" + for ac_func in EVP_MD_do_all_sorted +do : + ac_fn_c_check_func "$LINENO" "EVP_MD_do_all_sorted" "ac_cv_func_EVP_MD_do_all_sorted" +if test "x$ac_cv_func_EVP_MD_do_all_sorted" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_EVP_MD_DO_ALL_SORTED 1 +_ACEOF + +fi +done + + ;; +esac + CPPFLAGS="$NTPO_SAVED_CPPFLAGS" LIBS="$NTPO_SAVED_LIBS" { NTPO_SAVED_CFLAGS=; unset NTPO_SAVED_CFLAGS;} @@ -34491,6 +34940,9 @@ else *-sni-sysv*) ans=dosynctodr ;; + *-stratus-vos) + ans=no + ;; *-*-aix*) ans=dosynctodr ;; @@ -34553,6 +35005,9 @@ else *-sni-sysv*) ans=noprintf ;; + *-stratus-vos) + ans=no + ;; *-*-aix*) ans=noprintf ;; @@ -35004,6 +35459,11 @@ case "$ans" in case "$PATH_NET_SNMP_CONFIG" in /*) SNMP_LIBS=`$PATH_NET_SNMP_CONFIG --agent-libs` + # Bug 2815. This is a bit of a hack, but it works... + case "$ntp_cv_net_snmp_version" in + 5.3*) SNMP_LIBS=`echo $SNMP_LIBS | $SED -e 's/-lnetsnmpagent/-lnetsnmpagent -lnetsnmpmibs/'` + ;; + esac # HMS: we really want to separate CPPFLAGS and CFLAGS foo=`$PATH_NET_SNMP_CONFIG --cflags` @@ -35164,6 +35624,9 @@ case "$host" in *-sni-sysv*) ans=yes ;; + *-stratus-vos) + ans=no + ;; *-univel-sysv*) ans=no ;; @@ -36344,6 +36807,94 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5 $as_echo "$ntp_ok" >&6; } +### + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want the experimental leap smear code" >&5 +$as_echo_n "checking if we want the experimental leap smear code... " >&6; } +# Check whether --enable-leap-smear was given. +if test "${enable_leap_smear+set}" = set; then : + enableval=$enable_leap_smear; ntp_ok=$enableval +else + ntp_ok=no + +fi + +ntp_leap_smear_enabled=0 +case "$ntp_ok" in + yes) + ntp_leap_smear_enabled=1 + +$as_echo "#define LEAP_SMEAR 1" >>confdefs.h + + + HAVE_LEAPSMEARINTERVAL="leapsmearinterval 0" + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5 +$as_echo "$ntp_ok" >&6; } + + +# We may not need have_unity +have_unity=false +# Extract the first word of "ruby", so it can be a program name with args. +set dummy ruby; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PATH_RUBY+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PATH_RUBY in + [\\/]* | ?:[\\/]*) + ac_cv_path_PATH_RUBY="$PATH_RUBY" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PATH_RUBY="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PATH_RUBY=$ac_cv_path_PATH_RUBY +if test -n "$PATH_RUBY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_RUBY" >&5 +$as_echo "$PATH_RUBY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +case "$PATH_RUBY" in + /*) + have_unity=true + ;; + *) PATH_RUBY="false" + ;; +esac +# We may not need UNITYBUILD_AVAILABLE + if $have_unity; then + UNITYBUILD_AVAILABLE_TRUE= + UNITYBUILD_AVAILABLE_FALSE='#' +else + UNITYBUILD_AVAILABLE_TRUE='#' + UNITYBUILD_AVAILABLE_FALSE= +fi + + + + gta=false @@ -36375,7 +36926,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GTEST_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -36530,12 +37081,20 @@ ac_config_files="$ac_config_files scripts/summary" ac_config_files="$ac_config_files scripts/update-leap/Makefile" +ac_config_files="$ac_config_files scripts/update-leap/update-leap" + ac_config_files="$ac_config_files tests/Makefile" +ac_config_files="$ac_config_files tests/bug-2803/Makefile" + ac_config_files="$ac_config_files tests/libntp/Makefile" ac_config_files="$ac_config_files tests/ntpd/Makefile" +ac_config_files="$ac_config_files tests/sandbox/Makefile" + +ac_config_files="$ac_config_files tests/sec-2853/Makefile" + ac_config_files="$ac_config_files util/Makefile" @@ -36685,6 +37244,14 @@ LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' @@ -36758,6 +37325,10 @@ if test -z "${SAVECONFIG_ENABLED_TRUE}" && test -z "${SAVECONFIG_ENABLED_FALSE}" as_fn_error $? "conditional \"SAVECONFIG_ENABLED\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${UNITYBUILD_AVAILABLE_TRUE}" && test -z "${UNITYBUILD_AVAILABLE_FALSE}"; then + as_fn_error $? "conditional \"UNITYBUILD_AVAILABLE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${GTEST_AVAILABLE_TRUE}" && test -z "${GTEST_AVAILABLE_FALSE}"; then as_fn_error $? "conditional \"GTEST_AVAILABLE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -37060,16 +37631,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -37129,28 +37700,16 @@ else as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -37171,8 +37730,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ntp $as_me 4.2.8p2, which was -generated by GNU Autoconf 2.68. Invocation command line was +This file was extended by ntp $as_me 4.2.8p3, which was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -37238,11 +37797,11 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ntp config.status 4.2.8p2 -configured by $0, generated by GNU Autoconf 2.68, +ntp config.status 4.2.8p3 +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -37333,7 +37892,7 @@ fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' @@ -37780,9 +38339,13 @@ do "scripts/plot_summary") CONFIG_FILES="$CONFIG_FILES scripts/plot_summary" ;; "scripts/summary") CONFIG_FILES="$CONFIG_FILES scripts/summary" ;; "scripts/update-leap/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/update-leap/Makefile" ;; + "scripts/update-leap/update-leap") CONFIG_FILES="$CONFIG_FILES scripts/update-leap/update-leap" ;; "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "tests/bug-2803/Makefile") CONFIG_FILES="$CONFIG_FILES tests/bug-2803/Makefile" ;; "tests/libntp/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libntp/Makefile" ;; "tests/ntpd/Makefile") CONFIG_FILES="$CONFIG_FILES tests/ntpd/Makefile" ;; + "tests/sandbox/Makefile") CONFIG_FILES="$CONFIG_FILES tests/sandbox/Makefile" ;; + "tests/sec-2853/Makefile") CONFIG_FILES="$CONFIG_FILES tests/sec-2853/Makefile" ;; "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; @@ -38419,7 +38982,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;} case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files + # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in @@ -38432,7 +38995,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;} # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but + # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. @@ -38466,21 +39029,19 @@ $as_echo X"$mf" | continue fi # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. + # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue + test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || @@ -39315,7 +39876,7 @@ compiler_lib_search_path=$lt_compiler_lib_search_path_CXX _LT_EOF ;; - "ntpd/complete.conf":F) sed -e '/^rlimit$/d' < ntpd/complete.conf > ntpd/complete.conf.new && mv ntpd/complete.conf.new ntpd/complete.conf ;; + "ntpd/complete.conf":F) sed -e '/^rlimit$/d' -e '/^$/d' < ntpd/complete.conf > ntpd/complete.conf.new && mv ntpd/complete.conf.new ntpd/complete.conf ;; "ntpdc/nl.pl":F) chmod +x ntpdc/nl.pl ;; "scripts/build/mkver":F) chmod +x scripts/build/mkver ;; "scripts/calc_tickadj/calc_tickadj":F) chmod +x scripts/calc_tickadj/calc_tickadj ;; @@ -39325,6 +39886,7 @@ _LT_EOF "scripts/ntpver":F) chmod +x scripts/ntpver ;; "scripts/plot_summary":F) chmod +x scripts/plot_summary ;; "scripts/summary":F) chmod +x scripts/summary ;; + "scripts/update-leap/update-leap":F) chmod +x scripts/update-leap/update-leap ;; esac done # for ac_tag diff --git a/contrib/ntp/configure.ac b/contrib/ntp/configure.ac index dc5c7fcfd703..de6043015b17 100644 --- a/contrib/ntp/configure.ac +++ b/contrib/ntp/configure.ac @@ -65,6 +65,7 @@ ntp_jupiter_ok=${ntp_jupiter_ok=no} NTP_PROG_CC AC_PROG_CPP +# Do we need CXX for anything besides google test? AC_PROG_CXX AC_PROG_YACC AC_PROG_CC_C_O @@ -180,6 +181,15 @@ case "$PROG_NET_SNMP_CONFIG" in esac AC_MSG_RESULT([$PATH_NET_SNMP_CONFIG]) +case "$PATH_NET_SNMP_CONFIG" in + /*) AC_CACHE_CHECK( + [for net-snmp version], + [ntp_cv_net_snmp_version], + [ntp_cv_net_snmp_version=`$PATH_NET_SNMP_CONFIG --version`] + ) + ;; +esac + case "$host" in *-*-vxworks*) ac_link="$ac_link $VX_KERNEL" @@ -291,7 +301,7 @@ AC_CHECK_HEADER( AC_CHECK_HEADERS([fcntl.h fnmatch.h ieeefp.h inttypes.h kvm.h math.h]) AC_CHECK_HEADERS([memory.h netdb.h poll.h]) -AC_CHECK_HEADERS([sgtty.h stdlib.h string.h termio.h]) +AC_CHECK_HEADERS([sgtty.h stdatomic.h stdlib.h string.h termio.h]) AC_CHECK_HEADERS([termios.h timepps.h timex.h unistd.h]) case "$host" in @@ -375,6 +385,28 @@ case "$host" in ;; esac +case "$ac_cv_header_stdatomic_h" in + yes) + AC_CHECK_FUNCS([atomic_thread_fence]) + AC_CACHE_CHECK( + [for atomic_thread_fence()], + [ntp_cv_func_atomic_thread_fence], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ + #include + ]], + [[ + atomic_thread_fence(memory_order_seq_cst); + ]] + )] + [ntp_cv_func_atomic_thread_fence=yes], + [ntp_cv_func_atomic_thread_fence=no] + )] + ) + ;; +esac + case "$host" in *-*-solaris2.6) # Broken... @@ -3426,6 +3458,9 @@ AC_CACHE_CHECK( *-sni-sysv*) ans=dosynctodr ;; + *-stratus-vos) + ans=no + ;; *-*-aix*) ans=dosynctodr ;; @@ -3480,6 +3515,9 @@ AC_CACHE_CHECK( *-sni-sysv*) ans=noprintf ;; + *-stratus-vos) + ans=no + ;; *-*-aix*) ans=noprintf ;; @@ -3873,6 +3911,11 @@ case "$ans" in case "$PATH_NET_SNMP_CONFIG" in /*) SNMP_LIBS=`$PATH_NET_SNMP_CONFIG --agent-libs` + # Bug 2815. This is a bit of a hack, but it works... + case "$ntp_cv_net_snmp_version" in + 5.3*) SNMP_LIBS=`echo $SNMP_LIBS | $SED -e 's/-lnetsnmpagent/-lnetsnmpagent -lnetsnmpmibs/'` + ;; + esac AC_SUBST([SNMP_LIBS]) # HMS: we really want to separate CPPFLAGS and CFLAGS foo=`$PATH_NET_SNMP_CONFIG --cflags` @@ -3986,6 +4029,9 @@ case "$host" in *-sni-sysv*) ans=yes ;; + *-stratus-vos) + ans=no + ;; *-univel-sysv*) ans=no ;; @@ -4306,6 +4352,31 @@ esac AM_CONDITIONAL([SAVECONFIG_ENABLED], [test x$ntp_saveconfig_enabled = x1]) AC_MSG_RESULT([$ntp_ok]) +### + +AC_MSG_CHECKING([if we want the experimental leap smear code]) +AC_ARG_ENABLE( + [leap-smear], + [AS_HELP_STRING( + [--enable-leap-smear], + [- experimental leap smear code] + )], + [ntp_ok=$enableval], + [ntp_ok=no] +) +ntp_leap_smear_enabled=0 +case "$ntp_ok" in + yes) + ntp_leap_smear_enabled=1 + AC_DEFINE([LEAP_SMEAR], [1], [leap smear mechanism]) + AC_SUBST([HAVE_LEAPSMEARINTERVAL]) + HAVE_LEAPSMEARINTERVAL="leapsmearinterval 0" + ;; +esac +AC_MSG_RESULT([$ntp_ok]) + +NTP_UNITYBUILD + dnl gtest is needed for our tests subdirs. It would be nice if we could dnl require a C++ compiler only if we will use gtest, but AC_PROG_CXX dnl can't be conditionalized. @@ -4326,7 +4397,7 @@ AC_CONFIG_FILES([kernel/sys/Makefile]) AC_CONFIG_FILES([libntp/Makefile]) AC_CONFIG_FILES([libparse/Makefile]) AC_CONFIG_FILES([ntpd/Makefile]) -AC_CONFIG_FILES([ntpd/complete.conf], [sed -e '/^rlimit$/d' < ntpd/complete.conf > ntpd/complete.conf.new && mv ntpd/complete.conf.new ntpd/complete.conf]) +AC_CONFIG_FILES([ntpd/complete.conf], [sed -e '/^rlimit$/d' -e '/^$/d' < ntpd/complete.conf > ntpd/complete.conf.new && mv ntpd/complete.conf.new ntpd/complete.conf]) AC_CONFIG_FILES([ntpdate/Makefile]) AC_CONFIG_FILES([ntpdc/Makefile]) AC_CONFIG_FILES([ntpdc/nl.pl], [chmod +x ntpdc/nl.pl]) @@ -4349,9 +4420,13 @@ AC_CONFIG_FILES([scripts/ntpver], [chmod +x scripts/ntpver]) AC_CONFIG_FILES([scripts/plot_summary], [chmod +x scripts/plot_summary]) AC_CONFIG_FILES([scripts/summary], [chmod +x scripts/summary]) AC_CONFIG_FILES([scripts/update-leap/Makefile]) +AC_CONFIG_FILES([scripts/update-leap/update-leap], [chmod +x scripts/update-leap/update-leap]) AC_CONFIG_FILES([tests/Makefile]) +AC_CONFIG_FILES([tests/bug-2803/Makefile]) AC_CONFIG_FILES([tests/libntp/Makefile]) AC_CONFIG_FILES([tests/ntpd/Makefile]) +AC_CONFIG_FILES([tests/sandbox/Makefile]) +AC_CONFIG_FILES([tests/sec-2853/Makefile]) AC_CONFIG_FILES([util/Makefile]) perllibdir="${datadir}/ntp/lib" diff --git a/contrib/ntp/html/drivers/driver22.html b/contrib/ntp/html/drivers/driver22.html index 6e01a38cfe3f..acae265d2950 100644 --- a/contrib/ntp/html/drivers/driver22.html +++ b/contrib/ntp/html/drivers/driver22.html @@ -80,7 +80,7 @@
Specifies PPS capture on the rising (assert) pulse edge if 0 (default) or falling (clear) pulse edge if 1. Not used under Windows - if the special serialpps.sys serial port driver is installed then the leading edge will always be used.
flag3 0 | 1
-
Controls the kernel PPS discipline: 0 for disable (default), 1 for enable. Not used under Windows - if the special serialpps.sys<\tt> serial port driver is used then kernel PPS will be available and used.
+
Controls the kernel PPS discipline: 0 for disable (default), 1 for enable. Not used under Windows - if the special serialpps.sys serial port driver is used then kernel PPS will be available and used.
flag4 0 | 1
Record a timestamp once for each second if 1. Useful for constructing Allan deviation plots.
diff --git a/contrib/ntp/html/drivers/driver40-ja.html b/contrib/ntp/html/drivers/driver40-ja.html new file mode 100644 index 000000000000..8b67e9009d40 --- /dev/null +++ b/contrib/ntp/html/drivers/driver40-ja.html @@ -0,0 +1,534 @@ + + + + + + + + + + JJY Receivers + + + + + + +

JJY Receivers

+

Last update: + 15-May-2015 00:00 + UTC          ENGLISH(英語)   JAPANESE(日本語)

+
+

Synopsis

+ Address: 127.127.40.u
+ Reference ID: JJY
+ Driver ID: JJY
+ Serial Port: /dev/jjyu; それぞれのJJY受信機、GPS時計、テレフォンJJYを参照して下さい。 +

Description

+

このドライバーは、以下の、日本で販売されている JJY受信機、GPS時計と、電話回線による時刻配信サービスをサポートしています。 +

+ + + + + +
+ トライステート   TS-JJY01, TS-JJY02
+ シーデックス   JST2000
+ エコー計測器   LT-2000
+ シチズンTIC   JJY-200
+ トライステート   TS-GPSclock-01
+
+ セイコー タイム システム   TDC-300
+ テレフォンJJY
+
+
    + +
  • +

    トライステート   TS-JJY01, TS-JJY02   http://www.tristate.ne.jp/ (日本語)


    +
    +
    NTPの設定 ( ntp.conf )
    +

    +
    +
    server   127.127.40.X   mode 1
    +

    +
    fudge   127.127.40.X   time1 0.NNN   flag1 0|1
    +
    +

    Time1 は、受信機からの時刻に加算する調整時間を、固定小数点形式の秒で設定します。
    + この受信機には、数10ミリ秒 ( 0.0NN秒 ) から百数10ミリ秒 ( 0.1NN秒 ) の調整時間を設定すると良いでしょう。

    +

    Flag1 は、時刻同期には無関係です。Flag1 を 1 に設定すると、状態を問い合わせるコマンドを DATE コマンドと STIM コマンドの前に発行して、応答を clockstats ファイルに記録します。

    + + + +
    0 (Default)DCST と STUS コマンドは、発行しません。
    1DCST と STUS コマンドを、発行します。
    +
    +
    +
    +
    +
    インターフェース
    +
    +

    RS-232C, 9600 BPS, 8ビット, パリティなし, 1ストップ・ビット

    +
    +
    +
    日時データの形式
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    コマンド --> 応答
    dcst{CR}{LF} --> valid{CR}{LF} | invalid{CR}{LF}
    stus{CR}{LF} --> adjusted{CR}{LF} | unadjusted{CR}{LF}
    time{CR}{LF} --> HH:MM:SS{CR}{LF}
    date{CR}{LF} --> YYYY/MM/DD WWW{CR}{LF}
    stim{CR}{LF} --> HH:MM:SS{CR}{LF}
    +

    日付と時刻は、別々に問い合わせます。日付が深夜0時の前か後かの不確定をチェックするため、日付の問い合わせの前後に時刻を問い合わせています。


    +
    +
    +
  • + +
  • +

    シーデックス   JST2000   http://www.c-dex.co.jp/ (日本語)


    +
    +
    NTPの設定 ( ntp.conf )
    +

    +
    +
    server   127.127.40.X   mode 2
    +

    +
    fudge   127.127.40.X   time1 0.NNN
    +
    +
    +
    +
    インターフェース
    +
    +

    RS-232C, 9600 BPS, 8ビット, パリティなし, 1ストップ・ビット

    +
    +
    +
    日時データの形式
    +

    + + + + + + + + + + + +
    コマンド --> 応答
    {ENQ}1J{ETX} --> {STX}JYYMMDD HHMMSSS{ETX}
    +
    +
    +
    +
  • + +
  • +

    エコー計測器   LT-2000   http://www.clock.co.jp/ (日本語)


    +
    +
    NTPの設定 ( ntp.conf )
    +

    +
    +
    server   127.127.40.X   mode 3
    +

    +
    fudge   127.127.40.X   time1 0.NNN
    +
    +
    +
    +
    Interface
    +
    +

    RS-232C, 9600 BPS, 8ビット, パリティなし, 1ストップ・ビット

    +
    +
    +
    Time code format
    +

    + + + + + + + + + + + + + + + + + + + + + +
    コマンド --> 応答
    C --> ( Mode 2 : Continuous )
    ( Every second before 0.5 second )YYMMDDWHHMMSS{ST1}{ST2}{ST3}{ST4}{CR}
    # --> ( Mode 1 : Request&Send )
    +
    +
    +
    +
  • + +
  • +

    シチズンTIC   JJY-200   http://www.tic-citizen.co.jp/ (日本語)


    +
    +
    NTPの設定 ( ntp.conf )
    +

    +
    +
    server   127.127.40.X   mode 4
    +

    +
    fudge   127.127.40.X   time1 0.NNN
    +
    +
    +
    +
    インターフェース
    +
    +

    RS-232C, 4800 BPS, 8ビット, パリティなし, 1ストップ・ビット

    +
    +
    +
    日時データの形式
    +

    + + + + + + + + + + + +
    コマンド --> 応答
    ( Every second )'XX YY/MM/DD W HH:MM:SS{CR}
    +
    +
    +
    +
  • + +
  • +

    トライステート   TS-GPSclock-01   http://www.tristate.ne.jp/ (日本語)

    +

    このドライバーは、JJY受信機ではないGPS時計のトライステート TS-GPSclock-01 のコマンド・レスポンス・モードをサポートします。
    + TS-GPSclock-01 は、オンボードのスイッチとメニューでコマンド・レスポンス・モードとタイム・ゾーンをJST(日本標準時)に設定しなければなりまん。
    + この Type 40 のドライバーの他, TS-GPSclock-01 のNMEAモードは、一般 NMEA GPS ドライバー ( Type 20 ) でも利用することができます。

    +
    +
    NTPの設定 ( ntp.conf )
    +

    +
    +
    server   127.127.40.X   mode 5
    +

    +
    fudge   127.127.40.X   time1 0.NNN   flag1 0|1
    +
    +

    Time1 は、受信機からの時刻に加算する調整時間を、固定小数点形式の秒で設定します

    +

    Flag1 は、時刻同期には無関係です。Flag1 を 1 に設定すると、状態を問い合わせるコマンドを DATE コマンドと STIM コマンドの前に発行して、応答を clockstats ファイルに記録します。

    + + + +
    0 (Default)STUS コマンドは、発行しません。
    1STUS コマンドを、発行します。
    +
    +
    +
    +
    +
    インターフェース
    +
    +

    USB ( /dev/ttyACM0 )

    +
    +
    +
    日時データの形式
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    コマンド --> 応答
    stus{CR}{LF} --> *R{CR}{LF} | *G{CR}{LF} | *U{CR}{LF} | +U{CR}{LF}
    time{CR}{LF} --> HH:MM:SS{CR}{LF}
    date{CR}{LF} --> YYYY/MM/DD{CR}{LF}
    time{CR}{LF} --> HH:MM:SS{CR}{LF}
    +

    日付と時刻は、別々に問い合わせます。日付が深夜0時の前か後かの不確定をチェックするため、日付の問い合わせの前後に時刻を問い合わせています。


    +
    +
    +
  • + +
  • +

    セイコー タイム システム   TDC-300   http://www.seiko-sts.co.jp/ (英語と日本語)


    +

    TDC-300 は、フロント・パネルのメニュー表示とスイッチで type 3 のデータ形式に設定しなければなりません。

    +
    +
    NTP configuration ( ntp.conf )
    +

    +
    +
    server   127.127.40.X   mode 6
    +

    +
    fudge   127.127.40.X   time1 0.NNN
    +
    +
    +
    +
    インターフェース
    +
    +

    RS-232C, 2400 BPS, 8-bits, no parity, 1 stop bit

    +
    +
    +
    日時データの形式
    +

    + + + + + + + + + + + + + + + + +
    コマンド --> 応答
    {STX}YYMMDDWHHMMSS{ETX}
    ( 5 to 10 mSec. before second ){STX}{xE5}{ETX}
    +
    +
    +
    +
  • + +
  • +

    テレフォンJJY   http://jjy.nict.go.jp/ (英語と日本語)

    +

    テレフォンJJYは、電話回線による時刻配信サービスです。
    + このサービスは、国立研究開発法人 情報通信研究機構が提供しています。

    +

    注意: このモード(テレフォンJJY)は、refclock_acts ( Type 18 ) のドライバーと同時に利用することはできません。 + 設定ファイルの phone は、server と関係付けられていないため、ドライバーの refclock_acts ( type 18 ) も、この refclock_jjy ( type 40, mode 100 to 180 ) のいずれも、 + 複数の phone のうち、どれが自分に関係するものか識別できないからです。

    +
    +
    NTPの設定 ( ntp.conf )
    +
    +
    +
    server   127.127.40.X   mode (100, 101 to 180)   minpoll N
    +
    +

    モード 100 を設定した場合、このドライバーは、遅延を計測するためのループバック・コマンドは発行せず、電話回線とシステムの処理による遅延は調整しません。
    + モード 101 から 180 を設定した場合、このドライバーは、ループバック・コマンドを発行して、テレフォンJJYのループバック回路を通して電話回線とシステムの処理による遅延を計測します。
    + テレフォンJJYのループバック回路を経由した往復の時間は、5回、計測されます。 + それぞれの遅延時間のうち、700ミリ秒を超えたものは、平均遅延時間の計算より除外されます。 + また、700ミリ秒以下の有効な遅延時間が、3回以上の場合は、そのうち、最大の遅延時間は、平均遅延時間の計算より除外され、 + 4回以上の場合は、そのうち、最小の遅延時間は、平均遅延時間の計算より除外されます。 + 調整時間は、往復時間 × ( モード番号 - 100 ) % で計算し、同期する時刻に加算されます。
    + モード 101 から 180 を設定して自動遅延補正を選択するなら、モード 145 から 165 が良いでしょう。

    +

    デフォルトの日時問い合わせ処理間隔 6 ( 64 秒 ) は、このモードには、短すぎます。 "minpoll" は、8 ( 256 秒, 約 4 分 ) 以上を設定して下さい。
    + 日時問い合わせ処理間隔は、秒数を 2 のべき乗で指定します。 minpoll の値が、12 なら 4096 秒(約1時間)、14 なら 16384 秒(約4.5時間)、16 なら 65536 秒(約18時間)となります。


    +
    +
    fudge   127.127.40.X   flag1 0|1   flag2 0|1   flag3 0|1   flag4 0|1
    +
    +

    Time1 は、受信機からの時刻に加算する調整時間を、固定小数点形式の秒で設定します。
    + mode 100 の場合は、time1 で調整する時間を設定したほうが良いでしょう。
    + mode 101 から 180 の場合は、このドライバーが計測したループバックの遅延時間の一定の割合を同期時刻に加算しますので、time1 は設定しないほうが良いでしょう。

    +
    Flag1 は、タッチ・トーンかダイヤル・パルスかを指定します。
    + + + +
    0 (Default)タッチ・トーンATDWTnn...nn
    1ダイヤル・パルスATDWPnn...nn
    +
    +
    Flag2 は、エラー訂正プロトコルを指定します。
    + + + +
    0 (Default)ノーマル(エラー訂正なし)AT\N0
    1V42, MNP, ノーマルの自動選択AT\N3
    +
    +
    Flag3 は、スピーカーのオン/オフを指定します。
    + + + +
    0 (Default)オフATM0Ln
    1オンATM2Ln
    +
    +
    Flag4 は、スピーカーの音量を指定します。
    + + + +
    0 (Default)ATMnL1
    1ATMnL2
    +
    +
    +
    phone 042NNNNNNN
    +
    +

    電話番号は、http://jjy.nict.go.jp/ で公開されています。
    + 電話番号の桁数をチェックしています。もし、日本国外から発信するために国際電話アクセス番号と国番号を付加すると、桁数制限を超えます。
    + また、電話番号の最初の2桁や3桁をチェックしています。日本の緊急番号や特別のサービスの番号を指定することはできません。
    + 内線から外線に発信する時は、"0," ( ゼロとカンマ ) を先頭に付加して下さい。外線発信番号は、チェックしていて、それ以外の外線発信番号を指定することはできません。

    +
    +
    +
    +
    +
    インターフェース
    +
    +

    RS-232C 又は USB, 2400 BPS, 8ビット, パリティなし, 1ストップ・ビット

    +

    モデム制御コマンド:
    + ATE0Q0V1, ATMnLn, AT&K4, AT+MS=V22B, AT%C0, AT\Nn, ATH1, ATDWxnn...nn
    + +++, ATH0

    +
    +
    +
    日時データの形式
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    プロンプト --> コマンド --> 応答
    Name{SP}?{SP} --> TJJY{CR} --> Welcome messages
    > --> LOOP{CR} --> ( Switch to the loopback circuit )
       ( One char. ) --> ( One char. )
       COM{CR} --> ( Exit from the loopback circuit )
    > --> TIME{CR} --> HHMMSS{CR}HHMMSS{CR}HHMMSS{CR} 3 times on second
    > --> 4DATE{CR} --> YYYYMMDD{CR}
    > --> LEAPSEC{CR} --> {SP}0{CR} | +1{CR} | -1{CR}
    > --> TIME{CR} --> HHMMSS{CR}HHMMSS{CR}HHMMSS{CR} 3 times on second
    > --> BYE{CR} --> Sayounara messages
    +

    日付と時刻は、別々に問い合わせます。日付が深夜0時の前か後かの不確定をチェックするため、日付の問い合わせの前後に時刻を問い合わせています。
    + うるう秒は、処理していません。情報として clockstats ファイルに記録しているだけです。

    +
    +
    +
    +
  • + +
+ +

JJY は、長波で日本標準時(JST)を送信している無線局で、国立研究開発法人 情報通信研究機構が運用しています。JJY の運用情報などは、 http://www.nict.go.jp/(英語と日本語)や http://jjy.nict.go.jp/(英語と日本語)で提供されています。

+

実際のシリアル・ポートのデバイスにシンボリック・リンクを作成して下さい。シンボリック・リンクを作成するコマンドは、以下のとおりです。

+

ln -s /dev/ttyS0 /dev/jjy0

+

RS-232C から USB への変換ケーブルを利用して、JJY受信機、GPS時計、モデムをRS-232Cポートではなく、USBに接続することができます。この場合のシンボリック・リンクを作成するコマンドは、以下のとおりです。

+

ln -s /dev/ttyUSB0 /dev/jjy0

+

Windows NT の場合は、 COMX: の数字部分がドライバーのユニット番号に使用されます。 ドライバーのユニット 1 は、COM1: にユニット 3 は、COM3: に対応します。

+

Monitor Data

+

このドライバーは、JJY受信機、GPS時計、モデムとの送受信データを clockstats ファイルに記録します。

+

+ statsdir /var/log/ntpd/
+ filegen clockstats file clockstats type day enable +

+
レコード中のマークについて
+ + + + + + + + +
JJY 情報(このドライバーの開始または終了)
--> 送信データ
<-- 受信データ
--- 情報
=== 情報(ポーリングの開始、および、同期時刻)
-W- 警告メッセージ
-X- エラー・メッセージ
+

Fudge Factors

+
+
time1 time
+
受信機からの時刻に対する調整時間を、固定小数点形式の秒で設定します。デフォルトは、0.0秒です。
+
time2 time
+
未使用。
+
stratum number
+
NTPの階層番号を 0 から 15 で指定します。デフォルトは、0です。
+
refid string
+
ドライバーIDで、ASCII の1文字から4文字で指定します。デフォルトは、JJY です。
+
flag1 0 | 1
+
それぞれのモードを参照して下さい。
+
flag2 0 | 1
+
それぞれのモードを参照して下さい。
+
flag3 0 | 1
+
それぞれのモードを参照して下さい。
+
flag4 0 | 1
+
それぞれのモードを参照して下さい。
+
+
+ + + + diff --git a/contrib/ntp/html/drivers/driver40.html b/contrib/ntp/html/drivers/driver40.html index 6799f7699611..356429e499e6 100644 --- a/contrib/ntp/html/drivers/driver40.html +++ b/contrib/ntp/html/drivers/driver40.html @@ -5,6 +5,7 @@ + JJY Receivers @@ -15,8 +16,8 @@

JJY Receivers

Last update: - 3-May-2011 00:20 - UTC

+ 15-May-2015 00:00 + UTC          ENGLISH   JAPANESE


Synopsis

Address: 127.127.40.u
@@ -24,19 +25,37 @@ Driver ID: JJY
Serial Port: /dev/jjyu; See corresponding receiver

Description

-

This driver supports the following JJY receivers sold in Japan.

+

This driver supports the following the JJY receivers and the GPS clock sold in Japan, and the time service through a telephone line. +

+ + + + + +
+ Tristate Ltd.   TS-JJY01, TS-JJY02
+ C-DEX Co.,Ltd.   JST2000
+ Echo Keisokuki Co.,Ltd.   LT-2000
+ CITIZEN T.I.C. CO.,LTD.   JJY-200
+ Tristate Ltd.   TS-GPSclock-01
+
+ SEIKO TIME SYSTEMS INC.   TDC-300
+ Telephone JJY
+
  • -

    Tristate Ltd. JJY01, JJY02 http://www.tristate.ne.jp/ (Japanese only)


    +

    Tristate Ltd.   TS-JJY01, TS-JJY02   http://www.tristate.ne.jp/ (Japanese only)


    NTP configuration ( ntp.conf )
    -
    -

    server   127.127.40.X   mode 1

    +

    -
    fudge   127.127.40.X   flag1 0|1
    +
    server   127.127.40.X   mode 1
    +

    +
    fudge   127.127.40.X   time1 0.NNN   flag1 0|1
    -

    Flag1 has no effect for time synchronization. When a flag1 is set to 1, status commands are issued before DATE and STIM commands, and write a response text into a clockstats file.

    +

    Time1 may specify a constant to be added to the time offset for the time from the receiver, a fixed-point decimal number in seconds. You may specify the time offset from several tens of milli-seconds ( 0.0NN seconds ) to a hundred and several tens of milli-seconds ( 0.1NN seconds ) for this clock.

    +

    Flag1 has no effect for time synchronization. When flag1 is set to 1, status commands are issued before DATE and STIM commands, and write a response text into the clockstats file.

    @@ -47,7 +66,7 @@
    Interface
    -

    RS-232C, 9600 baud, 8-bits, no parity, 1 stop bit

    +

    RS-232C, 9600 BPS, 8-bits, no parity, 1 stop bit


    Time code format
    @@ -58,6 +77,21 @@ + + + + + + + + + + + + + + + @@ -69,22 +103,26 @@
    0 (Default)DCST and STUS commands are not issued
    1DCST and STUS commands are issued
     -->  Reply
    dcst{CR}{LF} --> valid{CR}{LF} | invalid{CR}{LF}
    stus{CR}{LF} --> adjusted{CR}{LF} | unadjusted{CR}{LF}
    time{CR}{LF} --> HH:MM:SS{CR}{LF}
    date{CR}{LF}  --> HH:MM:SS{CR}{LF}
    -
    +

    The date and time are requested separately. The time is requested before and after the date request to check uncertainty of the date whether it's before or after midnight.


  • -

    C-DEX Co.,Ltd. JST2000 http://www.c-dex.co.jp/ (Japanese only)


    +

    C-DEX Co.,Ltd.   JST2000   http://www.c-dex.co.jp/ (Japanese only)


    NTP configuration ( ntp.conf )
    -
    -

    server   127.127.40.X   mode 2

    +

    +
    +
    server   127.127.40.X   mode 2
    +

    +
    fudge   127.127.40.X   time1 0.NNN
    +

    Interface
    -

    RS-232C, 9600 baud, 8-bits, no parity, 1 stop bit

    +

    RS-232C, 9600 BPS, 8-bits, no parity, 1 stop bit


    Time code format
    @@ -107,16 +145,20 @@
  • -

    Echo Keisokuki Co.,Ltd. LT-2000 http://www.clock.co.jp/ (Japanese only)


    +

    Echo Keisokuki Co.,Ltd.   LT-2000   http://www.clock.co.jp/ (Japanese only)


    NTP configuration ( ntp.conf )
    -
    -

    server   127.127.40.X   mode 3

    +

    +
    +
    server   127.127.40.X   mode 3
    +

    +
    fudge   127.127.40.X   time1 0.NNN
    +

    Interface
    -

    RS-232C, 9600 baud, 8-bits, no parity, 1 stop bit

    +

    RS-232C, 9600 BPS, 8-bits, no parity, 1 stop bit


    Time code format
    @@ -149,16 +191,20 @@
  • -

    CITIZEN T.I.C. CO.,LTD. JJY-200 http://www.tic-citizen.co.jp/ (Japanese only)


    +

    CITIZEN T.I.C. CO.,LTD.   JJY-200   http://www.tic-citizen.co.jp/ (Japanese only)


    NTP configuration ( ntp.conf )
    -
    -

    server   127.127.40.X   mode 4

    +

    +
    +
    server   127.127.40.X   mode 4
    +

    +
    fudge   127.127.40.X   time1 0.NNN
    +

    Interface
    -

    RS-232C, 4800 baud, 8-bits, no parity, 1 stop bit

    +

    RS-232C, 4800 BPS, 8-bits, no parity, 1 stop bit


    Time code format
    @@ -181,16 +227,18 @@
  • -

    Tristate Ltd. TS-GPSclock-01 http://www.tristate.ne.jp/ (Japanese only)

    +

    Tristate Ltd.   TS-GPSclock-01   http://www.tristate.ne.jp/ (Japanese only)

    This driver supports the Tristate TS-GPSclock-01 in command/response mode, though it is a GPS clock, not JJY radio clock. Using the menus and the onboard switches, the TS-GPSclock-01 should be set to command/response mode and JST time zone.
    Besides this driver ( Type 40 ), the generic NMEA GPS driver ( Type 20 ) supports the TS-GPSclock-01 in NMEA mode.

    NTP configuration ( ntp.conf )
    -
    -

    server   127.127.40.X   mode 5

    +

    -
    fudge   127.127.40.X   flag1 0|1
    +
    server   127.127.40.X   mode 5
    +

    +
    fudge   127.127.40.X   time1 0.NNN   flag1 0|1
    +

    Time1 may specify a constant to be added to the time offset for the time from the receiver, a fixed-point decimal number in seconds.

    Flag1 has no effect for time synchronization. When a flag1 is set to 1, status command is issued before DATE and TIME commands, and write a response text into a clockstats file.

    @@ -213,6 +261,16 @@ + + + + + + + + + + @@ -224,38 +282,250 @@
    0 (Default)STUS command is not issued
     -->  Reply
    stus{CR}{LF} --> *R{CR}{LF} | *G{CR}{LF} | *U{CR}{LF} | +U{CR}{LF}
    time{CR}{LF} --> HH:MM:SS{CR}{LF}
    date{CR}{LF}  --> HH:MM:SS{CR}{LF}
    +

    The date and time are requested separately. The time is requested before and after the date request to check uncertainty of the date whether it's before or after midnight.


    +
    +
    +
  • + +
  • +

    SEIKO TIME SYSTEMS INC.   TDC-300   http://www.seiko-sts.co.jp/ (English and Japanese)


    +

    The TDC-300 must be set to the type 3 data format using the front panel menu display and the switches.

    +
    +
    NTP configuration ( ntp.conf )
    +

    +
    +
    server   127.127.40.X   mode 6
    +

    +
    fudge   127.127.40.X   time1 0.NNN
    +
    +
    +
    +
    Interface
    +
    +

    RS-232C, 2400 BPS, 8-bits, no parity, 1 stop bit

    +
    +
    +
    Time code format
    +

    + + + + + + + + + + + + + + + + +
    Command --> Reply
    {STX}YYMMDDWHHMMSS{ETX}
    ( 5 to 10 mSec. before second ){STX}{xE5}{ETX}
    +
    +
    +
    +
  • + +
  • +

    Telephone JJY   http://jjy.nict.go.jp/ (English and Japanese)

    +

    The telephone JJY is the time service through a public telephone line.
    + The service is provided by the National Institute of Information and Communications Technology in Japan.

    +

    ATTENTION; This mode, the telephone JJY, can not be used with the refclock_acts ( type 18 ) at the same time. + Because the "phone" statement in the ntp configuration file is not involved with the "server" statement, + so the both the refclock_acts ( type 18 ) and this refclock_jjy ( type 40, mode 100 to 180 ) can not recognize the appropriate "phone" statement among the "phone" statements.

    +
    +
    NTP configuration ( ntp.conf )
    +

    +
    +
    server   127.127.40.X   mode (100, 101 to 180)   minpoll N
    +
    +

    The mode 100 is specified, this driver does not issue the loopback command in order to measure the delay, and the delay of the telephone line and the system processing is not adjusted.
    + The mode 101 to 180 is specified, this driver issues the loopback command and measures the delay of the telephone line and the system processing through the Telphone JJY loopback circuit.
    + The round trip time through the Telphone JJY loopback circuit is measured 5 times, and each delay time is greater than 700 milli-seconds, + that delay time is ignored during average delay time calculation. Also, if the valid delay time ( <= 700 mS. ) is measured more than 3 times, the maximum delay time among the valid delay times is ignored, + and if the valid delay time is measured more than 4 times, the minimum delay time among them is ignored, like marking/grading sports judgment.
    + The adjustment time is calculated by the formula,
    + multiply ( the measured round trip time ) by ( ( the mode number ) - 100 ) %,
    + and the adjustment delay time is added to the syncronizing time.
    + If you choose the automatic delay ajustment, in other words, the mode 101 to 180 is specifed, the recommended mode number is 145 to 165.

    +

    The default polling interval 6 ( 64 seconds ) is too short for this mode. The "minpoll" should be set to greater than or equal to 8 ( 256 seconds, about 4 minutes ).
    + The interval time is given the value in second power of 2. The minpoll value 12 is 4096 seconds interval ( about 1 hour ), 14 is 16384 seconds interval ( about 4.5 hours ), 16 is 65536 seconds ( about 18 hours ), respectively.


    +
    +
    fudge   127.127.40.X   flag1 0|1   flag2 0|1   flag3 0|1   flag4 0|1
    +
    +

    Time1 may specify a constant to be added to the time offset for the time from the receiver, a fixed-point decimal number in seconds.
    + When the mode 100 is specified, the time1 may be specified in order to adjust the time offset.
    + When the mode 101 to 180 is specified, the time1 should not be specified because this driver adds some percentage of the measured loopback delay, depending on the value of the mode number.

    +
    Flag1 is the modem dialing type.
    + + + +
    0 (Default)ToneATDWTnn...nn
    1PulseATDWPnn...nn
    +
    +
    Flag2 is the modem error correction type.
    + + + +
    0 (Default)NormalAT\N0
    1Auto V42, MNP, NormalAT\N3
    +
    +
    Flag3 is the modem speaker switch.
    + + + +
    0 (Default)OffATM0Ln
    1OnATM2Ln
    +
    +
    Flag4 is the modem speaker volume.
    + + + +
    0 (Default)LowATMnL1
    1MiddleATMnL2
    +
    +
    +
    phone 042NNNNNNN
    +
    +

    The phone number is available at http://jjy.nict.go.jp/
    + The number of digits of the phone number is checked. If the international access number and the country number are added in order to call from outside of Japan, the number of digits is over the limit.
    + The first 2 or 3 digits are checked. The emergency service number and the special service number in Japan are not allowed.
    + Calling from extension line, the number for an outside line should be prefix "0," ( Zero, Comma ). The prefix is also checked, and no other outside access number is allowed.

    +
    +
    +
    +
    +
    Interface
    +
    +

    RS-232C or USB, 2400 BPS, 8-bits, no parity, 1 stop bit

    +

    Modem control commands:
    + ATE0Q0V1, ATMnLn, AT&K4, AT+MS=V22B, AT%C0, AT\Nn, ATH1, ATDWxnn...nn
    + +++, ATH0

    +
    +
    +
    Time code format
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Prompt --> Command --> Reply
    Name{SP}?{SP} --> TJJY{CR} --> Welcome messages
    > --> LOOP{CR} --> ( Switch to the loopback circuit )
       ( One char. ) --> ( One char. )
       COM{CR} --> ( Exit from the loopback circuit )
    > --> TIME{CR} --> HHMMSS{CR}HHMMSS{CR}HHMMSS{CR} 3 times on second
    > --> 4DATE{CR} --> YYYYMMDD{CR}
    > --> LEAPSEC{CR} --> {SP}0{CR} | +1{CR} | -1{CR}
    > --> TIME{CR} --> HHMMSS{CR}HHMMSS{CR}HHMMSS{CR} 3 times on second
    > --> BYE{CR} --> Sayounara messages
    +

    The date and time are requested separately. The time is requested before and after the date request to check uncertainty of the date whether it's before or after midnight.
    + The leap second is not handled, and only written in the clockstats file as an information.


-

JJY is the radio station which transmites the JST (Japan Standard Time) in long wave radio. The station JJY is operated by the National Institute of Information and Communications Technology. An operating announcement and some information are avaiable from http://www.nict.go.jp/ (English and Japanese) and http://jjy.nict.go.jp/ (English and Japanese)

+ +

The JJY is the radio station which transmits the JST (Japan Standard Time) in long wave radio. The station JJY is operated by the National Institute of Information and Communications Technology. + An operating announcement and some information are available from http://www.nict.go.jp/ (English and Japanese) and http://jjy.nict.go.jp/ (English and Japanese)

The user is expected to provide a symbolic link to an available serial port device. This is typically performed by a command such as;

ln -s /dev/ttyS0 /dev/jjy0

-

Using RS232C to USB converter cable, the clock can be connected to an USB port instead of a serial port. In this case, typical symbolic link command is as follows; +

Using an RS-232C to USB converter cable, the clock or a modem can be connected to a USB port instead of a serial port. In this case, the typical symbolic link command is as follows;

ln -s /dev/ttyUSB0 /dev/jjy0

Windows NT does not support symbolic links to device files. COMX: is the unit used by the driver, based on the refclock unit number, where unit 1 corresponds to COM1: and unit 3 corresponds to COM3:

Monitor Data

-

The driver writes each timecode as received to the clockstats file.

+

The driver writes sent and received data to/from the JJY receivers, GPS clock, and the modem into the clockstats file.

+

+ statsdir /var/log/ntpd/
+ filegen clockstats file clockstats type day enable +

+
Mark of the clockstats record
+ + + + + + + + +
JJY Infomation message ( This refclock starts or stops. )
--> Sent data
<-- Received data
--- Infomation message
=== Infomation message ( Start of each polling, and sync. time. )
-W- Warning message
-X- Error message

Fudge Factors

-
time1 time -
Specifies the time offset calibration factor, in seconds and fraction, with default 0.0. -
time2 time -
Not used by this driver. -
stratum number -
Specifies the driver stratum, in decimal from 0 to 15, with default 0. -
refid string -
Specifies the driver reference identifier, an ASCII string from one to four characters, with default JJY. -
flag1 0 | 1 -
See corresponding receiver. -
flag2 0 | 1 -
Not used by this driver. -
flag3 0 | 1 -
Not used by this driver. -
flag4 0 | 1 +
time1 time
+
Specifies the time offset calibration factor, in seconds and fraction, with default 0.0.
+
time2 time
Not used by this driver. +
stratum number
+
Specifies the driver stratum, in decimal from 0 to 15, with default 0.
+
refid string
+
Specifies the driver reference identifier, an ASCII string from one to four characters, with default JJY.
+
flag1 0 | 1
+
See corresponding receiver.
+
flag2 0 | 1
+
See corresponding receiver.
+
flag3 0 | 1
+
See corresponding receiver.
+
flag4 0 | 1
+
See corresponding receiver.

diff --git a/contrib/ntp/html/drivers/driver46.html b/contrib/ntp/html/drivers/driver46.html index 40aded80cca1..cdb0b6899e15 100644 --- a/contrib/ntp/html/drivers/driver46.html +++ b/contrib/ntp/html/drivers/driver46.html @@ -14,7 +14,7 @@

GPSD NG client driver

Last update: - 1-Mar-2014 03:48 + 30-Apr-2015 05:53 UTC


Synopsis

@@ -28,8 +28,9 @@ Features:

-

Description

+ +

Description

This driver is a client driver to the GPSD daemon, which over the time became increasingly popular for UN*Xish @@ -68,25 +69,37 @@

The overall accuracy depends on the receiver used. The driver uses the error estimations (95% probability limits) provided by - GPSD to set the clock precision dynamically according to these - readings. + GPSD to set the clock precision dynamically according to + these readings.

- The driver needs the VERSION, TPV, PPS and WATCH objects of - the GPSD protocol. (Others are quietly ignored.) + The driver needs the VERSION, TPV, PPS, WATCH and TOFF objects + of the GPSD protocol. (Others are quietly ignored.) The + driver can operate without the TOFF objects, which are available + with the protocol version 3.10 and above. (Not to be + confused with the release version of GPSD!) + Running without TOFF objects has a negative impact on the jitter + and offset of the serial timing information; if possible, a + version of GPSD with support for TOFF objects should be + used. +

+

The acronym STI is used here as a synonym for serial + time information from the data channel of the receiver, no + matter what objects were used to obtain it.

+ -

Naming a Device

+

Naming a Device

- The GPSD driver uses the same name as the NMEA driver, - namely /dev/gpsu. There is a simple reason for - that: While the NMEA driver and the GPSD driver can be - active at the same time for different devices, - they cannot access the same device at a time. Having the same - name helps on that. It also eases migration from using NMEA - directly to using GPSD, as no new links etc need to be - created. + The GPSD driver uses the same device name as the NMEA + driver, namely /dev/gpsu. There is a simple + reason for that: While the NMEA driver and the GPSD + driver can be active at the same time for different + devices, they cannot access the same device at a + time. Having the same name helps on that. It also eases + migration from using NMEA directly to using GPSD, as no + new links etc need to be created.

GPSD is normally started with the device name to access; @@ -97,14 +110,16 @@ identification. This makes the migration from the built-in NMEA driver a bit easier.

-

Note: GPSD (as of version 3.10) cannot - use kernel mode PPS on devices that are hot-plugged. This would - require to attach the PPS line discipline to the file, which is - not possible when running with root privileges dropped. This is - not likely to change in the future. +

Note: GPSD (as of version 3.10) cannot use kernel + mode PPS on devices that are hot-plugged. This would require to + attach the PPS line discipline to the character special file, + which is not possible when running with root privileges already + dropped. This is not likely to change in the future.

-

The 'mode' byte

+ + +

The 'mode' word

A few operation modes can be selected with the mode word.

@@ -113,70 +128,234 @@ The Mode Word BitsValueDescription - 0..10 - Uses TPV to get absolute time stamps for full - synchronization. If PPS is available , it is used to improve - the precision, but the clock can work without it. + 0..1 + 0 + STI only operation. This mode is affected by the timing + stability of whatever protocol is used between the GPS + device and GPSD. +
+ Running on STI only is not recommended in general. Possible + use cases include: +
    +
  • The receiver does not provide a PPS signal. +
  • The receiver does provide a PPS signal and + the secondary PPS unit is used. +
  • The receiver has a stable serial timing and a proper + fudge can be established. +
  • You have other time sources available and want to + establish a useful fudge value for time2. +
+ - 1 - Require TPV and PPS to work. + + 1 + Strict operation. This mode needs a valid PPS and a + valid STI to combine the absolute time from the STI with + the time stamp from the PPS record. Does not feed clock + samples if no valid PPS+STI pair is available. +

+ This type of operation results in an ordinary clock with a + very low jitter as long as the PPS data is available, but + the clock fails once PPS drops out. This mode is a + possible choice for receivers that provide a PPS signal + most of the time but have an unstable serial timing that + cannot be fudge-compensated. + 2 - Ignore PPS data, run on TPV only. This is not a - recommended mode unless the serial timing is very stable - and GPSD provides an information element in TPV that - indicates the receive time of the fix data. + Automatic mode. Tries to operate in strict mode unless + it fails to process valid samples for some time, currently + 120s. Then it reverts to STI-only operation until the PPS + is stable again for 40s, when strict mode is engaged + again. +

Important Notice: This is an expiremental + feature!
Switching between strict and STI-only + mode will cause changes in offset and jitter. Use this + mode only if STI-only works fairly well with your setup, + or if you expect longer dropouts of the PPS signal and + prefer to use STI alone over not getting synchronised at + all. - 3 - PPS-only mode. Ignores TPV and does only the PPS phase - correction. This means that some other source must get NTPD - close to synchronisation; only after that happened and the - phase shift between the system clock and the PPS pulse is - less than 125msec the PPS lock will be engaged. + + 3 + (reserved for future extension, do not use) + + + 2..31 + (reserved for future extension, do not + use) - IMPORTANT: work in progress, mode - word ignored right now. Fixed mode '0' operation.

-

Syslog flood throttle

-

This driver can create a lot of syslog messages when things go - wrong, and cluttering the log files is frowned upon. So we attempt - to log persistent or recurring errors only once per hour. On the - other hand, when tracking a problem the syslog flood throttle can - get into the way.

-

Therefore, fudge flag3 can be used to disable the - flood throttle at any time; the throttle is engaged by - default. Running with the syslog flood throttle disabled for - lengthy time is not recommended unless the log files are closely - monitored.

+ -

Fudge Factors

+

Syslog flood throttle

+

This driver can create a lot of syslog messages when things go + wrong, and cluttering the log files is frowned upon. So we + attempt to log persistent or recurring errors only once per + hour. On the other hand, when tracking a problem the syslog + flood throttle can get into the way.

+

Therefore, fudge flag3 can be used to disable the + flood throttle at any time; the throttle is engaged by + default. Running with the syslog flood throttle disabled for + lengthy time is not recommended unless the log files are closely + monitored.

+ + + +

PPS secondary clock unit

+

Units with numbers ≥128 act as secondary clock unit for the + primary clock unit (u mod 128). A secondary unit processes only + the PPS data from GPSD and needs the corresponding master + unit to work1. Use + the 'noselect' keyword on the primary unit if you are not + interested in its data. +

The secondary unit employs the usual precautions before + feeding clock samples:

+
    +
  • The system must be already in a synchronised state. +
  • The system offset must be less than 400ms absolute. +
  • The phase adjustment from the PPS signal must also be less + than 400ms absolute. +
+

If fudge flag flag1 is set for the secondary unit, the + unit asserts the PPS flag on the clock as long as PPS data is + available. This makes the unit eligible as PPS peer and should + only be used if the GPS receiver can be trusted for the quality + of its PPS signal2. The PPS flag gets cleared if no + PPS records can be aquired for some time. The unit also flushes + the sample buffer at this point to avoid the use of stale PPS + data.

+

Attention: This unit uses its own PPS fudge value + which must be set as fudge time1. Only the fudge + values time1 and flag1 have an impact on secondary + units.

+ + + +

Clockstats

+

If flag4 is set when the driver is polled, a clockstats record + is written for the primary clock unit. (The secondary PPS unit + does not provide clock stats on its own.) The first 3 fields are + the normal date, time, and IP address common to all clockstats + records. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
The Clockstats Line
fieldDescription
1Date as day number since NTP epoch.
2Time as seconds since midnight.
3(Pseudo-) IP address of clock unit.
4Number of received known JSON records since last + poll. The driver knows about TPV, PPS, TOFF, VERSION and + WATCH records; others are silently ignored. +
5Bad replies since last poll. A record is considered + malformed or a bad reply when it is missing vital fields + or the fields contain malformed data that cannot be + parsed. +
6Number of sample cycles since last poll that were + discarded because there was no GPS fix. This is + effectively the number of TPV records with a fix value + < 2 or without a time stamp. +
7Number of serial time information records (TPV or TOFF, + depending on the GPSD version) received since last poll. +
8Number of serial time information records used for + clock samples since the last poll. +
9Number of PPS records received since the last poll.
10Number of PPS records used for clock samples on the + secondary channel since the last poll. +
+

+ + + +

Fudge Factors

time1 time
Specifies the PPS time offset calibration factor, in seconds and fraction, with default 0.0.
time2 time
-
Specifies the TPV time offset calibration factor, in seconds - and fraction, with default 0.0.
+
[Primary Unit] Specifies the TPV/TIME time offset + calibration factor, in seconds and fraction, with default + 0.0.
stratum number
-
Specifies the driver stratum, in decimal from 0 to 15, with default 0.
+
Specifies the driver stratum, in decimal from 0 to 15, with + default 0.
refid string
Specifies the driver reference identifier, an ASCII string from one to four characters, with default GPSD.
-
flag1 0 | 1
(not used)
-
flag2 0 | 1
(not used)
-
flag3 0 | 1
If set, disable the - log throttle. Useful when tracking problems in the interaction - between GPSD and NTPD, since now all error - events are logged. Persistent/recurrent errors can easily fill - up the log, so this should only be enabled during bug - hunts.
-
flag4 0 | 1
If set, write a clock stats - line on every poll cycle.
+
flag1 0 | 1
[Secondary + Unit] When set, flags the secondary clock unit as a + potential PPS peer as long as good PPS data is available. +
+
flag2 0 | 1
+
[Primary Unit] When set, disables the + processing of incoming PPS records. Intended as an aide to + test the effects of a PPS dropout when using automatic mode + (mode 2). +
+
flag3 0 | 1
[Primary Unit] + If set, disables the log throttle. Useful when tracking + problems in the interaction between GPSD and NTPD, + since now all error events are logged. Persistent/recurrent + errors can easily fill up the log, so this should only be + enabled during bug hunts.
+
flag4 0 | 1
[Primary Unit] + If set, write a clock stats line on every poll cycle. +
+ + +
+

1) Data transmission + an decoding is done only once by the primary unit. The decoded + data is then processed independently in both clock units. This + avoids double transmission over two sockets and decoding the + same data twice, but the primary unit is always needed as a + downside of this approach. +

+

2) The clock driver + suppresses the processing PPS records when the TPV/TIME data + indicates the receiver has no fix. It can also deal with + situations where the PPS signal is not delivered + to GPSD. But once it is available, it is also processed + and used to create samples. If a receiver cannot be trusted for + the precision of its PPS signal, it should not be used to create + a possible PPS peer: These get extra clout and can effectively + become the sole source of input for the control loop. You do not + want to use sloppy data for that. +


Additional Information

Reference Clock Drivers


diff --git a/contrib/ntp/html/miscopt.html b/contrib/ntp/html/miscopt.html index 5750d17999d5..ac32419df08a 100644 --- a/contrib/ntp/html/miscopt.html +++ b/contrib/ntp/html/miscopt.html @@ -3,6 +3,7 @@ Miscellaneous Commands and Options + @@ -10,7 +11,7 @@ giffrom Pogo, Walt Kelly

We have three, now looking for more.

Last update: - 28-Feb-2015 12:01 + 29-Jun-2015 05:56 UTC


Related Links

@@ -26,6 +27,8 @@
This command specifies the complete path and name of the file used to record the frequency of the local clock oscillator. This is the same operation as the -f command line option. This command is mutually exclusive with the freq option of the tinker command.
If the file exists, it is read at startup in order to set the initial frequency and then updated once per hour or more with the current frequency computed by the daemon. If the file name is specified, but the file itself does not exist, the starts with an initial frequency of zero and creates the file when writing it for the first time. If this command is not given, the daemon will always start with an initial frequency of zero.
The file format consists of a single line containing a single floating point number, which records the frequency offset measured in parts-per-million (PPM). The file is updated by first writing the current drift value into a temporary file and then renaming this file to replace the old version.
+
dscp dscp
+
This command specifies the Differentiated Services Code Point (DSCP) value that is used in sent NTP packets. The default value is 46 for Expedited Forwarding (EF).
enable [auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats]
disable [auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats]
Provides a way to enable or disable various system options. Flags not mentioned are unaffected. Note that most of these flags can be modified remotely using ntpq utility program's :config and config-from-file commands. @@ -57,6 +60,8 @@
This command loads the NIST leapseconds file and initializes the leapsecond values for the next leapsecond time, expiration time and TAI offset. The file can be obtained directly from NIST national time servers using ftp as the ASCII file pub/leap-seconds.
The leapfile is scanned when ntpd processes the leapfile directive or when ntpd detects that leapfile has changed. ntpd checks once a day to see if the leapfile has changed.
While not strictly a security function, the Autokey protocol provides means to securely retrieve the current or updated leapsecond values from a server.
+
leapsmearinterval seconds
+
This EXPERIMENTAL option is only available if ntpd was built with the --enable-leap-smear option to the configure script. It specifies the interval over which a leap second correction will be applied. Recommended values for this option are between 7200 (2 hours) and 86400 (24 hours). DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS! See http://bugs.ntp.org/2855 for more information.
logconfig configkeyword
This command controls the amount and type of output written to the system syslog facility or the alternate logfile log file. All configkeyword keywords can be prefixed with =, + and -, where = sets the syslogmask, + adds and - removes messages. syslog messages can be controlled in four classes (clock, peer, sys and sync). Within these classes four types of messages can be controlled: informational messages (info), event messages (events), statistics messages (statistics) and status messages (status).
Configuration keywords are formed by concatenating the message class with the event class. The all prefix can be used instead of a message class. A message class may also be followed by the all keyword to enable/disable all messages of the respective message class. By default, logconfig output is set to allsync.
@@ -95,6 +100,18 @@
This command is used in conjunction with the ACTS modem driver (type 18). The arguments consist of a maximum of 10 telephone numbers used to dial USNO, NIST or European time services. The Hayes command ATDT is normally prepended to the number, which can contain other modem control codes as well.
reset [allpeers] [auth] [ctl] [io] [mem] [sys] [timer]
Reset one or more groups of counters maintained by ntpd and exposed by ntpq and ntpdc.
+
rlimit [memlock Nmegabytes | stacksize N4kPages | filenum Nfiledescriptors]
+
This command alters certain process storage allocation limits, and is only available on some operating systems. Options are as follows:
+
+
+
memlock Nmegabytes
+
Specify the number of megabytes of memory that can be allocated. Probably only available under Linux, this option is useful when dropping root (the -i option). The default is 32 megabytes. Setting this to zero will prevent any attemp to lock memory.
+
stacksize N4kPages
+
Specifies the maximum size of the process stack on systems with the mlockall() function. Defaults to 50 4k pages (200 4k pages in OpenBSD).
+
filenum Nfiledescriptors
+
Specifies the maximum number of file descriptors ntp may have open at the same time. Defaults to system default.
+
+
saveconfigdir directory_path
Specify the directory in which to write configuration snapshots requested with ntpq's saveconfig command. If saveconfigdir does not appear in the configuration file, saveconfig requests are rejected by ntpd.
setvar variable [default]
@@ -120,18 +137,6 @@
Specifies the stepout threshold in seconds. The default without this command is 300 s. Since this option also affects the training and startup intervals, it should not be set less than the default. Further details are on the Clock State Machine page.
-
rlimit [memlock Nmegabytes | stacksize N4kPages | filenum Nfiledescriptors]
-
This command alters certain process storage allocation limits, and is only available on some operating systems. Options are as follows:
-
-
-
memlock Nmegabytes
-
Specify the number of megabytes of memory that can be allocated. Probably only available under Linux, this option is useful when dropping root (the -i option). The default is 32 megabytes. Setting this to zero will prevent any attemp to lock memory.
-
stacksize N4kPages
-
Specifies the maximum size of the process stack on systems with the mlockall() function. Defaults to 50 4k pages (200 4k pages in OpenBSD).
-
filenum Nfiledescriptors
-
Specifies the maximum number of file descriptors ntp may have open at the same time. Defaults to system default.
-
-
tos [beacon beacon | ceiling ceiling | cohort {0 | 1} | floor floor | maxclock maxclock | maxdist maxdist | minclock minclock | mindist mindist | minsane minsane | orphan stratum | orphanwait delay]
This command alters certain system variables used by the the clock selection and clustering algorithms. The default values of these variables have been carefully optimized for a wide range of network speeds and reliability expectations. Very rarely is it necessary to change the default values; but, some folks can't resist twisting the knobs. It can be used to select the quality and quantity of peers used to synchronize the system clock and is most useful in dynamic server discovery schemes. The options are as follows:
diff --git a/contrib/ntp/html/refclock.html b/contrib/ntp/html/refclock.html index d8969e38cbc3..46d4908fd8d5 100644 --- a/contrib/ntp/html/refclock.html +++ b/contrib/ntp/html/refclock.html @@ -28,7 +28,7 @@

NTP Version 4 supports almost four dozen satellite, radio and telephone modem reference clocks plus several audio devices for instrumentation signals. A general description of the reference clock support is on this page. Additional information about each reference clock driver can be found via links from this page. Additional information is on the Debugging Hints for Reference Clock Drivers and How To Write a Reference Clock Driver pages. Information on how to support pulse-per-second (PPS) signals produced by some devices is on the Pulse-per-second (PPS) Signal Interfacing page. All reference clock drivers require that the reference clock use only Coordinated Universal Time (UTC). Timezone and standard/daylight adjustments are performed by the operating system kernel.

A reference clock will generally (though not always) be a radio timecode receiver synchronized to standard time as provided by NIST and USNO in the US, NRC in Canada and their counterparts elsewhere in the world. A device driver specific to each reference clock must be compiled in the distribution; however, most common radio, satellite and telephone modem clocks are included by default and are activated by configuration commands.

Reference clocks are supported in the same way as ordinary NTP clients and use the same filter, select, cluster and combine algorithms. Drivers have addresses in the form 127.127.t.u, where t is the driver type and u is a unit number in the range 0-3 to distinguish multiple instances of the same driver. The connection to the computer is device dependent, usually a serial port, parallel port or special bus peripheral, but some can work directly from an audio codec or sound card. The particular device is specified by adding a soft link from the name used by the driver to the particular device name.

-

The server command is used to configure a reference clock. Only the mode>,minpoll, maxpoll, and prefer options are supported for reference clocks, as described on the Reference Clock Commands page. The prefer option is discussed on the Mitigation Rules and the prefer Keyword page. Some of these options have meaning only for selected clock drivers.

+

The server command is used to configure a reference clock. Only the mode, minpoll, maxpoll, and prefer options are supported for reference clocks, as described on the Reference Clock Commands page. The prefer option is discussed on the Mitigation Rules and the prefer Keyword page. Some of these options have meaning only for selected clock drivers.

The fudge command can be used to provide additional information for individual drivers and normally follows immediately after the server command. The reference clock stratum is by default 0, so that the server stratum appears to clients as 1. The stratum option can be used to set the stratum to any value in the range 0 through 15. The refid option can be used to change the reference identifier, as might in the case when the driver is disciplined by a pulse-per-second (PPS) source. The device-dependent mode, time and flag options can provide additional driver customization.

Special Considerations

The Audio Drivers page describes three software drivers that process audio signals from an audio codec or sound card. One is for the NIST time and frequency stations WWV and WWVH, another for the Canadian time and frequency station CHU. These require an external shortwave radio and antenna. A third is for the generic IRIG signal produced by some timing devices. Currently, these are supported in FreeBSD, Solaris and SunOS and likely in other system as well.

diff --git a/contrib/ntp/include/Makefile.am b/contrib/ntp/include/Makefile.am index 5ab3e6e9d0df..8b063c3c66f5 100644 --- a/contrib/ntp/include/Makefile.am +++ b/contrib/ntp/include/Makefile.am @@ -64,6 +64,7 @@ noinst_HEADERS = \ parse_conf.h \ recvbuff.h \ refclock_atom.h \ + refidsmear.h \ ssl_applink.c \ timepps-SCO.h \ timepps-Solaris.h \ diff --git a/contrib/ntp/include/Makefile.in b/contrib/ntp/include/Makefile.in index cb210040d8b7..408118b99bde 100644 --- a/contrib/ntp/include/Makefile.in +++ b/contrib/ntp/include/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -35,8 +89,6 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = include -DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/libopts/m4/stdnoreturn.m4 \ @@ -67,6 +119,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -76,34 +129,69 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac HEADERS = $(noinst_HEADERS) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ @@ -179,6 +267,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -295,6 +384,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -455,6 +545,7 @@ noinst_HEADERS = \ parse_conf.h \ recvbuff.h \ refclock_atom.h \ + refidsmear.h \ ssl_applink.c \ timepps-SCO.h \ timepps-Solaris.h \ @@ -481,7 +572,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign include/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -507,22 +597,25 @@ clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ @@ -537,57 +630,12 @@ $(RECURSIVE_TARGETS): $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ @@ -603,12 +651,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -620,15 +663,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -637,6 +676,21 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -673,13 +727,10 @@ distdir: $(DISTFILES) done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ @@ -714,10 +765,15 @@ install-am: all-am installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -795,22 +851,22 @@ ps-am: uninstall-am: -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ - install-am install-strip tags-recursive +.MAKE: $(am__recursive_targets) install-am install-strip -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic clean-libtool \ - ctags ctags-recursive distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic clean-libtool cscopelist-am ctags \ + ctags-am distclean distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am + +.PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/contrib/ntp/include/isc/Makefile.in b/contrib/ntp/include/isc/Makefile.in index ad0da46e1002..7cbcae303707 100644 --- a/contrib/ntp/include/isc/Makefile.in +++ b/contrib/ntp/include/isc/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -35,8 +89,6 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = include/isc -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/libopts/m4/stdnoreturn.m4 \ @@ -67,6 +119,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -76,21 +129,52 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac HEADERS = $(noinst_HEADERS) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ @@ -141,6 +225,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -257,6 +342,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -373,7 +459,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/isc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign include/isc/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -398,26 +483,15 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -429,15 +503,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -446,6 +516,21 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -494,10 +579,15 @@ install-am: all-am installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -577,19 +667,21 @@ uninstall-am: .MAKE: install-am install-strip -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool ctags distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libtool cscopelist-am ctags ctags-am distclean \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am +.PRECIOUS: Makefile + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/contrib/ntp/include/ntp_io.h b/contrib/ntp/include/ntp_io.h index 2cdca7108737..5950f0035d6b 100644 --- a/contrib/ntp/include/ntp_io.h +++ b/contrib/ntp/include/ntp_io.h @@ -80,6 +80,7 @@ typedef enum { } nic_rule_action; +extern int qos; SOCKET move_fd(SOCKET fd); isc_boolean_t get_broadcastclient_flag(void); extern int is_ip_address(const char *, u_short, sockaddr_u *); diff --git a/contrib/ntp/include/ntp_stdlib.h b/contrib/ntp/include/ntp_stdlib.h index 38180f0d78f2..bad2697d06fd 100644 --- a/contrib/ntp/include/ntp_stdlib.h +++ b/contrib/ntp/include/ntp_stdlib.h @@ -102,26 +102,35 @@ extern u_int32 addr2refid (sockaddr_u *); /* emalloc.c */ #ifndef EREALLOC_CALLSITE /* ntp_malloc.h defines */ extern void * ereallocz (void *, size_t, size_t, int); -#define erealloczsite(p, n, o, z, f, l) ereallocz(p, n, o, (z)) -#define emalloc(n) ereallocz(NULL, n, 0, FALSE) +extern void * oreallocarray (void *optr, size_t nmemb, size_t size); +#define erealloczsite(p, n, o, z, f, l) ereallocz((p), (n), (o), (z)) +#define emalloc(n) ereallocz(NULL, (n), 0, FALSE) #define emalloc_zero(c) ereallocz(NULL, (c), 0, TRUE) -#define erealloc(p, c) ereallocz(p, (c), 0, FALSE) -#define erealloc_zero(p, n, o) ereallocz(p, n, (o), TRUE) -extern char * estrdup_impl (const char *); +#define erealloc(p, c) ereallocz((p), (c), 0, FALSE) +#define erealloc_zero(p, n, o) ereallocz((p), (n), (o), TRUE) +#define ereallocarray(p, n, s) oreallocarray((p), (n), (s)) +#define eallocarray(n, s) oreallocarray(NULL, (n), (s)) +extern char * estrdup_impl(const char *); #define estrdup(s) estrdup_impl(s) #else extern void * ereallocz (void *, size_t, size_t, int, const char *, int); +extern void * oreallocarray (void *optr, size_t nmemb, size_t size, + const char *, int); #define erealloczsite ereallocz #define emalloc(c) ereallocz(NULL, (c), 0, FALSE, \ __FILE__, __LINE__) #define emalloc_zero(c) ereallocz(NULL, (c), 0, TRUE, \ __FILE__, __LINE__) -#define erealloc(p, c) ereallocz(p, (c), 0, FALSE, \ +#define erealloc(p, c) ereallocz((p), (c), 0, FALSE, \ __FILE__, __LINE__) -#define erealloc_zero(p, n, o) ereallocz(p, n, (o), TRUE, \ +#define erealloc_zero(p, n, o) ereallocz((p), (n), (o), TRUE, \ __FILE__, __LINE__) -extern char * estrdup_impl (const char *, const char *, int); +#define ereallocarray(p, n, s) oreallocarray((p), (n), (s), \ + __FILE__, __LINE__) +#define eallocarray(n, s) oreallocarray(NULL, (n), (s), \ + __FILE__, __LINE__) +extern char * estrdup_impl(const char *, const char *, int); #define estrdup(s) estrdup_impl((s), __FILE__, __LINE__) #endif diff --git a/contrib/ntp/include/ntp_types.h b/contrib/ntp/include/ntp_types.h index 1beb16647a66..1c66165b3b38 100644 --- a/contrib/ntp/include/ntp_types.h +++ b/contrib/ntp/include/ntp_types.h @@ -19,6 +19,11 @@ # include #endif +/* Bug 2813 */ +#ifdef HAVE_LIMITS_H +# include +#endif + #include "ntp_machine.h" diff --git a/contrib/ntp/include/ntpd.h b/contrib/ntp/include/ntpd.h index f0bbeb08211f..be3cd3e7619b 100644 --- a/contrib/ntp/include/ntpd.h +++ b/contrib/ntp/include/ntpd.h @@ -201,6 +201,7 @@ extern keyid_t session_key (sockaddr_u *, sockaddr_u *, keyid_t, extern int make_keylist (struct peer *, struct interface *); extern void key_expire (struct peer *); extern void crypto_update (void); +extern void crypto_update_taichange(void); extern void crypto_config (int, char *); extern void crypto_setup (void); extern u_int crypto_ident (struct peer *); @@ -222,6 +223,7 @@ extern void receive (struct recvbuf *); extern void peer_clear (struct peer *, const char *); extern void process_packet (struct peer *, struct pkt *, u_int); extern void clock_select (void); +extern void set_sys_leap (u_char); extern u_long leapsec; /* seconds to next leap (proximity class) */ extern int leapdif; /* TAI difference step at next leap second*/ @@ -532,6 +534,11 @@ extern u_long current_time; /* seconds since startup */ extern u_long timer_timereset; extern u_long timer_overflows; extern u_long timer_xmtcalls; +extern int leap_sec_in_progress; +#ifdef LEAP_SMEAR +extern struct leap_smear_info leap_smear; +extern int leap_smear_intv; +#endif #ifdef SYS_WINNT HANDLE WaitableTimerHandle; #endif diff --git a/contrib/ntp/include/parse.h b/contrib/ntp/include/parse.h index ca6855d18e58..9b1ffb227425 100644 --- a/contrib/ntp/include/parse.h +++ b/contrib/ntp/include/parse.h @@ -3,7 +3,7 @@ * * parse.h,v 4.12 2007/01/14 08:36:03 kardel RELEASE_20070114_A * - * Copyright (c) 1995-2005 by Frank Kardel ntp.org> + * Copyright (c) 1995-2015 by Frank Kardel ntp.org> * Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Germany * * Redistribution and use in source and binary forms, with or without @@ -141,7 +141,7 @@ extern unsigned int splclock (void); * feature information */ #define PARSEB_S_LEAP 0x00010000 /* supports LEAP */ -#define PARSEB_S_ANTENNA 0x00020000 /* supports antenna information */ +#define PARSEB_S_CALLBIT 0x00020000 /* supports callbit information */ #define PARSEB_S_PPS 0x00040000 /* supports PPS time stamping */ #define PARSEB_S_POSITION 0x00080000 /* supports position information (GPS) */ @@ -167,7 +167,7 @@ extern unsigned int splclock (void); #define PARSE_LEAPSECOND(x) (PARSE_SYNC(x) && ((x) & PARSEB_LEAP_SECOND)) #define PARSE_S_LEAP(x) ((x) & PARSEB_S_LEAP) -#define PARSE_S_ANTENNA(x) ((x) & PARSEB_S_ANTENNA) +#define PARSE_S_CALLBIT(x) ((x) & PARSEB_S_CALLBIT) #define PARSE_S_PPS(x) ((x) & PARSEB_S_PPS) #define PARSE_S_POSITION(x) ((x) & PARSEB_S_POSITION) diff --git a/contrib/ntp/include/refidsmear.h b/contrib/ntp/include/refidsmear.h new file mode 100644 index 000000000000..9c0f24529ee5 --- /dev/null +++ b/contrib/ntp/include/refidsmear.h @@ -0,0 +1,3 @@ + +extern l_fp convertRefIDToLFP(uint32_t r); +extern uint32_t convertLFPToRefID(l_fp num); diff --git a/contrib/ntp/kernel/Makefile.in b/contrib/ntp/kernel/Makefile.in index 2147529a1a83..d66d99438737 100644 --- a/contrib/ntp/kernel/Makefile.in +++ b/contrib/ntp/kernel/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -15,6 +14,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -34,7 +88,6 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = kernel -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/libopts/m4/stdnoreturn.m4 \ @@ -65,6 +118,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -74,33 +128,67 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ @@ -176,6 +264,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -292,6 +381,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -404,7 +494,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign kernel/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign kernel/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -430,22 +519,25 @@ clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ @@ -460,57 +552,12 @@ $(RECURSIVE_TARGETS): $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ @@ -526,12 +573,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -543,15 +585,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -560,6 +598,21 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -596,13 +649,10 @@ distdir: $(DISTFILES) done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ @@ -637,10 +687,15 @@ install-am: all-am installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -718,22 +773,22 @@ ps-am: uninstall-am: -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ - install-am install-strip tags-recursive +.MAKE: $(am__recursive_targets) install-am install-strip -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic clean-libtool \ - ctags ctags-recursive distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic clean-libtool cscopelist-am ctags \ + ctags-am distclean distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am + +.PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/contrib/ntp/kernel/sys/Makefile.in b/contrib/ntp/kernel/sys/Makefile.in index 2e8f990bbb41..a9cefad760b7 100644 --- a/contrib/ntp/kernel/sys/Makefile.in +++ b/contrib/ntp/kernel/sys/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -35,8 +89,6 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = kernel/sys -DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/libopts/m4/stdnoreturn.m4 \ @@ -67,6 +119,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -76,21 +129,52 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac HEADERS = $(noinst_HEADERS) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ @@ -141,6 +225,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -257,6 +342,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -371,7 +457,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign kernel/sys/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign kernel/sys/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -396,26 +481,15 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -427,15 +501,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -444,6 +514,21 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -492,10 +577,15 @@ install-am: all-am installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -575,19 +665,21 @@ uninstall-am: .MAKE: install-am install-strip -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool ctags distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libtool cscopelist-am ctags ctags-am distclean \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am +.PRECIOUS: Makefile + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/contrib/ntp/lib/isc/unix/ifiter_getifaddrs.c b/contrib/ntp/lib/isc/unix/ifiter_getifaddrs.c index 425b9b4c3d35..ad7c5f85c8ec 100644 --- a/contrib/ntp/lib/isc/unix/ifiter_getifaddrs.c +++ b/contrib/ntp/lib/isc/unix/ifiter_getifaddrs.c @@ -147,6 +147,14 @@ internal_current(isc_interfaceiter_t *iter) { ifa = iter->pos; #ifdef __linux + /* + * [Bug 2792] + * burnicki: iter->pos is usually never NULL here (anymore?), + * so linux_if_inet6_current(iter) is never called here. + * However, that routine would check (under Linux), if the + * interface is in a tentative state, e.g. if there's no link + * yet but an IPv6 address has already be assigned. + */ if (iter->pos == NULL) return (linux_if_inet6_current(iter)); #endif @@ -154,6 +162,17 @@ internal_current(isc_interfaceiter_t *iter) { INSIST(ifa != NULL); INSIST(ifa->ifa_name != NULL); + +#ifdef IFF_RUNNING + /* + * [Bug 2792] + * burnicki: if the interface is not running then + * it may be in a tentative state. See above. + */ + if ((ifa->ifa_flags & IFF_RUNNING) == 0) + return (ISC_R_IGNORE); +#endif + if (ifa->ifa_addr == NULL) return (ISC_R_IGNORE); diff --git a/contrib/ntp/libjsmn/Makefile b/contrib/ntp/libjsmn/Makefile index ac947a3af8eb..5e3e2a97f463 100644 --- a/contrib/ntp/libjsmn/Makefile +++ b/contrib/ntp/libjsmn/Makefile @@ -13,15 +13,23 @@ test: jsmn_test ./jsmn_test jsmn_test: jsmn_test.o - $(CC) -L. -ljsmn $< -o $@ + $(CC) $(LDFLAGS) -L. -ljsmn $< -o $@ jsmn_test.o: jsmn_test.c libjsmn.a +simple_example: example/simple.o libjsmn.a + $(CC) $(LDFLAGS) $^ -o $@ + +jsondump: example/jsondump.o libjsmn.a + $(CC) $(LDFLAGS) $^ -o $@ + clean: - rm -f jsmn.o jsmn_test.o + rm -f jsmn.o jsmn_test.o example/simple.o rm -f jsmn_test rm -f jsmn_test.exe rm -f libjsmn.a + rm -f simple_example + rm -f jsondump .PHONY: all clean test diff --git a/contrib/ntp/libjsmn/README.md b/contrib/ntp/libjsmn/README.md index abccffa43247..353af94a8ee6 100644 --- a/contrib/ntp/libjsmn/README.md +++ b/contrib/ntp/libjsmn/README.md @@ -82,9 +82,8 @@ To clone the repository you should have mercurial installed. Just run: $ hg clone http://bitbucket.org/zserge/jsmn jsmn -Repository layout is simple: jsmn.c and jsmn.h are library files; demo.c is an -example of how to use jsmn (it is also used in unit tests); test.sh is a test -script. You will also find README, LICENSE and Makefile files inside. +Repository layout is simple: jsmn.c and jsmn.h are library files, tests are in +the jsmn\_test.c, you will also find README, LICENSE and Makefile files inside. To build the library, run `make`. It is also recommended to run `make test`. Let me know, if some tests fail. @@ -127,20 +126,27 @@ to simplify string extraction from JSON data. All job is done by `jsmn_parser` object. You can initialize a new parser using: - struct jsmn_parser parser; + jsmn_parser parser; jsmntok_t tokens[10]; + jsmn_init(&parser); + // js - pointer to JSON string // tokens - an array of tokens available // 10 - number of tokens available - jsmn_init_parser(&parser, js, tokens, 10); + jsmn_parse(&parser, js, tokens, 10); -This will create a parser, that can parse up to 10 JSON tokens from `js` string. +This will create a parser, and then it tries to parse up to 10 JSON tokens from +the `js` string. + +A non-negative reutrn value of `jsmn_parse` is the number of tokens actually +used by the parser. +Passing NULL instead of the tokens array would not store parsing results, but +instead the function will return the value of tokens needed to parse the given +string. This can be useful if you don't know yet how many tokens to allocate. -Later, you can use `jsmn_parse(&parser)` function to process JSON string with the parser. If something goes wrong, you will get an error. Error will be one of these: -* `JSMN_SUCCESS` - everything went fine. String was parsed * `JSMN_ERROR_INVAL` - bad token, JSON string is corrupted * `JSMN_ERROR_NOMEM` - not enough tokens, JSON string is too large * `JSMN_ERROR_PART` - JSON string is too short, expecting more JSON data diff --git a/contrib/ntp/libjsmn/example/jsondump.c b/contrib/ntp/libjsmn/example/jsondump.c new file mode 100644 index 000000000000..3490bbf49900 --- /dev/null +++ b/contrib/ntp/libjsmn/example/jsondump.c @@ -0,0 +1,112 @@ +#include +#include +#include +#include +#include "../jsmn.h" + +/* + * An example of reading JSON from stdin and printing its content to stdout. + * The output looks like YAML, but I'm not sure if it's really compatible. + */ + +static int dump(const char *js, jsmntok_t *t, size_t count, int indent) { + int i, j, k; + if (count == 0) { + return 0; + } + if (t->type == JSMN_PRIMITIVE) { + printf("%.*s", t->end - t->start, js+t->start); + return 1; + } else if (t->type == JSMN_STRING) { + printf("'%.*s'", t->end - t->start, js+t->start); + return 1; + } else if (t->type == JSMN_OBJECT) { + printf("\n"); + j = 0; + for (i = 0; i < t->size; i++) { + for (k = 0; k < indent; k++) printf(" "); + j += dump(js, t+1+j, count-j, indent+1); + printf(": "); + j += dump(js, t+1+j, count-j, indent+1); + printf("\n"); + } + return j+1; + } else if (t->type == JSMN_ARRAY) { + j = 0; + printf("\n"); + for (i = 0; i < t->size; i++) { + for (k = 0; k < indent-1; k++) printf(" "); + printf(" - "); + j += dump(js, t+1+j, count-j, indent+1); + printf("\n"); + } + return j+1; + } + return 0; +} + +int main() { + int r; + int eof_expected = 0; + char *js = NULL; + size_t jslen = 0; + char buf[BUFSIZ]; + + jsmn_parser p; + jsmntok_t *tok; + size_t tokcount = 2; + + /* Prepare parser */ + jsmn_init(&p); + + /* Allocate some tokens as a start */ + tok = malloc(sizeof(*tok) * tokcount); + if (tok == NULL) { + fprintf(stderr, "malloc(): errno=%d\n", errno); + return 3; + } + + for (;;) { + /* Read another chunk */ + r = fread(buf, 1, sizeof(buf), stdin); + if (r < 0) { + fprintf(stderr, "fread(): %d, errno=%d\n", r, errno); + return 1; + } + if (r == 0) { + if (eof_expected != 0) { + return 0; + } else { + fprintf(stderr, "fread(): unexpected EOF\n"); + return 2; + } + } + + js = realloc(js, jslen + r + 1); + if (js == NULL) { + fprintf(stderr, "realloc(): errno=%d\n", errno); + return 3; + } + strncpy(js + jslen, buf, r); + jslen = jslen + r; + +again: + r = jsmn_parse(&p, js, jslen, tok, tokcount); + if (r < 0) { + if (r == JSMN_ERROR_NOMEM) { + tokcount = tokcount * 2; + tok = realloc(tok, sizeof(*tok) * tokcount); + if (tok == NULL) { + fprintf(stderr, "realloc(): errno=%d\n", errno); + return 3; + } + goto again; + } + } else { + dump(js, tok, p.toknext, 0); + eof_expected = 1; + } + } + + return 0; +} diff --git a/contrib/ntp/libjsmn/example/simple.c b/contrib/ntp/libjsmn/example/simple.c new file mode 100644 index 000000000000..a6f8e6a98f7e --- /dev/null +++ b/contrib/ntp/libjsmn/example/simple.c @@ -0,0 +1,75 @@ +#include +#include +#include "../jsmn.h" + +/* + * A small example of jsmn parsing when JSON structure is known and number of + * tokens is predictable. + */ + +const char *JSON_STRING = + "{\"user\": \"johndoe\", \"admin\": false, \"uid\": 1000,\n " + "\"groups\": [\"users\", \"wheel\", \"audio\", \"video\"]}"; + +static int jsoneq(const char *json, jsmntok_t *tok, const char *s) { + if (tok->type == JSMN_STRING && (int) strlen(s) == tok->end - tok->start && + strncmp(json + tok->start, s, tok->end - tok->start) == 0) { + return 0; + } + return -1; +} + +int main() { + int i; + int r; + jsmn_parser p; + jsmntok_t t[128]; /* We expect no more than 128 tokens */ + + jsmn_init(&p); + r = jsmn_parse(&p, JSON_STRING, strlen(JSON_STRING), t, sizeof(t)/sizeof(t[0])); + if (r < 0) { + printf("Failed to parse JSON: %d\n", r); + return 1; + } + + /* Assume the top-level element is an object */ + if (r < 1 || t[0].type != JSMN_OBJECT) { + printf("Object expected\n"); + return 1; + } + + /* Loop over all keys of the root object */ + for (i = 1; i < r; i++) { + if (jsoneq(JSON_STRING, &t[i], "user") == 0) { + /* We may use strndup() to fetch string value */ + printf("- User: %.*s\n", t[i+1].end-t[i+1].start, + JSON_STRING + t[i+1].start); + i++; + } else if (jsoneq(JSON_STRING, &t[i], "admin") == 0) { + /* We may additionally check if the value is either "true" or "false" */ + printf("- Admin: %.*s\n", t[i+1].end-t[i+1].start, + JSON_STRING + t[i+1].start); + i++; + } else if (jsoneq(JSON_STRING, &t[i], "uid") == 0) { + /* We may want to do strtol() here to get numeric value */ + printf("- UID: %.*s\n", t[i+1].end-t[i+1].start, + JSON_STRING + t[i+1].start); + i++; + } else if (jsoneq(JSON_STRING, &t[i], "groups") == 0) { + int j; + printf("- Groups:\n"); + if (t[i+1].type != JSMN_ARRAY) { + continue; /* We expect groups to be an array of strings */ + } + for (j = 0; j < t[i+1].size; j++) { + jsmntok_t *g = &t[i+j+2]; + printf(" * %.*s\n", g->end - g->start, JSON_STRING + g->start); + } + i += t[i+1].size + 1; + } else { + printf("Unexpected key: %.*s\n", t[i].end-t[i].start, + JSON_STRING + t[i].start); + } + } + return 0; +} diff --git a/contrib/ntp/libjsmn/jsmn.c b/contrib/ntp/libjsmn/jsmn.c index aa8b12b8020d..2e88fe140d49 100644 --- a/contrib/ntp/libjsmn/jsmn.c +++ b/contrib/ntp/libjsmn/jsmn.c @@ -1,15 +1,14 @@ #include -#include #include "jsmn.h" /** * Allocates a fresh unused token from the token pull. */ -static jsmntok_t *jsmn_alloc_token(jsmn_parser *parser, +static jsmntok_t *jsmn_alloc_token(jsmn_parser *parser, jsmntok_t *tokens, size_t num_tokens) { jsmntok_t *tok; - if ((size_t)parser->toknext >= num_tokens) { + if (parser->toknext >= num_tokens) { return NULL; } tok = &tokens[parser->toknext++]; @@ -24,7 +23,7 @@ static jsmntok_t *jsmn_alloc_token(jsmn_parser *parser, /** * Fills token type and boundaries. */ -static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, +static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, int start, int end) { token->type = type; token->start = start; @@ -36,13 +35,13 @@ static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, * Fills next available token with JSON primitive. */ static jsmnerr_t jsmn_parse_primitive(jsmn_parser *parser, const char *js, - jsmntok_t *tokens, size_t num_tokens) { + size_t len, jsmntok_t *tokens, size_t num_tokens) { jsmntok_t *token; int start; start = parser->pos; - for (; js[parser->pos] != '\0'; parser->pos++) { + for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) { switch (js[parser->pos]) { #ifndef JSMN_STRICT /* In strict mode primitive must be followed by "," or "}" or "]" */ @@ -64,6 +63,10 @@ static jsmnerr_t jsmn_parse_primitive(jsmn_parser *parser, const char *js, #endif found: + if (tokens == NULL) { + parser->pos--; + return 0; + } token = jsmn_alloc_token(parser, tokens, num_tokens); if (token == NULL) { parser->pos = start; @@ -74,14 +77,14 @@ static jsmnerr_t jsmn_parse_primitive(jsmn_parser *parser, const char *js, token->parent = parser->toksuper; #endif parser->pos--; - return JSMN_SUCCESS; + return 0; } /** * Filsl next token with JSON string. */ static jsmnerr_t jsmn_parse_string(jsmn_parser *parser, const char *js, - jsmntok_t *tokens, size_t num_tokens) { + size_t len, jsmntok_t *tokens, size_t num_tokens) { jsmntok_t *token; int start = parser->pos; @@ -89,11 +92,14 @@ static jsmnerr_t jsmn_parse_string(jsmn_parser *parser, const char *js, parser->pos++; /* Skip starting quote */ - for (; js[parser->pos] != '\0'; parser->pos++) { + for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) { char c = js[parser->pos]; /* Quote: end of string */ if (c == '\"') { + if (tokens == NULL) { + return 0; + } token = jsmn_alloc_token(parser, tokens, num_tokens); if (token == NULL) { parser->pos = start; @@ -103,13 +109,12 @@ static jsmnerr_t jsmn_parse_string(jsmn_parser *parser, const char *js, #ifdef JSMN_PARENT_LINKS token->parent = parser->toksuper; #endif - return JSMN_SUCCESS; + return 0; } /* Backslash: Quoted symbol expected */ - if (c == '\\') { - int i = 0; - + if (c == '\\' && parser->pos + 1 < len) { + int i; parser->pos++; switch (js[parser->pos]) { /* Allowed escaped symbols */ @@ -119,7 +124,7 @@ static jsmnerr_t jsmn_parse_string(jsmn_parser *parser, const char *js, /* Allows escaped symbol \uXXXX */ case 'u': parser->pos++; - for(; i < 4 && js[parser->pos] != '\0'; i++) { + for(i = 0; i < 4 && parser->pos < len && js[parser->pos] != '\0'; i++) { /* If it isn't a hex character we have an error */ if(!((js[parser->pos] >= 48 && js[parser->pos] <= 57) || /* 0-9 */ (js[parser->pos] >= 65 && js[parser->pos] <= 70) || /* A-F */ @@ -145,19 +150,24 @@ static jsmnerr_t jsmn_parse_string(jsmn_parser *parser, const char *js, /** * Parse JSON string and fill tokens. */ -jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, jsmntok_t *tokens, - unsigned int num_tokens) { +jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, size_t len, + jsmntok_t *tokens, unsigned int num_tokens) { jsmnerr_t r; int i; jsmntok_t *token; + int count = 0; - for (; js[parser->pos] != '\0'; parser->pos++) { + for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) { char c; jsmntype_t type; c = js[parser->pos]; switch (c) { case '{': case '[': + count++; + if (tokens == NULL) { + break; + } token = jsmn_alloc_token(parser, tokens, num_tokens); if (token == NULL) return JSMN_ERROR_NOMEM; @@ -172,6 +182,8 @@ jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, jsmntok_t *tokens, parser->toksuper = parser->toknext - 1; break; case '}': case ']': + if (tokens == NULL) + break; type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY); #ifdef JSMN_PARENT_LINKS if (parser->toknext < 1) { @@ -216,25 +228,56 @@ jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, jsmntok_t *tokens, #endif break; case '\"': - r = jsmn_parse_string(parser, js, tokens, num_tokens); + r = jsmn_parse_string(parser, js, len, tokens, num_tokens); if (r < 0) return r; - if (parser->toksuper != -1) + count++; + if (parser->toksuper != -1 && tokens != NULL) tokens[parser->toksuper].size++; break; - case '\t' : case '\r' : case '\n' : case ':' : case ',': case ' ': + case '\t' : case '\r' : case '\n' : case ' ': + break; + case ':': + parser->toksuper = parser->toknext - 1; + break; + case ',': + if (tokens != NULL && + tokens[parser->toksuper].type != JSMN_ARRAY && + tokens[parser->toksuper].type != JSMN_OBJECT) { +#ifdef JSMN_PARENT_LINKS + parser->toksuper = tokens[parser->toksuper].parent; +#else + for (i = parser->toknext - 1; i >= 0; i--) { + if (tokens[i].type == JSMN_ARRAY || tokens[i].type == JSMN_OBJECT) { + if (tokens[i].start != -1 && tokens[i].end == -1) { + parser->toksuper = i; + break; + } + } + } +#endif + } break; #ifdef JSMN_STRICT /* In strict mode primitives are: numbers and booleans */ case '-': case '0': case '1' : case '2': case '3' : case '4': case '5': case '6': case '7' : case '8': case '9': case 't': case 'f': case 'n' : + /* And they must not be keys of the object */ + if (tokens != NULL) { + jsmntok_t *t = &tokens[parser->toksuper]; + if (t->type == JSMN_OBJECT || + (t->type == JSMN_STRING && t->size != 0)) { + return JSMN_ERROR_INVAL; + } + } #else /* In non-strict mode every unquoted value is a primitive */ default: #endif - r = jsmn_parse_primitive(parser, js, tokens, num_tokens); + r = jsmn_parse_primitive(parser, js, len, tokens, num_tokens); if (r < 0) return r; - if (parser->toksuper != -1) + count++; + if (parser->toksuper != -1 && tokens != NULL) tokens[parser->toksuper].size++; break; @@ -243,22 +286,22 @@ jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, jsmntok_t *tokens, default: return JSMN_ERROR_INVAL; #endif - + } + } + if (tokens != NULL) { + for (i = parser->toknext - 1; i >= 0; i--) { + /* Unmatched opened object or array */ + if (tokens[i].start != -1 && tokens[i].end == -1) { + return JSMN_ERROR_PART; + } } } - for (i = parser->toknext - 1; i >= 0; i--) { - /* Unmatched opened object or array */ - if (tokens[i].start != -1 && tokens[i].end == -1) { - return JSMN_ERROR_PART; - } - } - - return JSMN_SUCCESS; + return count; } /** - * Creates a new parser based over a given buffer with an array of tokens + * Creates a new parser based over a given buffer with an array of tokens * available. */ void jsmn_init(jsmn_parser *parser) { diff --git a/contrib/ntp/libjsmn/jsmn.h b/contrib/ntp/libjsmn/jsmn.h index 03b2c1aa4e48..95fb2cabd4d8 100644 --- a/contrib/ntp/libjsmn/jsmn.h +++ b/contrib/ntp/libjsmn/jsmn.h @@ -1,6 +1,12 @@ #ifndef __JSMN_H_ #define __JSMN_H_ +#include + +#ifdef __cplusplus +extern "C" { +#endif + /** * JSON type identifier. Basic types are: * o Object @@ -21,9 +27,7 @@ typedef enum { /* Invalid character inside JSON string */ JSMN_ERROR_INVAL = -2, /* The string is not a full JSON packet, more bytes expected */ - JSMN_ERROR_PART = -3, - /* Everything was fine */ - JSMN_SUCCESS = 0 + JSMN_ERROR_PART = -3 } jsmnerr_t; /** @@ -48,7 +52,7 @@ typedef struct { */ typedef struct { unsigned int pos; /* offset in the JSON string */ - int toknext; /* next token to allocate */ + unsigned int toknext; /* next token to allocate */ int toksuper; /* superior token node, e.g parent object or array */ } jsmn_parser; @@ -61,7 +65,11 @@ void jsmn_init(jsmn_parser *parser); * Run JSON parser. It parses a JSON data string into and array of tokens, each describing * a single JSON object. */ -jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, +jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, size_t len, jsmntok_t *tokens, unsigned int num_tokens); +#ifdef __cplusplus +} +#endif + #endif /* __JSMN_H_ */ diff --git a/contrib/ntp/libjsmn/jsmn_test.c b/contrib/ntp/libjsmn/jsmn_test.c index fe5f0004555b..39688592293c 100644 --- a/contrib/ntp/libjsmn/jsmn_test.c +++ b/contrib/ntp/libjsmn/jsmn_test.c @@ -2,8 +2,6 @@ #include #include -#include "jsmn.c" - static int test_passed = 0; static int test_failed = 0; @@ -40,6 +38,9 @@ static void test(int (*func)(void), const char *name) { printf("start: %d, end: %d, type: %d, size: %d\n", \ (t).start, (t).end, (t).type, (t).size) +#define JSMN_STRICT +#include "jsmn.c" + int test_empty() { const char *js; int r; @@ -48,30 +49,30 @@ int test_empty() { js = "{}"; jsmn_init(&p); - r = jsmn_parse(&p, js, t, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), t, 10); + check(r >= 0); check(t[0].type == JSMN_OBJECT); check(t[0].start == 0 && t[0].end == 2); js = "[]"; jsmn_init(&p); - r = jsmn_parse(&p, js, t, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), t, 10); + check(r >= 0); check(t[0].type == JSMN_ARRAY); check(t[0].start == 0 && t[0].end == 2); js = "{\"a\":[]}"; jsmn_init(&p); - r = jsmn_parse(&p, js, t, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), t, 10); + check(r >= 0); check(t[0].type == JSMN_OBJECT && t[0].start == 0 && t[0].end == 8); check(t[1].type == JSMN_STRING && t[1].start == 2 && t[1].end == 3); check(t[2].type == JSMN_ARRAY && t[2].start == 5 && t[2].end == 7); js = "[{},{}]"; jsmn_init(&p); - r = jsmn_parse(&p, js, t, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), t, 10); + check(r >= 0); check(t[0].type == JSMN_ARRAY && t[0].start == 0 && t[0].end == 7); check(t[1].type == JSMN_OBJECT && t[1].start == 1 && t[1].end == 3); check(t[2].type == JSMN_OBJECT && t[2].start == 4 && t[2].end == 6); @@ -87,8 +88,8 @@ int test_simple() { js = "{\"a\": 0}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r >= 0); check(TOKEN_EQ(tokens[0], 0, 8, JSMN_OBJECT)); check(TOKEN_EQ(tokens[1], 2, 3, JSMN_STRING)); check(TOKEN_EQ(tokens[2], 6, 7, JSMN_PRIMITIVE)); @@ -99,59 +100,59 @@ int test_simple() { jsmn_init(&p); js = "[\"a\":{},\"b\":{}]"; - r = jsmn_parse(&p, js, tokens, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r >= 0); jsmn_init(&p); js = "{\n \"Day\": 26,\n \"Month\": 9,\n \"Year\": 12\n }"; - r = jsmn_parse(&p, js, tokens, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r >= 0); return 0; } int test_primitive() { +#ifndef JSMN_STRICT int r; jsmn_parser p; jsmntok_t tok[10]; const char *js; -#ifndef JSMN_STRICT js = "\"boolVar\" : true"; jsmn_init(&p); - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_PRIMITIVE); check(TOKEN_STRING(js, tok[0], "boolVar")); check(TOKEN_STRING(js, tok[1], "true")); js = "\"boolVar\" : false"; jsmn_init(&p); - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_PRIMITIVE); check(TOKEN_STRING(js, tok[0], "boolVar")); check(TOKEN_STRING(js, tok[1], "false")); js = "\"intVar\" : 12345"; jsmn_init(&p); - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_PRIMITIVE); check(TOKEN_STRING(js, tok[0], "intVar")); check(TOKEN_STRING(js, tok[1], "12345")); js = "\"floatVar\" : 12.345"; jsmn_init(&p); - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_PRIMITIVE); check(TOKEN_STRING(js, tok[0], "floatVar")); check(TOKEN_STRING(js, tok[1], "12.345")); js = "\"nullVar\" : null"; jsmn_init(&p); - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_PRIMITIVE); check(TOKEN_STRING(js, tok[0], "nullVar")); check(TOKEN_STRING(js, tok[1], "null")); @@ -167,24 +168,24 @@ int test_string() { js = "\"strVar\" : \"hello world\""; jsmn_init(&p); - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_STRING); check(TOKEN_STRING(js, tok[0], "strVar")); check(TOKEN_STRING(js, tok[1], "hello world")); js = "\"strVar\" : \"escapes: \\/\\r\\n\\t\\b\\f\\\"\\\\\""; jsmn_init(&p); - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_STRING); check(TOKEN_STRING(js, tok[0], "strVar")); check(TOKEN_STRING(js, tok[1], "escapes: \\/\\r\\n\\t\\b\\f\\\"\\\\")); js = "\"strVar\" : \"\""; jsmn_init(&p); - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_STRING); check(TOKEN_STRING(js, tok[0], "strVar")); check(TOKEN_STRING(js, tok[1], "")); @@ -200,27 +201,37 @@ int test_partial_string() { jsmn_init(&p); js = "\"x\": \"va"; - r = jsmn_parse(&p, js, tok, 10); + r = jsmn_parse(&p, js, strlen(js), tok, 10); check(r == JSMN_ERROR_PART && tok[0].type == JSMN_STRING); check(TOKEN_STRING(js, tok[0], "x")); check(p.toknext == 1); + jsmn_init(&p); + char js_slash[9] = "\"x\": \"va\\"; + r = jsmn_parse(&p, js_slash, sizeof(js_slash), tok, 10); + check(r == JSMN_ERROR_PART); + + jsmn_init(&p); + char js_unicode[10] = "\"x\": \"va\\u"; + r = jsmn_parse(&p, js_unicode, sizeof(js_unicode), tok, 10); + check(r == JSMN_ERROR_PART); + js = "\"x\": \"valu"; - r = jsmn_parse(&p, js, tok, 10); + r = jsmn_parse(&p, js, strlen(js), tok, 10); check(r == JSMN_ERROR_PART && tok[0].type == JSMN_STRING); check(TOKEN_STRING(js, tok[0], "x")); check(p.toknext == 1); js = "\"x\": \"value\""; - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_STRING); check(TOKEN_STRING(js, tok[0], "x")); check(TOKEN_STRING(js, tok[1], "value")); js = "\"x\": \"value\", \"y\": \"value y\""; - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_STRING + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_STRING && tok[1].type == JSMN_STRING && tok[2].type == JSMN_STRING && tok[3].type == JSMN_STRING); check(TOKEN_STRING(js, tok[0], "x")); @@ -241,8 +252,8 @@ int test_unquoted_keys() { jsmn_init(&p); js = "key1: \"value\"\nkey2 : 123"; - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_PRIMITIVE + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_PRIMITIVE && tok[1].type == JSMN_STRING && tok[2].type == JSMN_PRIMITIVE && tok[3].type == JSMN_PRIMITIVE); check(TOKEN_STRING(js, tok[0], "key1")); @@ -261,19 +272,19 @@ int test_partial_array() { jsmn_init(&p); js = " [ 1, true, "; - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY && tok[1].type == JSMN_PRIMITIVE && tok[2].type == JSMN_PRIMITIVE); js = " [ 1, true, [123, \"hello"; - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY && tok[1].type == JSMN_PRIMITIVE && tok[2].type == JSMN_PRIMITIVE && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE); js = " [ 1, true, [123, \"hello\"]"; - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r == JSMN_ERROR_PART && tok[0].type == JSMN_ARRAY && tok[1].type == JSMN_PRIMITIVE && tok[2].type == JSMN_PRIMITIVE && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE && tok[5].type == JSMN_STRING); @@ -281,8 +292,8 @@ int test_partial_array() { check(tok[3].size == 2); js = " [ 1, true, [123, \"hello\"]]"; - r = jsmn_parse(&p, js, tok, 10); - check(r == JSMN_SUCCESS && tok[0].type == JSMN_ARRAY + r = jsmn_parse(&p, js, strlen(js), tok, 10); + check(r >= 0 && tok[0].type == JSMN_ARRAY && tok[1].type == JSMN_PRIMITIVE && tok[2].type == JSMN_PRIMITIVE && tok[3].type == JSMN_ARRAY && tok[4].type == JSMN_PRIMITIVE && tok[5].type == JSMN_STRING); @@ -304,13 +315,13 @@ int test_array_nomem() { jsmn_init(&p); memset(toksmall, 0, sizeof(toksmall)); memset(toklarge, 0, sizeof(toklarge)); - r = jsmn_parse(&p, js, toksmall, i); + r = jsmn_parse(&p, js, strlen(js), toksmall, i); check(r == JSMN_ERROR_NOMEM); memcpy(toklarge, toksmall, sizeof(toksmall)); - r = jsmn_parse(&p, js, toklarge, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), toklarge, 10); + check(r >= 0); check(toklarge[0].type == JSMN_ARRAY && toklarge[0].size == 3); check(toklarge[3].type == JSMN_ARRAY && toklarge[3].size == 2); @@ -319,7 +330,6 @@ int test_array_nomem() { } int test_objects_arrays() { - int i; int r; jsmn_parser p; jsmntok_t tokens[10]; @@ -327,27 +337,60 @@ int test_objects_arrays() { js = "[10}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); check(r == JSMN_ERROR_INVAL); js = "[10]"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r >= 0); js = "{\"a\": 1]"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); check(r == JSMN_ERROR_INVAL); js = "{\"a\": 1}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r >= 0); return 0; } +int test_issue_22() { + int r; + jsmn_parser p; + jsmntok_t tokens[128]; + const char *js; + + js = "{ \"height\":10, \"layers\":[ { \"data\":[6,6], \"height\":10, " + "\"name\":\"Calque de Tile 1\", \"opacity\":1, \"type\":\"tilelayer\", " + "\"visible\":true, \"width\":10, \"x\":0, \"y\":0 }], " + "\"orientation\":\"orthogonal\", \"properties\": { }, \"tileheight\":32, " + "\"tilesets\":[ { \"firstgid\":1, \"image\":\"..\\/images\\/tiles.png\", " + "\"imageheight\":64, \"imagewidth\":160, \"margin\":0, \"name\":\"Tiles\", " + "\"properties\":{}, \"spacing\":0, \"tileheight\":32, \"tilewidth\":32 }], " + "\"tilewidth\":32, \"version\":1, \"width\":10 }"; + jsmn_init(&p); + r = jsmn_parse(&p, js, strlen(js), tokens, 128); + check(r >= 0); +#if 0 + for (i = 1; tokens[i].end < tokens[0].end; i++) { + if (tokens[i].type == JSMN_STRING || tokens[i].type == JSMN_PRIMITIVE) { + printf("%.*s\n", tokens[i].end - tokens[i].start, js + tokens[i].start); + } else if (tokens[i].type == JSMN_ARRAY) { + printf("[%d elems]\n", tokens[i].size); + } else if (tokens[i].type == JSMN_OBJECT) { + printf("{%d elems}\n", tokens[i].size); + } else { + TOKEN_PRINT(tokens[i]); + } + } +#endif + return 0; +} + int test_unicode_characters() { jsmn_parser p; jsmntok_t tokens[10]; @@ -356,42 +399,193 @@ int test_unicode_characters() { int r; js = "{\"a\":\"\\uAbcD\"}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r >= 0); js = "{\"a\":\"str\\u0000\"}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r >= 0); js = "{\"a\":\"\\uFFFFstr\"}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r >= 0); js = "{\"a\":\"str\\uFFGFstr\"}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); check(r == JSMN_ERROR_INVAL); js = "{\"a\":\"str\\u@FfF\"}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); check(r == JSMN_ERROR_INVAL); js = "{\"a\":[\"\\u028\"]}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); check(r == JSMN_ERROR_INVAL); js = "{\"a\":[\"\\u0280\"]}"; jsmn_init(&p); - r = jsmn_parse(&p, js, tokens, 10); - check(r == JSMN_SUCCESS); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r >= 0); return 0; } +int test_input_length() { + const char *js; + int r; + jsmn_parser p; + jsmntok_t tokens[10]; + + js = "{\"a\": 0}garbage"; + + jsmn_init(&p); + r = jsmn_parse(&p, js, 8, tokens, 10); + check(r == 3); + check(TOKEN_STRING(js, tokens[0], "{\"a\": 0}")); + check(TOKEN_STRING(js, tokens[1], "a")); + check(TOKEN_STRING(js, tokens[2], "0")); + + return 0; +} + +int test_count() { + jsmn_parser p; + const char *js; + + js = "{}"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 1); + + js = "[]"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 1); + + js = "[[]]"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 2); + + js = "[[], []]"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 3); + + js = "[[], []]"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 3); + + js = "[[], [[]], [[], []]]"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 7); + + js = "[\"a\", [[], []]]"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 5); + + js = "[[], \"[], [[]]\", [[]]]"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 5); + + js = "[1, 2, 3]"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 4); + + js = "[1, 2, [3, \"a\"], null]"; + jsmn_init(&p); + check(jsmn_parse(&p, js, strlen(js), NULL, 0) == 7); + + return 0; +} + +int test_keyvalue() { + const char *js; + int r; + jsmn_parser p; + jsmntok_t tokens[10]; + + js = "{\"a\": 0, \"b\": \"c\"}"; + + jsmn_init(&p); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r == 5); + check(tokens[0].size == 2); /* two keys */ + check(tokens[1].size == 1 && tokens[3].size == 1); /* one value per key */ + check(tokens[2].size == 0 && tokens[4].size == 0); /* values have zero size */ + + js = "{\"a\"\n0}"; + jsmn_init(&p); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r == JSMN_ERROR_INVAL); + + js = "{\"a\", 0}"; + jsmn_init(&p); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r == JSMN_ERROR_INVAL); + + js = "{\"a\": {2}}"; + jsmn_init(&p); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r == JSMN_ERROR_INVAL); + + js = "{\"a\": {2: 3}}"; + jsmn_init(&p); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r == JSMN_ERROR_INVAL); + + + js = "{\"a\": {\"a\": 2 3}}"; + jsmn_init(&p); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r == JSMN_ERROR_INVAL); + return 0; +} + +/** A huge redefinition of everything to include jsmn in non-script mode */ +#define jsmn_init jsmn_init_nonstrict +#define jsmn_parse jsmn_parse_nonstrict +#define jsmn_parser jsmn_parser_nonstrict +#define jsmn_alloc_token jsmn_alloc_token_nonstrict +#define jsmn_fill_token jsmn_fill_token_nonstrict +#define jsmn_parse_primitive jsmn_parse_primitive_nonstrict +#define jsmn_parse_string jsmn_parse_string_nonstrict +#define jsmntype_t jsmntype_nonstrict_t +#define jsmnerr_t jsmnerr_nonstrict_t +#define jsmntok_t jsmntok_nonstrict_t +#define JSMN_PRIMITIVE JSMN_PRIMITIVE_NONSTRICT +#define JSMN_OBJECT JSMN_OBJECT_NONSTRICT +#define JSMN_ARRAY JSMN_ARRAY_NONSTRICT +#define JSMN_STRING JSMN_STRING_NONSTRICT +#define JSMN_ERROR_NOMEM JSMN_ERROR_NOMEM_NONSTRICT +#define JSMN_ERROR_INVAL JSMN_ERROR_INVAL_NONSTRICT +#define JSMN_ERROR_PART JSMN_ERROR_PART_NONSTRICT +#undef __JSMN_H_ +#undef JSMN_STRICT +#include "jsmn.c" + +int test_nonstrict() { + const char *js; + int r; + jsmn_parser p; + jsmntok_t tokens[10]; + + js = "a: 0garbage"; + + jsmn_init(&p); + r = jsmn_parse(&p, js, 4, tokens, 10); + check(r == 2); + check(TOKEN_STRING(js, tokens[0], "a")); + check(TOKEN_STRING(js, tokens[1], "0")); + + js = "Day : 26\nMonth : Sep\n\nYear: 12"; + jsmn_init(&p); + r = jsmn_parse(&p, js, strlen(js), tokens, 10); + check(r == 6); + return 0; +} + int main() { test(test_empty, "general test for a empty JSON objects/arrays"); test(test_simple, "general test for a simple JSON string"); @@ -403,6 +597,11 @@ int main() { test(test_unquoted_keys, "test unquoted keys (like in JavaScript)"); test(test_objects_arrays, "test objects and arrays"); test(test_unicode_characters, "test unicode characters"); + test(test_input_length, "test strings that are not null-terminated"); + test(test_issue_22, "test issue #22"); + test(test_count, "test tokens count estimation"); + test(test_nonstrict, "test for non-strict mode"); + test(test_keyvalue, "test for keys/values"); printf("\nPASSED: %d\nFAILED: %d\n", test_passed, test_failed); return 0; } diff --git a/contrib/ntp/libntp/Makefile.am b/contrib/ntp/libntp/Makefile.am index c12658f5a18e..914badb5f64b 100644 --- a/contrib/ntp/libntp/Makefile.am +++ b/contrib/ntp/libntp/Makefile.am @@ -89,6 +89,7 @@ libntp_a_SRCS = \ numtohost.c \ octtoint.c \ prettydate.c \ + refidsmear.c \ recvbuff.c \ refnumtoa.c \ snprintf.c \ diff --git a/contrib/ntp/libntp/Makefile.in b/contrib/ntp/libntp/Makefile.in index 1b451169e171..b4b1d818d547 100644 --- a/contrib/ntp/libntp/Makefile.in +++ b/contrib/ntp/libntp/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,6 +15,61 @@ @SET_MAKE@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -35,8 +89,6 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ @PTHREADS_TRUE@am__append_1 = $(srcdir)/../lib/isc/pthreads/mutex.c -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf subdir = libntp ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ @@ -68,6 +120,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -77,18 +130,17 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LIBRARIES = $(noinst_LIBRARIES) ARFLAGS = @ARFLAGS@ -AM_V_AR = $(am__v_AR_$(V)) -am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY)) -am__v_AR_0 = @echo " AR " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ +AM_V_AR = $(am__v_AR_@AM_V@) +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) +am__v_AR_0 = @echo " AR " $@; +am__v_AR_1 = libntp_a_AR = $(AR) $(ARFLAGS) libntp_a_LIBADD = am__libntp_a_SOURCES_DIST = systime.c a_md5encrypt.c adjtime.c \ @@ -101,10 +153,10 @@ am__libntp_a_SOURCES_DIST = systime.c a_md5encrypt.c adjtime.c \ netof.c ntp_calendar.c ntp_crypto_rnd.c ntp_intres.c \ ntp_libopts.c ntp_lineedit.c ntp_random.c ntp_rfc2553.c \ ntp_worker.c numtoa.c numtohost.c octtoint.c prettydate.c \ - recvbuff.c refnumtoa.c snprintf.c socket.c socktoa.c \ - socktohost.c ssl_init.c statestr.c strdup.c strl_obsd.c \ - syssignal.c timetoa.c timevalops.c uglydate.c vint64ops.c \ - work_fork.c work_thread.c ymd2yd.c \ + refidsmear.c recvbuff.c refnumtoa.c snprintf.c socket.c \ + socktoa.c socktohost.c ssl_init.c statestr.c strdup.c \ + strl_obsd.c syssignal.c timetoa.c timevalops.c uglydate.c \ + vint64ops.c work_fork.c work_thread.c ymd2yd.c \ $(srcdir)/../lib/isc/assertions.c \ $(srcdir)/../lib/isc/buffer.c \ $(srcdir)/../lib/isc/backtrace-emptytbl.c \ @@ -161,14 +213,14 @@ am__objects_4 = a_md5encrypt.$(OBJEXT) adjtime.$(OBJEXT) \ ntp_libopts.$(OBJEXT) ntp_lineedit.$(OBJEXT) \ ntp_random.$(OBJEXT) ntp_rfc2553.$(OBJEXT) \ ntp_worker.$(OBJEXT) numtoa.$(OBJEXT) numtohost.$(OBJEXT) \ - octtoint.$(OBJEXT) prettydate.$(OBJEXT) recvbuff.$(OBJEXT) \ - refnumtoa.$(OBJEXT) snprintf.$(OBJEXT) socket.$(OBJEXT) \ - socktoa.$(OBJEXT) socktohost.$(OBJEXT) ssl_init.$(OBJEXT) \ - statestr.$(OBJEXT) strdup.$(OBJEXT) strl_obsd.$(OBJEXT) \ - syssignal.$(OBJEXT) timetoa.$(OBJEXT) timevalops.$(OBJEXT) \ - uglydate.$(OBJEXT) vint64ops.$(OBJEXT) work_fork.$(OBJEXT) \ - work_thread.$(OBJEXT) ymd2yd.$(OBJEXT) $(am__objects_3) \ - $(am__objects_1) + octtoint.$(OBJEXT) prettydate.$(OBJEXT) refidsmear.$(OBJEXT) \ + recvbuff.$(OBJEXT) refnumtoa.$(OBJEXT) snprintf.$(OBJEXT) \ + socket.$(OBJEXT) socktoa.$(OBJEXT) socktohost.$(OBJEXT) \ + ssl_init.$(OBJEXT) statestr.$(OBJEXT) strdup.$(OBJEXT) \ + strl_obsd.$(OBJEXT) syssignal.$(OBJEXT) timetoa.$(OBJEXT) \ + timevalops.$(OBJEXT) uglydate.$(OBJEXT) vint64ops.$(OBJEXT) \ + work_fork.$(OBJEXT) work_thread.$(OBJEXT) ymd2yd.$(OBJEXT) \ + $(am__objects_3) $(am__objects_1) am_libntp_a_OBJECTS = systime.$(OBJEXT) $(am__objects_4) libntp_a_OBJECTS = $(am_libntp_a_OBJECTS) libntpsim_a_AR = $(AR) $(ARFLAGS) @@ -183,10 +235,10 @@ am__libntpsim_a_SOURCES_DIST = systime_s.c a_md5encrypt.c adjtime.c \ netof.c ntp_calendar.c ntp_crypto_rnd.c ntp_intres.c \ ntp_libopts.c ntp_lineedit.c ntp_random.c ntp_rfc2553.c \ ntp_worker.c numtoa.c numtohost.c octtoint.c prettydate.c \ - recvbuff.c refnumtoa.c snprintf.c socket.c socktoa.c \ - socktohost.c ssl_init.c statestr.c strdup.c strl_obsd.c \ - syssignal.c timetoa.c timevalops.c uglydate.c vint64ops.c \ - work_fork.c work_thread.c ymd2yd.c \ + refidsmear.c recvbuff.c refnumtoa.c snprintf.c socket.c \ + socktoa.c socktohost.c ssl_init.c statestr.c strdup.c \ + strl_obsd.c syssignal.c timetoa.c timevalops.c uglydate.c \ + vint64ops.c work_fork.c work_thread.c ymd2yd.c \ $(srcdir)/../lib/isc/assertions.c \ $(srcdir)/../lib/isc/buffer.c \ $(srcdir)/../lib/isc/backtrace-emptytbl.c \ @@ -214,38 +266,75 @@ am__libntpsim_a_SOURCES_DIST = systime_s.c a_md5encrypt.c adjtime.c \ $(srcdir)/../lib/isc/pthreads/mutex.c am_libntpsim_a_OBJECTS = systime_s.$(OBJEXT) $(am__objects_4) libntpsim_a_OBJECTS = $(am_libntpsim_a_OBJECTS) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/sntp/libevent/build-aux/depcomp am__depfiles_maybe = depfiles am__mv = mv -f -AM_V_lt = $(am__v_lt_$(V)) -am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent +am__v_lt_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_$(V)) -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) -am__v_CC_0 = @echo " CC " $@; +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_$(V)) -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CCLD_0 = @echo " CCLD " $@; -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = SOURCES = $(libntp_a_SOURCES) $(EXTRA_libntp_a_SOURCES) \ $(libntpsim_a_SOURCES) DIST_SOURCES = $(am__libntp_a_SOURCES_DIST) $(EXTRA_libntp_a_SOURCES) \ $(am__libntpsim_a_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depsver.mf \ + $(top_srcdir)/includes.mf \ + $(top_srcdir)/sntp/libevent/build-aux/depcomp README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ @@ -296,6 +385,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -412,6 +502,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -584,6 +675,7 @@ libntp_a_SRCS = \ numtohost.c \ octtoint.c \ prettydate.c \ + refidsmear.c \ recvbuff.c \ refnumtoa.c \ snprintf.c \ @@ -631,7 +723,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/depsver.mf $(top_src echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libntp/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign libntp/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -640,6 +731,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; +$(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh @@ -652,11 +744,13 @@ $(am__aclocal_m4_deps): clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) -libntp.a: $(libntp_a_OBJECTS) $(libntp_a_DEPENDENCIES) + +libntp.a: $(libntp_a_OBJECTS) $(libntp_a_DEPENDENCIES) $(EXTRA_libntp_a_DEPENDENCIES) $(AM_V_at)-rm -f libntp.a $(AM_V_AR)$(libntp_a_AR) libntp.a $(libntp_a_OBJECTS) $(libntp_a_LIBADD) $(AM_V_at)$(RANLIB) libntp.a -libntpsim.a: $(libntpsim_a_OBJECTS) $(libntpsim_a_DEPENDENCIES) + +libntpsim.a: $(libntpsim_a_OBJECTS) $(libntpsim_a_DEPENDENCIES) $(EXTRA_libntpsim_a_DEPENDENCIES) $(AM_V_at)-rm -f libntpsim.a $(AM_V_AR)$(libntpsim_a_AR) libntpsim.a $(libntpsim_a_OBJECTS) $(libntpsim_a_LIBADD) $(AM_V_at)$(RANLIB) libntpsim.a @@ -738,6 +832,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prettydate.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/recvbuff.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/refidsmear.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/refnumtoa.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/result.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha1.Po@am__quote@ @@ -770,538 +865,471 @@ distclean-compile: .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< assertions.o: $(srcdir)/../lib/isc/assertions.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT assertions.o -MD -MP -MF $(DEPDIR)/assertions.Tpo -c -o assertions.o `test -f '$(srcdir)/../lib/isc/assertions.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/assertions.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/assertions.Tpo $(DEPDIR)/assertions.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/assertions.c' object='assertions.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/assertions.c' object='assertions.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o assertions.o `test -f '$(srcdir)/../lib/isc/assertions.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/assertions.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o assertions.o `test -f '$(srcdir)/../lib/isc/assertions.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/assertions.c assertions.obj: $(srcdir)/../lib/isc/assertions.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT assertions.obj -MD -MP -MF $(DEPDIR)/assertions.Tpo -c -o assertions.obj `if test -f '$(srcdir)/../lib/isc/assertions.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/assertions.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/assertions.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/assertions.Tpo $(DEPDIR)/assertions.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/assertions.c' object='assertions.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/assertions.c' object='assertions.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o assertions.obj `if test -f '$(srcdir)/../lib/isc/assertions.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/assertions.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/assertions.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o assertions.obj `if test -f '$(srcdir)/../lib/isc/assertions.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/assertions.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/assertions.c'; fi` buffer.o: $(srcdir)/../lib/isc/buffer.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT buffer.o -MD -MP -MF $(DEPDIR)/buffer.Tpo -c -o buffer.o `test -f '$(srcdir)/../lib/isc/buffer.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/buffer.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/buffer.Tpo $(DEPDIR)/buffer.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/buffer.c' object='buffer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/buffer.c' object='buffer.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o buffer.o `test -f '$(srcdir)/../lib/isc/buffer.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/buffer.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o buffer.o `test -f '$(srcdir)/../lib/isc/buffer.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/buffer.c buffer.obj: $(srcdir)/../lib/isc/buffer.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT buffer.obj -MD -MP -MF $(DEPDIR)/buffer.Tpo -c -o buffer.obj `if test -f '$(srcdir)/../lib/isc/buffer.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/buffer.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/buffer.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/buffer.Tpo $(DEPDIR)/buffer.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/buffer.c' object='buffer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/buffer.c' object='buffer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o buffer.obj `if test -f '$(srcdir)/../lib/isc/buffer.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/buffer.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/buffer.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o buffer.obj `if test -f '$(srcdir)/../lib/isc/buffer.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/buffer.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/buffer.c'; fi` backtrace-emptytbl.o: $(srcdir)/../lib/isc/backtrace-emptytbl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT backtrace-emptytbl.o -MD -MP -MF $(DEPDIR)/backtrace-emptytbl.Tpo -c -o backtrace-emptytbl.o `test -f '$(srcdir)/../lib/isc/backtrace-emptytbl.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/backtrace-emptytbl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/backtrace-emptytbl.Tpo $(DEPDIR)/backtrace-emptytbl.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/backtrace-emptytbl.c' object='backtrace-emptytbl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/backtrace-emptytbl.c' object='backtrace-emptytbl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o backtrace-emptytbl.o `test -f '$(srcdir)/../lib/isc/backtrace-emptytbl.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/backtrace-emptytbl.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o backtrace-emptytbl.o `test -f '$(srcdir)/../lib/isc/backtrace-emptytbl.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/backtrace-emptytbl.c backtrace-emptytbl.obj: $(srcdir)/../lib/isc/backtrace-emptytbl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT backtrace-emptytbl.obj -MD -MP -MF $(DEPDIR)/backtrace-emptytbl.Tpo -c -o backtrace-emptytbl.obj `if test -f '$(srcdir)/../lib/isc/backtrace-emptytbl.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/backtrace-emptytbl.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/backtrace-emptytbl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/backtrace-emptytbl.Tpo $(DEPDIR)/backtrace-emptytbl.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/backtrace-emptytbl.c' object='backtrace-emptytbl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/backtrace-emptytbl.c' object='backtrace-emptytbl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o backtrace-emptytbl.obj `if test -f '$(srcdir)/../lib/isc/backtrace-emptytbl.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/backtrace-emptytbl.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/backtrace-emptytbl.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o backtrace-emptytbl.obj `if test -f '$(srcdir)/../lib/isc/backtrace-emptytbl.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/backtrace-emptytbl.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/backtrace-emptytbl.c'; fi` backtrace.o: $(srcdir)/../lib/isc/backtrace.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT backtrace.o -MD -MP -MF $(DEPDIR)/backtrace.Tpo -c -o backtrace.o `test -f '$(srcdir)/../lib/isc/backtrace.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/backtrace.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/backtrace.Tpo $(DEPDIR)/backtrace.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/backtrace.c' object='backtrace.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/backtrace.c' object='backtrace.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o backtrace.o `test -f '$(srcdir)/../lib/isc/backtrace.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/backtrace.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o backtrace.o `test -f '$(srcdir)/../lib/isc/backtrace.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/backtrace.c backtrace.obj: $(srcdir)/../lib/isc/backtrace.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT backtrace.obj -MD -MP -MF $(DEPDIR)/backtrace.Tpo -c -o backtrace.obj `if test -f '$(srcdir)/../lib/isc/backtrace.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/backtrace.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/backtrace.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/backtrace.Tpo $(DEPDIR)/backtrace.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/backtrace.c' object='backtrace.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/backtrace.c' object='backtrace.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o backtrace.obj `if test -f '$(srcdir)/../lib/isc/backtrace.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/backtrace.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/backtrace.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o backtrace.obj `if test -f '$(srcdir)/../lib/isc/backtrace.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/backtrace.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/backtrace.c'; fi` condition.o: $(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT condition.o -MD -MP -MF $(DEPDIR)/condition.Tpo -c -o condition.o `test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/condition.Tpo $(DEPDIR)/condition.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c' object='condition.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c' object='condition.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o condition.o `test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o condition.o `test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c condition.obj: $(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT condition.obj -MD -MP -MF $(DEPDIR)/condition.Tpo -c -o condition.obj `if test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/condition.Tpo $(DEPDIR)/condition.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c' object='condition.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c' object='condition.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o condition.obj `if test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o condition.obj `if test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c'; fi` dir.o: $(srcdir)/../lib/isc/unix/dir.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT dir.o -MD -MP -MF $(DEPDIR)/dir.Tpo -c -o dir.o `test -f '$(srcdir)/../lib/isc/unix/dir.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/dir.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/dir.Tpo $(DEPDIR)/dir.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/dir.c' object='dir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/dir.c' object='dir.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dir.o `test -f '$(srcdir)/../lib/isc/unix/dir.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/dir.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dir.o `test -f '$(srcdir)/../lib/isc/unix/dir.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/dir.c dir.obj: $(srcdir)/../lib/isc/unix/dir.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT dir.obj -MD -MP -MF $(DEPDIR)/dir.Tpo -c -o dir.obj `if test -f '$(srcdir)/../lib/isc/unix/dir.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/dir.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/dir.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/dir.Tpo $(DEPDIR)/dir.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/dir.c' object='dir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/dir.c' object='dir.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dir.obj `if test -f '$(srcdir)/../lib/isc/unix/dir.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/dir.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/dir.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dir.obj `if test -f '$(srcdir)/../lib/isc/unix/dir.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/dir.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/dir.c'; fi` error.o: $(srcdir)/../lib/isc/error.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT error.o -MD -MP -MF $(DEPDIR)/error.Tpo -c -o error.o `test -f '$(srcdir)/../lib/isc/error.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/error.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/error.Tpo $(DEPDIR)/error.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/error.c' object='error.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/error.c' object='error.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o error.o `test -f '$(srcdir)/../lib/isc/error.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/error.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o error.o `test -f '$(srcdir)/../lib/isc/error.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/error.c error.obj: $(srcdir)/../lib/isc/error.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT error.obj -MD -MP -MF $(DEPDIR)/error.Tpo -c -o error.obj `if test -f '$(srcdir)/../lib/isc/error.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/error.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/error.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/error.Tpo $(DEPDIR)/error.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/error.c' object='error.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/error.c' object='error.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o error.obj `if test -f '$(srcdir)/../lib/isc/error.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/error.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/error.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o error.obj `if test -f '$(srcdir)/../lib/isc/error.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/error.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/error.c'; fi` errno2result.o: $(srcdir)/../lib/isc/unix/errno2result.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT errno2result.o -MD -MP -MF $(DEPDIR)/errno2result.Tpo -c -o errno2result.o `test -f '$(srcdir)/../lib/isc/unix/errno2result.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/errno2result.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/errno2result.Tpo $(DEPDIR)/errno2result.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/errno2result.c' object='errno2result.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/errno2result.c' object='errno2result.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o errno2result.o `test -f '$(srcdir)/../lib/isc/unix/errno2result.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/errno2result.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o errno2result.o `test -f '$(srcdir)/../lib/isc/unix/errno2result.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/errno2result.c errno2result.obj: $(srcdir)/../lib/isc/unix/errno2result.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT errno2result.obj -MD -MP -MF $(DEPDIR)/errno2result.Tpo -c -o errno2result.obj `if test -f '$(srcdir)/../lib/isc/unix/errno2result.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/errno2result.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/errno2result.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/errno2result.Tpo $(DEPDIR)/errno2result.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/errno2result.c' object='errno2result.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/errno2result.c' object='errno2result.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o errno2result.obj `if test -f '$(srcdir)/../lib/isc/unix/errno2result.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/errno2result.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/errno2result.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o errno2result.obj `if test -f '$(srcdir)/../lib/isc/unix/errno2result.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/errno2result.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/errno2result.c'; fi` event.o: $(srcdir)/../lib/isc/event.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.o -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.o `test -f '$(srcdir)/../lib/isc/event.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/event.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/event.c' object='event.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/event.c' object='event.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o event.o `test -f '$(srcdir)/../lib/isc/event.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/event.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o event.o `test -f '$(srcdir)/../lib/isc/event.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/event.c event.obj: $(srcdir)/../lib/isc/event.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT event.obj -MD -MP -MF $(DEPDIR)/event.Tpo -c -o event.obj `if test -f '$(srcdir)/../lib/isc/event.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/event.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/event.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/event.Tpo $(DEPDIR)/event.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/event.c' object='event.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/event.c' object='event.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o event.obj `if test -f '$(srcdir)/../lib/isc/event.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/event.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/event.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o event.obj `if test -f '$(srcdir)/../lib/isc/event.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/event.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/event.c'; fi` file.o: $(srcdir)/../lib/isc/unix/file.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT file.o -MD -MP -MF $(DEPDIR)/file.Tpo -c -o file.o `test -f '$(srcdir)/../lib/isc/unix/file.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/file.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file.Tpo $(DEPDIR)/file.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/file.c' object='file.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/file.c' object='file.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o file.o `test -f '$(srcdir)/../lib/isc/unix/file.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/file.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o file.o `test -f '$(srcdir)/../lib/isc/unix/file.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/file.c file.obj: $(srcdir)/../lib/isc/unix/file.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT file.obj -MD -MP -MF $(DEPDIR)/file.Tpo -c -o file.obj `if test -f '$(srcdir)/../lib/isc/unix/file.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/file.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/file.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file.Tpo $(DEPDIR)/file.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/file.c' object='file.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/file.c' object='file.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o file.obj `if test -f '$(srcdir)/../lib/isc/unix/file.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/file.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/file.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o file.obj `if test -f '$(srcdir)/../lib/isc/unix/file.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/file.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/file.c'; fi` inet_ntop.o: $(srcdir)/../lib/isc/inet_ntop.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT inet_ntop.o -MD -MP -MF $(DEPDIR)/inet_ntop.Tpo -c -o inet_ntop.o `test -f '$(srcdir)/../lib/isc/inet_ntop.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/inet_ntop.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/inet_ntop.Tpo $(DEPDIR)/inet_ntop.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/inet_ntop.c' object='inet_ntop.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/inet_ntop.c' object='inet_ntop.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o inet_ntop.o `test -f '$(srcdir)/../lib/isc/inet_ntop.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/inet_ntop.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o inet_ntop.o `test -f '$(srcdir)/../lib/isc/inet_ntop.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/inet_ntop.c inet_ntop.obj: $(srcdir)/../lib/isc/inet_ntop.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT inet_ntop.obj -MD -MP -MF $(DEPDIR)/inet_ntop.Tpo -c -o inet_ntop.obj `if test -f '$(srcdir)/../lib/isc/inet_ntop.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/inet_ntop.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/inet_ntop.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/inet_ntop.Tpo $(DEPDIR)/inet_ntop.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/inet_ntop.c' object='inet_ntop.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/inet_ntop.c' object='inet_ntop.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o inet_ntop.obj `if test -f '$(srcdir)/../lib/isc/inet_ntop.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/inet_ntop.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/inet_ntop.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o inet_ntop.obj `if test -f '$(srcdir)/../lib/isc/inet_ntop.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/inet_ntop.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/inet_ntop.c'; fi` inet_pton.o: $(srcdir)/../lib/isc/inet_pton.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT inet_pton.o -MD -MP -MF $(DEPDIR)/inet_pton.Tpo -c -o inet_pton.o `test -f '$(srcdir)/../lib/isc/inet_pton.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/inet_pton.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/inet_pton.Tpo $(DEPDIR)/inet_pton.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/inet_pton.c' object='inet_pton.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/inet_pton.c' object='inet_pton.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o inet_pton.o `test -f '$(srcdir)/../lib/isc/inet_pton.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/inet_pton.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o inet_pton.o `test -f '$(srcdir)/../lib/isc/inet_pton.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/inet_pton.c inet_pton.obj: $(srcdir)/../lib/isc/inet_pton.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT inet_pton.obj -MD -MP -MF $(DEPDIR)/inet_pton.Tpo -c -o inet_pton.obj `if test -f '$(srcdir)/../lib/isc/inet_pton.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/inet_pton.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/inet_pton.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/inet_pton.Tpo $(DEPDIR)/inet_pton.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/inet_pton.c' object='inet_pton.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/inet_pton.c' object='inet_pton.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o inet_pton.obj `if test -f '$(srcdir)/../lib/isc/inet_pton.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/inet_pton.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/inet_pton.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o inet_pton.obj `if test -f '$(srcdir)/../lib/isc/inet_pton.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/inet_pton.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/inet_pton.c'; fi` interfaceiter.o: $(srcdir)/../lib/isc/unix/interfaceiter.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT interfaceiter.o -MD -MP -MF $(DEPDIR)/interfaceiter.Tpo -c -o interfaceiter.o `test -f '$(srcdir)/../lib/isc/unix/interfaceiter.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/interfaceiter.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/interfaceiter.Tpo $(DEPDIR)/interfaceiter.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/interfaceiter.c' object='interfaceiter.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/interfaceiter.c' object='interfaceiter.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o interfaceiter.o `test -f '$(srcdir)/../lib/isc/unix/interfaceiter.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/interfaceiter.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o interfaceiter.o `test -f '$(srcdir)/../lib/isc/unix/interfaceiter.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/interfaceiter.c interfaceiter.obj: $(srcdir)/../lib/isc/unix/interfaceiter.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT interfaceiter.obj -MD -MP -MF $(DEPDIR)/interfaceiter.Tpo -c -o interfaceiter.obj `if test -f '$(srcdir)/../lib/isc/unix/interfaceiter.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/interfaceiter.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/interfaceiter.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/interfaceiter.Tpo $(DEPDIR)/interfaceiter.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/interfaceiter.c' object='interfaceiter.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/interfaceiter.c' object='interfaceiter.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o interfaceiter.obj `if test -f '$(srcdir)/../lib/isc/unix/interfaceiter.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/interfaceiter.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/interfaceiter.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o interfaceiter.obj `if test -f '$(srcdir)/../lib/isc/unix/interfaceiter.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/interfaceiter.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/interfaceiter.c'; fi` lib.o: $(srcdir)/../lib/isc/lib.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib.o -MD -MP -MF $(DEPDIR)/lib.Tpo -c -o lib.o `test -f '$(srcdir)/../lib/isc/lib.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/lib.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lib.Tpo $(DEPDIR)/lib.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/lib.c' object='lib.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/lib.c' object='lib.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib.o `test -f '$(srcdir)/../lib/isc/lib.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/lib.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib.o `test -f '$(srcdir)/../lib/isc/lib.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/lib.c lib.obj: $(srcdir)/../lib/isc/lib.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib.obj -MD -MP -MF $(DEPDIR)/lib.Tpo -c -o lib.obj `if test -f '$(srcdir)/../lib/isc/lib.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/lib.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/lib.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lib.Tpo $(DEPDIR)/lib.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/lib.c' object='lib.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/lib.c' object='lib.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib.obj `if test -f '$(srcdir)/../lib/isc/lib.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/lib.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/lib.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib.obj `if test -f '$(srcdir)/../lib/isc/lib.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/lib.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/lib.c'; fi` log.o: $(srcdir)/../lib/isc/log.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT log.o -MD -MP -MF $(DEPDIR)/log.Tpo -c -o log.o `test -f '$(srcdir)/../lib/isc/log.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/log.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/log.Tpo $(DEPDIR)/log.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/log.c' object='log.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/log.c' object='log.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o log.o `test -f '$(srcdir)/../lib/isc/log.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/log.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o log.o `test -f '$(srcdir)/../lib/isc/log.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/log.c log.obj: $(srcdir)/../lib/isc/log.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT log.obj -MD -MP -MF $(DEPDIR)/log.Tpo -c -o log.obj `if test -f '$(srcdir)/../lib/isc/log.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/log.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/log.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/log.Tpo $(DEPDIR)/log.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/log.c' object='log.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/log.c' object='log.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o log.obj `if test -f '$(srcdir)/../lib/isc/log.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/log.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/log.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o log.obj `if test -f '$(srcdir)/../lib/isc/log.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/log.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/log.c'; fi` md5.o: $(srcdir)/../lib/isc/md5.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT md5.o -MD -MP -MF $(DEPDIR)/md5.Tpo -c -o md5.o `test -f '$(srcdir)/../lib/isc/md5.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/md5.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/md5.Tpo $(DEPDIR)/md5.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/md5.c' object='md5.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/md5.c' object='md5.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o md5.o `test -f '$(srcdir)/../lib/isc/md5.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/md5.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o md5.o `test -f '$(srcdir)/../lib/isc/md5.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/md5.c md5.obj: $(srcdir)/../lib/isc/md5.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT md5.obj -MD -MP -MF $(DEPDIR)/md5.Tpo -c -o md5.obj `if test -f '$(srcdir)/../lib/isc/md5.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/md5.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/md5.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/md5.Tpo $(DEPDIR)/md5.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/md5.c' object='md5.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/md5.c' object='md5.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o md5.obj `if test -f '$(srcdir)/../lib/isc/md5.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/md5.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/md5.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o md5.obj `if test -f '$(srcdir)/../lib/isc/md5.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/md5.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/md5.c'; fi` msgcat.o: $(srcdir)/../lib/isc/nls/msgcat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT msgcat.o -MD -MP -MF $(DEPDIR)/msgcat.Tpo -c -o msgcat.o `test -f '$(srcdir)/../lib/isc/nls/msgcat.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/nls/msgcat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/msgcat.Tpo $(DEPDIR)/msgcat.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/nls/msgcat.c' object='msgcat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/nls/msgcat.c' object='msgcat.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o msgcat.o `test -f '$(srcdir)/../lib/isc/nls/msgcat.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/nls/msgcat.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o msgcat.o `test -f '$(srcdir)/../lib/isc/nls/msgcat.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/nls/msgcat.c msgcat.obj: $(srcdir)/../lib/isc/nls/msgcat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT msgcat.obj -MD -MP -MF $(DEPDIR)/msgcat.Tpo -c -o msgcat.obj `if test -f '$(srcdir)/../lib/isc/nls/msgcat.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/nls/msgcat.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/nls/msgcat.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/msgcat.Tpo $(DEPDIR)/msgcat.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/nls/msgcat.c' object='msgcat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/nls/msgcat.c' object='msgcat.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o msgcat.obj `if test -f '$(srcdir)/../lib/isc/nls/msgcat.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/nls/msgcat.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/nls/msgcat.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o msgcat.obj `if test -f '$(srcdir)/../lib/isc/nls/msgcat.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/nls/msgcat.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/nls/msgcat.c'; fi` net.o: $(srcdir)/../lib/isc/unix/net.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT net.o -MD -MP -MF $(DEPDIR)/net.Tpo -c -o net.o `test -f '$(srcdir)/../lib/isc/unix/net.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/net.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/net.Tpo $(DEPDIR)/net.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/net.c' object='net.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/net.c' object='net.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o net.o `test -f '$(srcdir)/../lib/isc/unix/net.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/net.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o net.o `test -f '$(srcdir)/../lib/isc/unix/net.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/net.c net.obj: $(srcdir)/../lib/isc/unix/net.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT net.obj -MD -MP -MF $(DEPDIR)/net.Tpo -c -o net.obj `if test -f '$(srcdir)/../lib/isc/unix/net.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/net.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/net.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/net.Tpo $(DEPDIR)/net.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/net.c' object='net.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/net.c' object='net.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o net.obj `if test -f '$(srcdir)/../lib/isc/unix/net.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/net.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/net.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o net.obj `if test -f '$(srcdir)/../lib/isc/unix/net.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/net.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/net.c'; fi` netaddr.o: $(srcdir)/../lib/isc/netaddr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT netaddr.o -MD -MP -MF $(DEPDIR)/netaddr.Tpo -c -o netaddr.o `test -f '$(srcdir)/../lib/isc/netaddr.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/netaddr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/netaddr.Tpo $(DEPDIR)/netaddr.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/netaddr.c' object='netaddr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/netaddr.c' object='netaddr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o netaddr.o `test -f '$(srcdir)/../lib/isc/netaddr.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/netaddr.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o netaddr.o `test -f '$(srcdir)/../lib/isc/netaddr.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/netaddr.c netaddr.obj: $(srcdir)/../lib/isc/netaddr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT netaddr.obj -MD -MP -MF $(DEPDIR)/netaddr.Tpo -c -o netaddr.obj `if test -f '$(srcdir)/../lib/isc/netaddr.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/netaddr.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/netaddr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/netaddr.Tpo $(DEPDIR)/netaddr.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/netaddr.c' object='netaddr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/netaddr.c' object='netaddr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o netaddr.obj `if test -f '$(srcdir)/../lib/isc/netaddr.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/netaddr.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/netaddr.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o netaddr.obj `if test -f '$(srcdir)/../lib/isc/netaddr.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/netaddr.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/netaddr.c'; fi` netscope.o: $(srcdir)/../lib/isc/netscope.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT netscope.o -MD -MP -MF $(DEPDIR)/netscope.Tpo -c -o netscope.o `test -f '$(srcdir)/../lib/isc/netscope.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/netscope.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/netscope.Tpo $(DEPDIR)/netscope.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/netscope.c' object='netscope.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/netscope.c' object='netscope.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o netscope.o `test -f '$(srcdir)/../lib/isc/netscope.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/netscope.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o netscope.o `test -f '$(srcdir)/../lib/isc/netscope.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/netscope.c netscope.obj: $(srcdir)/../lib/isc/netscope.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT netscope.obj -MD -MP -MF $(DEPDIR)/netscope.Tpo -c -o netscope.obj `if test -f '$(srcdir)/../lib/isc/netscope.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/netscope.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/netscope.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/netscope.Tpo $(DEPDIR)/netscope.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/netscope.c' object='netscope.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/netscope.c' object='netscope.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o netscope.obj `if test -f '$(srcdir)/../lib/isc/netscope.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/netscope.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/netscope.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o netscope.obj `if test -f '$(srcdir)/../lib/isc/netscope.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/netscope.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/netscope.c'; fi` ondestroy.o: $(srcdir)/../lib/isc/ondestroy.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ondestroy.o -MD -MP -MF $(DEPDIR)/ondestroy.Tpo -c -o ondestroy.o `test -f '$(srcdir)/../lib/isc/ondestroy.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/ondestroy.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ondestroy.Tpo $(DEPDIR)/ondestroy.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/ondestroy.c' object='ondestroy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/ondestroy.c' object='ondestroy.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ondestroy.o `test -f '$(srcdir)/../lib/isc/ondestroy.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/ondestroy.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ondestroy.o `test -f '$(srcdir)/../lib/isc/ondestroy.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/ondestroy.c ondestroy.obj: $(srcdir)/../lib/isc/ondestroy.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ondestroy.obj -MD -MP -MF $(DEPDIR)/ondestroy.Tpo -c -o ondestroy.obj `if test -f '$(srcdir)/../lib/isc/ondestroy.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/ondestroy.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/ondestroy.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ondestroy.Tpo $(DEPDIR)/ondestroy.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/ondestroy.c' object='ondestroy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/ondestroy.c' object='ondestroy.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ondestroy.obj `if test -f '$(srcdir)/../lib/isc/ondestroy.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/ondestroy.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/ondestroy.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ondestroy.obj `if test -f '$(srcdir)/../lib/isc/ondestroy.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/ondestroy.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/ondestroy.c'; fi` random.o: $(srcdir)/../lib/isc/random.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT random.o -MD -MP -MF $(DEPDIR)/random.Tpo -c -o random.o `test -f '$(srcdir)/../lib/isc/random.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/random.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/random.Tpo $(DEPDIR)/random.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/random.c' object='random.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/random.c' object='random.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o random.o `test -f '$(srcdir)/../lib/isc/random.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/random.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o random.o `test -f '$(srcdir)/../lib/isc/random.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/random.c random.obj: $(srcdir)/../lib/isc/random.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT random.obj -MD -MP -MF $(DEPDIR)/random.Tpo -c -o random.obj `if test -f '$(srcdir)/../lib/isc/random.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/random.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/random.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/random.Tpo $(DEPDIR)/random.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/random.c' object='random.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/random.c' object='random.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o random.obj `if test -f '$(srcdir)/../lib/isc/random.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/random.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/random.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o random.obj `if test -f '$(srcdir)/../lib/isc/random.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/random.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/random.c'; fi` result.o: $(srcdir)/../lib/isc/result.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT result.o -MD -MP -MF $(DEPDIR)/result.Tpo -c -o result.o `test -f '$(srcdir)/../lib/isc/result.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/result.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/result.Tpo $(DEPDIR)/result.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/result.c' object='result.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/result.c' object='result.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o result.o `test -f '$(srcdir)/../lib/isc/result.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/result.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o result.o `test -f '$(srcdir)/../lib/isc/result.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/result.c result.obj: $(srcdir)/../lib/isc/result.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT result.obj -MD -MP -MF $(DEPDIR)/result.Tpo -c -o result.obj `if test -f '$(srcdir)/../lib/isc/result.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/result.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/result.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/result.Tpo $(DEPDIR)/result.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/result.c' object='result.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/result.c' object='result.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o result.obj `if test -f '$(srcdir)/../lib/isc/result.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/result.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/result.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o result.obj `if test -f '$(srcdir)/../lib/isc/result.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/result.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/result.c'; fi` stdio.o: $(srcdir)/../lib/isc/unix/stdio.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio.o -MD -MP -MF $(DEPDIR)/stdio.Tpo -c -o stdio.o `test -f '$(srcdir)/../lib/isc/unix/stdio.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/stdio.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/stdio.Tpo $(DEPDIR)/stdio.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/stdio.c' object='stdio.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/stdio.c' object='stdio.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio.o `test -f '$(srcdir)/../lib/isc/unix/stdio.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/stdio.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio.o `test -f '$(srcdir)/../lib/isc/unix/stdio.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/stdio.c stdio.obj: $(srcdir)/../lib/isc/unix/stdio.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio.obj -MD -MP -MF $(DEPDIR)/stdio.Tpo -c -o stdio.obj `if test -f '$(srcdir)/../lib/isc/unix/stdio.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/stdio.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/stdio.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/stdio.Tpo $(DEPDIR)/stdio.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/stdio.c' object='stdio.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/stdio.c' object='stdio.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio.obj `if test -f '$(srcdir)/../lib/isc/unix/stdio.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/stdio.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/stdio.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio.obj `if test -f '$(srcdir)/../lib/isc/unix/stdio.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/stdio.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/stdio.c'; fi` stdtime.o: $(srcdir)/../lib/isc/unix/stdtime.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdtime.o -MD -MP -MF $(DEPDIR)/stdtime.Tpo -c -o stdtime.o `test -f '$(srcdir)/../lib/isc/unix/stdtime.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/stdtime.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/stdtime.Tpo $(DEPDIR)/stdtime.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/stdtime.c' object='stdtime.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/stdtime.c' object='stdtime.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdtime.o `test -f '$(srcdir)/../lib/isc/unix/stdtime.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/stdtime.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdtime.o `test -f '$(srcdir)/../lib/isc/unix/stdtime.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/stdtime.c stdtime.obj: $(srcdir)/../lib/isc/unix/stdtime.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdtime.obj -MD -MP -MF $(DEPDIR)/stdtime.Tpo -c -o stdtime.obj `if test -f '$(srcdir)/../lib/isc/unix/stdtime.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/stdtime.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/stdtime.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/stdtime.Tpo $(DEPDIR)/stdtime.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/stdtime.c' object='stdtime.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/stdtime.c' object='stdtime.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdtime.obj `if test -f '$(srcdir)/../lib/isc/unix/stdtime.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/stdtime.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/stdtime.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdtime.obj `if test -f '$(srcdir)/../lib/isc/unix/stdtime.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/stdtime.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/stdtime.c'; fi` strerror.o: $(srcdir)/../lib/isc/unix/strerror.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT strerror.o -MD -MP -MF $(DEPDIR)/strerror.Tpo -c -o strerror.o `test -f '$(srcdir)/../lib/isc/unix/strerror.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/strerror.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/strerror.Tpo $(DEPDIR)/strerror.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/strerror.c' object='strerror.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/strerror.c' object='strerror.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o strerror.o `test -f '$(srcdir)/../lib/isc/unix/strerror.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/strerror.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o strerror.o `test -f '$(srcdir)/../lib/isc/unix/strerror.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/strerror.c strerror.obj: $(srcdir)/../lib/isc/unix/strerror.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT strerror.obj -MD -MP -MF $(DEPDIR)/strerror.Tpo -c -o strerror.obj `if test -f '$(srcdir)/../lib/isc/unix/strerror.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/strerror.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/strerror.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/strerror.Tpo $(DEPDIR)/strerror.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/strerror.c' object='strerror.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/strerror.c' object='strerror.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o strerror.obj `if test -f '$(srcdir)/../lib/isc/unix/strerror.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/strerror.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/strerror.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o strerror.obj `if test -f '$(srcdir)/../lib/isc/unix/strerror.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/strerror.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/strerror.c'; fi` task.o: $(srcdir)/../lib/isc/task.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT task.o -MD -MP -MF $(DEPDIR)/task.Tpo -c -o task.o `test -f '$(srcdir)/../lib/isc/task.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/task.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/task.Tpo $(DEPDIR)/task.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/task.c' object='task.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/task.c' object='task.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o task.o `test -f '$(srcdir)/../lib/isc/task.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/task.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o task.o `test -f '$(srcdir)/../lib/isc/task.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/task.c task.obj: $(srcdir)/../lib/isc/task.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT task.obj -MD -MP -MF $(DEPDIR)/task.Tpo -c -o task.obj `if test -f '$(srcdir)/../lib/isc/task.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/task.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/task.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/task.Tpo $(DEPDIR)/task.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/task.c' object='task.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/task.c' object='task.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o task.obj `if test -f '$(srcdir)/../lib/isc/task.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/task.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/task.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o task.obj `if test -f '$(srcdir)/../lib/isc/task.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/task.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/task.c'; fi` thread.o: $(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thread.o -MD -MP -MF $(DEPDIR)/thread.Tpo -c -o thread.o `test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/thread.Tpo $(DEPDIR)/thread.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c' object='thread.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c' object='thread.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thread.o `test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thread.o `test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c thread.obj: $(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thread.obj -MD -MP -MF $(DEPDIR)/thread.Tpo -c -o thread.obj `if test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/thread.Tpo $(DEPDIR)/thread.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c' object='thread.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c' object='thread.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thread.obj `if test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thread.obj `if test -f '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c'; fi` time.o: $(srcdir)/../lib/isc/unix/time.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT time.o -MD -MP -MF $(DEPDIR)/time.Tpo -c -o time.o `test -f '$(srcdir)/../lib/isc/unix/time.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/time.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/time.Tpo $(DEPDIR)/time.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/time.c' object='time.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/time.c' object='time.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o time.o `test -f '$(srcdir)/../lib/isc/unix/time.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/time.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o time.o `test -f '$(srcdir)/../lib/isc/unix/time.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/unix/time.c time.obj: $(srcdir)/../lib/isc/unix/time.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT time.obj -MD -MP -MF $(DEPDIR)/time.Tpo -c -o time.obj `if test -f '$(srcdir)/../lib/isc/unix/time.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/time.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/time.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/time.Tpo $(DEPDIR)/time.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/unix/time.c' object='time.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/unix/time.c' object='time.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o time.obj `if test -f '$(srcdir)/../lib/isc/unix/time.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/time.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/time.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o time.obj `if test -f '$(srcdir)/../lib/isc/unix/time.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/unix/time.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/unix/time.c'; fi` sha1.o: $(srcdir)/../lib/isc/sha1.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sha1.o -MD -MP -MF $(DEPDIR)/sha1.Tpo -c -o sha1.o `test -f '$(srcdir)/../lib/isc/sha1.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/sha1.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sha1.Tpo $(DEPDIR)/sha1.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/sha1.c' object='sha1.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/sha1.c' object='sha1.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sha1.o `test -f '$(srcdir)/../lib/isc/sha1.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/sha1.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sha1.o `test -f '$(srcdir)/../lib/isc/sha1.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/sha1.c sha1.obj: $(srcdir)/../lib/isc/sha1.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sha1.obj -MD -MP -MF $(DEPDIR)/sha1.Tpo -c -o sha1.obj `if test -f '$(srcdir)/../lib/isc/sha1.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/sha1.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/sha1.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sha1.Tpo $(DEPDIR)/sha1.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/sha1.c' object='sha1.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/sha1.c' object='sha1.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sha1.obj `if test -f '$(srcdir)/../lib/isc/sha1.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/sha1.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/sha1.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sha1.obj `if test -f '$(srcdir)/../lib/isc/sha1.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/sha1.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/sha1.c'; fi` sockaddr.o: $(srcdir)/../lib/isc/sockaddr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sockaddr.o -MD -MP -MF $(DEPDIR)/sockaddr.Tpo -c -o sockaddr.o `test -f '$(srcdir)/../lib/isc/sockaddr.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/sockaddr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sockaddr.Tpo $(DEPDIR)/sockaddr.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/sockaddr.c' object='sockaddr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/sockaddr.c' object='sockaddr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sockaddr.o `test -f '$(srcdir)/../lib/isc/sockaddr.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/sockaddr.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sockaddr.o `test -f '$(srcdir)/../lib/isc/sockaddr.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/sockaddr.c sockaddr.obj: $(srcdir)/../lib/isc/sockaddr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sockaddr.obj -MD -MP -MF $(DEPDIR)/sockaddr.Tpo -c -o sockaddr.obj `if test -f '$(srcdir)/../lib/isc/sockaddr.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/sockaddr.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/sockaddr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sockaddr.Tpo $(DEPDIR)/sockaddr.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/sockaddr.c' object='sockaddr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/sockaddr.c' object='sockaddr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sockaddr.obj `if test -f '$(srcdir)/../lib/isc/sockaddr.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/sockaddr.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/sockaddr.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sockaddr.obj `if test -f '$(srcdir)/../lib/isc/sockaddr.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/sockaddr.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/sockaddr.c'; fi` mutex.o: $(srcdir)/../lib/isc/pthreads/mutex.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mutex.o -MD -MP -MF $(DEPDIR)/mutex.Tpo -c -o mutex.o `test -f '$(srcdir)/../lib/isc/pthreads/mutex.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/pthreads/mutex.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mutex.Tpo $(DEPDIR)/mutex.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/pthreads/mutex.c' object='mutex.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/pthreads/mutex.c' object='mutex.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mutex.o `test -f '$(srcdir)/../lib/isc/pthreads/mutex.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/pthreads/mutex.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mutex.o `test -f '$(srcdir)/../lib/isc/pthreads/mutex.c' || echo '$(srcdir)/'`$(srcdir)/../lib/isc/pthreads/mutex.c mutex.obj: $(srcdir)/../lib/isc/pthreads/mutex.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mutex.obj -MD -MP -MF $(DEPDIR)/mutex.Tpo -c -o mutex.obj `if test -f '$(srcdir)/../lib/isc/pthreads/mutex.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/pthreads/mutex.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/pthreads/mutex.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mutex.Tpo $(DEPDIR)/mutex.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/../lib/isc/pthreads/mutex.c' object='mutex.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/../lib/isc/pthreads/mutex.c' object='mutex.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mutex.obj `if test -f '$(srcdir)/../lib/isc/pthreads/mutex.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/pthreads/mutex.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/pthreads/mutex.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mutex.obj `if test -f '$(srcdir)/../lib/isc/pthreads/mutex.c'; then $(CYGPATH_W) '$(srcdir)/../lib/isc/pthreads/mutex.c'; else $(CYGPATH_W) '$(srcdir)/$(srcdir)/../lib/isc/pthreads/mutex.c'; fi` mostlyclean-libtool: -rm -f *.lo @@ -1309,26 +1337,15 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -1340,15 +1357,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -1357,6 +1370,21 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -1407,10 +1435,15 @@ install-am: all-am installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -1497,18 +1530,21 @@ uninstall-am: .MAKE: all check install install-am install-strip -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstLIBRARIES ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstLIBRARIES cscopelist-am ctags \ + ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am + +.PRECIOUS: Makefile $(DEPDIR)/deps-ver: $(top_srcdir)/deps-ver @[ -f $@ ] || \ diff --git a/contrib/ntp/libntp/emalloc.c b/contrib/ntp/libntp/emalloc.c index 6c1c6787ea41..95d293f1c3dc 100644 --- a/contrib/ntp/libntp/emalloc.c +++ b/contrib/ntp/libntp/emalloc.c @@ -60,6 +60,59 @@ ereallocz( return mem; } +/* oreallocarray.c is licensed under the following: + * Copyright (c) 2008 Otto Moerbeek + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +/* + * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX + * if both s1 < MUL_NO_OVERFLOW and s2 < MUL_NO_OVERFLOW + */ +#define MUL_NO_OVERFLOW ((size_t)1 << (sizeof(size_t) * 4)) + +void * +oreallocarray( + void *optr, + size_t nmemb, + size_t size +#ifdef EREALLOC_CALLSITE /* ntp_malloc.h */ + , + const char * file, + int line +#endif + ) +{ + if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && + nmemb > 0 && SIZE_MAX / nmemb < size) { +#ifndef EREALLOC_CALLSITE + msyslog(LOG_ERR, "fatal allocation size overflow"); +#else + msyslog(LOG_ERR, + "fatal allocation size overflow %s line %d", + file, line); +#endif + exit(1); + } +#ifndef EREALLOC_CALLSITE + return ereallocz(optr, (size * nmemb), 0, FALSE); +#else + return ereallocz(optr, (size * nmemb), 0, FALSE, file, line); +#endif +} char * estrdup_impl( diff --git a/contrib/ntp/libntp/refidsmear.c b/contrib/ntp/libntp/refidsmear.c new file mode 100644 index 000000000000..fef428e8a226 --- /dev/null +++ b/contrib/ntp/libntp/refidsmear.c @@ -0,0 +1,58 @@ +#include + +#include +#include +#include + +/* + * we want to test a refid format of: + * 254.x.y.x + * + * where x.y.z are 24 bits containing 2 (signed) integer bits + * and 22 fractional bits. + * + */ + + +l_fp +convertRefIDToLFP(uint32_t r) +{ + l_fp temp; + + r = ntohl(r); + + // printf("%03d %08x: ", (r >> 24) & 0xFF, (r & 0x00FFFFFF) ); + + temp.l_uf = (r << 10); /* 22 fractional bits */ + + temp.l_ui = (r >> 22) & 0x3; + temp.l_ui |= ~(temp.l_ui & 2) + 1; + + return temp; +} + + +uint32_t +convertLFPToRefID(l_fp num) +{ + uint32_t temp; + + /* round the input with the highest bit to shift out from the + * fraction, then keep just two bits from the integral part. + * + * TODO: check for overflows; should we clamp/saturate or just + * complain? + */ + L_ADDUF(&num, 0x200); + num.l_ui &= 3; + + /* combine integral and fractional part to 24 bits */ + temp = (num.l_ui << 22) | (num.l_uf >> 10); + + /* put in the leading 254.0.0.0 */ + temp |= UINT32_C(0xFE000000); + + // printf("%03d %08x: ", (temp >> 24) & 0xFF, (temp & 0x00FFFFFF) ); + + return htonl(temp); +} diff --git a/contrib/ntp/libntp/strdup.c b/contrib/ntp/libntp/strdup.c index f7565a2fb8f7..62d5a16d433c 100644 --- a/contrib/ntp/libntp/strdup.c +++ b/contrib/ntp/libntp/strdup.c @@ -1,7 +1,8 @@ #include -#include +#include #include "ntp_malloc.h" +#include #ifndef HAVE_STRDUP @@ -15,15 +16,13 @@ strdup( size_t octets; char * cp; - if (s) { - octets = 1 + strlen(s); - cp = malloc(octets); - if (NULL != cp) - memcpy(cp, s, octets); - else - cp = NULL; + REQUIRE(s); + octets = strlen(s) + 1; + if ((cp = malloc(octets)) == NULL) + return NULL; + memcpy(cp, s, octets); - return(cp); + return cp; } #else int strdup_c_nonempty_compilation_unit; diff --git a/contrib/ntp/libntp/work_fork.c b/contrib/ntp/libntp/work_fork.c index dab02bc6af14..96c550e98594 100644 --- a/contrib/ntp/libntp/work_fork.c +++ b/contrib/ntp/libntp/work_fork.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "iosignal.h" #include "ntp_stdlib.h" @@ -111,6 +112,23 @@ interrupt_worker_sleep(void) } +/* + * harvest_child_status() runs in the parent. + */ +static void +harvest_child_status( + blocking_child * c + ) +{ + if (c->pid) + { + /* Wait on the child so it can finish terminating */ + if (waitpid(c->pid, NULL, 0) == c->pid) + TRACE(4, ("harvested child %d\n", c->pid)); + else msyslog(LOG_ERR, "error waiting on child %d: %m", c->pid); + } +} + /* * req_child_exit() runs in the parent. */ @@ -124,6 +142,8 @@ req_child_exit( c->req_write_pipe = -1; return 0; } + /* Closing the pipe forces the child to exit */ + harvest_child_status(c); return -1; } @@ -136,10 +156,7 @@ cleanup_after_child( blocking_child * c ) { - if (-1 != c->req_write_pipe) { - close(c->req_write_pipe); - c->req_write_pipe = -1; - } + harvest_child_status(c); if (-1 != c->resp_read_pipe) { (*addremove_io_fd)(c->resp_read_pipe, c->ispipe, TRUE); close(c->resp_read_pipe); @@ -209,6 +226,8 @@ send_blocking_req_internal( "send_blocking_req_internal: short write %d of %d", rc, octets); + /* Fatal error. Clean up the child process. */ + req_child_exit(c); exit(1); /* otherwise would be return -1 */ } diff --git a/contrib/ntp/libparse/Makefile.in b/contrib/ntp/libparse/Makefile.in index d473a77e76d0..4b15dd685cf3 100644 --- a/contrib/ntp/libparse/Makefile.in +++ b/contrib/ntp/libparse/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -17,6 +16,61 @@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -36,9 +90,6 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ EXTRA_PROGRAMS = parsestreams$(EXEEXT) parsesolaris$(EXEEXT) -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf \ - $(top_srcdir)/sntp/check-libntp.mf subdir = libparse ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ @@ -70,6 +121,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -79,18 +131,17 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LIBRARIES = $(noinst_LIBRARIES) ARFLAGS ?= cru -AM_V_AR = $(am__v_AR_$(V)) -am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY)) -am__v_AR_0 = @echo " AR " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ +AM_V_AR = $(am__v_AR_@AM_V@) +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) +am__v_AR_0 = @echo " AR " $@; +am__v_AR_1 = libparse_a_AR = $(AR) $(ARFLAGS) libparse_a_LIBADD = am__objects_1 = @@ -119,12 +170,25 @@ PROGRAMS = $(noinst_PROGRAMS) parsesolaris_SOURCES = parsesolaris.c parsesolaris_OBJECTS = parsesolaris.$(OBJEXT) parsesolaris_LDADD = $(LDADD) -AM_V_lt = $(am__v_lt_$(V)) -am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent +am__v_lt_1 = parsestreams_SOURCES = parsestreams.c parsestreams_OBJECTS = parsestreams.$(OBJEXT) parsestreams_LDADD = $(LDADD) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/sntp/libevent/build-aux/depcomp am__depfiles_maybe = depfiles @@ -135,25 +199,49 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_$(V)) -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) -am__v_CC_0 = @echo " CC " $@; +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_$(V)) -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CCLD_0 = @echo " CCLD " $@; -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = SOURCES = $(libparse_a_SOURCES) $(libparse_kernel_a_SOURCES) \ parsesolaris.c parsestreams.c DIST_SOURCES = $(libparse_a_SOURCES) $(libparse_kernel_a_SOURCES) \ parsesolaris.c parsestreams.c +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depsver.mf \ + $(top_srcdir)/includes.mf $(top_srcdir)/sntp/check-libntp.mf \ + $(top_srcdir)/sntp/libevent/build-aux/depcomp README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ @@ -204,6 +292,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -320,6 +409,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -506,7 +596,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/sntp/check-libntp.mf echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libparse/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign libparse/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -515,6 +604,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; +$(top_srcdir)/sntp/check-libntp.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh @@ -527,11 +617,13 @@ $(am__aclocal_m4_deps): clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) -libparse.a: $(libparse_a_OBJECTS) $(libparse_a_DEPENDENCIES) + +libparse.a: $(libparse_a_OBJECTS) $(libparse_a_DEPENDENCIES) $(EXTRA_libparse_a_DEPENDENCIES) $(AM_V_at)-rm -f libparse.a $(AM_V_AR)$(libparse_a_AR) libparse.a $(libparse_a_OBJECTS) $(libparse_a_LIBADD) $(AM_V_at)$(RANLIB) libparse.a -libparse_kernel.a: $(libparse_kernel_a_OBJECTS) $(libparse_kernel_a_DEPENDENCIES) + +libparse_kernel.a: $(libparse_kernel_a_OBJECTS) $(libparse_kernel_a_DEPENDENCIES) $(EXTRA_libparse_kernel_a_DEPENDENCIES) $(AM_V_at)-rm -f libparse_kernel.a $(AM_V_AR)$(libparse_kernel_a_AR) libparse_kernel.a $(libparse_kernel_a_OBJECTS) $(libparse_kernel_a_LIBADD) $(AM_V_at)$(RANLIB) libparse_kernel.a @@ -544,10 +636,12 @@ clean-noinstPROGRAMS: list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list -parsesolaris$(EXEEXT): $(parsesolaris_OBJECTS) $(parsesolaris_DEPENDENCIES) + +parsesolaris$(EXEEXT): $(parsesolaris_OBJECTS) $(parsesolaris_DEPENDENCIES) $(EXTRA_parsesolaris_DEPENDENCIES) @rm -f parsesolaris$(EXEEXT) $(AM_V_CCLD)$(LINK) $(parsesolaris_OBJECTS) $(parsesolaris_LDADD) $(LIBS) -parsestreams$(EXEEXT): $(parsestreams_OBJECTS) $(parsestreams_DEPENDENCIES) + +parsestreams$(EXEEXT): $(parsestreams_OBJECTS) $(parsestreams_DEPENDENCIES) $(EXTRA_parsestreams_DEPENDENCIES) @rm -f parsestreams$(EXEEXT) $(AM_V_CCLD)$(LINK) $(parsestreams_OBJECTS) $(parsestreams_LDADD) $(LIBS) @@ -584,26 +678,23 @@ distclean-compile: .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo @@ -611,26 +702,15 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -642,15 +722,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -659,6 +735,21 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -709,10 +800,15 @@ install-am: all-am installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -799,19 +895,21 @@ uninstall-am: .MAKE: all check install install-am install-strip -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstLIBRARIES clean-noinstPROGRAMS ctags \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstLIBRARIES clean-noinstPROGRAMS \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am + tags tags-am uninstall uninstall-am + +.PRECIOUS: Makefile vphack: diff --git a/contrib/ntp/libparse/clk_meinberg.c b/contrib/ntp/libparse/clk_meinberg.c index 4047be5e7314..9d2b676381c6 100644 --- a/contrib/ntp/libparse/clk_meinberg.c +++ b/contrib/ntp/libparse/clk_meinberg.c @@ -5,7 +5,7 @@ * * Meinberg clock support * - * Copyright (c) 1995-2005 by Frank Kardel ntp.org> + * Copyright (c) 1995-2015 by Frank Kardel ntp.org> * Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Germany * * Redistribution and use in source and binary forms, with or without @@ -400,7 +400,7 @@ cvt_meinberg( if (format->flags & MBG_EXTENDED) { - clock_time->flags |= PARSEB_S_ANTENNA; + clock_time->flags |= PARSEB_S_CALLBIT; /* * DCF77 does not encode the direction - diff --git a/contrib/ntp/libparse/clk_rawdcf.c b/contrib/ntp/libparse/clk_rawdcf.c index 132fbc33146e..ca4326336f88 100644 --- a/contrib/ntp/libparse/clk_rawdcf.c +++ b/contrib/ntp/libparse/clk_rawdcf.c @@ -5,7 +5,7 @@ * * Raw DCF77 pulse clock support * - * Copyright (c) 1995-2006 by Frank Kardel ntp.org> + * Copyright (c) 1995-2015 by Frank Kardel ntp.org> * Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Germany * * Redistribution and use in source and binary forms, with or without @@ -41,6 +41,7 @@ #if defined(REFCLOCK) && defined(CLOCK_PARSE) && defined(CLOCK_RAWDCF) #include "ntp_fp.h" +#include "timevalops.h" #include "ntp_unixtime.h" #include "ntp_calendar.h" @@ -107,7 +108,9 @@ static parse_cvt_fnc_t cvt_rawdcf; static parse_inp_fnc_t inp_rawdcf; typedef struct last_tcode { - time_t tcode; /* last converted time code */ + time_t tcode; /* last converted time code */ + timestamp_t tminute; /* sample time for minute start */ + timestamp_t timeout; /* last timeout timestamp */ } last_tcode_t; #define BUFFER_MAX 61 @@ -230,14 +233,14 @@ convert_rawdcf( const unsigned char *c = dcfprm->zerobits; int i; - parseprintf(DD_RAWDCF,("parse: convert_rawdcf: \"%s\"\n", buffer)); + parseprintf(DD_RAWDCF,("parse: convert_rawdcf: \"%.*s\"\n", size, buffer)); if (size < 57) { #ifndef PARSEKERNEL msyslog(LOG_ERR, "parse: convert_rawdcf: INCOMPLETE DATA - time code only has %d bits", size); #endif - return CVT_NONE; + return CVT_FAIL|CVT_BADFMT; } for (i = 0; i < size; i++) @@ -250,7 +253,7 @@ convert_rawdcf( #ifndef PARSEKERNEL msyslog(LOG_ERR, "parse: convert_rawdcf: BAD DATA - no conversion"); #endif - return CVT_NONE; + return CVT_FAIL|CVT_BADFMT; } if (*b) b++; if (*c) c++; @@ -270,7 +273,7 @@ convert_rawdcf( */ parseprintf(DD_RAWDCF,("parse: convert_rawdcf: parity check passed\n")); - clock_time->flags = PARSEB_S_ANTENNA|PARSEB_S_LEAP; + clock_time->flags = PARSEB_S_CALLBIT|PARSEB_S_LEAP; clock_time->utctime= 0; clock_time->usecond= 0; clock_time->second = 0; @@ -310,7 +313,7 @@ convert_rawdcf( if (ext_bf(buffer, DCF_R, dcfprm->zerobits)) clock_time->flags |= PARSEB_CALLBIT; - parseprintf(DD_RAWDCF,("parse: convert_rawdcf: TIME CODE OK: %d:%d, %d.%d.%d, flags 0x%lx\n", + parseprintf(DD_RAWDCF,("parse: convert_rawdcf: TIME CODE OK: %02d:%02d, %02d.%02d.%02d, flags 0x%lx\n", (int)clock_time->hour, (int)clock_time->minute, (int)clock_time->day, (int)clock_time->month,(int) clock_time->year, (u_long)clock_time->flags)); return CVT_OK; @@ -321,7 +324,7 @@ convert_rawdcf( * bad format - not for us */ #ifndef PARSEKERNEL - msyslog(LOG_ERR, "parse: convert_rawdcf: parity check FAILED for \"%s\"", buffer); + msyslog(LOG_ERR, "parse: convert_rawdcf: start bit / parity check FAILED for \"%.*s\"", size, buffer); #endif return CVT_FAIL|CVT_BADFMT; } @@ -484,6 +487,8 @@ cvt_rawdcf( if (*c) c++; } + *s = '\0'; + if (rtc == CVT_NONE) { rtc = convert_rawdcf(buffer, size, &dcfparameter, clock_time); @@ -494,13 +499,15 @@ cvt_rawdcf( newtime = parse_to_unixtime(clock_time, &rtc); if ((rtc == CVT_OK) && t) { - if ((newtime - t->tcode) == 60) /* guard against multi bit errors */ + if ((newtime - t->tcode) <= 600) /* require a successful telegram within last 10 minutes */ { + parseprintf(DD_RAWDCF,("parse: cvt_rawdcf: recent timestamp check OK\n")); clock_time->utctime = newtime; } else { - rtc = CVT_FAIL|CVT_BADTIME; + parseprintf(DD_RAWDCF,("parse: cvt_rawdcf: recent timestamp check FAIL - ignore timestamp\n")); + rtc = CVT_SKIP; } t->tcode = newtime; } @@ -533,13 +540,63 @@ pps_rawdcf( return CVT_NONE; } +static long +calc_usecdiff( + timestamp_t *ref, + timestamp_t *base, + long offset + ) +{ + struct timeval delta; + long delta_usec = 0; + +#ifdef PARSEKERNEL + delta.tv_sec = ref->tv.tv_sec - offset - base->tv.tv_sec; + delta.tv_usec = ref->tv.tv_usec - base->tv.tv_usec; + if (delta.tv_usec < 0) + { + delta.tv_sec -= 1; + delta.tv_usec += 1000000; + } +#else + l_fp delt; + + delt = ref->fp; + delt.l_i -= offset; + L_SUB(&delt, &base->fp); + TSTOTV(&delt, &delta); +#endif + + delta_usec = 1000000 * (int32_t)delta.tv_sec + delta.tv_usec; + return delta_usec; +} + static u_long snt_rawdcf( parse_t *parseio, timestamp_t *ptime ) { - if ((parseio->parse_dtime.parse_status & CVT_MASK) == CVT_OK) + /* + * only synthesize if all of following conditions are met: + * - CVT_OK parse_status (we have a time stamp base) + * - ABS(ptime - tminute - (parse_index - 1) sec) < 500ms (spaced by 1 sec +- 500ms) + * - minute marker is available (confirms minute raster as base) + */ + last_tcode_t *t = (last_tcode_t *)parseio->parse_pdata; + long delta_usec = -1; + + if (t != NULL && t->tminute.tv.tv_sec != 0) { + delta_usec = calc_usecdiff(ptime, &t->tminute, parseio->parse_index - 1); + if (delta_usec < 0) + delta_usec = -delta_usec; + } + + parseprintf(DD_RAWDCF,("parse: snt_rawdcf: synth for offset %d seconds - absolute usec error %ld\n", + parseio->parse_index - 1, delta_usec)); + + if (((parseio->parse_dtime.parse_status & CVT_MASK) == CVT_OK) && + (delta_usec < 500000 && delta_usec >= 0)) /* only if minute marker is available */ { parseio->parse_dtime.parse_stime = *ptime; @@ -576,10 +633,43 @@ inp_rawdcf( if (parse_timedout(parseio, tstamp, &timeout)) { - parseprintf(DD_PARSE, ("inp_rawdcf: time out seen\n")); - + last_tcode_t *t = (last_tcode_t *)parseio->parse_pdata; + long delta_usec; + + parseprintf(DD_RAWDCF, ("inp_rawdcf: time out seen\n")); + /* finish collection */ (void) parse_end(parseio); + + if (t != NULL) + { + /* remember minute start sample time if timeouts occur in minute raster */ + if (t->timeout.tv.tv_sec != 0) + { + delta_usec = calc_usecdiff(tstamp, &t->timeout, 60); + if (delta_usec < 0) + delta_usec = -delta_usec; + } + else + { + delta_usec = -1; + } + + if (delta_usec < 500000 && delta_usec >= 0) + { + parseprintf(DD_RAWDCF, ("inp_rawdcf: timeout time difference %ld usec - minute marker set\n", delta_usec)); + /* collect minute markers only if spaced by 60 seconds */ + t->tminute = *tstamp; + } + else + { + parseprintf(DD_RAWDCF, ("inp_rawdcf: timeout time difference %ld usec - minute marker cleared\n", delta_usec)); + memset((char *)&t->tminute, 0, sizeof(t->tminute)); + } + t->timeout = *tstamp; + } (void) parse_addchar(parseio, ch); + + /* pass up to higher layers */ return PARSE_INP_TIME; } else diff --git a/contrib/ntp/libparse/clk_schmid.c b/contrib/ntp/libparse/clk_schmid.c index 5e303b94c29a..c4f02b07ad13 100644 --- a/contrib/ntp/libparse/clk_schmid.c +++ b/contrib/ntp/libparse/clk_schmid.c @@ -6,7 +6,7 @@ * Schmid clock support * based on information and testing from Adam W. Feigin et. al (Swisstime iis.ethz.ch) * - * Copyright (c) 1995-2005 by Frank Kardel ntp.org> + * Copyright (c) 1995-2015 by Frank Kardel ntp.org> * Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Germany * * Redistribution and use in source and binary forms, with or without @@ -184,7 +184,7 @@ cvt_schmid( } } - clock_time->flags |= PARSEB_S_LEAP|PARSEB_S_ANTENNA; + clock_time->flags |= PARSEB_S_LEAP|PARSEB_S_CALLBIT; return CVT_OK; } diff --git a/contrib/ntp/libparse/parse.c b/contrib/ntp/libparse/parse.c index 9e663f911f74..64167f152029 100644 --- a/contrib/ntp/libparse/parse.c +++ b/contrib/ntp/libparse/parse.c @@ -697,14 +697,14 @@ timepacket( { case CVT_FAIL: parseio->parse_badformat++; - break; + return cvtrtc; case CVT_NONE: /* * too bad - pretend bad format */ parseio->parse_badformat++; - break; + return CVT_NONE; case CVT_OK: break; diff --git a/contrib/ntp/ntpd/Makefile.am b/contrib/ntp/ntpd/Makefile.am index 344ac8eb2ce7..c94f7c09edf6 100644 --- a/contrib/ntp/ntpd/Makefile.am +++ b/contrib/ntp/ntpd/Makefile.am @@ -232,6 +232,7 @@ libntpd_a_SOURCES = \ ntp_timer.c \ ntp_util.c \ ppsapi_timepps.h \ + rc_cmdlength.c \ refclock_acts.c \ refclock_arbiter.c \ refclock_arc.c \ diff --git a/contrib/ntp/ntpd/Makefile.in b/contrib/ntp/ntpd/Makefile.in index ed489f632109..7f3084693593 100644 --- a/contrib/ntp/ntpd/Makefile.in +++ b/contrib/ntp/ntpd/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -23,6 +22,61 @@ VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -43,11 +97,6 @@ build_triplet = @build@ host_triplet = @host@ EXTRA_PROGRAMS = check_y2k$(EXEEXT) keyword-gen$(EXEEXT) ntpd$(EXEEXT) \ ntpdsim$(EXEEXT) -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/complete.conf.in \ - $(top_srcdir)/bincheck.mf $(top_srcdir)/check-libopts.mf \ - $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf \ - $(top_srcdir)/sntp/check-libntp.mf ntp_parser.c ntp_parser.h subdir = ntpd ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ @@ -79,6 +128,7 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/ntp_prog_cc.m4 \ $(top_srcdir)/sntp/m4/ntp_rlimit.m4 \ $(top_srcdir)/sntp/m4/ntp_sntp.m4 \ + $(top_srcdir)/sntp/m4/ntp_unitytest.m4 \ $(top_srcdir)/sntp/m4/ntp_ver_suffix.m4 \ $(top_srcdir)/sntp/m4/ntp_vpathhack.m4 \ $(top_srcdir)/sntp/m4/openldap-thread-check.m4 \ @@ -88,18 +138,18 @@ am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \ $(top_srcdir)/sntp/m4/version.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = complete.conf CONFIG_CLEAN_VPATH_FILES = LIBRARIES = $(noinst_LIBRARIES) ARFLAGS = @ARFLAGS@ -AM_V_AR = $(am__v_AR_$(V)) -am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY)) -am__v_AR_0 = @echo " AR " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ +AM_V_AR = $(am__v_AR_@AM_V@) +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) +am__v_AR_0 = @echo " AR " $@; +am__v_AR_1 = libntpd_a_AR = $(AR) $(ARFLAGS) libntpd_a_LIBADD = am__objects_1 = @@ -109,28 +159,28 @@ am_libntpd_a_OBJECTS = cmd_args.$(OBJEXT) ntp_control.$(OBJEXT) \ ntp_monitor.$(OBJEXT) ntp_peer.$(OBJEXT) ntp_proto.$(OBJEXT) \ ntp_refclock.$(OBJEXT) ntp_request.$(OBJEXT) \ ntp_restrict.$(OBJEXT) ntp_signd.$(OBJEXT) ntp_timer.$(OBJEXT) \ - ntp_util.$(OBJEXT) refclock_acts.$(OBJEXT) \ - refclock_arbiter.$(OBJEXT) refclock_arc.$(OBJEXT) \ - refclock_as2201.$(OBJEXT) refclock_atom.$(OBJEXT) \ - refclock_bancomm.$(OBJEXT) refclock_chronolog.$(OBJEXT) \ - refclock_chu.$(OBJEXT) refclock_conf.$(OBJEXT) \ - refclock_datum.$(OBJEXT) refclock_dumbclock.$(OBJEXT) \ - refclock_fg.$(OBJEXT) refclock_gpsdjson.$(OBJEXT) \ - refclock_gpsvme.$(OBJEXT) refclock_heath.$(OBJEXT) \ - refclock_hopfser.$(OBJEXT) refclock_hopfpci.$(OBJEXT) \ - refclock_hpgps.$(OBJEXT) refclock_irig.$(OBJEXT) \ - refclock_jjy.$(OBJEXT) refclock_jupiter.$(OBJEXT) \ - refclock_leitch.$(OBJEXT) refclock_local.$(OBJEXT) \ - refclock_mx4200.$(OBJEXT) refclock_neoclock4x.$(OBJEXT) \ - refclock_nmea.$(OBJEXT) refclock_oncore.$(OBJEXT) \ - refclock_palisade.$(OBJEXT) refclock_parse.$(OBJEXT) \ - refclock_pcf.$(OBJEXT) refclock_pst.$(OBJEXT) \ - refclock_ripencc.$(OBJEXT) refclock_shm.$(OBJEXT) \ - refclock_tpro.$(OBJEXT) refclock_true.$(OBJEXT) \ - refclock_tt560.$(OBJEXT) refclock_ulink.$(OBJEXT) \ - refclock_wwv.$(OBJEXT) refclock_wwvb.$(OBJEXT) \ - refclock_zyfer.$(OBJEXT) refclock_tsyncpci.$(OBJEXT) \ - $(am__objects_1) + ntp_util.$(OBJEXT) rc_cmdlength.$(OBJEXT) \ + refclock_acts.$(OBJEXT) refclock_arbiter.$(OBJEXT) \ + refclock_arc.$(OBJEXT) refclock_as2201.$(OBJEXT) \ + refclock_atom.$(OBJEXT) refclock_bancomm.$(OBJEXT) \ + refclock_chronolog.$(OBJEXT) refclock_chu.$(OBJEXT) \ + refclock_conf.$(OBJEXT) refclock_datum.$(OBJEXT) \ + refclock_dumbclock.$(OBJEXT) refclock_fg.$(OBJEXT) \ + refclock_gpsdjson.$(OBJEXT) refclock_gpsvme.$(OBJEXT) \ + refclock_heath.$(OBJEXT) refclock_hopfser.$(OBJEXT) \ + refclock_hopfpci.$(OBJEXT) refclock_hpgps.$(OBJEXT) \ + refclock_irig.$(OBJEXT) refclock_jjy.$(OBJEXT) \ + refclock_jupiter.$(OBJEXT) refclock_leitch.$(OBJEXT) \ + refclock_local.$(OBJEXT) refclock_mx4200.$(OBJEXT) \ + refclock_neoclock4x.$(OBJEXT) refclock_nmea.$(OBJEXT) \ + refclock_oncore.$(OBJEXT) refclock_palisade.$(OBJEXT) \ + refclock_parse.$(OBJEXT) refclock_pcf.$(OBJEXT) \ + refclock_pst.$(OBJEXT) refclock_ripencc.$(OBJEXT) \ + refclock_shm.$(OBJEXT) refclock_tpro.$(OBJEXT) \ + refclock_true.$(OBJEXT) refclock_tt560.$(OBJEXT) \ + refclock_ulink.$(OBJEXT) refclock_wwv.$(OBJEXT) \ + refclock_wwvb.$(OBJEXT) refclock_zyfer.$(OBJEXT) \ + refclock_tsyncpci.$(OBJEXT) $(am__objects_1) libntpd_a_OBJECTS = $(am_libntpd_a_OBJECTS) am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \ "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" \ @@ -144,9 +194,10 @@ am__DEPENDENCIES_2 = version.o libntpd.a $(am__DEPENDENCIES_1) check_y2k_DEPENDENCIES = $(am__DEPENDENCIES_2) ../libntp/libntp.a \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) -AM_V_lt = $(am__v_lt_$(V)) -am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent +am__v_lt_1 = keyword_gen_SOURCES = keyword-gen.c keyword_gen_OBJECTS = keyword-gen.$(OBJEXT) keyword_gen_DEPENDENCIES = ../libntp/libntp.a $(am__DEPENDENCIES_1) \ @@ -169,6 +220,18 @@ am_ntpdsim_OBJECTS = $(am__objects_2) ntpdsim-ntp_prio_q.$(OBJEXT) \ ntpdsim_OBJECTS = $(am_ntpdsim_OBJECTS) ntpdsim_DEPENDENCIES = $(am__DEPENDENCIES_2) ../libntp/libntpsim.a \ $(am__DEPENDENCIES_3) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/sntp/libevent/build-aux/depcomp am__depfiles_maybe = depfiles @@ -179,30 +242,37 @@ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_$(V)) -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) -am__v_CC_0 = @echo " CC " $@; +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_$(V)) -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CCLD_0 = @echo " CCLD " $@; -YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \ + -e s/c++$$/h++/ -e s/c$$/h/ +YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS) LTYACCCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS) -AM_V_YACC = $(am__v_YACC_$(V)) -am__v_YACC_ = $(am__v_YACC_$(AM_DEFAULT_VERBOSITY)) -am__v_YACC_0 = @echo " YACC " $@; + $(LIBTOOLFLAGS) --mode=compile $(YACC) $(AM_YFLAGS) $(YFLAGS) +AM_V_YACC = $(am__v_YACC_@AM_V@) +am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@) +am__v_YACC_0 = @echo " YACC " $@; +am__v_YACC_1 = YLWRAP = $(top_srcdir)/sntp/libevent/build-aux/ylwrap -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; SOURCES = $(libntpd_a_SOURCES) check_y2k.c keyword-gen.c \ $(ntpd_SOURCES) $(ntpdsim_SOURCES) DIST_SOURCES = $(libntpd_a_SOURCES) check_y2k.c keyword-gen.c \ $(ntpd_SOURCES) $(ntpdsim_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -224,6 +294,12 @@ am__nobase_list = $(am__nobase_strip_setup); \ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } man1dir = $(mandir)/man1 man5dir = $(mandir)/man5 man8dir = $(mandir)/man8 @@ -231,8 +307,32 @@ NROFF = nroff MANS = $(man1_MANS) $(man5_MANS) $(man8_MANS) $(man_MANS) DATA = $(html_DATA) $(noinst_DATA) HEADERS = $(noinst_HEADERS) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/complete.conf.in \ + $(top_srcdir)/bincheck.mf $(top_srcdir)/check-libopts.mf \ + $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf \ + $(top_srcdir)/sntp/check-libntp.mf \ + $(top_srcdir)/sntp/libevent/build-aux/depcomp \ + $(top_srcdir)/sntp/libevent/build-aux/ylwrap ntp_parser.c \ + ntp_parser.h DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ @@ -283,6 +383,7 @@ GTEST_CXXFLAGS = @GTEST_CXXFLAGS@ GTEST_LDFLAGS = @GTEST_LDFLAGS@ GTEST_LIBS = @GTEST_LIBS@ HAVE_INLINE = @HAVE_INLINE@ +HAVE_LEAPSMEARINTERVAL = @HAVE_LEAPSMEARINTERVAL@ HAVE_RLIMIT_MEMLOCK = @HAVE_RLIMIT_MEMLOCK@ HAVE_RLIMIT_STACK = @HAVE_RLIMIT_STACK@ INSTALL = @INSTALL@ @@ -399,6 +500,7 @@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@ PATH_PERL = @PATH_PERL@ +PATH_RUBY = @PATH_RUBY@ PATH_SEPARATOR = @PATH_SEPARATOR@ PATH_TEST = @PATH_TEST@ PERLLIBDIR = @PERLLIBDIR@ @@ -675,6 +777,7 @@ libntpd_a_SOURCES = \ ntp_timer.c \ ntp_util.c \ ppsapi_timepps.h \ + rc_cmdlength.c \ refclock_acts.c \ refclock_arbiter.c \ refclock_arc.c \ @@ -739,7 +842,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/bincheck.mf $(top_sr echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ntpd/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign ntpd/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -748,6 +850,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; +$(top_srcdir)/bincheck.mf $(top_srcdir)/check-libopts.mf $(top_srcdir)/sntp/check-libntp.mf $(top_srcdir)/depsver.mf $(top_srcdir)/includes.mf $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh @@ -762,20 +865,26 @@ complete.conf: $(top_builddir)/config.status $(srcdir)/complete.conf.in clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) -libntpd.a: $(libntpd_a_OBJECTS) $(libntpd_a_DEPENDENCIES) + +libntpd.a: $(libntpd_a_OBJECTS) $(libntpd_a_DEPENDENCIES) $(EXTRA_libntpd_a_DEPENDENCIES) $(AM_V_at)-rm -f libntpd.a $(AM_V_AR)$(libntpd_a_AR) libntpd.a $(libntpd_a_OBJECTS) $(libntpd_a_LIBADD) $(AM_V_at)$(RANLIB) libntpd.a install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ - then echo "$$p"; echo "$$p"; else :; fi; \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ @@ -796,7 +905,8 @@ uninstall-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ + -e 's/$$/$(EXEEXT)/' \ + `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files @@ -820,14 +930,19 @@ clean-checkPROGRAMS: rm -f $$list install-libexecPROGRAMS: $(libexec_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)" @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \ + fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ - then echo "$$p"; echo "$$p"; else :; fi; \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ @@ -848,7 +963,8 @@ uninstall-libexecPROGRAMS: @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ + -e 's/$$/$(EXEEXT)/' \ + `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(libexecdir)" && rm -f $$files @@ -863,14 +979,19 @@ clean-libexecPROGRAMS: rm -f $$list install-sbinPROGRAMS: $(sbin_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \ + fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ - then echo "$$p"; echo "$$p"; else :; fi; \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ @@ -891,7 +1012,8 @@ uninstall-sbinPROGRAMS: @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ + -e 's/$$/$(EXEEXT)/' \ + `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(sbindir)" && rm -f $$files @@ -904,21 +1026,23 @@ clean-sbinPROGRAMS: list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list -check_y2k$(EXEEXT): $(check_y2k_OBJECTS) $(check_y2k_DEPENDENCIES) + +check_y2k$(EXEEXT): $(check_y2k_OBJECTS) $(check_y2k_DEPENDENCIES) $(EXTRA_check_y2k_DEPENDENCIES) @rm -f check_y2k$(EXEEXT) $(AM_V_CCLD)$(LINK) $(check_y2k_OBJECTS) $(check_y2k_LDADD) $(LIBS) -keyword-gen$(EXEEXT): $(keyword_gen_OBJECTS) $(keyword_gen_DEPENDENCIES) + +keyword-gen$(EXEEXT): $(keyword_gen_OBJECTS) $(keyword_gen_DEPENDENCIES) $(EXTRA_keyword_gen_DEPENDENCIES) @rm -f keyword-gen$(EXEEXT) $(AM_V_CCLD)$(LINK) $(keyword_gen_OBJECTS) $(keyword_gen_LDADD) $(LIBS) ntp_parser.h: ntp_parser.c - @if test ! -f $@; then \ - rm -f ntp_parser.c; \ - $(MAKE) $(AM_MAKEFLAGS) ntp_parser.c; \ - else :; fi -ntpd$(EXEEXT): $(ntpd_OBJECTS) $(ntpd_DEPENDENCIES) + @if test ! -f $@; then rm -f ntp_parser.c; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) ntp_parser.c; else :; fi + +ntpd$(EXEEXT): $(ntpd_OBJECTS) $(ntpd_DEPENDENCIES) $(EXTRA_ntpd_DEPENDENCIES) @rm -f ntpd$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ntpd_OBJECTS) $(ntpd_LDADD) $(LIBS) -ntpdsim$(EXEEXT): $(ntpdsim_OBJECTS) $(ntpdsim_DEPENDENCIES) + +ntpdsim$(EXEEXT): $(ntpdsim_OBJECTS) $(ntpdsim_DEPENDENCIES) $(EXTRA_ntpdsim_DEPENDENCIES) @rm -f ntpdsim$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ntpdsim_OBJECTS) $(ntpdsim_LDADD) $(LIBS) @@ -959,6 +1083,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdsim-ntpd-opts.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdsim-ntpd.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdsim-ntpsim.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rc_cmdlength.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/refclock_acts.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/refclock_arbiter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/refclock_arc.Po@am__quote@ @@ -1004,157 +1129,138 @@ distclean-compile: .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< ntpdsim-ntp_config.o: ntp_config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_config.o -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_config.Tpo -c -o ntpdsim-ntp_config.o `test -f 'ntp_config.c' || echo '$(srcdir)/'`ntp_config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_config.Tpo $(DEPDIR)/ntpdsim-ntp_config.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_config.c' object='ntpdsim-ntp_config.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_config.c' object='ntpdsim-ntp_config.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_config.o `test -f 'ntp_config.c' || echo '$(srcdir)/'`ntp_config.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_config.o `test -f 'ntp_config.c' || echo '$(srcdir)/'`ntp_config.c ntpdsim-ntp_config.obj: ntp_config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_config.obj -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_config.Tpo -c -o ntpdsim-ntp_config.obj `if test -f 'ntp_config.c'; then $(CYGPATH_W) 'ntp_config.c'; else $(CYGPATH_W) '$(srcdir)/ntp_config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_config.Tpo $(DEPDIR)/ntpdsim-ntp_config.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_config.c' object='ntpdsim-ntp_config.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_config.c' object='ntpdsim-ntp_config.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_config.obj `if test -f 'ntp_config.c'; then $(CYGPATH_W) 'ntp_config.c'; else $(CYGPATH_W) '$(srcdir)/ntp_config.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_config.obj `if test -f 'ntp_config.c'; then $(CYGPATH_W) 'ntp_config.c'; else $(CYGPATH_W) '$(srcdir)/ntp_config.c'; fi` ntpdsim-ntp_io.o: ntp_io.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_io.o -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_io.Tpo -c -o ntpdsim-ntp_io.o `test -f 'ntp_io.c' || echo '$(srcdir)/'`ntp_io.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_io.Tpo $(DEPDIR)/ntpdsim-ntp_io.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_io.c' object='ntpdsim-ntp_io.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_io.c' object='ntpdsim-ntp_io.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_io.o `test -f 'ntp_io.c' || echo '$(srcdir)/'`ntp_io.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_io.o `test -f 'ntp_io.c' || echo '$(srcdir)/'`ntp_io.c ntpdsim-ntp_io.obj: ntp_io.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_io.obj -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_io.Tpo -c -o ntpdsim-ntp_io.obj `if test -f 'ntp_io.c'; then $(CYGPATH_W) 'ntp_io.c'; else $(CYGPATH_W) '$(srcdir)/ntp_io.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_io.Tpo $(DEPDIR)/ntpdsim-ntp_io.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_io.c' object='ntpdsim-ntp_io.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_io.c' object='ntpdsim-ntp_io.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_io.obj `if test -f 'ntp_io.c'; then $(CYGPATH_W) 'ntp_io.c'; else $(CYGPATH_W) '$(srcdir)/ntp_io.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_io.obj `if test -f 'ntp_io.c'; then $(CYGPATH_W) 'ntp_io.c'; else $(CYGPATH_W) '$(srcdir)/ntp_io.c'; fi` ntpdsim-ntp_parser.o: ntp_parser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_parser.o -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_parser.Tpo -c -o ntpdsim-ntp_parser.o `test -f 'ntp_parser.c' || echo '$(srcdir)/'`ntp_parser.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_parser.Tpo $(DEPDIR)/ntpdsim-ntp_parser.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_parser.c' object='ntpdsim-ntp_parser.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_parser.c' object='ntpdsim-ntp_parser.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_parser.o `test -f 'ntp_parser.c' || echo '$(srcdir)/'`ntp_parser.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_parser.o `test -f 'ntp_parser.c' || echo '$(srcdir)/'`ntp_parser.c ntpdsim-ntp_parser.obj: ntp_parser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_parser.obj -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_parser.Tpo -c -o ntpdsim-ntp_parser.obj `if test -f 'ntp_parser.c'; then $(CYGPATH_W) 'ntp_parser.c'; else $(CYGPATH_W) '$(srcdir)/ntp_parser.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_parser.Tpo $(DEPDIR)/ntpdsim-ntp_parser.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_parser.c' object='ntpdsim-ntp_parser.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_parser.c' object='ntpdsim-ntp_parser.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_parser.obj `if test -f 'ntp_parser.c'; then $(CYGPATH_W) 'ntp_parser.c'; else $(CYGPATH_W) '$(srcdir)/ntp_parser.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_parser.obj `if test -f 'ntp_parser.c'; then $(CYGPATH_W) 'ntp_parser.c'; else $(CYGPATH_W) '$(srcdir)/ntp_parser.c'; fi` ntpdsim-ntp_scanner.o: ntp_scanner.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_scanner.o -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_scanner.Tpo -c -o ntpdsim-ntp_scanner.o `test -f 'ntp_scanner.c' || echo '$(srcdir)/'`ntp_scanner.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_scanner.Tpo $(DEPDIR)/ntpdsim-ntp_scanner.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_scanner.c' object='ntpdsim-ntp_scanner.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_scanner.c' object='ntpdsim-ntp_scanner.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_scanner.o `test -f 'ntp_scanner.c' || echo '$(srcdir)/'`ntp_scanner.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_scanner.o `test -f 'ntp_scanner.c' || echo '$(srcdir)/'`ntp_scanner.c ntpdsim-ntp_scanner.obj: ntp_scanner.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_scanner.obj -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_scanner.Tpo -c -o ntpdsim-ntp_scanner.obj `if test -f 'ntp_scanner.c'; then $(CYGPATH_W) 'ntp_scanner.c'; else $(CYGPATH_W) '$(srcdir)/ntp_scanner.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_scanner.Tpo $(DEPDIR)/ntpdsim-ntp_scanner.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_scanner.c' object='ntpdsim-ntp_scanner.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_scanner.c' object='ntpdsim-ntp_scanner.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_scanner.obj `if test -f 'ntp_scanner.c'; then $(CYGPATH_W) 'ntp_scanner.c'; else $(CYGPATH_W) '$(srcdir)/ntp_scanner.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_scanner.obj `if test -f 'ntp_scanner.c'; then $(CYGPATH_W) 'ntp_scanner.c'; else $(CYGPATH_W) '$(srcdir)/ntp_scanner.c'; fi` ntpdsim-ntpd.o: ntpd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntpd.o -MD -MP -MF $(DEPDIR)/ntpdsim-ntpd.Tpo -c -o ntpdsim-ntpd.o `test -f 'ntpd.c' || echo '$(srcdir)/'`ntpd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntpd.Tpo $(DEPDIR)/ntpdsim-ntpd.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntpd.c' object='ntpdsim-ntpd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntpd.c' object='ntpdsim-ntpd.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpd.o `test -f 'ntpd.c' || echo '$(srcdir)/'`ntpd.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpd.o `test -f 'ntpd.c' || echo '$(srcdir)/'`ntpd.c ntpdsim-ntpd.obj: ntpd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntpd.obj -MD -MP -MF $(DEPDIR)/ntpdsim-ntpd.Tpo -c -o ntpdsim-ntpd.obj `if test -f 'ntpd.c'; then $(CYGPATH_W) 'ntpd.c'; else $(CYGPATH_W) '$(srcdir)/ntpd.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntpd.Tpo $(DEPDIR)/ntpdsim-ntpd.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntpd.c' object='ntpdsim-ntpd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntpd.c' object='ntpdsim-ntpd.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpd.obj `if test -f 'ntpd.c'; then $(CYGPATH_W) 'ntpd.c'; else $(CYGPATH_W) '$(srcdir)/ntpd.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpd.obj `if test -f 'ntpd.c'; then $(CYGPATH_W) 'ntpd.c'; else $(CYGPATH_W) '$(srcdir)/ntpd.c'; fi` ntpdsim-ntpd-opts.o: ntpd-opts.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntpd-opts.o -MD -MP -MF $(DEPDIR)/ntpdsim-ntpd-opts.Tpo -c -o ntpdsim-ntpd-opts.o `test -f 'ntpd-opts.c' || echo '$(srcdir)/'`ntpd-opts.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntpd-opts.Tpo $(DEPDIR)/ntpdsim-ntpd-opts.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntpd-opts.c' object='ntpdsim-ntpd-opts.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntpd-opts.c' object='ntpdsim-ntpd-opts.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpd-opts.o `test -f 'ntpd-opts.c' || echo '$(srcdir)/'`ntpd-opts.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpd-opts.o `test -f 'ntpd-opts.c' || echo '$(srcdir)/'`ntpd-opts.c ntpdsim-ntpd-opts.obj: ntpd-opts.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntpd-opts.obj -MD -MP -MF $(DEPDIR)/ntpdsim-ntpd-opts.Tpo -c -o ntpdsim-ntpd-opts.obj `if test -f 'ntpd-opts.c'; then $(CYGPATH_W) 'ntpd-opts.c'; else $(CYGPATH_W) '$(srcdir)/ntpd-opts.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntpd-opts.Tpo $(DEPDIR)/ntpdsim-ntpd-opts.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntpd-opts.c' object='ntpdsim-ntpd-opts.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntpd-opts.c' object='ntpdsim-ntpd-opts.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpd-opts.obj `if test -f 'ntpd-opts.c'; then $(CYGPATH_W) 'ntpd-opts.c'; else $(CYGPATH_W) '$(srcdir)/ntpd-opts.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpd-opts.obj `if test -f 'ntpd-opts.c'; then $(CYGPATH_W) 'ntpd-opts.c'; else $(CYGPATH_W) '$(srcdir)/ntpd-opts.c'; fi` ntpdsim-ntp_prio_q.o: ntp_prio_q.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_prio_q.o -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_prio_q.Tpo -c -o ntpdsim-ntp_prio_q.o `test -f 'ntp_prio_q.c' || echo '$(srcdir)/'`ntp_prio_q.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_prio_q.Tpo $(DEPDIR)/ntpdsim-ntp_prio_q.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_prio_q.c' object='ntpdsim-ntp_prio_q.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_prio_q.c' object='ntpdsim-ntp_prio_q.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_prio_q.o `test -f 'ntp_prio_q.c' || echo '$(srcdir)/'`ntp_prio_q.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_prio_q.o `test -f 'ntp_prio_q.c' || echo '$(srcdir)/'`ntp_prio_q.c ntpdsim-ntp_prio_q.obj: ntp_prio_q.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntp_prio_q.obj -MD -MP -MF $(DEPDIR)/ntpdsim-ntp_prio_q.Tpo -c -o ntpdsim-ntp_prio_q.obj `if test -f 'ntp_prio_q.c'; then $(CYGPATH_W) 'ntp_prio_q.c'; else $(CYGPATH_W) '$(srcdir)/ntp_prio_q.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntp_prio_q.Tpo $(DEPDIR)/ntpdsim-ntp_prio_q.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntp_prio_q.c' object='ntpdsim-ntp_prio_q.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntp_prio_q.c' object='ntpdsim-ntp_prio_q.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_prio_q.obj `if test -f 'ntp_prio_q.c'; then $(CYGPATH_W) 'ntp_prio_q.c'; else $(CYGPATH_W) '$(srcdir)/ntp_prio_q.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntp_prio_q.obj `if test -f 'ntp_prio_q.c'; then $(CYGPATH_W) 'ntp_prio_q.c'; else $(CYGPATH_W) '$(srcdir)/ntp_prio_q.c'; fi` ntpdsim-ntpsim.o: ntpsim.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntpsim.o -MD -MP -MF $(DEPDIR)/ntpdsim-ntpsim.Tpo -c -o ntpdsim-ntpsim.o `test -f 'ntpsim.c' || echo '$(srcdir)/'`ntpsim.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntpsim.Tpo $(DEPDIR)/ntpdsim-ntpsim.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntpsim.c' object='ntpdsim-ntpsim.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntpsim.c' object='ntpdsim-ntpsim.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpsim.o `test -f 'ntpsim.c' || echo '$(srcdir)/'`ntpsim.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpsim.o `test -f 'ntpsim.c' || echo '$(srcdir)/'`ntpsim.c ntpdsim-ntpsim.obj: ntpsim.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ntpdsim-ntpsim.obj -MD -MP -MF $(DEPDIR)/ntpdsim-ntpsim.Tpo -c -o ntpdsim-ntpsim.obj `if test -f 'ntpsim.c'; then $(CYGPATH_W) 'ntpsim.c'; else $(CYGPATH_W) '$(srcdir)/ntpsim.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ntpdsim-ntpsim.Tpo $(DEPDIR)/ntpdsim-ntpsim.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ntpsim.c' object='ntpdsim-ntpsim.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ntpsim.c' object='ntpdsim-ntpsim.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpsim.obj `if test -f 'ntpsim.c'; then $(CYGPATH_W) 'ntpsim.c'; else $(CYGPATH_W) '$(srcdir)/ntpsim.c'; fi` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntpdsim_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ntpdsim-ntpsim.obj `if test -f 'ntpsim.c'; then $(CYGPATH_W) 'ntpsim.c'; else $(CYGPATH_W) '$(srcdir)/ntpsim.c'; fi` .y.c: - $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) + $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE) mostlyclean-libtool: -rm -f *.lo @@ -1163,11 +1269,18 @@ clean-libtool: -rm -rf .libs _libs install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) - test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" - @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \ - { for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1[a-z]*$$/p'; \ + @list1='$(man1_MANS)'; \ + list2='$(man_MANS)'; \ + test -n "$(man1dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.1[a-z]*$$/p'; \ + fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ @@ -1196,16 +1309,21 @@ uninstall-man1: sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - test -z "$$files" || { \ - echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-man5: $(man5_MANS) $(man_MANS) @$(NORMAL_INSTALL) - test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)" - @list='$(man5_MANS)'; test -n "$(man5dir)" || exit 0; \ - { for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.5[a-z]*$$/p'; \ + @list1='$(man5_MANS)'; \ + list2='$(man_MANS)'; \ + test -n "$(man5dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.5[a-z]*$$/p'; \ + fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ @@ -1234,16 +1352,21 @@ uninstall-man5: sed -n '/\.5[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - test -z "$$files" || { \ - echo " ( cd '$(DESTDIR)$(man5dir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(man5dir)" && rm -f $$files; } + dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir) install-man8: $(man8_MANS) $(man_MANS) @$(NORMAL_INSTALL) - test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)" - @list='$(man8_MANS)'; test -n "$(man8dir)" || exit 0; \ - { for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.8[a-z]*$$/p'; \ + @list1='$(man8_MANS)'; \ + list2='$(man_MANS)'; \ + test -n "$(man8dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.8[a-z]*$$/p'; \ + fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ @@ -1272,13 +1395,14 @@ uninstall-man8: sed -n '/\.8[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - test -z "$$files" || { \ - echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(man8dir)" && rm -f $$files; } + dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir) install-htmlDATA: $(html_DATA) @$(NORMAL_INSTALL) - test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)" @list='$(html_DATA)'; test -n "$(htmldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -1292,30 +1416,17 @@ uninstall-htmlDATA: @$(NORMAL_UNINSTALL) @list='$(html_DATA)'; test -n "$(htmldir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(htmldir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(htmldir)" && rm -f $$files + dir='$(DESTDIR)$(htmldir)'; $(am__uninstall_files_from_dir) -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -1327,15 +1438,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -1344,24 +1451,26 @@ GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - @list='$(MANS)'; if test -n "$$list"; then \ - list=`for p in $$list; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ - if test -n "$$list" && \ - grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ - echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ - grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ - echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ - echo " typically \`make maintainer-clean' will remove them" >&2; \ - exit 1; \ - else :; fi; \ - else :; fi @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ @@ -1412,10 +1521,15 @@ install-am: all-am installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -1512,27 +1626,29 @@ uninstall-man: uninstall-man1 uninstall-man5 uninstall-man8 .MAKE: all check check-am install install-am install-exec-am \ install-strip -.PHONY: CTAGS GTAGS all all-am check check-am check-local clean \ +.PHONY: CTAGS GTAGS TAGS all all-am check check-am check-local clean \ clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ clean-libexecPROGRAMS clean-libtool clean-noinstLIBRARIES \ - clean-sbinPROGRAMS ctags distclean distclean-compile \ - distclean-generic distclean-libtool distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-binPROGRAMS install-data install-data-am \ - install-data-local install-dvi install-dvi-am install-exec \ - install-exec-am install-exec-hook install-html install-html-am \ - install-htmlDATA install-info install-info-am \ + clean-sbinPROGRAMS cscopelist-am ctags ctags-am distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-binPROGRAMS install-data \ + install-data-am install-data-local install-dvi install-dvi-am \ + install-exec install-exec-am install-exec-hook install-html \ + install-html-am install-htmlDATA install-info install-info-am \ install-libexecPROGRAMS install-man install-man1 install-man5 \ install-man8 install-pdf install-pdf-am install-ps \ install-ps-am install-sbinPROGRAMS install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-binPROGRAMS \ + tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ uninstall-htmlDATA uninstall-libexecPROGRAMS uninstall-man \ uninstall-man1 uninstall-man5 uninstall-man8 \ uninstall-sbinPROGRAMS +.PRECIOUS: Makefile + vphack: test -e ntp_parser.c || ln -s $(srcdir)/ntp_parser.c . diff --git a/contrib/ntp/ntpd/complete.conf.in b/contrib/ntp/ntpd/complete.conf.in index a820094abb74..747a48f2f2a8 100644 --- a/contrib/ntp/ntpd/complete.conf.in +++ b/contrib/ntp/ntpd/complete.conf.in @@ -2,8 +2,10 @@ saveconfigdir "/etc/ntp/conf" driftfile "/etc/ntp.drift" 1e-7 logfile "/var/log/ntp.log" leapfile "/etc/ntp.leapseconds" +@HAVE_LEAPSMEARINTERVAL@ nonvolatile 1e-7 ident "udent" +dscp 46 logconfig =allall -allinfo -allevents -allstatistics -allstatus +allall -clockinfo -clockevents -clockstatistics -clockstatus +clockall -syncinfo -syncevents -syncstatistics -syncstatus +syncall -sysinfo -sysevents -sysstatistics -sysstatus +sysall statsdir "/etc/ntp/stats" statistics clockstats cryptostats loopstats peerstats protostats rawstats sysstats timingstats diff --git a/contrib/ntp/ntpd/invoke-ntp.conf.texi b/contrib/ntp/ntpd/invoke-ntp.conf.texi index 7151efb82e14..d7a9d13a2d99 100644 --- a/contrib/ntp/ntpd/invoke-ntp.conf.texi +++ b/contrib/ntp/ntpd/invoke-ntp.conf.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntp.conf.texi) # -# It has been AutoGen-ed April 7, 2015 at 04:25:50 AM by AutoGen 5.18.5pre4 +# It has been AutoGen-ed June 29, 2015 at 04:30:28 PM by AutoGen 5.18.5 # From the definitions ntp.conf.def # and the template file agtexi-file.tpl @end ignore @@ -2291,6 +2291,9 @@ This implies that must have write permission for the directory the drift file is located in, and that file system links, symbolic or otherwise, should be avoided. +@item @code{dscp} @kbd{value} +This option specifies the Differentiated Services Control Point (DSCP) value, +a 6-bit code. The default value is 46, signifying Expedited Forwarding. @item @code{enable} @code{[@code{auth} | @code{bclient} | @code{calibrate} | @code{kernel} | @code{mode7} | @code{monitor} | @code{ntp} | @code{stats}]} @item @code{disable} @code{[@code{auth} | @code{bclient} | @code{calibrate} | @code{kernel} | @code{mode7} | @code{monitor} | @code{ntp} | @code{stats}]} Provides a way to enable or disable various server options. @@ -2376,6 +2379,19 @@ This option is useful for sites that run @code{ntpd(1ntpdmdoc)} on multiple hosts, with (mostly) common options (e.g., a restriction list). +@item @code{leapsmearinterval} @kbd{seconds} +This EXPERIMENTAL option is only available if +@code{ntpd(1ntpdmdoc)} +was built with the +@code{--enable-leap-smear} +option to the +@code{configure} +script. +It specifies the interval over which a leap second correction will be applied. +Recommended values for this option are between +7200 (2 hours) and 86400 (24 hours). +.Sy DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS! +See http://bugs.ntp.org/2855 for more information. @item @code{logconfig} @kbd{configkeyword} This command controls the amount and type of output written to the system @@ -2570,11 +2586,11 @@ option). The default is 32 megabytes. Setting this to zero will prevent any attemp to lock memory. @item @code{stacksize} @kbd{N4kPages} Specifies the maximum size of the process stack on systems with the -@item @code{filenum} @kbd{Nfiledescriptors} -Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. @code{mlockall()} function. Defaults to 50 4k pages (200 4k pages in OpenBSD). +@item @code{filenum} @kbd{Nfiledescriptors} +Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. @end table @item @code{trap} @kbd{host_address} @code{[@code{port} @kbd{port_number}]} @code{[@code{interface} @kbd{interface_address}]} This command configures a trap receiver at the given host diff --git a/contrib/ntp/ntpd/invoke-ntp.keys.texi b/contrib/ntp/ntpd/invoke-ntp.keys.texi index b0d494040e79..622c4ffe03c2 100644 --- a/contrib/ntp/ntpd/invoke-ntp.keys.texi +++ b/contrib/ntp/ntpd/invoke-ntp.keys.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntp.keys.texi) # -# It has been AutoGen-ed April 7, 2015 at 04:25:52 AM by AutoGen 5.18.5pre4 +# It has been AutoGen-ed June 29, 2015 at 04:30:31 PM by AutoGen 5.18.5 # From the definitions ntp.keys.def # and the template file agtexi-file.tpl @end ignore diff --git a/contrib/ntp/ntpd/invoke-ntpd.texi b/contrib/ntp/ntpd/invoke-ntpd.texi index b6c69db8a1da..6936dda91f04 100644 --- a/contrib/ntp/ntpd/invoke-ntpd.texi +++ b/contrib/ntp/ntpd/invoke-ntpd.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntpd.texi) # -# It has been AutoGen-ed April 7, 2015 at 04:25:54 AM by AutoGen 5.18.5pre4 +# It has been AutoGen-ed June 29, 2015 at 04:30:33 PM by AutoGen 5.18.5 # From the definitions ntpd-opts.def # and the template file agtexi-cmd.tpl @end ignore @@ -142,7 +142,7 @@ with a status code of 0. @exampleindent 0 @example -ntpd - NTP daemon program - Ver. 4.2.8p2 +ntpd - NTP daemon program - Ver. 4.2.8p3 Usage: ntpd [ - [] | --[@{=| @}] ]... \ [ ... ] Flg Arg Option-Name Description diff --git a/contrib/ntp/ntpd/keyword-gen-utd b/contrib/ntp/ntpd/keyword-gen-utd index b9b59bd4739f..467351b65e3a 100644 --- a/contrib/ntp/ntpd/keyword-gen-utd +++ b/contrib/ntp/ntpd/keyword-gen-utd @@ -1 +1 @@ - * Generated 2015-03-16 09:05:44 UTC diff_ignore_line + * Generated 2015-06-25 03:57:00 UTC diff_ignore_line diff --git a/contrib/ntp/ntpd/keyword-gen.c b/contrib/ntp/ntpd/keyword-gen.c index 5872e2a5cc1f..42e94973f81e 100644 --- a/contrib/ntp/ntpd/keyword-gen.c +++ b/contrib/ntp/ntpd/keyword-gen.c @@ -46,6 +46,7 @@ struct key_tok ntp_keywords[] = { { "ctl", T_Ctl, FOLLBY_TOKEN }, { "disable", T_Disable, FOLLBY_TOKEN }, { "driftfile", T_Driftfile, FOLLBY_STRING }, +{ "dscp", T_Dscp, FOLLBY_TOKEN }, { "enable", T_Enable, FOLLBY_TOKEN }, { "end", T_End, FOLLBY_TOKEN }, { "filegen", T_Filegen, FOLLBY_TOKEN }, @@ -53,6 +54,7 @@ struct key_tok ntp_keywords[] = { { "io", T_Io, FOLLBY_TOKEN }, { "includefile", T_Includefile, FOLLBY_STRING }, { "leapfile", T_Leapfile, FOLLBY_STRING }, +{ "leapsmearinterval", T_Leapsmearinterval, FOLLBY_TOKEN }, { "logconfig", T_Logconfig, FOLLBY_STRINGS_TO_EOC }, { "logfile", T_Logfile, FOLLBY_STRING }, { "manycastclient", T_Manycastclient, FOLLBY_STRING }, @@ -333,12 +335,11 @@ generate_fsm(void) char *r; u_short initial_state; u_short this_state; - u_short prev_state; u_short state; u_short i; u_short token; - /* + /* * Sort ntp_keywords in alphabetical keyword order. This is * not necessary, but minimizes nonfunctional changes in the * generated finite state machine when keywords are modified. @@ -347,7 +348,7 @@ generate_fsm(void) sizeof(ntp_keywords[0]), compare_key_tok_text); /* - * To save space, reserve the state array entry matching each + * To save space, reserve the state array entry matching each * token number for its terminal state, so the token identifier * does not need to be stored in each state, but can be * recovered trivially. To mark the entry reserved, @@ -414,7 +415,7 @@ generate_fsm(void) } if (sst[i].finishes_token) { - snprintf(token_id_comment, + snprintf(token_id_comment, sizeof(token_id_comment), "%5d %-17s", i, symbname(sst[i].finishes_token)); if (i != sst[i].finishes_token) { @@ -442,7 +443,6 @@ generate_fsm(void) * spellings result in the same T_* value. */ prefix_len = 0; - prev_state = 0; this_state = i; do { for (state = 1; state < sst_highwater; state++) @@ -468,8 +468,8 @@ generate_fsm(void) snprintf(token_id_comment, sizeof(token_id_comment), "%5d %-17s", - i, (initial_state == i) - ? "[initial state]" + i, (initial_state == i) + ? "[initial state]" : prefix); } @@ -497,8 +497,8 @@ generate_fsm(void) */ static u_short create_scan_states( - char * text, - u_short token, + char * text, + u_short token, follby followedby, u_short prev_state ) @@ -512,7 +512,7 @@ create_scan_states( curr_char_s = prev_state; prev_char_s = 0; - /* Find the correct position to insert the state. + /* Find the correct position to insert the state. * All states should be in alphabetical order */ while (curr_char_s && (text[0] < sst[curr_char_s].ch)) { @@ -520,7 +520,7 @@ create_scan_states( curr_char_s = sst[curr_char_s].other_next_s; } - /* + /* * Check if a previously seen keyword has the same prefix as * the current keyword. If so, simply use the state for that * keyword as my_state, otherwise, allocate a new state. @@ -548,7 +548,7 @@ create_scan_states( exit(3); } /* Store the next character of the keyword */ - sst[my_state].ch = text[0]; + sst[my_state].ch = text[0]; sst[my_state].other_next_s = curr_char_s; sst[my_state].followedby = FOLLBY_NON_ACCEPTING; @@ -587,7 +587,7 @@ create_scan_states( return_state = my_state; } } else - sst[my_state].match_next_s = + sst[my_state].match_next_s = create_scan_states( &text[1], token, @@ -615,8 +615,8 @@ create_keyword_scanner(void) current_keyword = ntp_keywords[i].key; scanner = create_scan_states( - ntp_keywords[i].key, - ntp_keywords[i].token, + ntp_keywords[i].key, + ntp_keywords[i].token, ntp_keywords[i].followedby, scanner); } @@ -657,7 +657,7 @@ generate_token_text(void) if (i > 0) printf(","); printf("\n\t/* %-5d %5d %20s */\t\"%s\"", - id - lowest_id, id, symbname(id), + id - lowest_id, id, symbname(id), ntp_keywords[i].key); i++; id++; @@ -666,7 +666,7 @@ generate_token_text(void) printf("\n};\n\n"); } - + int compare_key_tok_id( const void *a1, @@ -749,7 +749,7 @@ symbname( } else { LIB_GETBUF(name); snprintf(name, LIB_BUFLENGTH, "%d", token); - } + } return name; } diff --git a/contrib/ntp/ntpd/ntp.conf.5man b/contrib/ntp/ntpd/ntp.conf.5man index f1ed4b298fd9..14438bdc7da1 100644 --- a/contrib/ntp/ntpd/ntp.conf.5man +++ b/contrib/ntp/ntpd/ntp.conf.5man @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH ntp.conf 5man "07 Apr 2015" "4.2.8p2" "File Formats" +.TH ntp.conf 5man "29 Jun 2015" "4.2.8p3" "File Formats" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-gKaW.1/ag-tKaO91) +.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-R0aO7B/ag-30aG6B) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:25:37 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:16 PM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agman-cmd.tpl .SH NAME @@ -35,7 +35,7 @@ All arguments must be options. The \f\*[B-Font]ntp.conf\fP configuration file is read at initial startup by the -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] daemon in order to specify the synchronization sources, modes and other related information. Usually, it is installed in the @@ -307,7 +307,7 @@ This is designed to speed the initial synchronization acquisition with the \f\*[B-Font]server\f[] command and s addresses and when -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] is started with the \f\*[B-Font]\-q\f[] option. @@ -528,7 +528,7 @@ and \f\*[B-Font]disable\f[] commands and also by remote configuration commands sent by a -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] program running in another machine. If this flag is enabled, which is the default @@ -595,15 +595,15 @@ secure means beyond the scope of the NTP protocol itself. Besides the keys used for ordinary NTP associations, additional keys can be used as passwords for the -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] and -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] utility programs. .sp \n(Ppu .ne 2 When -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] is first started, it reads the key file specified in the \f\*[B-Font]keys\f[] configuration command and installs the keys @@ -617,17 +617,17 @@ allows, for instance, the installation of possibly several batches of keys and then activating or deactivating each batch remotely using -\fCntpdc\fR(1ntpdcmdoc)\f[]. +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[]. This also provides a revocation capability that can be used if a key becomes compromised. The \f\*[B-Font]requestkey\f[] command selects the key used as the password for the -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] utility, while the \f\*[B-Font]controlkey\f[] command selects the key used as the password for the -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] utility. .SS Public Key Cryptography NTPv4 supports the original NTPv3 symmetric key scheme @@ -674,7 +674,7 @@ page. The specific cryptographic environment used by Autokey servers and clients is determined by a set of files and soft links generated by the -\fCntp-keygen\fR(1ntpkeygenmdoc)\f[] +\fCntp-keygen\f[]\fR(1ntpkeygenmdoc)\f[] program. This includes a required host key file, required certificate file and optional sign key file, @@ -721,7 +721,7 @@ DNS compromise is essential. By convention, the name of an Autokey host is the name returned by the Unix -\fCgethostname\fR(2)\f[] +\fCgethostname\f[]\fR(2)\f[] system call or equivalent in other systems. By the system design model, there are no provisions to allow alternate names or aliases. @@ -821,7 +821,7 @@ If verification fails, Bob sends Cathy a thing called a crypto-NAK, which tells her something broke. She can see the evidence using the -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] program. .sp \n(Ppu .ne 2 @@ -846,7 +846,7 @@ with one server and no authentication with another might not be wise. .SS Key Management The cryptographic values used by the Autokey protocol are incorporated as a set of files generated by the -\fCntp-keygen\fR(1ntpkeygenmdoc)\f[] +\fCntp-keygen\f[]\fR(1ntpkeygenmdoc)\f[] utility program, including symmetric key, host key and public certificate files, as well as sign key, identity parameters and leapseconds files. @@ -855,9 +855,9 @@ certificate files can be generated by the OpenSSL utilities and certificates can be imported from public certificate authorities. Note that symmetric keys are necessary for the -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] and -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] utility programs. The remaining files are necessary only for the Autokey protocol. @@ -895,7 +895,7 @@ sent. .TP 7 .NOP \f\*[B-Font]controlkey\f[] \f\*[I-Font]key\f[] Specifies the key identifier to use with the -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] utility, which uses the standard protocol defined in RFC-1305. The @@ -984,10 +984,10 @@ not found, the host key is also the sign key. .NOP \f\*[B-Font]keys\f[] \f\*[I-Font]keyfile\f[] Specifies the complete path and location of the MD5 key file containing the keys and key identifiers used by -\fCntpd\fR(1ntpdmdoc)\f[], -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[], +\fCntpq\f[]\fR(1ntpqmdoc)\f[] and -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] when operating with symmetric key cryptography. This is the same operation as the \f\*[B-Font]\-k\f[] @@ -1001,10 +1001,10 @@ The default is .TP 7 .NOP \f\*[B-Font]requestkey\f[] \f\*[I-Font]key\f[] Specifies the key identifier to use with the -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] utility program, which uses a proprietary protocol specific to this implementation of -\fCntpd\fR(1ntpdmdoc)\f[]. +\fCntpd\f[]\fR(1ntpdmdoc)\f[]. The \f\*[I-Font]key\f[] argument is a key identifier @@ -1027,9 +1027,9 @@ for every message sent. Specifies the key identifiers which are trusted for the purposes of authenticating peers with symmetric key cryptography, as well as keys used by the -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] and -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] programs. The authentication procedures require that both the local and remote servers share the same key and key identifier for this @@ -1106,7 +1106,7 @@ The certificate is missing, corrupted or bogus. The identity key is missing, corrupt or bogus. .PP .SH Monitoring Support -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] includes a comprehensive monitoring facility suitable for continuous, long term recording of server and client timekeeping performance. @@ -1122,7 +1122,7 @@ directory of this distribution. Using these facilities and UNIX -\fCcron\fR(8)\f[] +\fCcron\f[]\fR(8)\f[] jobs, the data can be automatically summarized and archived for retrospective analysis. .SS Monitoring Commands @@ -1348,7 +1348,7 @@ produced.) .ne 2 Note that this command can be sent from the -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] program running at a remote location. .RS .TP 7 @@ -1422,7 +1422,7 @@ server. This type does not perform any changes to file set members during runtime, however it provides an easy way of separating files belonging to different -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] server incarnations. The set member filename is built by appending a \[oq]\&.\[cq] @@ -1432,7 +1432,7 @@ and \f\*[I-Font]filename\f[] strings, and appending the decimal representation of the process ID of the -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] server process. .TP 7 .NOP \f\*[B-Font]day\f[] @@ -1524,7 +1524,7 @@ Enables or disables the recording function. .PP .SH Access Control Support The -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] daemon implements a general purpose address/mask based restriction list. The list contains address/match entries sorted first @@ -1672,9 +1672,9 @@ may be specified: .TP 7 .NOP \f\*[B-Font]ignore\f[] Deny packets of all kinds, including -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] and -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] queries. .TP 7 .NOP \f\*[B-Font]kod\f[] @@ -1690,7 +1690,7 @@ Deny service if the packet spacing violates the lower limits specified in the discard command. A history of clients is kept using the monitoring capability of -\fCntpd\fR(1ntpdmdoc)\f[]. +\fCntpd\f[]\fR(1ntpdmdoc)\f[]. Thus, monitoring is always active as long as there is a restriction entry with the \f\*[B-Font]limited\f[] @@ -1709,9 +1709,9 @@ be overridden by later requests for normal priority traps. .TP 7 .NOP \f\*[B-Font]nomodify\f[] Deny -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] and -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] queries which attempt to modify the state of the server (i.e., run time reconfiguration). Queries which return @@ -1719,9 +1719,9 @@ information are permitted. .TP 7 .NOP \f\*[B-Font]noquery\f[] Deny -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] and -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] queries. Time service is not affected. .TP 7 @@ -1746,9 +1746,9 @@ directive. .TP 7 .NOP \f\*[B-Font]noserve\f[] Deny all packets except -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] and -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] queries. .TP 7 .NOP \f\*[B-Font]notrap\f[] @@ -2078,11 +2078,11 @@ re-associate accordingly. .ne 2 Some administrators prefer to avoid running -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] continuously and run either -\fCntpdate\fR(8)\f[] +\fCntpdate\f[]\fR(8)\f[] or -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] \f\*[B-Font]\-q\f[] as a cron job. In either case the servers must be @@ -2090,7 +2090,7 @@ configured in advance and the program fails if none are available when the cron job runs. A really slick application of manycast is with -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] \f\*[B-Font]\-q\f[]. The program wakes up, scans the local landscape looking for the usual suspects, selects the best from among @@ -2260,7 +2260,7 @@ hazardous. .ne 2 For the purposes of configuration, -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] treats reference clocks in a manner analogous to normal NTP peers as much as possible. @@ -2348,7 +2348,7 @@ command as well. The stratum number of a reference clock is by default zero. Since the -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] daemon adds one to the stratum of each peer, a primary server ordinarily displays an external stratum of one. @@ -2422,7 +2422,7 @@ It must immediately follow the command which configures the driver. Note that the same capability is possible at run time using the -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] program. The options are interpreted as follows: @@ -2564,11 +2564,15 @@ The file is updated by first writing the current drift value into a temporary file and then renaming this file to replace the old version. This implies that -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] must have write permission for the directory the drift file is located in, and that file system links, symbolic or otherwise, should be avoided. .TP 7 +.NOP \f\*[B-Font]dscp\f[] \f\*[I-Font]value\f[] +This option specifies the Differentiated Services Control Point (DSCP) value, +a 6-bit code. The default value is 46, signifying Expedited Forwarding. +.TP 7 .NOP \f\*[B-Font]enable\f[] [\f\*[B-Font]auth\f[] | \f\*[B-Font]bclient\f[] | \f\*[B-Font]calibrate\f[] | \f\*[B-Font]kernel\f[] | \f\*[B-Font]mode7\f[] | \f\*[B-Font]monitor\f[] | \f\*[B-Font]ntp\f[] | \f\*[B-Font]stats\f[]] .TP 7 .NOP \f\*[B-Font]disable\f[] [\f\*[B-Font]auth\f[] | \f\*[B-Font]bclient\f[] | \f\*[B-Font]calibrate\f[] | \f\*[B-Font]kernel\f[] | \f\*[B-Font]mode7\f[] | \f\*[B-Font]monitor\f[] | \f\*[B-Font]ntp\f[] | \f\*[B-Font]stats\f[]] @@ -2576,7 +2580,7 @@ Provides a way to enable or disable various server options. Flags not mentioned are unaffected. Note that all of these flags can be controlled remotely using the -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] utility program. .RS .TP 7 @@ -2613,21 +2617,21 @@ if support is available, otherwise .NOP \f\*[B-Font]mode7\f[] Enables processing of NTP mode 7 implementation-specific requests which are used by the deprecated -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] program. The default for this flag is disable. This flag is excluded from runtime configuration using -\fCntpq\fR(1ntpqmdoc)\f[]. +\fCntpq\f[]\fR(1ntpqmdoc)\f[]. The -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] program provides the same capabilities as -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] using standard mode 6 requests. .TP 7 .NOP \f\*[B-Font]monitor\f[] Enables the monitoring facility. See the -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] program and the \f\*[B-Font]monlist\f[] @@ -2661,14 +2665,28 @@ be nested to a depth of five; upon reaching the end of any include file, command processing resumes in the previous configuration file. This option is useful for sites that run -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] on multiple hosts, with (mostly) common options (e.g., a restriction list). .TP 7 +.NOP \f\*[B-Font]leapsmearinterval\f[] \f\*[I-Font]seconds\f[] +This EXPERIMENTAL option is only available if +\fCntpd\f[]\fR(1ntpdmdoc)\f[] +was built with the +\f\*[B-Font]\--enable-leap-smear\f[] +option to the +\f\*[B-Font]configure\f[] +script. +It specifies the interval over which a leap second correction will be applied. +Recommended values for this option are between +7200 (2 hours) and 86400 (24 hours). +.Sy DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS! +See http://bugs.ntp.org/2855 for more information. +.TP 7 .NOP \f\*[B-Font]logconfig\f[] \f\*[I-Font]configkeyword\f[] This command controls the amount and type of output written to the system -\fCsyslog\fR(3)\f[] +\fCsyslog\f[]\fR(3)\f[] facility or the alternate \f\*[B-Font]logfile\f[] log file. @@ -2683,14 +2701,14 @@ and where \[oq]=\[cq] sets the -\fCsyslog\fR(3)\f[] +\fCsyslog\f[]\fR(3)\f[] priority mask, \[oq]+\[cq] adds and \[oq]\-\[cq] removes messages. -\fCsyslog\fR(3)\f[] +\fCsyslog\f[]\fR(3)\f[] messages can be controlled in four classes (\f\*[B-Font]clock\f[], \f\*[B-Font]peer\f[], \f\*[B-Font]sys\f[] and \f\*[B-Font]sync\f[]). @@ -2728,7 +2746,7 @@ logconfig =syncstatus +sysevents .ne 2 This would just list the synchronizations state of -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] and the major system events. For a simple reference server, the following minimum message configuration could be useful: @@ -2749,7 +2767,7 @@ peers, system events and so on is suppressed. .NOP \f\*[B-Font]logfile\f[] \f\*[I-Font]logfile\f[] This command specifies the location of an alternate log file to be used instead of the default system -\fCsyslog\fR(3)\f[] +\fCsyslog\f[]\fR(3)\f[] facility. This is the same operation as the \-l command line option. .TP 7 @@ -2764,7 +2782,7 @@ is followed by the \f\*[B-Font]default\f[] keyword, the variable will be listed as part of the default system variables -(\fCntpq\fR(1ntpqmdoc)\f[] \f\*[B-Font]rv\f[] command)). +(\fCntpq\f[]\fR(1ntpqmdoc)\f[] \f\*[B-Font]rv\f[] command)). These additional variables serve informational purposes only. They are not related to the protocol @@ -2888,12 +2906,12 @@ The default is 32 megabytes. Setting this to zero will prevent any attemp to loc .TP 7 .NOP \f\*[B-Font]stacksize\f[] \f\*[I-Font]N4kPages\f[] Specifies the maximum size of the process stack on systems with the +\fBmlockall\f[]\fR()\f[] +function. +Defaults to 50 4k pages (200 4k pages in OpenBSD). .TP 7 .NOP \f\*[B-Font]filenum\f[] \f\*[I-Font]Nfiledescriptors\f[] Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. -\fBmlockall\fR()\f[] -function. -Defaults to 50 4k pages (200 4k pages in OpenBSD). .RE .TP 7 .NOP \f\*[B-Font]trap\f[] \f\*[I-Font]host_address\f[] [\f\*[B-Font]port\f[] \f\*[I-Font]port_number\f[]] [\f\*[B-Font]interface\f[] \f\*[I-Font]interface_address\f[]] @@ -2986,9 +3004,9 @@ libopts had an internal operational error. Please report it to autogen-users@lists.sourceforge.net. Thank you. .PP .SH "SEE ALSO" -\fCntpd\fR(1ntpdmdoc)\f[], -\fCntpdc\fR(1ntpdcmdoc)\f[], -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[], +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[], +\fCntpq\f[]\fR(1ntpqmdoc)\f[] .sp \n(Ppu .ne 2 diff --git a/contrib/ntp/ntpd/ntp.conf.5mdoc b/contrib/ntp/ntpd/ntp.conf.5mdoc index 1a52a1257c4e..938acf6d6a13 100644 --- a/contrib/ntp/ntpd/ntp.conf.5mdoc +++ b/contrib/ntp/ntpd/ntp.conf.5mdoc @@ -1,9 +1,9 @@ -.Dd April 7 2015 +.Dd June 29 2015 .Dt NTP_CONF 5mdoc File Formats .Os .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:25:57 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:36 PM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agmdoc-cmd.tpl .Sh NAME @@ -2386,6 +2386,9 @@ This implies that must have write permission for the directory the drift file is located in, and that file system links, symbolic or otherwise, should be avoided. +.It Ic dscp Ar value +This option specifies the Differentiated Services Control Point (DSCP) value, +a 6\-bit code. The default value is 46, signifying Expedited Forwarding. .It Xo Ic enable .Oo .Cm auth | Cm bclient | @@ -2485,6 +2488,19 @@ This option is useful for sites that run .Xr ntpd 1ntpdmdoc on multiple hosts, with (mostly) common options (e.g., a restriction list). +.It Ic leapsmearinterval Ar seconds +This EXPERIMENTAL option is only available if +.Xr ntpd 1ntpdmdoc +was built with the +.Cm \-\-enable\-leap\-smear +option to the +.Cm configure +script. +It specifies the interval over which a leap second correction will be applied. +Recommended values for this option are between +7200 (2 hours) and 86400 (24 hours). +.Sy DO NOT USE THIS OPTION ON PUBLIC\-ACCESS SERVERS! +See http://bugs.ntp.org/2855 for more information. .It Ic logconfig Ar configkeyword This command controls the amount and type of output written to the system @@ -2717,11 +2733,11 @@ option). The default is 32 megabytes. Setting this to zero will prevent any attemp to lock memory. .It Cm stacksize Ar N4kPages Specifies the maximum size of the process stack on systems with the -.It Cm filenum Ar Nfiledescriptors -Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. .Fn mlockall function. Defaults to 50 4k pages (200 4k pages in OpenBSD). +.It Cm filenum Ar Nfiledescriptors +Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. .El .It Xo Ic trap Ar host_address .Op Cm port Ar port_number diff --git a/contrib/ntp/ntpd/ntp.conf.def b/contrib/ntp/ntpd/ntp.conf.def index e5c44b7565c7..7e09c0306946 100644 --- a/contrib/ntp/ntpd/ntp.conf.def +++ b/contrib/ntp/ntpd/ntp.conf.def @@ -2388,6 +2388,9 @@ This implies that must have write permission for the directory the drift file is located in, and that file system links, symbolic or otherwise, should be avoided. +.It Ic dscp Ar value +This option specifies the Differentiated Services Control Point (DSCP) value, +a 6-bit code. The default value is 46, signifying Expedited Forwarding. .It Xo Ic enable .Oo .Cm auth | Cm bclient | @@ -2487,6 +2490,19 @@ This option is useful for sites that run .Xr ntpd 1ntpdmdoc on multiple hosts, with (mostly) common options (e.g., a restriction list). +.It Ic leapsmearinterval Ar seconds +This EXPERIMENTAL option is only available if +.Xr ntpd 1ntpdmdoc +was built with the +.Cm --enable-leap-smear +option to the +.Cm configure +script. +It specifies the interval over which a leap second correction will be applied. +Recommended values for this option are between +7200 (2 hours) and 86400 (24 hours). +.Sy DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS! +See http://bugs.ntp.org/2855 for more information. .It Ic logconfig Ar configkeyword This command controls the amount and type of output written to the system @@ -2719,11 +2735,11 @@ option). The default is 32 megabytes. Setting this to zero will prevent any attemp to lock memory. .It Cm stacksize Ar N4kPages Specifies the maximum size of the process stack on systems with the -.It Cm filenum Ar Nfiledescriptors -Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. .Fn mlockall function. Defaults to 50 4k pages (200 4k pages in OpenBSD). +.It Cm filenum Ar Nfiledescriptors +Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. .El .It Xo Ic trap Ar host_address .Op Cm port Ar port_number diff --git a/contrib/ntp/ntpd/ntp.conf.html b/contrib/ntp/ntpd/ntp.conf.html index 7ab25e3756f4..ad643556ea1f 100644 --- a/contrib/ntp/ntpd/ntp.conf.html +++ b/contrib/ntp/ntpd/ntp.conf.html @@ -33,7 +33,7 @@ Up: (dir)

This document describes the configuration file for the NTP Project's ntpd program. -

This document applies to version 4.2.8p2 of ntp.conf. +

This document applies to version 4.2.8p3 of ntp.conf.

Short Contents

@@ -2286,6 +2286,8 @@ This implies that must have write permission for the directory the drift file is located in, and that file system links, symbolic or otherwise, should be avoided. +
dscp value
This option specifies the Differentiated Services Control Point (DSCP) value, +a 6-bit code. The default value is 46, signifying Expedited Forwarding.
enable [auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats]
disable [auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats]
Provides a way to enable or disable various server options. Flags not mentioned are unaffected. Note that all of these flags @@ -2360,6 +2362,18 @@ This option is useful for sites that run ntpd(1ntpdmdoc) on multiple hosts, with (mostly) common options (e.g., a restriction list). +
leapsmearinterval seconds
This EXPERIMENTAL option is only available if +ntpd(1ntpdmdoc) +was built with the +--enable-leap-smear +option to the +configure +script. +It specifies the interval over which a leap second correction will be applied. +Recommended values for this option are between +7200 (2 hours) and 86400 (24 hours). +.Sy DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS! +See http://bugs.ntp.org/2855 for more information.
logconfig configkeyword
This command controls the amount and type of output written to the system syslog(3) @@ -2539,10 +2553,10 @@ when dropping root (the option). The default is 32 megabytes. Setting this to zero will prevent any attemp to lock memory.
stacksize N4kPages
Specifies the maximum size of the process stack on systems with the -
filenum Nfiledescriptors
Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. mlockall() function. Defaults to 50 4k pages (200 4k pages in OpenBSD). +
filenum Nfiledescriptors
Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default.
trap host_address [port port_number] [interface interface_address]
This command configures a trap receiver at the given host address and port number for sending messages with the specified diff --git a/contrib/ntp/ntpd/ntp.conf.man.in b/contrib/ntp/ntpd/ntp.conf.man.in index 548151d334c7..ef9e14dfe770 100644 --- a/contrib/ntp/ntpd/ntp.conf.man.in +++ b/contrib/ntp/ntpd/ntp.conf.man.in @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH ntp.conf 5 "07 Apr 2015" "4.2.8p2" "File Formats" +.TH ntp.conf 5 "29 Jun 2015" "4.2.8p3" "File Formats" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-gKaW.1/ag-tKaO91) +.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-R0aO7B/ag-30aG6B) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:25:37 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:16 PM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agman-cmd.tpl .SH NAME @@ -35,7 +35,7 @@ All arguments must be options. The \f\*[B-Font]ntp.conf\fP configuration file is read at initial startup by the -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] daemon in order to specify the synchronization sources, modes and other related information. Usually, it is installed in the @@ -307,7 +307,7 @@ This is designed to speed the initial synchronization acquisition with the \f\*[B-Font]server\f[] command and s addresses and when -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] is started with the \f\*[B-Font]\-q\f[] option. @@ -528,7 +528,7 @@ and \f\*[B-Font]disable\f[] commands and also by remote configuration commands sent by a -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] program running in another machine. If this flag is enabled, which is the default @@ -595,15 +595,15 @@ secure means beyond the scope of the NTP protocol itself. Besides the keys used for ordinary NTP associations, additional keys can be used as passwords for the -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] and -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] utility programs. .sp \n(Ppu .ne 2 When -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] is first started, it reads the key file specified in the \f\*[B-Font]keys\f[] configuration command and installs the keys @@ -617,17 +617,17 @@ allows, for instance, the installation of possibly several batches of keys and then activating or deactivating each batch remotely using -\fCntpdc\fR(@NTPDC_MS@)\f[]. +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[]. This also provides a revocation capability that can be used if a key becomes compromised. The \f\*[B-Font]requestkey\f[] command selects the key used as the password for the -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] utility, while the \f\*[B-Font]controlkey\f[] command selects the key used as the password for the -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] utility. .SS Public Key Cryptography NTPv4 supports the original NTPv3 symmetric key scheme @@ -674,7 +674,7 @@ page. The specific cryptographic environment used by Autokey servers and clients is determined by a set of files and soft links generated by the -\fCntp-keygen\fR(1ntpkeygenmdoc)\f[] +\fCntp-keygen\f[]\fR(1ntpkeygenmdoc)\f[] program. This includes a required host key file, required certificate file and optional sign key file, @@ -721,7 +721,7 @@ DNS compromise is essential. By convention, the name of an Autokey host is the name returned by the Unix -\fCgethostname\fR(2)\f[] +\fCgethostname\f[]\fR(2)\f[] system call or equivalent in other systems. By the system design model, there are no provisions to allow alternate names or aliases. @@ -821,7 +821,7 @@ If verification fails, Bob sends Cathy a thing called a crypto-NAK, which tells her something broke. She can see the evidence using the -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] program. .sp \n(Ppu .ne 2 @@ -846,7 +846,7 @@ with one server and no authentication with another might not be wise. .SS Key Management The cryptographic values used by the Autokey protocol are incorporated as a set of files generated by the -\fCntp-keygen\fR(1ntpkeygenmdoc)\f[] +\fCntp-keygen\f[]\fR(1ntpkeygenmdoc)\f[] utility program, including symmetric key, host key and public certificate files, as well as sign key, identity parameters and leapseconds files. @@ -855,9 +855,9 @@ certificate files can be generated by the OpenSSL utilities and certificates can be imported from public certificate authorities. Note that symmetric keys are necessary for the -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] and -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] utility programs. The remaining files are necessary only for the Autokey protocol. @@ -895,7 +895,7 @@ sent. .TP 7 .NOP \f\*[B-Font]controlkey\f[] \f\*[I-Font]key\f[] Specifies the key identifier to use with the -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] utility, which uses the standard protocol defined in RFC-1305. The @@ -984,10 +984,10 @@ not found, the host key is also the sign key. .NOP \f\*[B-Font]keys\f[] \f\*[I-Font]keyfile\f[] Specifies the complete path and location of the MD5 key file containing the keys and key identifiers used by -\fCntpd\fR(@NTPD_MS@)\f[], -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[], +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] and -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] when operating with symmetric key cryptography. This is the same operation as the \f\*[B-Font]\-k\f[] @@ -1001,10 +1001,10 @@ The default is .TP 7 .NOP \f\*[B-Font]requestkey\f[] \f\*[I-Font]key\f[] Specifies the key identifier to use with the -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] utility program, which uses a proprietary protocol specific to this implementation of -\fCntpd\fR(@NTPD_MS@)\f[]. +\fCntpd\f[]\fR(@NTPD_MS@)\f[]. The \f\*[I-Font]key\f[] argument is a key identifier @@ -1027,9 +1027,9 @@ for every message sent. Specifies the key identifiers which are trusted for the purposes of authenticating peers with symmetric key cryptography, as well as keys used by the -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] and -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] programs. The authentication procedures require that both the local and remote servers share the same key and key identifier for this @@ -1106,7 +1106,7 @@ The certificate is missing, corrupted or bogus. The identity key is missing, corrupt or bogus. .PP .SH Monitoring Support -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] includes a comprehensive monitoring facility suitable for continuous, long term recording of server and client timekeeping performance. @@ -1122,7 +1122,7 @@ directory of this distribution. Using these facilities and UNIX -\fCcron\fR(8)\f[] +\fCcron\f[]\fR(8)\f[] jobs, the data can be automatically summarized and archived for retrospective analysis. .SS Monitoring Commands @@ -1348,7 +1348,7 @@ produced.) .ne 2 Note that this command can be sent from the -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] program running at a remote location. .RS .TP 7 @@ -1422,7 +1422,7 @@ server. This type does not perform any changes to file set members during runtime, however it provides an easy way of separating files belonging to different -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] server incarnations. The set member filename is built by appending a \[oq]\&.\[cq] @@ -1432,7 +1432,7 @@ and \f\*[I-Font]filename\f[] strings, and appending the decimal representation of the process ID of the -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] server process. .TP 7 .NOP \f\*[B-Font]day\f[] @@ -1524,7 +1524,7 @@ Enables or disables the recording function. .PP .SH Access Control Support The -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] daemon implements a general purpose address/mask based restriction list. The list contains address/match entries sorted first @@ -1672,9 +1672,9 @@ may be specified: .TP 7 .NOP \f\*[B-Font]ignore\f[] Deny packets of all kinds, including -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] and -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] queries. .TP 7 .NOP \f\*[B-Font]kod\f[] @@ -1690,7 +1690,7 @@ Deny service if the packet spacing violates the lower limits specified in the discard command. A history of clients is kept using the monitoring capability of -\fCntpd\fR(@NTPD_MS@)\f[]. +\fCntpd\f[]\fR(@NTPD_MS@)\f[]. Thus, monitoring is always active as long as there is a restriction entry with the \f\*[B-Font]limited\f[] @@ -1709,9 +1709,9 @@ be overridden by later requests for normal priority traps. .TP 7 .NOP \f\*[B-Font]nomodify\f[] Deny -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] and -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] queries which attempt to modify the state of the server (i.e., run time reconfiguration). Queries which return @@ -1719,9 +1719,9 @@ information are permitted. .TP 7 .NOP \f\*[B-Font]noquery\f[] Deny -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] and -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] queries. Time service is not affected. .TP 7 @@ -1746,9 +1746,9 @@ directive. .TP 7 .NOP \f\*[B-Font]noserve\f[] Deny all packets except -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] and -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] queries. .TP 7 .NOP \f\*[B-Font]notrap\f[] @@ -2078,11 +2078,11 @@ re-associate accordingly. .ne 2 Some administrators prefer to avoid running -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] continuously and run either -\fCntpdate\fR(8)\f[] +\fCntpdate\f[]\fR(8)\f[] or -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] \f\*[B-Font]\-q\f[] as a cron job. In either case the servers must be @@ -2090,7 +2090,7 @@ configured in advance and the program fails if none are available when the cron job runs. A really slick application of manycast is with -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] \f\*[B-Font]\-q\f[]. The program wakes up, scans the local landscape looking for the usual suspects, selects the best from among @@ -2260,7 +2260,7 @@ hazardous. .ne 2 For the purposes of configuration, -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] treats reference clocks in a manner analogous to normal NTP peers as much as possible. @@ -2348,7 +2348,7 @@ command as well. The stratum number of a reference clock is by default zero. Since the -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] daemon adds one to the stratum of each peer, a primary server ordinarily displays an external stratum of one. @@ -2422,7 +2422,7 @@ It must immediately follow the command which configures the driver. Note that the same capability is possible at run time using the -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] program. The options are interpreted as follows: @@ -2564,11 +2564,15 @@ The file is updated by first writing the current drift value into a temporary file and then renaming this file to replace the old version. This implies that -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] must have write permission for the directory the drift file is located in, and that file system links, symbolic or otherwise, should be avoided. .TP 7 +.NOP \f\*[B-Font]dscp\f[] \f\*[I-Font]value\f[] +This option specifies the Differentiated Services Control Point (DSCP) value, +a 6-bit code. The default value is 46, signifying Expedited Forwarding. +.TP 7 .NOP \f\*[B-Font]enable\f[] [\f\*[B-Font]auth\f[] | \f\*[B-Font]bclient\f[] | \f\*[B-Font]calibrate\f[] | \f\*[B-Font]kernel\f[] | \f\*[B-Font]mode7\f[] | \f\*[B-Font]monitor\f[] | \f\*[B-Font]ntp\f[] | \f\*[B-Font]stats\f[]] .TP 7 .NOP \f\*[B-Font]disable\f[] [\f\*[B-Font]auth\f[] | \f\*[B-Font]bclient\f[] | \f\*[B-Font]calibrate\f[] | \f\*[B-Font]kernel\f[] | \f\*[B-Font]mode7\f[] | \f\*[B-Font]monitor\f[] | \f\*[B-Font]ntp\f[] | \f\*[B-Font]stats\f[]] @@ -2576,7 +2580,7 @@ Provides a way to enable or disable various server options. Flags not mentioned are unaffected. Note that all of these flags can be controlled remotely using the -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] utility program. .RS .TP 7 @@ -2613,21 +2617,21 @@ if support is available, otherwise .NOP \f\*[B-Font]mode7\f[] Enables processing of NTP mode 7 implementation-specific requests which are used by the deprecated -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] program. The default for this flag is disable. This flag is excluded from runtime configuration using -\fCntpq\fR(@NTPQ_MS@)\f[]. +\fCntpq\f[]\fR(@NTPQ_MS@)\f[]. The -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] program provides the same capabilities as -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] using standard mode 6 requests. .TP 7 .NOP \f\*[B-Font]monitor\f[] Enables the monitoring facility. See the -\fCntpdc\fR(@NTPDC_MS@)\f[] +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[] program and the \f\*[B-Font]monlist\f[] @@ -2661,14 +2665,28 @@ be nested to a depth of five; upon reaching the end of any include file, command processing resumes in the previous configuration file. This option is useful for sites that run -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] on multiple hosts, with (mostly) common options (e.g., a restriction list). .TP 7 +.NOP \f\*[B-Font]leapsmearinterval\f[] \f\*[I-Font]seconds\f[] +This EXPERIMENTAL option is only available if +\fCntpd\f[]\fR(@NTPD_MS@)\f[] +was built with the +\f\*[B-Font]\--enable-leap-smear\f[] +option to the +\f\*[B-Font]configure\f[] +script. +It specifies the interval over which a leap second correction will be applied. +Recommended values for this option are between +7200 (2 hours) and 86400 (24 hours). +.Sy DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS! +See http://bugs.ntp.org/2855 for more information. +.TP 7 .NOP \f\*[B-Font]logconfig\f[] \f\*[I-Font]configkeyword\f[] This command controls the amount and type of output written to the system -\fCsyslog\fR(3)\f[] +\fCsyslog\f[]\fR(3)\f[] facility or the alternate \f\*[B-Font]logfile\f[] log file. @@ -2683,14 +2701,14 @@ and where \[oq]=\[cq] sets the -\fCsyslog\fR(3)\f[] +\fCsyslog\f[]\fR(3)\f[] priority mask, \[oq]+\[cq] adds and \[oq]\-\[cq] removes messages. -\fCsyslog\fR(3)\f[] +\fCsyslog\f[]\fR(3)\f[] messages can be controlled in four classes (\f\*[B-Font]clock\f[], \f\*[B-Font]peer\f[], \f\*[B-Font]sys\f[] and \f\*[B-Font]sync\f[]). @@ -2728,7 +2746,7 @@ logconfig =syncstatus +sysevents .ne 2 This would just list the synchronizations state of -\fCntpd\fR(@NTPD_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[] and the major system events. For a simple reference server, the following minimum message configuration could be useful: @@ -2749,7 +2767,7 @@ peers, system events and so on is suppressed. .NOP \f\*[B-Font]logfile\f[] \f\*[I-Font]logfile\f[] This command specifies the location of an alternate log file to be used instead of the default system -\fCsyslog\fR(3)\f[] +\fCsyslog\f[]\fR(3)\f[] facility. This is the same operation as the \-l command line option. .TP 7 @@ -2764,7 +2782,7 @@ is followed by the \f\*[B-Font]default\f[] keyword, the variable will be listed as part of the default system variables -(\fCntpq\fR(@NTPQ_MS@)\f[] \f\*[B-Font]rv\f[] command)). +(\fCntpq\f[]\fR(@NTPQ_MS@)\f[] \f\*[B-Font]rv\f[] command)). These additional variables serve informational purposes only. They are not related to the protocol @@ -2888,12 +2906,12 @@ The default is 32 megabytes. Setting this to zero will prevent any attemp to loc .TP 7 .NOP \f\*[B-Font]stacksize\f[] \f\*[I-Font]N4kPages\f[] Specifies the maximum size of the process stack on systems with the +\fBmlockall\f[]\fR()\f[] +function. +Defaults to 50 4k pages (200 4k pages in OpenBSD). .TP 7 .NOP \f\*[B-Font]filenum\f[] \f\*[I-Font]Nfiledescriptors\f[] Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. -\fBmlockall\fR()\f[] -function. -Defaults to 50 4k pages (200 4k pages in OpenBSD). .RE .TP 7 .NOP \f\*[B-Font]trap\f[] \f\*[I-Font]host_address\f[] [\f\*[B-Font]port\f[] \f\*[I-Font]port_number\f[]] [\f\*[B-Font]interface\f[] \f\*[I-Font]interface_address\f[]] @@ -2986,9 +3004,9 @@ libopts had an internal operational error. Please report it to autogen-users@lists.sourceforge.net. Thank you. .PP .SH "SEE ALSO" -\fCntpd\fR(@NTPD_MS@)\f[], -\fCntpdc\fR(@NTPDC_MS@)\f[], -\fCntpq\fR(@NTPQ_MS@)\f[] +\fCntpd\f[]\fR(@NTPD_MS@)\f[], +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[], +\fCntpq\f[]\fR(@NTPQ_MS@)\f[] .sp \n(Ppu .ne 2 diff --git a/contrib/ntp/ntpd/ntp.conf.mdoc.in b/contrib/ntp/ntpd/ntp.conf.mdoc.in index da935ed697ee..93c638d6edff 100644 --- a/contrib/ntp/ntpd/ntp.conf.mdoc.in +++ b/contrib/ntp/ntpd/ntp.conf.mdoc.in @@ -1,9 +1,9 @@ -.Dd April 7 2015 +.Dd June 29 2015 .Dt NTP_CONF 5 File Formats .Os .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:25:57 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:36 PM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agmdoc-cmd.tpl .Sh NAME @@ -2386,6 +2386,9 @@ This implies that must have write permission for the directory the drift file is located in, and that file system links, symbolic or otherwise, should be avoided. +.It Ic dscp Ar value +This option specifies the Differentiated Services Control Point (DSCP) value, +a 6\-bit code. The default value is 46, signifying Expedited Forwarding. .It Xo Ic enable .Oo .Cm auth | Cm bclient | @@ -2485,6 +2488,19 @@ This option is useful for sites that run .Xr ntpd @NTPD_MS@ on multiple hosts, with (mostly) common options (e.g., a restriction list). +.It Ic leapsmearinterval Ar seconds +This EXPERIMENTAL option is only available if +.Xr ntpd @NTPD_MS@ +was built with the +.Cm \-\-enable\-leap\-smear +option to the +.Cm configure +script. +It specifies the interval over which a leap second correction will be applied. +Recommended values for this option are between +7200 (2 hours) and 86400 (24 hours). +.Sy DO NOT USE THIS OPTION ON PUBLIC\-ACCESS SERVERS! +See http://bugs.ntp.org/2855 for more information. .It Ic logconfig Ar configkeyword This command controls the amount and type of output written to the system @@ -2717,11 +2733,11 @@ option). The default is 32 megabytes. Setting this to zero will prevent any attemp to lock memory. .It Cm stacksize Ar N4kPages Specifies the maximum size of the process stack on systems with the -.It Cm filenum Ar Nfiledescriptors -Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. .Fn mlockall function. Defaults to 50 4k pages (200 4k pages in OpenBSD). +.It Cm filenum Ar Nfiledescriptors +Specifies the maximum number of file descriptors ntpd may have open at once. Defaults to the system default. .El .It Xo Ic trap Ar host_address .Op Cm port Ar port_number diff --git a/contrib/ntp/ntpd/ntp.keys.5man b/contrib/ntp/ntpd/ntp.keys.5man index a505afb90dc6..63d4553852ae 100644 --- a/contrib/ntp/ntpd/ntp.keys.5man +++ b/contrib/ntp/ntpd/ntp.keys.5man @@ -1,8 +1,8 @@ -.TH ntp.keys 5man "07 Apr 2015" "4.2.8p2" "File Formats" +.TH ntp.keys 5man "29 Jun 2015" "4.2.8p3" "File Formats" .\" .\" EDIT THIS FILE WITH CAUTION (ntp.man) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:25:42 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:21 PM by AutoGen 5.18.5 .\" From the definitions ntp.keys.def .\" and the template file agman-file.tpl .Sh NAME @@ -40,12 +40,12 @@ This document describes the format of an NTP symmetric key file. For a description of the use of this type of file, see the "Authentication Support" section of the -\fCntp.conf\fR(5)\f[] +\fCntp.conf\f[]\fR(5)\f[] page. .sp \n(Ppu .ne 2 -\fCntpd\fR(8)\f[] +\fCntpd\f[]\fR(8)\f[] reads its keys from a file specified using the \f\*[B-Font]\-k\f[] command line option or the @@ -140,9 +140,9 @@ which is truncated as necessary. .ne 2 Note that the keys used by the -\fCntpq\fR(8)\f[] +\fCntpq\f[]\fR(8)\f[] and -\fCntpdc\fR(8)\f[] +\fCntpdc\f[]\fR(8)\f[] programs are checked against passwords requested by the programs and entered by hand, so it is generally appropriate to specify these keys in ASCII format. @@ -152,11 +152,11 @@ so it is generally appropriate to specify these keys in ASCII format. the default name of the configuration file .PP .SH "SEE ALSO" -\fCntp.conf\fR(5)\f[], -\fCntpd\fR(1ntpdmdoc)\f[], -\fCntpdate\fR(1ntpdatemdoc)\f[], -\fCntpdc\fR(1ntpdcmdoc)\f[], -\fCsntp\fR(1sntpmdoc)\f[] +\fCntp.conf\f[]\fR(5)\f[], +\fCntpd\f[]\fR(1ntpdmdoc)\f[], +\fCntpdate\f[]\fR(1ntpdatemdoc)\f[], +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[], +\fCsntp\f[]\fR(1sntpmdoc)\f[] .SH "AUTHORS" The University of Delaware and Network Time Foundation .SH "COPYRIGHT" diff --git a/contrib/ntp/ntpd/ntp.keys.5mdoc b/contrib/ntp/ntpd/ntp.keys.5mdoc index a7157ec4e394..47e5f81d258a 100644 --- a/contrib/ntp/ntpd/ntp.keys.5mdoc +++ b/contrib/ntp/ntpd/ntp.keys.5mdoc @@ -1,9 +1,9 @@ -.Dd April 7 2015 +.Dd June 29 2015 .Dt NTP_KEYS 5mdoc File Formats .Os SunOS 5.10 .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:26:00 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:39 PM by AutoGen 5.18.5 .\" From the definitions ntp.keys.def .\" and the template file agmdoc-file.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntp.keys.html b/contrib/ntp/ntpd/ntp.keys.html index 98a22ef0aedb..f096f63fc837 100644 --- a/contrib/ntp/ntpd/ntp.keys.html +++ b/contrib/ntp/ntpd/ntp.keys.html @@ -33,7 +33,7 @@ Up: (dir)

This document describes the symmetric key file for the NTP Project's ntpd program. -

This document applies to version 4.2.8p2 of ntp.keys. +

This document applies to version 4.2.8p3 of ntp.keys.

Short Contents

diff --git a/contrib/ntp/ntpd/ntp.keys.man.in b/contrib/ntp/ntpd/ntp.keys.man.in index c7585afa16f3..1080b91bf0ed 100644 --- a/contrib/ntp/ntpd/ntp.keys.man.in +++ b/contrib/ntp/ntpd/ntp.keys.man.in @@ -1,8 +1,8 @@ -.TH ntp.keys 5 "07 Apr 2015" "4.2.8p2" "File Formats" +.TH ntp.keys 5 "29 Jun 2015" "4.2.8p3" "File Formats" .\" .\" EDIT THIS FILE WITH CAUTION (ntp.man) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:25:42 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:21 PM by AutoGen 5.18.5 .\" From the definitions ntp.keys.def .\" and the template file agman-file.tpl .Sh NAME @@ -40,12 +40,12 @@ This document describes the format of an NTP symmetric key file. For a description of the use of this type of file, see the "Authentication Support" section of the -\fCntp.conf\fR(5)\f[] +\fCntp.conf\f[]\fR(5)\f[] page. .sp \n(Ppu .ne 2 -\fCntpd\fR(8)\f[] +\fCntpd\f[]\fR(8)\f[] reads its keys from a file specified using the \f\*[B-Font]\-k\f[] command line option or the @@ -140,9 +140,9 @@ which is truncated as necessary. .ne 2 Note that the keys used by the -\fCntpq\fR(8)\f[] +\fCntpq\f[]\fR(8)\f[] and -\fCntpdc\fR(8)\f[] +\fCntpdc\f[]\fR(8)\f[] programs are checked against passwords requested by the programs and entered by hand, so it is generally appropriate to specify these keys in ASCII format. @@ -152,11 +152,11 @@ so it is generally appropriate to specify these keys in ASCII format. the default name of the configuration file .PP .SH "SEE ALSO" -\fCntp.conf\fR(5)\f[], -\fCntpd\fR(@NTPD_MS@)\f[], -\fCntpdate\fR(@NTPDATE_MS@)\f[], -\fCntpdc\fR(@NTPDC_MS@)\f[], -\fCsntp\fR(@SNTP_MS@)\f[] +\fCntp.conf\f[]\fR(5)\f[], +\fCntpd\f[]\fR(@NTPD_MS@)\f[], +\fCntpdate\f[]\fR(@NTPDATE_MS@)\f[], +\fCntpdc\f[]\fR(@NTPDC_MS@)\f[], +\fCsntp\f[]\fR(@SNTP_MS@)\f[] .SH "AUTHORS" The University of Delaware and Network Time Foundation .SH "COPYRIGHT" diff --git a/contrib/ntp/ntpd/ntp.keys.mdoc.in b/contrib/ntp/ntpd/ntp.keys.mdoc.in index e6590db72fbb..6bd1c0987c2c 100644 --- a/contrib/ntp/ntpd/ntp.keys.mdoc.in +++ b/contrib/ntp/ntpd/ntp.keys.mdoc.in @@ -1,9 +1,9 @@ -.Dd April 7 2015 +.Dd June 29 2015 .Dt NTP_KEYS 5 File Formats .Os SunOS 5.10 .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:26:00 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:39 PM by AutoGen 5.18.5 .\" From the definitions ntp.keys.def .\" and the template file agmdoc-file.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntp_config.c b/contrib/ntp/ntpd/ntp_config.c index a224579d1cce..300773240c74 100644 --- a/contrib/ntp/ntpd/ntp_config.c +++ b/contrib/ntp/ntpd/ntp_config.c @@ -54,9 +54,6 @@ #include "ntpd-opts.h" -/* Bison still(!) does not emit usable prototypes for the calling code */ -int yyparse (struct FILE_INFO *ip_file); - /* list of servers from command line for config_peers() */ int cmdline_server_count; char ** cmdline_servers; @@ -134,8 +131,6 @@ typedef struct peer_resolved_ctx_tag { * Definitions of things either imported from or exported to outside */ extern int yydebug; /* ntp_parser.c (.y) */ -int curr_include_level; /* The current include level */ -struct FILE_INFO *fp[MAXINCLUDELEVEL+1]; config_tree cfgt; /* Parser output stored here */ struct config_tree_tag *cfg_tree_history; /* History of configs */ char *sys_phone[MAXPHONE] = {NULL}; /* ACTS phone numbers */ @@ -181,11 +176,6 @@ struct netinfo_config_state { struct REMOTE_CONFIG_INFO remote_config; /* Remote configuration buffer and pointer info */ -int input_from_file = 1; /* A boolean flag, which when set, indicates that - the input is to be taken from the configuration - file, instead of the remote-configuration buffer - */ - int old_config_style = 1; /* A boolean flag, which when set, * indicates that the old configuration * format with a newline at the end of @@ -257,7 +247,7 @@ static void free_config_tree(config_tree *ptree); static void destroy_restrict_node(restrict_node *my_node); static int is_sane_resolved_address(sockaddr_u *peeraddr, int hmode); -static void save_and_apply_config_tree(void); +static void save_and_apply_config_tree(int/*BOOL*/ from_file); static void destroy_int_fifo(int_fifo *); #define FREE_INT_FIFO(pf) \ do { \ @@ -314,7 +304,7 @@ static sockaddr_u *get_next_address(address_node *addr); static void config_sim(config_tree *); static void config_ntpdsim(config_tree *); #else /* !SIM follows */ -static void config_ntpd(config_tree *); +static void config_ntpd(config_tree *, int/*BOOL*/ input_from_file); static void config_other_modes(config_tree *); static void config_auth(config_tree *); static void config_access(config_tree *); @@ -326,7 +316,7 @@ static void config_trap(config_tree *); static void config_fudge(config_tree *); static void config_peers(config_tree *); static void config_unpeers(config_tree *); -static void config_nic_rules(config_tree *); +static void config_nic_rules(config_tree *, int/*BOOL*/ input_from_file); static void config_reset_counters(config_tree *); static u_char get_correct_host_mode(int token); static int peerflag_bits(peer_node *); @@ -2751,7 +2741,8 @@ free_config_tinker( #ifndef SIM static void config_nic_rules( - config_tree *ptree + config_tree *ptree, + int/*BOOL*/ input_from_file ) { nic_rule_node * curr_node; @@ -3502,6 +3493,11 @@ config_vars( stats_config(STATS_FREQ_FILE, curr_var->value.s); break; + case T_Dscp: + /* DSCP is in the upper 6 bits of the IP TOS/DS field */ + qos = curr_var->value.i << 2; + break; + case T_Ident: sys_ident = curr_var->value.s; break; @@ -3515,6 +3511,13 @@ config_vars( stats_config(STATS_LEAP_FILE, curr_var->value.s); break; +#ifdef LEAP_SMEAR + case T_Leapsmearinterval: + leap_smear_intv = curr_var->value.i; + msyslog(LOG_INFO, "config: leap smear interval %i s", leap_smear_intv); + break; +#endif + case T_Pidfile: stats_config(STATS_PID_FILE, curr_var->value.s); break; @@ -4224,7 +4227,7 @@ config_sim( serv_info = HEAD_PFIFO(sim_n->servers); for (; serv_info != NULL; serv_info = serv_info->link) simulation.num_of_servers++; - simulation.servers = emalloc(simulation.num_of_servers * + simulation.servers = eallocarray(simulation.num_of_servers, sizeof(simulation.servers[0])); i = 0; @@ -4295,11 +4298,11 @@ free_config_sim( #ifndef SIM static void config_ntpd( - config_tree *ptree + config_tree *ptree, + int/*BOOL*/ input_from_files ) { - config_nic_rules(ptree); - io_open_sockets(); + config_nic_rules(ptree, input_from_files); config_monitor(ptree); config_auth(ptree); config_tos(ptree); @@ -4314,6 +4317,9 @@ config_ntpd( config_ttl(ptree); config_trap(ptree); config_vars(ptree); + + io_open_sockets(); + config_other_modes(ptree); config_peers(ptree); config_unpeers(ptree); @@ -4370,28 +4376,22 @@ config_remotely( sockaddr_u * remote_addr ) { - struct FILE_INFO remote_cuckoo; char origin[128]; snprintf(origin, sizeof(origin), "remote config from %s", stoa(remote_addr)); - ZERO(remote_cuckoo); - remote_cuckoo.fname = origin; - remote_cuckoo.line_no = 1; - remote_cuckoo.col_no = 1; - input_from_file = 0; - + lex_init_stack(origin, NULL); /* no checking needed... */ init_syntax_tree(&cfgt); - yyparse(&remote_cuckoo); + yyparse(); + lex_drop_stack(); + cfgt.source.attr = CONF_SOURCE_NTPQ; cfgt.timestamp = time(NULL); cfgt.source.value.s = estrdup(stoa(remote_addr)); DPRINTF(1, ("Finished Parsing!!\n")); - save_and_apply_config_tree(); - - input_from_file = 1; + save_and_apply_config_tree(FALSE); } @@ -4443,9 +4443,8 @@ getconfig( getCmdOpts(argc, argv); init_syntax_tree(&cfgt); - curr_include_level = 0; if ( - (fp[curr_include_level] = F_OPEN(FindConfig(config_file), "r")) == NULL + !lex_init_stack(FindConfig(config_file), "r") #ifdef HAVE_NETINFO /* If there is no config_file, try NetInfo. */ && check_netinfo && !(config_netinfo = get_netinfo_config()) @@ -4459,8 +4458,7 @@ getconfig( #else /* Under WinNT try alternate_config_file name, first NTP.CONF, then NTP.INI */ - if ((fp[curr_include_level] = F_OPEN(FindConfig(alt_config_file), "r")) == NULL) { - + if (!lex_init_stack(FindConfig(alt_config_file), "r")) { /* * Broadcast clients can sometimes run without * a configuration file. @@ -4480,17 +4478,15 @@ getconfig( #ifdef DEBUG yydebug = !!(debug >= 5); #endif - yyparse(fp[curr_include_level]); + yyparse(); + lex_drop_stack(); DPRINTF(1, ("Finished Parsing!!\n")); cfgt.source.attr = CONF_SOURCE_FILE; cfgt.timestamp = time(NULL); - save_and_apply_config_tree(); - - while (curr_include_level != -1) - FCLOSE(fp[curr_include_level--]); + save_and_apply_config_tree(TRUE); #ifdef HAVE_NETINFO if (config_netinfo) @@ -4500,7 +4496,7 @@ getconfig( void -save_and_apply_config_tree(void) +save_and_apply_config_tree(int/*BOOL*/ input_from_file) { config_tree *ptree; #ifndef SAVECONFIG @@ -4554,7 +4550,7 @@ save_and_apply_config_tree(void) */ #ifndef SIM - config_ntpd(ptree); + config_ntpd(ptree, input_from_file); #else config_ntpdsim(ptree); #endif @@ -4785,8 +4781,9 @@ gettokens_netinfo ( if (namelist.ni_namelist_len == 0) continue; config->val_list = - emalloc(sizeof(char*) * - (namelist.ni_namelist_len + 1)); + eallocarray( + (namelist.ni_namelist_len + 1), + sizeof(char*)); val_list = config->val_list; for (index = 0; @@ -4936,7 +4933,7 @@ ntp_rlimit( case RLIMIT_NOFILE: /* * For large systems the default file descriptor limit may - * not be enough. + * not be enough. */ DPRINTF(2, ("ntp_rlimit: NOFILE: %d %s\n", (int)(rl_value / rl_scale), rl_sstr)); @@ -4956,7 +4953,7 @@ ntp_rlimit( DPRINTF(2, ("ntp_rlimit: STACK: %d %s pages\n", (int)(rl_value / rl_scale), rl_sstr)); if (-1 == getrlimit(RLIMIT_STACK, &rl)) { - msyslog(LOG_ERR, "getrlimit() failed: %m"); + msyslog(LOG_ERR, "getrlimit(RLIMIT_STACK) failed: %m"); } else { if (rl_value > rl.rlim_max) { msyslog(LOG_WARNING, @@ -4965,9 +4962,10 @@ ntp_rlimit( (u_long)rl_value); rl_value = rl.rlim_max; } + rl.rlim_cur = rl_value; if (-1 == setrlimit(RLIMIT_STACK, &rl)) { msyslog(LOG_ERR, - "ntp_rlimit: Cannot adjust stack limit: %m"); + "ntp_rlimit: Cannot set RLIMIT_STACK: %m"); } } break; diff --git a/contrib/ntp/ntpd/ntp_control.c b/contrib/ntp/ntpd/ntp_control.c index 2a1cf22f3007..43d2b275767f 100644 --- a/contrib/ntp/ntpd/ntp_control.c +++ b/contrib/ntp/ntpd/ntp_control.c @@ -36,6 +36,7 @@ # include "ntp_syscall.h" #endif +extern size_t remoteconfig_cmdlength( const char *src_buf, const char *src_end ); #ifndef MIN #define MIN(a, b) (((a) <= (b)) ? (a) : (b)) @@ -229,7 +230,9 @@ static const struct ctl_proc control_codes[] = { #define CS_TIMER_XMTS 87 #define CS_FUZZ 88 #define CS_WANDER_THRESH 89 -#define CS_MAX_NOAUTOKEY CS_WANDER_THRESH +#define CS_LEAPSMEARINTV 90 +#define CS_LEAPSMEAROFFS 91 +#define CS_MAX_NOAUTOKEY CS_LEAPSMEAROFFS #ifdef AUTOKEY #define CS_FLAGS (1 + CS_MAX_NOAUTOKEY) #define CS_HOST (2 + CS_MAX_NOAUTOKEY) @@ -425,6 +428,10 @@ static const struct ctl_var sys_var[] = { { CS_TIMER_XMTS, RO, "timer_xmts" }, /* 87 */ { CS_FUZZ, RO, "fuzz" }, /* 88 */ { CS_WANDER_THRESH, RO, "clk_wander_threshold" }, /* 89 */ +#ifdef LEAP_SMEAR + { CS_LEAPSMEARINTV, RO, "leapsmearinterval" }, /* 90 */ + { CS_LEAPSMEAROFFS, RO, "leapsmearoffset" }, /* 91 */ +#endif /* LEAP_SMEAR */ #ifdef AUTOKEY { CS_FLAGS, RO, "flags" }, /* 1 + CS_MAX_NOAUTOKEY */ { CS_HOST, RO, "host" }, /* 2 + CS_MAX_NOAUTOKEY */ @@ -467,6 +474,8 @@ static const u_char def_sys_var[] = { CS_TAI, CS_LEAPTAB, CS_LEAPEND, + CS_LEAPSMEARINTV, + CS_LEAPSMEAROFFS, #ifdef AUTOKEY CS_HOST, CS_IDENT, @@ -1980,6 +1989,19 @@ ctl_putsys( break; } +#ifdef LEAP_SMEAR + case CS_LEAPSMEARINTV: + if (leap_smear_intv > 0) + ctl_putuint(sys_var[CS_LEAPSMEARINTV].text, leap_smear_intv); + break; + + case CS_LEAPSMEAROFFS: + if (leap_smear_intv > 0) + ctl_putdbl(sys_var[CS_LEAPSMEAROFFS].text, + leap_smear.doffset * 1e3); + break; +#endif /* LEAP_SMEAR */ + case CS_RATE: ctl_putuint(sys_var[CS_RATE].text, ntp_minpoll); break; @@ -3289,6 +3311,7 @@ write_variables( ctl_flushpkt(0); } + /* * configure() processes ntpq :config/config-from-file, allowing * generic runtime reconfiguration. @@ -3300,7 +3323,6 @@ static void configure( { size_t data_count; int retval; - int replace_nl; /* I haven't yet implemented changes to an existing association. * Hence check if the association id is 0 @@ -3326,7 +3348,7 @@ static void configure( } /* Initialize the remote config buffer */ - data_count = reqend - reqpt; + data_count = remoteconfig_cmdlength(reqpt, reqend); if (data_count > sizeof(remote_config.buffer) - 2) { snprintf(remote_config.err_msg, @@ -3340,34 +3362,41 @@ static void configure( stoa(&rbufp->recv_srcadr)); return; } - - memcpy(remote_config.buffer, reqpt, data_count); - if (data_count > 0 - && '\n' != remote_config.buffer[data_count - 1]) - remote_config.buffer[data_count++] = '\n'; - remote_config.buffer[data_count] = '\0'; - remote_config.pos = 0; - remote_config.err_pos = 0; - remote_config.no_errors = 0; - - /* do not include terminating newline in log */ - if (data_count > 0 - && '\n' == remote_config.buffer[data_count - 1]) { - remote_config.buffer[data_count - 1] = '\0'; - replace_nl = TRUE; - } else { - replace_nl = FALSE; + /* Bug 2853 -- check if all characters were acceptable */ + if (data_count != (size_t)(reqend - reqpt)) { + snprintf(remote_config.err_msg, + sizeof(remote_config.err_msg), + "runtime configuration failed: request contains an unprintable character"); + ctl_putdata(remote_config.err_msg, + strlen(remote_config.err_msg), 0); + ctl_flushpkt(0); + msyslog(LOG_NOTICE, + "runtime config from %s rejected: request contains an unprintable character: %0x", + stoa(&rbufp->recv_srcadr), + reqpt[data_count]); + return; } + memcpy(remote_config.buffer, reqpt, data_count); + /* The buffer has no trailing linefeed or NUL right now. For + * logging, we do not want a newline, so we do that first after + * adding the necessary NUL byte. + */ + remote_config.buffer[data_count] = '\0'; DPRINTF(1, ("Got Remote Configuration Command: %s\n", remote_config.buffer)); msyslog(LOG_NOTICE, "%s config: %s", stoa(&rbufp->recv_srcadr), remote_config.buffer); - if (replace_nl) - remote_config.buffer[data_count - 1] = '\n'; - + /* Now we have to make sure there is a NL/NUL sequence at the + * end of the buffer before we parse it. + */ + remote_config.buffer[data_count++] = '\n'; + remote_config.buffer[data_count] = '\0'; + remote_config.pos = 0; + remote_config.err_pos = 0; + remote_config.no_errors = 0; config_remotely(&rbufp->recv_srcadr); /* diff --git a/contrib/ntp/ntpd/ntp_crypto.c b/contrib/ntp/ntpd/ntp_crypto.c index 7a5a1008e04e..2be501d15695 100644 --- a/contrib/ntp/ntpd/ntp_crypto.c +++ b/contrib/ntp/ntpd/ntp_crypto.c @@ -316,8 +316,8 @@ make_keylist( */ tstamp = crypto_time(); if (peer->keylist == NULL) - peer->keylist = emalloc(sizeof(keyid_t) * - NTP_MAXSESSION); + peer->keylist = eallocarray(NTP_MAXSESSION, + sizeof(keyid_t)); /* * Generate an initial key ID which is unique and greater than @@ -380,16 +380,14 @@ make_keylist( EVP_SignUpdate(&ctx, (u_char *)vp, 12); EVP_SignUpdate(&ctx, vp->ptr, sizeof(struct autokey)); if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) { - vp->siglen = htonl(sign_siglen); + NTP_INSIST(len <= sign_siglen); + vp->siglen = htonl(len); peer->flags |= FLAG_ASSOC; } } -#ifdef DEBUG - if (debug) - printf("make_keys: %d %08x %08x ts %u fs %u poll %d\n", + DPRINTF(1, ("make_keys: %d %08x %08x ts %u fs %u poll %d\n", peer->keynumber, keyid, cookie, ntohl(vp->tstamp), - ntohl(vp->fstamp), peer->hpoll); -#endif + ntohl(vp->fstamp), peer->hpoll)); return (XEVNT_OK); } @@ -456,13 +454,9 @@ crypto_recv( // HMS: Why pkt[1] instead of ep->associd ? associd = (associd_t)ntohl(pkt[1]); rval = XEVNT_OK; -#ifdef DEBUG - if (debug) - printf( - "crypto_recv: flags 0x%x ext offset %d len %u code 0x%x associd %d\n", + DPRINTF(1, ("crypto_recv: flags 0x%x ext offset %d len %u code 0x%x associd %d\n", peer->crypto, authlen, len, code >> 16, - associd); -#endif + associd)); /* * Check version number and field length. If bad, @@ -538,13 +532,9 @@ crypto_recv( rval = XEVNT_LEN; break; } -#ifdef DEBUG - if (debug) - printf( - "crypto_recv: ident host 0x%x %d server 0x%x %d\n", + DPRINTF(1, ("crypto_recv: ident host 0x%x %d server 0x%x %d\n", crypto_flags, peer->associd, fstamp, - peer->assoc); -#endif + peer->assoc)); temp32 = crypto_flags & CRYPTO_FLAG_MASK; /* @@ -617,10 +607,7 @@ crypto_recv( peer->assoc, peer->subject, OBJ_nid2ln(temp32)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); break; /* @@ -678,10 +665,7 @@ crypto_recv( OBJ_nid2ln(temp32), temp32, ntohl(ep->fstamp)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); break; /* @@ -718,10 +702,7 @@ crypto_recv( snprintf(statstr, sizeof(statstr), "iff %s fs %u", peer->issuer, ntohl(ep->fstamp)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); break; /* @@ -759,10 +740,7 @@ crypto_recv( snprintf(statstr, sizeof(statstr), "gq %s fs %u", peer->issuer, ntohl(ep->fstamp)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); break; /* @@ -799,10 +777,7 @@ crypto_recv( snprintf(statstr, sizeof(statstr), "mv %s fs %u", peer->issuer, ntohl(ep->fstamp)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); break; @@ -868,10 +843,7 @@ crypto_recv( "cook %x ts %u fs %u", peer->pcookie, ntohl(ep->tstamp), ntohl(ep->fstamp)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); break; /* @@ -930,10 +902,7 @@ crypto_recv( bp->key, ntohl(ep->tstamp), ntohl(ep->fstamp)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); break; /* @@ -970,10 +939,7 @@ crypto_recv( OBJ_nid2ln(temp32), temp32, ntohl(ep->fstamp)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); break; /* @@ -988,43 +954,32 @@ crypto_recv( * compare the value timestamps here, as they * can be updated by different servers. */ - if ((rval = crypto_verify(ep, NULL, peer)) != - XEVNT_OK) + rval = crypto_verify(ep, NULL, peer); + if ((rval != XEVNT_OK ) || + (vallen != 3*sizeof(uint32_t)) ) break; - /* - * If the packet leap values are more recent - * than the stored ones, install the new leap - * values and recompute the signatures. + /* Check if we can update the basic TAI offset + * for our current leap frame. This is a hack + * and ignores the time stamps in the autokey + * message. */ - if (leapsec_add_fix(ntohl(ep->pkt[0]), - ntohl(ep->pkt[1]), - ntohl(ep->pkt[2]), - NULL)) - { - leap_signature_t lsig; - - leapsec_getsig(&lsig); - tai_leap.tstamp = ep->tstamp; - tai_leap.fstamp = ep->fstamp; - tai_leap.vallen = ep->vallen; - crypto_update(); - mprintf_event(EVNT_TAI, peer, - "%d leap %s expire %s", lsig.taiof, - fstostr(lsig.ttime), - fstostr(lsig.etime)); - } + if (sys_leap != LEAP_NOTINSYNC) + leapsec_autokey_tai(ntohl(ep->pkt[0]), + rbufp->recv_time.l_ui, NULL); + tai_leap.tstamp = ep->tstamp; + tai_leap.fstamp = ep->fstamp; + crypto_update(); + mprintf_event(EVNT_TAI, peer, + "%d seconds", ntohl(ep->pkt[0])); peer->crypto |= CRYPTO_FLAG_LEAP; peer->flash &= ~TEST8; snprintf(statstr, sizeof(statstr), - "leap TAI offset %d at %u expire %u fs %u", - ntohl(ep->pkt[0]), ntohl(ep->pkt[1]), - ntohl(ep->pkt[2]), ntohl(ep->fstamp)); + "leap TAI offset %d at %u expire %u fs %u", + ntohl(ep->pkt[0]), ntohl(ep->pkt[1]), + ntohl(ep->pkt[2]), ntohl(ep->fstamp)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); break; /* @@ -1073,10 +1028,7 @@ crypto_recv( "%04x %d %02x %s", htonl(ep->opcode), associd, rval, eventstr(rval)); record_crypto_stats(&peer->srcadr, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_recv: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_recv: %s\n", statstr)); return (rval); } authlen += (len + 3) / 4 * 4; @@ -1421,19 +1373,12 @@ crypto_xmit( "%04x %d %02x %s", opcode, associd, rval, eventstr(rval)); record_crypto_stats(srcadr_sin, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_xmit: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_xmit: %s\n", statstr)); if (!(opcode & CRYPTO_RESP)) return (0); } -#ifdef DEBUG - if (debug) - printf( - "crypto_xmit: flags 0x%x offset %d len %d code 0x%x associd %d\n", - crypto_flags, start, len, opcode >> 16, associd); -#endif + DPRINTF(1, ("crypto_xmit: flags 0x%x offset %d len %d code 0x%x associd %d\n", + crypto_flags, start, len, opcode >> 16, associd)); return (len); } @@ -1645,8 +1590,10 @@ crypto_encrypt( EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)&vp->tstamp, 12); EVP_SignUpdate(&ctx, vp->ptr, vallen); - if (EVP_SignFinal(&ctx, vp->sig, &vallen, sign_pkey)) - vp->siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, vp->sig, &vallen, sign_pkey)) { + NTP_INSIST(vallen <= sign_siglen); + vp->siglen = htonl(vallen); + } return (XEVNT_OK); } @@ -1858,7 +1805,7 @@ crypto_update(void) char statstr[NTP_MAXSTRLEN]; /* statistics for filegen */ u_int32 *ptr; u_int len; - leap_signature_t lsig; + leap_result_t leap_data; hostval.tstamp = htonl(crypto_time()); if (hostval.tstamp == 0) @@ -1877,8 +1824,10 @@ crypto_update(void) EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)&pubkey, 12); EVP_SignUpdate(&ctx, pubkey.ptr, ntohl(pubkey.vallen)); - if (EVP_SignFinal(&ctx, pubkey.sig, &len, sign_pkey)) - pubkey.siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, pubkey.sig, &len, sign_pkey)) { + NTP_INSIST(len <= sign_siglen); + pubkey.siglen = htonl(len); + } } /* @@ -1896,8 +1845,10 @@ crypto_update(void) EVP_SignUpdate(&ctx, (u_char *)&cp->cert, 12); EVP_SignUpdate(&ctx, cp->cert.ptr, ntohl(cp->cert.vallen)); - if (EVP_SignFinal(&ctx, cp->cert.sig, &len, sign_pkey)) - cp->cert.siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, cp->cert.sig, &len, sign_pkey)) { + NTP_INSIST(len <= sign_siglen); + cp->cert.siglen = htonl(len); + } } /* @@ -1906,33 +1857,86 @@ crypto_update(void) */ tai_leap.tstamp = hostval.tstamp; tai_leap.fstamp = hostval.fstamp; + + /* Get the leap second era. We might need a full lookup early + * after start, when the cache is not yet loaded. + */ + leapsec_frame(&leap_data); + if ( ! memcmp(&leap_data.ebase, &leap_data.ttime, sizeof(vint64))) { + time_t now = time(NULL); + uint32_t nowntp = (uint32_t)now + JAN_1970; + leapsec_query(&leap_data, nowntp, &now); + } + + /* Create the data block. The protocol does not work without. */ len = 3 * sizeof(u_int32); - if (tai_leap.ptr == NULL) + if (tai_leap.ptr == NULL || ntohl(tai_leap.vallen) != len) { + free(tai_leap.ptr); tai_leap.ptr = emalloc(len); - tai_leap.vallen = htonl(len); + tai_leap.vallen = htonl(len); + } ptr = (u_int32 *)tai_leap.ptr; - leapsec_getsig(&lsig); - ptr[0] = htonl(lsig.taiof); - ptr[1] = htonl(lsig.ttime); - ptr[2] = htonl(lsig.etime); + if (leap_data.tai_offs > 10) { + /* create a TAI / leap era block. The end time is a + * fake -- maybe we can do better. + */ + ptr[0] = htonl(leap_data.tai_offs); + ptr[1] = htonl(leap_data.ebase.d_s.lo); + if (leap_data.ttime.d_s.hi >= 0) + ptr[2] = htonl(leap_data.ttime.D_s.lo + 7*86400); + else + ptr[2] = htonl(leap_data.ebase.D_s.lo + 25*86400); + } else { + /* no leap era available */ + memset(ptr, 0, len); + } if (tai_leap.sig == NULL) tai_leap.sig = emalloc(sign_siglen); EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)&tai_leap, 12); EVP_SignUpdate(&ctx, tai_leap.ptr, len); - if (EVP_SignFinal(&ctx, tai_leap.sig, &len, sign_pkey)) - tai_leap.siglen = htonl(sign_siglen); - if (lsig.ttime > 0) - crypto_flags |= CRYPTO_FLAG_TAI; + if (EVP_SignFinal(&ctx, tai_leap.sig, &len, sign_pkey)) { + NTP_INSIST(len <= sign_siglen); + tai_leap.siglen = htonl(len); + } + crypto_flags |= CRYPTO_FLAG_TAI; + snprintf(statstr, sizeof(statstr), "signature update ts %u", ntohl(hostval.tstamp)); record_crypto_stats(NULL, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_update: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_update: %s\n", statstr)); } +/* + * crypto_update_taichange - eventually trigger crypto_update + * + * This is called when a change in 'sys_tai' is detected. This will + * happen shortly after a leap second is detected, but unhappily also + * early after system start; also, the crypto stuff might be unused and + * an unguarded call to crypto_update() causes a crash. + * + * This function makes sure that there already *is* a valid crypto block + * for the use with autokey, and only calls 'crypto_update()' if it can + * succeed. + * + * Returns void (no errors) + */ +void +crypto_update_taichange(void) +{ + static const u_int len = 3 * sizeof(u_int32); + + /* check if the signing digest algo is available */ + if (sign_digest == NULL || sign_pkey == NULL) + return; + + /* check size of TAI extension block */ + if (tai_leap.ptr == NULL || ntohl(tai_leap.vallen) != len) + return; + + /* crypto_update should at least not crash here! */ + crypto_update(); +} /* * value_free - free value structure components. @@ -2164,8 +2168,10 @@ crypto_alice( EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)&vp->tstamp, 12); EVP_SignUpdate(&ctx, vp->ptr, len); - if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) - vp->siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) { + NTP_INSIST(len <= sign_siglen); + vp->siglen = htonl(len); + } return (XEVNT_OK); } @@ -2272,8 +2278,10 @@ crypto_bob( EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)&vp->tstamp, 12); EVP_SignUpdate(&ctx, vp->ptr, vallen); - if (EVP_SignFinal(&ctx, vp->sig, &vallen, sign_pkey)) - vp->siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, vp->sig, &vallen, sign_pkey)) { + NTP_INSIST(vallen <= sign_siglen); + vp->siglen = htonl(vallen); + } return (XEVNT_OK); } @@ -2477,8 +2485,10 @@ crypto_alice2( EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)&vp->tstamp, 12); EVP_SignUpdate(&ctx, vp->ptr, len); - if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) - vp->siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) { + NTP_INSIST(len <= sign_siglen); + vp->siglen = htonl(len); + } return (XEVNT_OK); } @@ -2575,8 +2585,10 @@ crypto_bob2( EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)&vp->tstamp, 12); EVP_SignUpdate(&ctx, vp->ptr, len); - if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) - vp->siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) { + NTP_INSIST(len <= sign_siglen); + vp->siglen = htonl(len); + } return (XEVNT_OK); } @@ -2804,8 +2816,10 @@ crypto_alice3( EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)&vp->tstamp, 12); EVP_SignUpdate(&ctx, vp->ptr, len); - if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) - vp->siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) { + NTP_INSIST(len <= sign_siglen); + vp->siglen = htonl(len); + } return (XEVNT_OK); } @@ -2904,8 +2918,10 @@ crypto_bob3( EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)&vp->tstamp, 12); EVP_SignUpdate(&ctx, vp->ptr, len); - if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) - vp->siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) { + NTP_INSIST(len <= sign_siglen); + vp->siglen = htonl(len); + } return (XEVNT_OK); } @@ -3141,8 +3157,10 @@ cert_sign( EVP_SignInit(&ctx, sign_digest); EVP_SignUpdate(&ctx, (u_char *)vp, 12); EVP_SignUpdate(&ctx, vp->ptr, len); - if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) - vp->siglen = htonl(sign_siglen); + if (EVP_SignFinal(&ctx, vp->sig, &len, sign_pkey)) { + NTP_INSIST(len <= sign_siglen); + vp->siglen = htonl(len); + } } #ifdef DEBUG if (debug > 1) @@ -3425,11 +3443,8 @@ cert_parse( ret->flags |= CERT_TRUST; else if (strcmp(pathbuf, "Private") == 0) ret->flags |= CERT_PRIV; -#if DEBUG - if (debug) - printf("cert_parse: %s: %s\n", - OBJ_nid2ln(temp), pathbuf); -#endif + DPRINTF(1, ("cert_parse: %s: %s\n", + OBJ_nid2ln(temp), pathbuf)); break; /* @@ -3440,12 +3455,10 @@ cert_parse( ret->grpkey = BN_bin2bn(&ext->value->data[2], ext->value->length - 2, NULL); /* fall through */ -#if DEBUG default: - if (debug) - printf("cert_parse: %s\n", - OBJ_nid2ln(temp)); -#endif + DPRINTF(1, ("cert_parse: %s\n", + OBJ_nid2ln(temp))); + break; } } if (strcmp(ret->subject, ret->issuer) == 0) { @@ -3630,9 +3643,9 @@ crypto_key( snprintf(statstr, sizeof(statstr), "%s mod %d", &linkname[2], EVP_PKEY_size(pkey) * 8); record_crypto_stats(addr, statstr); + + DPRINTF(1, ("crypto_key: %s\n", statstr)); #ifdef DEBUG - if (debug) - printf("crypto_key: %s\n", statstr); if (debug > 1) { if (pkey->type == EVP_PKEY_DSA) DSA_print_fp(stdout, pkey->pkey.dsa, 0); @@ -3747,10 +3760,7 @@ crypto_cert( snprintf(statstr, sizeof(statstr), "%s 0x%x len %lu", &linkname[2], ret->flags, len); record_crypto_stats(NULL, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_cert: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_cert: %s\n", statstr)); return (ret); } @@ -3820,12 +3830,8 @@ crypto_setup(void) arc4random_buf(&seed, sizeof(l_fp)); RAND_seed(&seed, sizeof(l_fp)); RAND_write_file(randfile); -#ifdef DEBUG - if (debug) - printf( - "crypto_setup: OpenSSL version %lx random seed file %s bytes read %d\n", - SSLeay(), randfile, bytes); -#endif + DPRINTF(1, ("crypto_setup: OpenSSL version %lx random seed file %s bytes read %d\n", + SSLeay(), randfile, bytes)); } /* @@ -3954,10 +3960,7 @@ crypto_setup(void) snprintf(statstr, sizeof(statstr), "setup 0x%x host %s %s", crypto_flags, hostname, OBJ_nid2ln(cinfo->nid)); record_crypto_stats(NULL, statstr); -#ifdef DEBUG - if (debug) - printf("crypto_setup: %s\n", statstr); -#endif + DPRINTF(1, ("crypto_setup: %s\n", statstr)); } @@ -3972,10 +3975,8 @@ crypto_config( { int nid; -#ifdef DEBUG - if (debug > 1) - printf("crypto_config: item %d %s\n", item, cp); -#endif + DPRINTF(1, ("crypto_config: item %d %s\n", item, cp)); + switch (item) { /* diff --git a/contrib/ntp/ntpd/ntp_io.c b/contrib/ntp/ntpd/ntp_io.c index 43cf3b8292ba..2b5a003e0061 100644 --- a/contrib/ntp/ntpd/ntp_io.c +++ b/contrib/ntp/ntpd/ntp_io.c @@ -73,6 +73,19 @@ extern int listen_to_virtual_ips; +#ifndef IPTOS_DSCP_EF +#define IPTOS_DSCP_EF 0xb8 +#endif +int qos = IPTOS_DSCP_EF; /* QoS RFC3246 */ + +#ifdef LEAP_SMEAR +/* TODO burnicki: This should be moved to ntp_timer.c, but if we do so + * we get a linker error. Since we're running out of time before the leap + * second occurs, we let it here where it just works. + */ +int leap_smear_intv; +#endif + /* * NIC rule entry */ @@ -2018,6 +2031,32 @@ update_interfaces( if (sys_bclient) io_setbclient(); + /* + * Check multicast interfaces and try to join multicast groups if + * not joined yet. + */ + for (ep = ep_list; ep != NULL; ep = ep->elink) { + remaddr_t *entry; + + if (!(INT_MCASTIF & ep->flags) || (INT_MCASTOPEN & ep->flags)) + continue; + + /* Find remote address that was linked to this interface */ + for (entry = remoteaddr_list; + entry != NULL; + entry = entry->link) { + if (entry->ep == ep) { + if (socket_multicast_enable(ep, &entry->addr)) { + msyslog(LOG_INFO, + "Joined %s socket to multicast group %s", + stoa(&ep->sin), + stoa(&entry->addr)); + } + break; + } + } + } + return new_interface_found; } @@ -2441,12 +2480,12 @@ socket_multicast_enable( IP_ADD_MEMBERSHIP, (char *)&mreq, sizeof(mreq))) { - msyslog(LOG_ERR, + DPRINTF(2, ( "setsockopt IP_ADD_MEMBERSHIP failed: %m on socket %d, addr %s for %x / %x (%s)", iface->fd, stoa(&iface->sin), mreq.imr_multiaddr.s_addr, mreq.imr_interface.s_addr, - stoa(maddr)); + stoa(maddr))); return ISC_FALSE; } DPRINTF(4, ("Added IPv4 multicast membership on socket %d, addr %s for %x / %x (%s)\n", @@ -2471,10 +2510,10 @@ socket_multicast_enable( if (setsockopt(iface->fd, IPPROTO_IPV6, IPV6_JOIN_GROUP, (char *)&mreq6, sizeof(mreq6))) { - msyslog(LOG_ERR, + DPRINTF(2, ( "setsockopt IPV6_JOIN_GROUP failed: %m on socket %d, addr %s for interface %u (%s)", iface->fd, stoa(&iface->sin), - mreq6.ipv6mr_interface, stoa(maddr)); + mreq6.ipv6mr_interface, stoa(maddr))); return ISC_FALSE; } DPRINTF(4, ("Added IPv6 multicast group on socket %d, addr %s for interface %u (%s)\n", @@ -2776,11 +2815,6 @@ io_multicast_add( "Joined %s socket to multicast group %s", stoa(&ep->sin), stoa(addr)); - else - msyslog(LOG_ERR, - "Failed to join %s socket to multicast group %s", - stoa(&ep->sin), - stoa(addr)); } add_addr_to_list(addr, one_ep); @@ -2851,11 +2885,6 @@ open_socket( int on = 1; int off = 0; -#ifndef IPTOS_DSCP_EF -#define IPTOS_DSCP_EF 0xb8 -#endif - int qos = IPTOS_DSCP_EF; /* QoS RFC3246 */ - if (IS_IPV6(addr) && !ipv6_works) return INVALID_SOCKET; @@ -3585,7 +3614,7 @@ io_handler(void) else if (debug > 4) { msyslog(LOG_DEBUG, "select(): nfound=%d, error: %m", nfound); } else { - DPRINTF(1, ("select() returned %d: %m\n", nfound)); + DPRINTF(3, ("select() returned %d: %m\n", nfound)); } # endif /* DEBUG */ # else /* HAVE_SIGNALED_IO */ diff --git a/contrib/ntp/ntpd/ntp_keyword.h b/contrib/ntp/ntpd/ntp_keyword.h index 723793636b7e..0a593f69dd21 100644 --- a/contrib/ntp/ntpd/ntp_keyword.h +++ b/contrib/ntp/ntpd/ntp_keyword.h @@ -2,7 +2,7 @@ * ntp_keyword.h * * NOTE: edit this file with caution, it is generated by keyword-gen.c - * Generated 2015-03-16 09:05:44 UTC diff_ignore_line + * Generated 2015-06-25 03:57:00 UTC diff_ignore_line * */ #include "ntp_scanner.h" @@ -10,7 +10,7 @@ #define LOWEST_KEYWORD_ID 258 -const char * const keyword_text[189] = { +const char * const keyword_text[191] = { /* 0 258 T_Abbrev */ "abbrev", /* 1 259 T_Age */ "age", /* 2 260 T_All */ "all", @@ -43,173 +43,175 @@ const char * const keyword_text[189] = { /* 29 287 T_Double */ NULL, /* 30 288 T_Driftfile */ "driftfile", /* 31 289 T_Drop */ "drop", - /* 32 290 T_Ellipsis */ "...", - /* 33 291 T_Enable */ "enable", - /* 34 292 T_End */ "end", - /* 35 293 T_False */ NULL, - /* 36 294 T_File */ "file", - /* 37 295 T_Filegen */ "filegen", - /* 38 296 T_Filenum */ "filenum", - /* 39 297 T_Flag1 */ "flag1", - /* 40 298 T_Flag2 */ "flag2", - /* 41 299 T_Flag3 */ "flag3", - /* 42 300 T_Flag4 */ "flag4", - /* 43 301 T_Flake */ "flake", - /* 44 302 T_Floor */ "floor", - /* 45 303 T_Freq */ "freq", - /* 46 304 T_Fudge */ "fudge", - /* 47 305 T_Host */ "host", - /* 48 306 T_Huffpuff */ "huffpuff", - /* 49 307 T_Iburst */ "iburst", - /* 50 308 T_Ident */ "ident", - /* 51 309 T_Ignore */ "ignore", - /* 52 310 T_Incalloc */ "incalloc", - /* 53 311 T_Incmem */ "incmem", - /* 54 312 T_Initalloc */ "initalloc", - /* 55 313 T_Initmem */ "initmem", - /* 56 314 T_Includefile */ "includefile", - /* 57 315 T_Integer */ NULL, - /* 58 316 T_Interface */ "interface", - /* 59 317 T_Intrange */ NULL, - /* 60 318 T_Io */ "io", - /* 61 319 T_Ipv4 */ "ipv4", - /* 62 320 T_Ipv4_flag */ "-4", - /* 63 321 T_Ipv6 */ "ipv6", - /* 64 322 T_Ipv6_flag */ "-6", - /* 65 323 T_Kernel */ "kernel", - /* 66 324 T_Key */ "key", - /* 67 325 T_Keys */ "keys", - /* 68 326 T_Keysdir */ "keysdir", - /* 69 327 T_Kod */ "kod", - /* 70 328 T_Mssntp */ "mssntp", - /* 71 329 T_Leapfile */ "leapfile", - /* 72 330 T_Limited */ "limited", - /* 73 331 T_Link */ "link", - /* 74 332 T_Listen */ "listen", - /* 75 333 T_Logconfig */ "logconfig", - /* 76 334 T_Logfile */ "logfile", - /* 77 335 T_Loopstats */ "loopstats", - /* 78 336 T_Lowpriotrap */ "lowpriotrap", - /* 79 337 T_Manycastclient */ "manycastclient", - /* 80 338 T_Manycastserver */ "manycastserver", - /* 81 339 T_Mask */ "mask", - /* 82 340 T_Maxage */ "maxage", - /* 83 341 T_Maxclock */ "maxclock", - /* 84 342 T_Maxdepth */ "maxdepth", - /* 85 343 T_Maxdist */ "maxdist", - /* 86 344 T_Maxmem */ "maxmem", - /* 87 345 T_Maxpoll */ "maxpoll", - /* 88 346 T_Mdnstries */ "mdnstries", - /* 89 347 T_Mem */ "mem", - /* 90 348 T_Memlock */ "memlock", - /* 91 349 T_Minclock */ "minclock", - /* 92 350 T_Mindepth */ "mindepth", - /* 93 351 T_Mindist */ "mindist", - /* 94 352 T_Minimum */ "minimum", - /* 95 353 T_Minpoll */ "minpoll", - /* 96 354 T_Minsane */ "minsane", - /* 97 355 T_Mode */ "mode", - /* 98 356 T_Mode7 */ "mode7", - /* 99 357 T_Monitor */ "monitor", - /* 100 358 T_Month */ "month", - /* 101 359 T_Mru */ "mru", - /* 102 360 T_Multicastclient */ "multicastclient", - /* 103 361 T_Nic */ "nic", - /* 104 362 T_Nolink */ "nolink", - /* 105 363 T_Nomodify */ "nomodify", - /* 106 364 T_Nomrulist */ "nomrulist", - /* 107 365 T_None */ "none", - /* 108 366 T_Nonvolatile */ "nonvolatile", - /* 109 367 T_Nopeer */ "nopeer", - /* 110 368 T_Noquery */ "noquery", - /* 111 369 T_Noselect */ "noselect", - /* 112 370 T_Noserve */ "noserve", - /* 113 371 T_Notrap */ "notrap", - /* 114 372 T_Notrust */ "notrust", - /* 115 373 T_Ntp */ "ntp", - /* 116 374 T_Ntpport */ "ntpport", - /* 117 375 T_NtpSignDsocket */ "ntpsigndsocket", - /* 118 376 T_Orphan */ "orphan", - /* 119 377 T_Orphanwait */ "orphanwait", - /* 120 378 T_Panic */ "panic", - /* 121 379 T_Peer */ "peer", - /* 122 380 T_Peerstats */ "peerstats", - /* 123 381 T_Phone */ "phone", - /* 124 382 T_Pid */ "pid", - /* 125 383 T_Pidfile */ "pidfile", - /* 126 384 T_Pool */ "pool", - /* 127 385 T_Port */ "port", - /* 128 386 T_Preempt */ "preempt", - /* 129 387 T_Prefer */ "prefer", - /* 130 388 T_Protostats */ "protostats", - /* 131 389 T_Pw */ "pw", - /* 132 390 T_Randfile */ "randfile", - /* 133 391 T_Rawstats */ "rawstats", - /* 134 392 T_Refid */ "refid", - /* 135 393 T_Requestkey */ "requestkey", - /* 136 394 T_Reset */ "reset", - /* 137 395 T_Restrict */ "restrict", - /* 138 396 T_Revoke */ "revoke", - /* 139 397 T_Rlimit */ "rlimit", - /* 140 398 T_Saveconfigdir */ "saveconfigdir", - /* 141 399 T_Server */ "server", - /* 142 400 T_Setvar */ "setvar", - /* 143 401 T_Source */ "source", - /* 144 402 T_Stacksize */ "stacksize", - /* 145 403 T_Statistics */ "statistics", - /* 146 404 T_Stats */ "stats", - /* 147 405 T_Statsdir */ "statsdir", - /* 148 406 T_Step */ "step", - /* 149 407 T_Stepback */ "stepback", - /* 150 408 T_Stepfwd */ "stepfwd", - /* 151 409 T_Stepout */ "stepout", - /* 152 410 T_Stratum */ "stratum", - /* 153 411 T_String */ NULL, - /* 154 412 T_Sys */ "sys", - /* 155 413 T_Sysstats */ "sysstats", - /* 156 414 T_Tick */ "tick", - /* 157 415 T_Time1 */ "time1", - /* 158 416 T_Time2 */ "time2", - /* 159 417 T_Timer */ "timer", - /* 160 418 T_Timingstats */ "timingstats", - /* 161 419 T_Tinker */ "tinker", - /* 162 420 T_Tos */ "tos", - /* 163 421 T_Trap */ "trap", - /* 164 422 T_True */ "true", - /* 165 423 T_Trustedkey */ "trustedkey", - /* 166 424 T_Ttl */ "ttl", - /* 167 425 T_Type */ "type", - /* 168 426 T_U_int */ NULL, - /* 169 427 T_Unconfig */ "unconfig", - /* 170 428 T_Unpeer */ "unpeer", - /* 171 429 T_Version */ "version", - /* 172 430 T_WanderThreshold */ NULL, - /* 173 431 T_Week */ "week", - /* 174 432 T_Wildcard */ "wildcard", - /* 175 433 T_Xleave */ "xleave", - /* 176 434 T_Year */ "year", - /* 177 435 T_Flag */ NULL, - /* 178 436 T_EOC */ NULL, - /* 179 437 T_Simulate */ "simulate", - /* 180 438 T_Beep_Delay */ "beep_delay", - /* 181 439 T_Sim_Duration */ "simulation_duration", - /* 182 440 T_Server_Offset */ "server_offset", - /* 183 441 T_Duration */ "duration", - /* 184 442 T_Freq_Offset */ "freq_offset", - /* 185 443 T_Wander */ "wander", - /* 186 444 T_Jitter */ "jitter", - /* 187 445 T_Prop_Delay */ "prop_delay", - /* 188 446 T_Proc_Delay */ "proc_delay" + /* 32 290 T_Dscp */ "dscp", + /* 33 291 T_Ellipsis */ "...", + /* 34 292 T_Enable */ "enable", + /* 35 293 T_End */ "end", + /* 36 294 T_False */ NULL, + /* 37 295 T_File */ "file", + /* 38 296 T_Filegen */ "filegen", + /* 39 297 T_Filenum */ "filenum", + /* 40 298 T_Flag1 */ "flag1", + /* 41 299 T_Flag2 */ "flag2", + /* 42 300 T_Flag3 */ "flag3", + /* 43 301 T_Flag4 */ "flag4", + /* 44 302 T_Flake */ "flake", + /* 45 303 T_Floor */ "floor", + /* 46 304 T_Freq */ "freq", + /* 47 305 T_Fudge */ "fudge", + /* 48 306 T_Host */ "host", + /* 49 307 T_Huffpuff */ "huffpuff", + /* 50 308 T_Iburst */ "iburst", + /* 51 309 T_Ident */ "ident", + /* 52 310 T_Ignore */ "ignore", + /* 53 311 T_Incalloc */ "incalloc", + /* 54 312 T_Incmem */ "incmem", + /* 55 313 T_Initalloc */ "initalloc", + /* 56 314 T_Initmem */ "initmem", + /* 57 315 T_Includefile */ "includefile", + /* 58 316 T_Integer */ NULL, + /* 59 317 T_Interface */ "interface", + /* 60 318 T_Intrange */ NULL, + /* 61 319 T_Io */ "io", + /* 62 320 T_Ipv4 */ "ipv4", + /* 63 321 T_Ipv4_flag */ "-4", + /* 64 322 T_Ipv6 */ "ipv6", + /* 65 323 T_Ipv6_flag */ "-6", + /* 66 324 T_Kernel */ "kernel", + /* 67 325 T_Key */ "key", + /* 68 326 T_Keys */ "keys", + /* 69 327 T_Keysdir */ "keysdir", + /* 70 328 T_Kod */ "kod", + /* 71 329 T_Mssntp */ "mssntp", + /* 72 330 T_Leapfile */ "leapfile", + /* 73 331 T_Leapsmearinterval */ "leapsmearinterval", + /* 74 332 T_Limited */ "limited", + /* 75 333 T_Link */ "link", + /* 76 334 T_Listen */ "listen", + /* 77 335 T_Logconfig */ "logconfig", + /* 78 336 T_Logfile */ "logfile", + /* 79 337 T_Loopstats */ "loopstats", + /* 80 338 T_Lowpriotrap */ "lowpriotrap", + /* 81 339 T_Manycastclient */ "manycastclient", + /* 82 340 T_Manycastserver */ "manycastserver", + /* 83 341 T_Mask */ "mask", + /* 84 342 T_Maxage */ "maxage", + /* 85 343 T_Maxclock */ "maxclock", + /* 86 344 T_Maxdepth */ "maxdepth", + /* 87 345 T_Maxdist */ "maxdist", + /* 88 346 T_Maxmem */ "maxmem", + /* 89 347 T_Maxpoll */ "maxpoll", + /* 90 348 T_Mdnstries */ "mdnstries", + /* 91 349 T_Mem */ "mem", + /* 92 350 T_Memlock */ "memlock", + /* 93 351 T_Minclock */ "minclock", + /* 94 352 T_Mindepth */ "mindepth", + /* 95 353 T_Mindist */ "mindist", + /* 96 354 T_Minimum */ "minimum", + /* 97 355 T_Minpoll */ "minpoll", + /* 98 356 T_Minsane */ "minsane", + /* 99 357 T_Mode */ "mode", + /* 100 358 T_Mode7 */ "mode7", + /* 101 359 T_Monitor */ "monitor", + /* 102 360 T_Month */ "month", + /* 103 361 T_Mru */ "mru", + /* 104 362 T_Multicastclient */ "multicastclient", + /* 105 363 T_Nic */ "nic", + /* 106 364 T_Nolink */ "nolink", + /* 107 365 T_Nomodify */ "nomodify", + /* 108 366 T_Nomrulist */ "nomrulist", + /* 109 367 T_None */ "none", + /* 110 368 T_Nonvolatile */ "nonvolatile", + /* 111 369 T_Nopeer */ "nopeer", + /* 112 370 T_Noquery */ "noquery", + /* 113 371 T_Noselect */ "noselect", + /* 114 372 T_Noserve */ "noserve", + /* 115 373 T_Notrap */ "notrap", + /* 116 374 T_Notrust */ "notrust", + /* 117 375 T_Ntp */ "ntp", + /* 118 376 T_Ntpport */ "ntpport", + /* 119 377 T_NtpSignDsocket */ "ntpsigndsocket", + /* 120 378 T_Orphan */ "orphan", + /* 121 379 T_Orphanwait */ "orphanwait", + /* 122 380 T_Panic */ "panic", + /* 123 381 T_Peer */ "peer", + /* 124 382 T_Peerstats */ "peerstats", + /* 125 383 T_Phone */ "phone", + /* 126 384 T_Pid */ "pid", + /* 127 385 T_Pidfile */ "pidfile", + /* 128 386 T_Pool */ "pool", + /* 129 387 T_Port */ "port", + /* 130 388 T_Preempt */ "preempt", + /* 131 389 T_Prefer */ "prefer", + /* 132 390 T_Protostats */ "protostats", + /* 133 391 T_Pw */ "pw", + /* 134 392 T_Randfile */ "randfile", + /* 135 393 T_Rawstats */ "rawstats", + /* 136 394 T_Refid */ "refid", + /* 137 395 T_Requestkey */ "requestkey", + /* 138 396 T_Reset */ "reset", + /* 139 397 T_Restrict */ "restrict", + /* 140 398 T_Revoke */ "revoke", + /* 141 399 T_Rlimit */ "rlimit", + /* 142 400 T_Saveconfigdir */ "saveconfigdir", + /* 143 401 T_Server */ "server", + /* 144 402 T_Setvar */ "setvar", + /* 145 403 T_Source */ "source", + /* 146 404 T_Stacksize */ "stacksize", + /* 147 405 T_Statistics */ "statistics", + /* 148 406 T_Stats */ "stats", + /* 149 407 T_Statsdir */ "statsdir", + /* 150 408 T_Step */ "step", + /* 151 409 T_Stepback */ "stepback", + /* 152 410 T_Stepfwd */ "stepfwd", + /* 153 411 T_Stepout */ "stepout", + /* 154 412 T_Stratum */ "stratum", + /* 155 413 T_String */ NULL, + /* 156 414 T_Sys */ "sys", + /* 157 415 T_Sysstats */ "sysstats", + /* 158 416 T_Tick */ "tick", + /* 159 417 T_Time1 */ "time1", + /* 160 418 T_Time2 */ "time2", + /* 161 419 T_Timer */ "timer", + /* 162 420 T_Timingstats */ "timingstats", + /* 163 421 T_Tinker */ "tinker", + /* 164 422 T_Tos */ "tos", + /* 165 423 T_Trap */ "trap", + /* 166 424 T_True */ "true", + /* 167 425 T_Trustedkey */ "trustedkey", + /* 168 426 T_Ttl */ "ttl", + /* 169 427 T_Type */ "type", + /* 170 428 T_U_int */ NULL, + /* 171 429 T_Unconfig */ "unconfig", + /* 172 430 T_Unpeer */ "unpeer", + /* 173 431 T_Version */ "version", + /* 174 432 T_WanderThreshold */ NULL, + /* 175 433 T_Week */ "week", + /* 176 434 T_Wildcard */ "wildcard", + /* 177 435 T_Xleave */ "xleave", + /* 178 436 T_Year */ "year", + /* 179 437 T_Flag */ NULL, + /* 180 438 T_EOC */ NULL, + /* 181 439 T_Simulate */ "simulate", + /* 182 440 T_Beep_Delay */ "beep_delay", + /* 183 441 T_Sim_Duration */ "simulation_duration", + /* 184 442 T_Server_Offset */ "server_offset", + /* 185 443 T_Duration */ "duration", + /* 186 444 T_Freq_Offset */ "freq_offset", + /* 187 445 T_Wander */ "wander", + /* 188 446 T_Jitter */ "jitter", + /* 189 447 T_Prop_Delay */ "prop_delay", + /* 190 448 T_Proc_Delay */ "proc_delay" }; -#define SCANNER_INIT_S 837 +#define SCANNER_INIT_S 853 -const scan_state sst[840] = { +const scan_state sst[856] = { /*SS_T( ch, f-by, match, other ), */ 0, /* 0 */ - S_ST( '-', 3, 322, 0 ), /* 1 */ + S_ST( '-', 3, 323, 0 ), /* 1 */ S_ST( '.', 3, 3, 1 ), /* 2 */ - S_ST( '.', 3, 290, 0 ), /* 3 . */ + S_ST( '.', 3, 291, 0 ), /* 3 . */ S_ST( 'a', 3, 23, 2 ), /* 4 */ S_ST( 'b', 3, 6, 0 ), /* 5 a */ S_ST( 'b', 3, 7, 0 ), /* 6 ab */ @@ -250,7 +252,7 @@ const scan_state sst[840] = { S_ST( 'd', 3, 42, 0 ), /* 41 beep_ */ S_ST( 'e', 3, 43, 0 ), /* 42 beep_d */ S_ST( 'l', 3, 44, 0 ), /* 43 beep_de */ - S_ST( 'a', 3, 438, 0 ), /* 44 beep_del */ + S_ST( 'a', 3, 440, 0 ), /* 44 beep_del */ S_ST( 'r', 3, 46, 34 ), /* 45 b */ S_ST( 'o', 3, 47, 0 ), /* 46 br */ S_ST( 'a', 3, 48, 0 ), /* 47 bro */ @@ -311,7 +313,7 @@ const scan_state sst[840] = { S_ST( 'a', 3, 103, 0 ), /* 102 cryptost */ S_ST( 't', 3, 279, 0 ), /* 103 cryptosta */ S_ST( 't', 3, 280, 96 ), /* 104 c */ - S_ST( 'd', 3, 137, 64 ), /* 105 */ + S_ST( 'd', 3, 139, 64 ), /* 105 */ S_ST( 'a', 3, 281, 0 ), /* 106 d */ S_ST( 'e', 3, 108, 106 ), /* 107 d */ S_ST( 'f', 3, 109, 0 ), /* 108 de */ @@ -343,127 +345,127 @@ const scan_state sst[840] = { S_ST( 'i', 3, 135, 0 ), /* 134 driftf */ S_ST( 'l', 3, 288, 0 ), /* 135 driftfi */ S_ST( 'o', 3, 289, 130 ), /* 136 dr */ - S_ST( 'u', 3, 138, 129 ), /* 137 d */ - S_ST( 'r', 3, 139, 0 ), /* 138 du */ - S_ST( 'a', 3, 140, 0 ), /* 139 dur */ - S_ST( 't', 3, 141, 0 ), /* 140 dura */ - S_ST( 'i', 3, 142, 0 ), /* 141 durat */ - S_ST( 'o', 3, 441, 0 ), /* 142 durati */ - S_ST( 'e', 3, 144, 105 ), /* 143 */ - S_ST( 'n', 3, 292, 0 ), /* 144 e */ - S_ST( 'a', 3, 146, 0 ), /* 145 en */ - S_ST( 'b', 3, 147, 0 ), /* 146 ena */ - S_ST( 'l', 3, 291, 0 ), /* 147 enab */ - S_ST( 'f', 3, 169, 143 ), /* 148 */ - S_ST( 'i', 3, 150, 0 ), /* 149 f */ - S_ST( 'l', 3, 294, 0 ), /* 150 fi */ - S_ST( 'g', 3, 152, 0 ), /* 151 file */ - S_ST( 'e', 3, 295, 0 ), /* 152 fileg */ - S_ST( 'n', 3, 154, 151 ), /* 153 file */ - S_ST( 'u', 3, 296, 0 ), /* 154 filen */ - S_ST( 'l', 3, 159, 149 ), /* 155 f */ - S_ST( 'a', 3, 158, 0 ), /* 156 fl */ - S_ST( 'g', 3, 300, 0 ), /* 157 fla */ - S_ST( 'k', 3, 301, 157 ), /* 158 fla */ - S_ST( 'o', 3, 160, 156 ), /* 159 fl */ - S_ST( 'o', 3, 302, 0 ), /* 160 flo */ - S_ST( 'r', 3, 162, 155 ), /* 161 f */ - S_ST( 'e', 3, 303, 0 ), /* 162 fr */ - S_ST( '_', 3, 164, 0 ), /* 163 freq */ - S_ST( 'o', 3, 165, 0 ), /* 164 freq_ */ - S_ST( 'f', 3, 166, 0 ), /* 165 freq_o */ - S_ST( 'f', 3, 167, 0 ), /* 166 freq_of */ - S_ST( 's', 3, 168, 0 ), /* 167 freq_off */ - S_ST( 'e', 3, 442, 0 ), /* 168 freq_offs */ - S_ST( 'u', 3, 170, 161 ), /* 169 f */ - S_ST( 'd', 3, 171, 0 ), /* 170 fu */ - S_ST( 'g', 3, 304, 0 ), /* 171 fud */ - S_ST( 'h', 3, 175, 148 ), /* 172 */ - S_ST( 'o', 3, 174, 0 ), /* 173 h */ - S_ST( 's', 3, 305, 0 ), /* 174 ho */ - S_ST( 'u', 3, 176, 173 ), /* 175 h */ - S_ST( 'f', 3, 177, 0 ), /* 176 hu */ - S_ST( 'f', 3, 178, 0 ), /* 177 huf */ - S_ST( 'p', 3, 179, 0 ), /* 178 huff */ - S_ST( 'u', 3, 180, 0 ), /* 179 huffp */ - S_ST( 'f', 3, 306, 0 ), /* 180 huffpu */ - S_ST( 'i', 3, 222, 172 ), /* 181 */ - S_ST( 'b', 3, 183, 0 ), /* 182 i */ - S_ST( 'u', 3, 184, 0 ), /* 183 ib */ - S_ST( 'r', 3, 185, 0 ), /* 184 ibu */ - S_ST( 's', 3, 307, 0 ), /* 185 ibur */ - S_ST( 'd', 3, 187, 182 ), /* 186 i */ - S_ST( 'e', 3, 188, 0 ), /* 187 id */ - S_ST( 'n', 3, 308, 0 ), /* 188 ide */ - S_ST( 'g', 3, 190, 186 ), /* 189 i */ - S_ST( 'n', 3, 191, 0 ), /* 190 ig */ - S_ST( 'o', 3, 192, 0 ), /* 191 ign */ - S_ST( 'r', 3, 309, 0 ), /* 192 igno */ - S_ST( 'n', 3, 216, 189 ), /* 193 i */ - S_ST( 'c', 3, 206, 0 ), /* 194 in */ - S_ST( 'a', 3, 196, 0 ), /* 195 inc */ - S_ST( 'l', 3, 197, 0 ), /* 196 inca */ - S_ST( 'l', 3, 198, 0 ), /* 197 incal */ - S_ST( 'o', 3, 310, 0 ), /* 198 incall */ - S_ST( 'l', 3, 200, 195 ), /* 199 inc */ - S_ST( 'u', 3, 201, 0 ), /* 200 incl */ - S_ST( 'd', 3, 202, 0 ), /* 201 inclu */ - S_ST( 'e', 3, 203, 0 ), /* 202 includ */ - S_ST( 'f', 3, 204, 0 ), /* 203 include */ - S_ST( 'i', 3, 205, 0 ), /* 204 includef */ - S_ST( 'l', 3, 314, 0 ), /* 205 includefi */ - S_ST( 'm', 3, 207, 199 ), /* 206 inc */ - S_ST( 'e', 3, 311, 0 ), /* 207 incm */ - S_ST( 'i', 3, 209, 194 ), /* 208 in */ - S_ST( 't', 3, 214, 0 ), /* 209 ini */ - S_ST( 'a', 3, 211, 0 ), /* 210 init */ - S_ST( 'l', 3, 212, 0 ), /* 211 inita */ - S_ST( 'l', 3, 213, 0 ), /* 212 inital */ - S_ST( 'o', 3, 312, 0 ), /* 213 initall */ - S_ST( 'm', 3, 215, 210 ), /* 214 init */ - S_ST( 'e', 3, 313, 0 ), /* 215 initm */ - S_ST( 't', 3, 217, 208 ), /* 216 in */ - S_ST( 'e', 3, 218, 0 ), /* 217 int */ - S_ST( 'r', 3, 219, 0 ), /* 218 inte */ - S_ST( 'f', 3, 220, 0 ), /* 219 inter */ - S_ST( 'a', 3, 221, 0 ), /* 220 interf */ - S_ST( 'c', 3, 316, 0 ), /* 221 interfa */ - S_ST( 'p', 3, 223, 318 ), /* 222 i */ - S_ST( 'v', 3, 321, 0 ), /* 223 ip */ - S_ST( 'j', 3, 225, 181 ), /* 224 */ - S_ST( 'i', 3, 226, 0 ), /* 225 j */ - S_ST( 't', 3, 227, 0 ), /* 226 ji */ - S_ST( 't', 3, 228, 0 ), /* 227 jit */ - S_ST( 'e', 3, 444, 0 ), /* 228 jitt */ - S_ST( 'k', 3, 236, 224 ), /* 229 */ - S_ST( 'e', 3, 324, 0 ), /* 230 k */ - S_ST( 'r', 3, 232, 0 ), /* 231 ke */ - S_ST( 'n', 3, 233, 0 ), /* 232 ker */ - S_ST( 'e', 3, 323, 0 ), /* 233 kern */ - S_ST( 'd', 3, 235, 0 ), /* 234 keys */ - S_ST( 'i', 3, 326, 0 ), /* 235 keysd */ - S_ST( 'o', 3, 327, 230 ), /* 236 k */ - S_ST( 'l', 3, 253, 229 ), /* 237 */ - S_ST( 'e', 3, 239, 0 ), /* 238 l */ - S_ST( 'a', 3, 240, 0 ), /* 239 le */ - S_ST( 'p', 3, 241, 0 ), /* 240 lea */ - S_ST( 'f', 3, 242, 0 ), /* 241 leap */ - S_ST( 'i', 3, 243, 0 ), /* 242 leapf */ - S_ST( 'l', 3, 329, 0 ), /* 243 leapfi */ - S_ST( 'i', 3, 250, 238 ), /* 244 l */ - S_ST( 'm', 3, 246, 0 ), /* 245 li */ - S_ST( 'i', 3, 247, 0 ), /* 246 lim */ - S_ST( 't', 3, 248, 0 ), /* 247 limi */ - S_ST( 'e', 3, 330, 0 ), /* 248 limit */ - S_ST( 'n', 3, 331, 245 ), /* 249 li */ - S_ST( 's', 3, 251, 249 ), /* 250 li */ - S_ST( 't', 3, 252, 0 ), /* 251 lis */ - S_ST( 'e', 3, 332, 0 ), /* 252 list */ - S_ST( 'o', 3, 449, 244 ), /* 253 l */ - S_ST( 'g', 3, 315, 0 ), /* 254 lo */ - S_ST( 'c', 3, 256, 0 ), /* 255 log */ - S_ST( 'o', 3, 257, 0 ), /* 256 logc */ - S_ST( 'n', 3, 287, 0 ), /* 257 logco */ + S_ST( 's', 3, 138, 129 ), /* 137 d */ + S_ST( 'c', 3, 290, 0 ), /* 138 ds */ + S_ST( 'u', 3, 140, 137 ), /* 139 d */ + S_ST( 'r', 3, 141, 0 ), /* 140 du */ + S_ST( 'a', 3, 142, 0 ), /* 141 dur */ + S_ST( 't', 3, 143, 0 ), /* 142 dura */ + S_ST( 'i', 3, 144, 0 ), /* 143 durat */ + S_ST( 'o', 3, 443, 0 ), /* 144 durati */ + S_ST( 'e', 3, 146, 105 ), /* 145 */ + S_ST( 'n', 3, 293, 0 ), /* 146 e */ + S_ST( 'a', 3, 148, 0 ), /* 147 en */ + S_ST( 'b', 3, 149, 0 ), /* 148 ena */ + S_ST( 'l', 3, 292, 0 ), /* 149 enab */ + S_ST( 'f', 3, 171, 145 ), /* 150 */ + S_ST( 'i', 3, 152, 0 ), /* 151 f */ + S_ST( 'l', 3, 295, 0 ), /* 152 fi */ + S_ST( 'g', 3, 154, 0 ), /* 153 file */ + S_ST( 'e', 3, 296, 0 ), /* 154 fileg */ + S_ST( 'n', 3, 156, 153 ), /* 155 file */ + S_ST( 'u', 3, 297, 0 ), /* 156 filen */ + S_ST( 'l', 3, 161, 151 ), /* 157 f */ + S_ST( 'a', 3, 160, 0 ), /* 158 fl */ + S_ST( 'g', 3, 301, 0 ), /* 159 fla */ + S_ST( 'k', 3, 302, 159 ), /* 160 fla */ + S_ST( 'o', 3, 162, 158 ), /* 161 fl */ + S_ST( 'o', 3, 303, 0 ), /* 162 flo */ + S_ST( 'r', 3, 164, 157 ), /* 163 f */ + S_ST( 'e', 3, 304, 0 ), /* 164 fr */ + S_ST( '_', 3, 166, 0 ), /* 165 freq */ + S_ST( 'o', 3, 167, 0 ), /* 166 freq_ */ + S_ST( 'f', 3, 168, 0 ), /* 167 freq_o */ + S_ST( 'f', 3, 169, 0 ), /* 168 freq_of */ + S_ST( 's', 3, 170, 0 ), /* 169 freq_off */ + S_ST( 'e', 3, 444, 0 ), /* 170 freq_offs */ + S_ST( 'u', 3, 172, 163 ), /* 171 f */ + S_ST( 'd', 3, 173, 0 ), /* 172 fu */ + S_ST( 'g', 3, 305, 0 ), /* 173 fud */ + S_ST( 'h', 3, 177, 150 ), /* 174 */ + S_ST( 'o', 3, 176, 0 ), /* 175 h */ + S_ST( 's', 3, 306, 0 ), /* 176 ho */ + S_ST( 'u', 3, 178, 175 ), /* 177 h */ + S_ST( 'f', 3, 179, 0 ), /* 178 hu */ + S_ST( 'f', 3, 180, 0 ), /* 179 huf */ + S_ST( 'p', 3, 181, 0 ), /* 180 huff */ + S_ST( 'u', 3, 182, 0 ), /* 181 huffp */ + S_ST( 'f', 3, 307, 0 ), /* 182 huffpu */ + S_ST( 'i', 3, 224, 174 ), /* 183 */ + S_ST( 'b', 3, 185, 0 ), /* 184 i */ + S_ST( 'u', 3, 186, 0 ), /* 185 ib */ + S_ST( 'r', 3, 187, 0 ), /* 186 ibu */ + S_ST( 's', 3, 308, 0 ), /* 187 ibur */ + S_ST( 'd', 3, 189, 184 ), /* 188 i */ + S_ST( 'e', 3, 190, 0 ), /* 189 id */ + S_ST( 'n', 3, 309, 0 ), /* 190 ide */ + S_ST( 'g', 3, 192, 188 ), /* 191 i */ + S_ST( 'n', 3, 193, 0 ), /* 192 ig */ + S_ST( 'o', 3, 194, 0 ), /* 193 ign */ + S_ST( 'r', 3, 310, 0 ), /* 194 igno */ + S_ST( 'n', 3, 218, 191 ), /* 195 i */ + S_ST( 'c', 3, 208, 0 ), /* 196 in */ + S_ST( 'a', 3, 198, 0 ), /* 197 inc */ + S_ST( 'l', 3, 199, 0 ), /* 198 inca */ + S_ST( 'l', 3, 200, 0 ), /* 199 incal */ + S_ST( 'o', 3, 311, 0 ), /* 200 incall */ + S_ST( 'l', 3, 202, 197 ), /* 201 inc */ + S_ST( 'u', 3, 203, 0 ), /* 202 incl */ + S_ST( 'd', 3, 204, 0 ), /* 203 inclu */ + S_ST( 'e', 3, 205, 0 ), /* 204 includ */ + S_ST( 'f', 3, 206, 0 ), /* 205 include */ + S_ST( 'i', 3, 207, 0 ), /* 206 includef */ + S_ST( 'l', 3, 315, 0 ), /* 207 includefi */ + S_ST( 'm', 3, 209, 201 ), /* 208 inc */ + S_ST( 'e', 3, 312, 0 ), /* 209 incm */ + S_ST( 'i', 3, 211, 196 ), /* 210 in */ + S_ST( 't', 3, 216, 0 ), /* 211 ini */ + S_ST( 'a', 3, 213, 0 ), /* 212 init */ + S_ST( 'l', 3, 214, 0 ), /* 213 inita */ + S_ST( 'l', 3, 215, 0 ), /* 214 inital */ + S_ST( 'o', 3, 313, 0 ), /* 215 initall */ + S_ST( 'm', 3, 217, 212 ), /* 216 init */ + S_ST( 'e', 3, 314, 0 ), /* 217 initm */ + S_ST( 't', 3, 219, 210 ), /* 218 in */ + S_ST( 'e', 3, 220, 0 ), /* 219 int */ + S_ST( 'r', 3, 221, 0 ), /* 220 inte */ + S_ST( 'f', 3, 222, 0 ), /* 221 inter */ + S_ST( 'a', 3, 223, 0 ), /* 222 interf */ + S_ST( 'c', 3, 317, 0 ), /* 223 interfa */ + S_ST( 'p', 3, 225, 319 ), /* 224 i */ + S_ST( 'v', 3, 322, 0 ), /* 225 ip */ + S_ST( 'j', 3, 227, 183 ), /* 226 */ + S_ST( 'i', 3, 228, 0 ), /* 227 j */ + S_ST( 't', 3, 229, 0 ), /* 228 ji */ + S_ST( 't', 3, 230, 0 ), /* 229 jit */ + S_ST( 'e', 3, 446, 0 ), /* 230 jitt */ + S_ST( 'k', 3, 238, 226 ), /* 231 */ + S_ST( 'e', 3, 325, 0 ), /* 232 k */ + S_ST( 'r', 3, 234, 0 ), /* 233 ke */ + S_ST( 'n', 3, 235, 0 ), /* 234 ker */ + S_ST( 'e', 3, 324, 0 ), /* 235 kern */ + S_ST( 'd', 3, 237, 0 ), /* 236 keys */ + S_ST( 'i', 3, 327, 0 ), /* 237 keysd */ + S_ST( 'o', 3, 328, 232 ), /* 238 k */ + S_ST( 'l', 3, 449, 231 ), /* 239 */ + S_ST( 'e', 3, 241, 0 ), /* 240 l */ + S_ST( 'a', 3, 242, 0 ), /* 241 le */ + S_ST( 'p', 3, 246, 0 ), /* 242 lea */ + S_ST( 'f', 3, 244, 0 ), /* 243 leap */ + S_ST( 'i', 3, 245, 0 ), /* 244 leapf */ + S_ST( 'l', 3, 330, 0 ), /* 245 leapfi */ + S_ST( 's', 3, 247, 243 ), /* 246 leap */ + S_ST( 'm', 3, 248, 0 ), /* 247 leaps */ + S_ST( 'e', 3, 249, 0 ), /* 248 leapsm */ + S_ST( 'a', 3, 250, 0 ), /* 249 leapsme */ + S_ST( 'r', 3, 251, 0 ), /* 250 leapsmea */ + S_ST( 'i', 3, 252, 0 ), /* 251 leapsmear */ + S_ST( 'n', 3, 253, 0 ), /* 252 leapsmeari */ + S_ST( 't', 3, 254, 0 ), /* 253 leapsmearin */ + S_ST( 'e', 3, 255, 0 ), /* 254 leapsmearint */ + S_ST( 'r', 3, 256, 0 ), /* 255 leapsmearinte */ + S_ST( 'v', 3, 257, 0 ), /* 256 leapsmearinter */ + S_ST( 'a', 3, 331, 0 ), /* 257 leapsmearinterv */ S_ST( 'v', 1, 0, 0 ), /* 258 T_Abbrev */ S_ST( 'e', 0, 0, 0 ), /* 259 T_Age */ S_ST( 'l', 0, 12, 0 ), /* 260 T_All */ @@ -493,558 +495,574 @@ const scan_state sst[840] = { S_ST( 'e', 0, 0, 0 ), /* 284 T_Disable */ S_ST( 'd', 0, 0, 0 ), /* 285 T_Discard */ S_ST( 'n', 0, 0, 0 ), /* 286 T_Dispersion */ - S_ST( 'f', 3, 293, 0 ), /* 287 logcon */ + S_ST( 'i', 3, 432, 240 ), /* 287 l */ S_ST( 'e', 1, 0, 0 ), /* 288 T_Driftfile */ S_ST( 'p', 0, 0, 0 ), /* 289 T_Drop */ - S_ST( '.', 0, 0, 0 ), /* 290 T_Ellipsis */ - S_ST( 'e', 0, 0, 0 ), /* 291 T_Enable */ - S_ST( 'd', 0, 0, 145 ), /* 292 T_End */ - S_ST( 'i', 3, 333, 0 ), /* 293 logconf */ - S_ST( 'e', 1, 153, 0 ), /* 294 T_File */ - S_ST( 'n', 0, 0, 0 ), /* 295 T_Filegen */ - S_ST( 'm', 0, 0, 0 ), /* 296 T_Filenum */ - S_ST( '1', 0, 0, 0 ), /* 297 T_Flag1 */ - S_ST( '2', 0, 0, 297 ), /* 298 T_Flag2 */ - S_ST( '3', 0, 0, 298 ), /* 299 T_Flag3 */ - S_ST( '4', 0, 0, 299 ), /* 300 T_Flag4 */ - S_ST( 'e', 0, 0, 0 ), /* 301 T_Flake */ - S_ST( 'r', 0, 0, 0 ), /* 302 T_Floor */ - S_ST( 'q', 0, 163, 0 ), /* 303 T_Freq */ - S_ST( 'e', 1, 0, 0 ), /* 304 T_Fudge */ - S_ST( 't', 1, 0, 0 ), /* 305 T_Host */ - S_ST( 'f', 0, 0, 0 ), /* 306 T_Huffpuff */ - S_ST( 't', 0, 0, 0 ), /* 307 T_Iburst */ - S_ST( 't', 1, 0, 0 ), /* 308 T_Ident */ - S_ST( 'e', 0, 0, 0 ), /* 309 T_Ignore */ - S_ST( 'c', 0, 0, 0 ), /* 310 T_Incalloc */ - S_ST( 'm', 0, 0, 0 ), /* 311 T_Incmem */ - S_ST( 'c', 0, 0, 0 ), /* 312 T_Initalloc */ - S_ST( 'm', 0, 0, 0 ), /* 313 T_Initmem */ - S_ST( 'e', 1, 0, 0 ), /* 314 T_Includefile */ - S_ST( 'f', 3, 317, 255 ), /* 315 log */ - S_ST( 'e', 0, 0, 0 ), /* 316 T_Interface */ - S_ST( 'i', 3, 411, 0 ), /* 317 logf */ - S_ST( 'o', 0, 0, 193 ), /* 318 T_Io */ - S_ST( '4', 0, 0, 0 ), /* 319 T_Ipv4 */ - S_ST( '4', 0, 0, 0 ), /* 320 T_Ipv4_flag */ - S_ST( '6', 0, 0, 319 ), /* 321 T_Ipv6 */ - S_ST( '6', 0, 0, 320 ), /* 322 T_Ipv6_flag */ - S_ST( 'l', 0, 0, 0 ), /* 323 T_Kernel */ - S_ST( 'y', 0, 325, 231 ), /* 324 T_Key */ - S_ST( 's', 1, 234, 0 ), /* 325 T_Keys */ - S_ST( 'r', 1, 0, 0 ), /* 326 T_Keysdir */ - S_ST( 'd', 0, 0, 0 ), /* 327 T_Kod */ - S_ST( 'p', 0, 0, 0 ), /* 328 T_Mssntp */ - S_ST( 'e', 1, 0, 0 ), /* 329 T_Leapfile */ - S_ST( 'd', 0, 0, 0 ), /* 330 T_Limited */ - S_ST( 'k', 0, 0, 0 ), /* 331 T_Link */ - S_ST( 'n', 0, 0, 0 ), /* 332 T_Listen */ - S_ST( 'g', 2, 0, 0 ), /* 333 T_Logconfig */ - S_ST( 'e', 1, 0, 0 ), /* 334 T_Logfile */ - S_ST( 's', 0, 0, 0 ), /* 335 T_Loopstats */ - S_ST( 'p', 0, 0, 0 ), /* 336 T_Lowpriotrap */ - S_ST( 't', 1, 0, 0 ), /* 337 T_Manycastclient */ - S_ST( 'r', 2, 0, 0 ), /* 338 T_Manycastserver */ - S_ST( 'k', 0, 0, 0 ), /* 339 T_Mask */ - S_ST( 'e', 0, 0, 0 ), /* 340 T_Maxage */ - S_ST( 'k', 0, 0, 0 ), /* 341 T_Maxclock */ - S_ST( 'h', 0, 0, 0 ), /* 342 T_Maxdepth */ - S_ST( 't', 0, 0, 0 ), /* 343 T_Maxdist */ - S_ST( 'm', 0, 0, 0 ), /* 344 T_Maxmem */ - S_ST( 'l', 0, 0, 0 ), /* 345 T_Maxpoll */ - S_ST( 's', 0, 0, 0 ), /* 346 T_Mdnstries */ - S_ST( 'm', 0, 502, 0 ), /* 347 T_Mem */ - S_ST( 'k', 0, 0, 0 ), /* 348 T_Memlock */ - S_ST( 'k', 0, 0, 0 ), /* 349 T_Minclock */ - S_ST( 'h', 0, 0, 0 ), /* 350 T_Mindepth */ - S_ST( 't', 0, 0, 0 ), /* 351 T_Mindist */ - S_ST( 'm', 0, 0, 0 ), /* 352 T_Minimum */ - S_ST( 'l', 0, 0, 0 ), /* 353 T_Minpoll */ - S_ST( 'e', 0, 0, 0 ), /* 354 T_Minsane */ - S_ST( 'e', 0, 356, 0 ), /* 355 T_Mode */ - S_ST( '7', 0, 0, 0 ), /* 356 T_Mode7 */ - S_ST( 'r', 0, 0, 0 ), /* 357 T_Monitor */ - S_ST( 'h', 0, 0, 0 ), /* 358 T_Month */ - S_ST( 'u', 0, 0, 0 ), /* 359 T_Mru */ - S_ST( 't', 2, 0, 0 ), /* 360 T_Multicastclient */ - S_ST( 'c', 0, 0, 0 ), /* 361 T_Nic */ - S_ST( 'k', 0, 0, 0 ), /* 362 T_Nolink */ - S_ST( 'y', 0, 0, 0 ), /* 363 T_Nomodify */ - S_ST( 't', 0, 0, 0 ), /* 364 T_Nomrulist */ - S_ST( 'e', 0, 0, 0 ), /* 365 T_None */ - S_ST( 'e', 0, 0, 0 ), /* 366 T_Nonvolatile */ - S_ST( 'r', 0, 0, 0 ), /* 367 T_Nopeer */ - S_ST( 'y', 0, 0, 0 ), /* 368 T_Noquery */ - S_ST( 't', 0, 0, 0 ), /* 369 T_Noselect */ - S_ST( 'e', 0, 0, 0 ), /* 370 T_Noserve */ - S_ST( 'p', 0, 0, 0 ), /* 371 T_Notrap */ - S_ST( 't', 0, 0, 0 ), /* 372 T_Notrust */ - S_ST( 'p', 0, 598, 0 ), /* 373 T_Ntp */ - S_ST( 't', 0, 0, 0 ), /* 374 T_Ntpport */ - S_ST( 't', 1, 0, 0 ), /* 375 T_NtpSignDsocket */ - S_ST( 'n', 0, 613, 0 ), /* 376 T_Orphan */ - S_ST( 't', 0, 0, 0 ), /* 377 T_Orphanwait */ - S_ST( 'c', 0, 0, 0 ), /* 378 T_Panic */ - S_ST( 'r', 1, 622, 0 ), /* 379 T_Peer */ - S_ST( 's', 0, 0, 0 ), /* 380 T_Peerstats */ - S_ST( 'e', 2, 0, 0 ), /* 381 T_Phone */ - S_ST( 'd', 0, 630, 0 ), /* 382 T_Pid */ - S_ST( 'e', 1, 0, 0 ), /* 383 T_Pidfile */ - S_ST( 'l', 1, 0, 0 ), /* 384 T_Pool */ - S_ST( 't', 0, 0, 0 ), /* 385 T_Port */ - S_ST( 't', 0, 0, 0 ), /* 386 T_Preempt */ - S_ST( 'r', 0, 0, 0 ), /* 387 T_Prefer */ - S_ST( 's', 0, 0, 0 ), /* 388 T_Protostats */ - S_ST( 'w', 1, 0, 636 ), /* 389 T_Pw */ - S_ST( 'e', 1, 0, 0 ), /* 390 T_Randfile */ - S_ST( 's', 0, 0, 0 ), /* 391 T_Rawstats */ - S_ST( 'd', 1, 0, 0 ), /* 392 T_Refid */ - S_ST( 'y', 0, 0, 0 ), /* 393 T_Requestkey */ - S_ST( 't', 0, 0, 0 ), /* 394 T_Reset */ - S_ST( 't', 0, 0, 0 ), /* 395 T_Restrict */ - S_ST( 'e', 0, 0, 0 ), /* 396 T_Revoke */ - S_ST( 't', 0, 0, 0 ), /* 397 T_Rlimit */ - S_ST( 'r', 1, 0, 0 ), /* 398 T_Saveconfigdir */ - S_ST( 'r', 1, 713, 0 ), /* 399 T_Server */ - S_ST( 'r', 1, 0, 0 ), /* 400 T_Setvar */ - S_ST( 'e', 0, 0, 0 ), /* 401 T_Source */ - S_ST( 'e', 0, 0, 0 ), /* 402 T_Stacksize */ - S_ST( 's', 0, 0, 0 ), /* 403 T_Statistics */ - S_ST( 's', 0, 756, 751 ), /* 404 T_Stats */ - S_ST( 'r', 1, 0, 0 ), /* 405 T_Statsdir */ - S_ST( 'p', 0, 764, 0 ), /* 406 T_Step */ - S_ST( 'k', 0, 0, 0 ), /* 407 T_Stepback */ - S_ST( 'd', 0, 0, 0 ), /* 408 T_Stepfwd */ - S_ST( 't', 0, 0, 0 ), /* 409 T_Stepout */ - S_ST( 'm', 0, 0, 0 ), /* 410 T_Stratum */ - S_ST( 'l', 3, 334, 0 ), /* 411 logfi */ - S_ST( 's', 0, 771, 0 ), /* 412 T_Sys */ - S_ST( 's', 0, 0, 0 ), /* 413 T_Sysstats */ - S_ST( 'k', 0, 0, 0 ), /* 414 T_Tick */ - S_ST( '1', 0, 0, 0 ), /* 415 T_Time1 */ - S_ST( '2', 0, 0, 415 ), /* 416 T_Time2 */ - S_ST( 'r', 0, 0, 416 ), /* 417 T_Timer */ - S_ST( 's', 0, 0, 0 ), /* 418 T_Timingstats */ - S_ST( 'r', 0, 0, 0 ), /* 419 T_Tinker */ - S_ST( 's', 0, 0, 0 ), /* 420 T_Tos */ - S_ST( 'p', 1, 0, 0 ), /* 421 T_Trap */ - S_ST( 'e', 0, 0, 0 ), /* 422 T_True */ - S_ST( 'y', 0, 0, 0 ), /* 423 T_Trustedkey */ - S_ST( 'l', 0, 0, 0 ), /* 424 T_Ttl */ - S_ST( 'e', 0, 0, 0 ), /* 425 T_Type */ - S_ST( 'o', 3, 430, 254 ), /* 426 lo */ - S_ST( 'g', 1, 0, 0 ), /* 427 T_Unconfig */ - S_ST( 'r', 1, 0, 0 ), /* 428 T_Unpeer */ - S_ST( 'n', 0, 0, 0 ), /* 429 T_Version */ - S_ST( 'p', 3, 435, 0 ), /* 430 loo */ - S_ST( 'k', 0, 0, 0 ), /* 431 T_Week */ - S_ST( 'd', 0, 0, 0 ), /* 432 T_Wildcard */ - S_ST( 'e', 0, 0, 0 ), /* 433 T_Xleave */ - S_ST( 'r', 0, 0, 0 ), /* 434 T_Year */ - S_ST( 's', 3, 436, 0 ), /* 435 loop */ - S_ST( 't', 3, 447, 0 ), /* 436 loops */ - S_ST( 'e', 0, 0, 0 ), /* 437 T_Simulate */ - S_ST( 'y', 0, 0, 0 ), /* 438 T_Beep_Delay */ - S_ST( 'n', 0, 0, 0 ), /* 439 T_Sim_Duration */ - S_ST( 't', 0, 0, 0 ), /* 440 T_Server_Offset */ - S_ST( 'n', 0, 0, 0 ), /* 441 T_Duration */ - S_ST( 't', 0, 0, 0 ), /* 442 T_Freq_Offset */ - S_ST( 'r', 0, 0, 0 ), /* 443 T_Wander */ - S_ST( 'r', 0, 0, 0 ), /* 444 T_Jitter */ - S_ST( 'y', 0, 0, 0 ), /* 445 T_Prop_Delay */ - S_ST( 'y', 0, 0, 0 ), /* 446 T_Proc_Delay */ - S_ST( 'a', 3, 448, 0 ), /* 447 loopst */ - S_ST( 't', 3, 335, 0 ), /* 448 loopsta */ - S_ST( 'w', 3, 450, 426 ), /* 449 lo */ - S_ST( 'p', 3, 451, 0 ), /* 450 low */ - S_ST( 'r', 3, 452, 0 ), /* 451 lowp */ - S_ST( 'i', 3, 453, 0 ), /* 452 lowpr */ - S_ST( 'o', 3, 454, 0 ), /* 453 lowpri */ - S_ST( 't', 3, 455, 0 ), /* 454 lowprio */ - S_ST( 'r', 3, 456, 0 ), /* 455 lowpriot */ - S_ST( 'a', 3, 336, 0 ), /* 456 lowpriotr */ - S_ST( 'm', 3, 538, 237 ), /* 457 */ - S_ST( 'a', 3, 476, 0 ), /* 458 m */ - S_ST( 'n', 3, 460, 0 ), /* 459 ma */ - S_ST( 'y', 3, 461, 0 ), /* 460 man */ - S_ST( 'c', 3, 462, 0 ), /* 461 many */ - S_ST( 'a', 3, 463, 0 ), /* 462 manyc */ - S_ST( 's', 3, 464, 0 ), /* 463 manyca */ - S_ST( 't', 3, 470, 0 ), /* 464 manycas */ - S_ST( 'c', 3, 466, 0 ), /* 465 manycast */ - S_ST( 'l', 3, 467, 0 ), /* 466 manycastc */ - S_ST( 'i', 3, 468, 0 ), /* 467 manycastcl */ - S_ST( 'e', 3, 469, 0 ), /* 468 manycastcli */ - S_ST( 'n', 3, 337, 0 ), /* 469 manycastclie */ - S_ST( 's', 3, 471, 465 ), /* 470 manycast */ - S_ST( 'e', 3, 472, 0 ), /* 471 manycasts */ - S_ST( 'r', 3, 473, 0 ), /* 472 manycastse */ - S_ST( 'v', 3, 474, 0 ), /* 473 manycastser */ - S_ST( 'e', 3, 338, 0 ), /* 474 manycastserv */ - S_ST( 's', 3, 339, 459 ), /* 475 ma */ - S_ST( 'x', 3, 491, 475 ), /* 476 ma */ - S_ST( 'a', 3, 478, 0 ), /* 477 max */ - S_ST( 'g', 3, 340, 0 ), /* 478 maxa */ - S_ST( 'c', 3, 480, 477 ), /* 479 max */ - S_ST( 'l', 3, 481, 0 ), /* 480 maxc */ - S_ST( 'o', 3, 482, 0 ), /* 481 maxcl */ - S_ST( 'c', 3, 341, 0 ), /* 482 maxclo */ - S_ST( 'd', 3, 487, 479 ), /* 483 max */ - S_ST( 'e', 3, 485, 0 ), /* 484 maxd */ - S_ST( 'p', 3, 486, 0 ), /* 485 maxde */ - S_ST( 't', 3, 342, 0 ), /* 486 maxdep */ - S_ST( 'i', 3, 488, 484 ), /* 487 maxd */ - S_ST( 's', 3, 343, 0 ), /* 488 maxdi */ - S_ST( 'm', 3, 490, 483 ), /* 489 max */ - S_ST( 'e', 3, 344, 0 ), /* 490 maxm */ - S_ST( 'p', 3, 492, 489 ), /* 491 max */ - S_ST( 'o', 3, 493, 0 ), /* 492 maxp */ - S_ST( 'l', 3, 345, 0 ), /* 493 maxpo */ - S_ST( 'd', 3, 495, 458 ), /* 494 m */ - S_ST( 'n', 3, 496, 0 ), /* 495 md */ - S_ST( 's', 3, 497, 0 ), /* 496 mdn */ - S_ST( 't', 3, 498, 0 ), /* 497 mdns */ - S_ST( 'r', 3, 499, 0 ), /* 498 mdnst */ - S_ST( 'i', 3, 500, 0 ), /* 499 mdnstr */ - S_ST( 'e', 3, 346, 0 ), /* 500 mdnstri */ - S_ST( 'e', 3, 347, 494 ), /* 501 m */ - S_ST( 'l', 3, 503, 0 ), /* 502 mem */ - S_ST( 'o', 3, 504, 0 ), /* 503 meml */ - S_ST( 'c', 3, 348, 0 ), /* 504 memlo */ - S_ST( 'i', 3, 506, 501 ), /* 505 m */ - S_ST( 'n', 3, 523, 0 ), /* 506 mi */ - S_ST( 'c', 3, 508, 0 ), /* 507 min */ - S_ST( 'l', 3, 509, 0 ), /* 508 minc */ - S_ST( 'o', 3, 510, 0 ), /* 509 mincl */ - S_ST( 'c', 3, 349, 0 ), /* 510 minclo */ - S_ST( 'd', 3, 515, 507 ), /* 511 min */ - S_ST( 'e', 3, 513, 0 ), /* 512 mind */ - S_ST( 'p', 3, 514, 0 ), /* 513 minde */ - S_ST( 't', 3, 350, 0 ), /* 514 mindep */ - S_ST( 'i', 3, 516, 512 ), /* 515 mind */ - S_ST( 's', 3, 351, 0 ), /* 516 mindi */ - S_ST( 'i', 3, 518, 511 ), /* 517 min */ - S_ST( 'm', 3, 519, 0 ), /* 518 mini */ - S_ST( 'u', 3, 352, 0 ), /* 519 minim */ - S_ST( 'p', 3, 521, 517 ), /* 520 min */ - S_ST( 'o', 3, 522, 0 ), /* 521 minp */ - S_ST( 'l', 3, 353, 0 ), /* 522 minpo */ - S_ST( 's', 3, 524, 520 ), /* 523 min */ - S_ST( 'a', 3, 525, 0 ), /* 524 mins */ - S_ST( 'n', 3, 354, 0 ), /* 525 minsa */ - S_ST( 'o', 3, 528, 505 ), /* 526 m */ - S_ST( 'd', 3, 355, 0 ), /* 527 mo */ - S_ST( 'n', 3, 532, 527 ), /* 528 mo */ - S_ST( 'i', 3, 530, 0 ), /* 529 mon */ - S_ST( 't', 3, 531, 0 ), /* 530 moni */ - S_ST( 'o', 3, 357, 0 ), /* 531 monit */ - S_ST( 't', 3, 358, 529 ), /* 532 mon */ - S_ST( 'r', 3, 359, 526 ), /* 533 m */ - S_ST( 's', 3, 535, 533 ), /* 534 m */ - S_ST( 's', 3, 536, 0 ), /* 535 ms */ - S_ST( 'n', 3, 537, 0 ), /* 536 mss */ - S_ST( 't', 3, 328, 0 ), /* 537 mssn */ - S_ST( 'u', 3, 539, 534 ), /* 538 m */ - S_ST( 'l', 3, 540, 0 ), /* 539 mu */ - S_ST( 't', 3, 541, 0 ), /* 540 mul */ - S_ST( 'i', 3, 542, 0 ), /* 541 mult */ - S_ST( 'c', 3, 543, 0 ), /* 542 multi */ - S_ST( 'a', 3, 544, 0 ), /* 543 multic */ - S_ST( 's', 3, 545, 0 ), /* 544 multica */ - S_ST( 't', 3, 546, 0 ), /* 545 multicas */ - S_ST( 'c', 3, 547, 0 ), /* 546 multicast */ - S_ST( 'l', 3, 548, 0 ), /* 547 multicastc */ - S_ST( 'i', 3, 549, 0 ), /* 548 multicastcl */ - S_ST( 'e', 3, 550, 0 ), /* 549 multicastcli */ - S_ST( 'n', 3, 360, 0 ), /* 550 multicastclie */ - S_ST( 'n', 3, 594, 457 ), /* 551 */ - S_ST( 'i', 3, 361, 0 ), /* 552 n */ - S_ST( 'o', 3, 589, 552 ), /* 553 n */ - S_ST( 'l', 3, 555, 0 ), /* 554 no */ - S_ST( 'i', 3, 556, 0 ), /* 555 nol */ - S_ST( 'n', 3, 362, 0 ), /* 556 noli */ - S_ST( 'm', 3, 562, 554 ), /* 557 no */ - S_ST( 'o', 3, 559, 0 ), /* 558 nom */ - S_ST( 'd', 3, 560, 0 ), /* 559 nomo */ - S_ST( 'i', 3, 561, 0 ), /* 560 nomod */ - S_ST( 'f', 3, 363, 0 ), /* 561 nomodi */ - S_ST( 'r', 3, 563, 558 ), /* 562 nom */ - S_ST( 'u', 3, 564, 0 ), /* 563 nomr */ - S_ST( 'l', 3, 565, 0 ), /* 564 nomru */ - S_ST( 'i', 3, 566, 0 ), /* 565 nomrul */ - S_ST( 's', 3, 364, 0 ), /* 566 nomruli */ - S_ST( 'n', 3, 568, 557 ), /* 567 no */ - S_ST( 'v', 3, 569, 365 ), /* 568 non */ - S_ST( 'o', 3, 570, 0 ), /* 569 nonv */ - S_ST( 'l', 3, 571, 0 ), /* 570 nonvo */ - S_ST( 'a', 3, 572, 0 ), /* 571 nonvol */ - S_ST( 't', 3, 573, 0 ), /* 572 nonvola */ - S_ST( 'i', 3, 574, 0 ), /* 573 nonvolat */ - S_ST( 'l', 3, 366, 0 ), /* 574 nonvolati */ - S_ST( 'p', 3, 576, 567 ), /* 575 no */ - S_ST( 'e', 3, 577, 0 ), /* 576 nop */ - S_ST( 'e', 3, 367, 0 ), /* 577 nope */ - S_ST( 'q', 3, 579, 575 ), /* 578 no */ - S_ST( 'u', 3, 580, 0 ), /* 579 noq */ - S_ST( 'e', 3, 581, 0 ), /* 580 noqu */ - S_ST( 'r', 3, 368, 0 ), /* 581 noque */ - S_ST( 's', 3, 583, 578 ), /* 582 no */ - S_ST( 'e', 3, 587, 0 ), /* 583 nos */ - S_ST( 'l', 3, 585, 0 ), /* 584 nose */ - S_ST( 'e', 3, 586, 0 ), /* 585 nosel */ - S_ST( 'c', 3, 369, 0 ), /* 586 nosele */ - S_ST( 'r', 3, 588, 584 ), /* 587 nose */ - S_ST( 'v', 3, 370, 0 ), /* 588 noser */ - S_ST( 't', 3, 590, 582 ), /* 589 no */ - S_ST( 'r', 3, 592, 0 ), /* 590 not */ - S_ST( 'a', 3, 371, 0 ), /* 591 notr */ - S_ST( 'u', 3, 593, 591 ), /* 592 notr */ - S_ST( 's', 3, 372, 0 ), /* 593 notru */ - S_ST( 't', 3, 373, 553 ), /* 594 n */ - S_ST( 'p', 3, 596, 0 ), /* 595 ntp */ - S_ST( 'o', 3, 597, 0 ), /* 596 ntpp */ - S_ST( 'r', 3, 374, 0 ), /* 597 ntppo */ - S_ST( 's', 3, 599, 595 ), /* 598 ntp */ - S_ST( 'i', 3, 600, 0 ), /* 599 ntps */ - S_ST( 'g', 3, 601, 0 ), /* 600 ntpsi */ - S_ST( 'n', 3, 602, 0 ), /* 601 ntpsig */ - S_ST( 'd', 3, 603, 0 ), /* 602 ntpsign */ - S_ST( 's', 3, 604, 0 ), /* 603 ntpsignd */ - S_ST( 'o', 3, 605, 0 ), /* 604 ntpsignds */ - S_ST( 'c', 3, 606, 0 ), /* 605 ntpsigndso */ - S_ST( 'k', 3, 607, 0 ), /* 606 ntpsigndsoc */ - S_ST( 'e', 3, 375, 0 ), /* 607 ntpsigndsock */ - S_ST( 'o', 3, 609, 551 ), /* 608 */ - S_ST( 'r', 3, 610, 0 ), /* 609 o */ - S_ST( 'p', 3, 611, 0 ), /* 610 or */ - S_ST( 'h', 3, 612, 0 ), /* 611 orp */ - S_ST( 'a', 3, 376, 0 ), /* 612 orph */ - S_ST( 'w', 3, 614, 0 ), /* 613 orphan */ - S_ST( 'a', 3, 615, 0 ), /* 614 orphanw */ - S_ST( 'i', 3, 377, 0 ), /* 615 orphanwa */ - S_ST( 'p', 3, 389, 608 ), /* 616 */ - S_ST( 'a', 3, 618, 0 ), /* 617 p */ - S_ST( 'n', 3, 619, 0 ), /* 618 pa */ - S_ST( 'i', 3, 378, 0 ), /* 619 pan */ - S_ST( 'e', 3, 621, 617 ), /* 620 p */ - S_ST( 'e', 3, 379, 0 ), /* 621 pe */ - S_ST( 's', 3, 623, 0 ), /* 622 peer */ - S_ST( 't', 3, 624, 0 ), /* 623 peers */ - S_ST( 'a', 3, 625, 0 ), /* 624 peerst */ - S_ST( 't', 3, 380, 0 ), /* 625 peersta */ - S_ST( 'h', 3, 627, 620 ), /* 626 p */ - S_ST( 'o', 3, 628, 0 ), /* 627 ph */ - S_ST( 'n', 3, 381, 0 ), /* 628 pho */ - S_ST( 'i', 3, 382, 626 ), /* 629 p */ - S_ST( 'f', 3, 631, 0 ), /* 630 pid */ - S_ST( 'i', 3, 632, 0 ), /* 631 pidf */ - S_ST( 'l', 3, 383, 0 ), /* 632 pidfi */ - S_ST( 'o', 3, 635, 629 ), /* 633 p */ - S_ST( 'o', 3, 384, 0 ), /* 634 po */ - S_ST( 'r', 3, 385, 634 ), /* 635 po */ - S_ST( 'r', 3, 643, 633 ), /* 636 p */ - S_ST( 'e', 3, 641, 0 ), /* 637 pr */ - S_ST( 'e', 3, 639, 0 ), /* 638 pre */ - S_ST( 'm', 3, 640, 0 ), /* 639 pree */ - S_ST( 'p', 3, 386, 0 ), /* 640 preem */ - S_ST( 'f', 3, 642, 638 ), /* 641 pre */ - S_ST( 'e', 3, 387, 0 ), /* 642 pref */ - S_ST( 'o', 3, 656, 637 ), /* 643 pr */ - S_ST( 'c', 3, 645, 0 ), /* 644 pro */ - S_ST( '_', 3, 646, 0 ), /* 645 proc */ - S_ST( 'd', 3, 647, 0 ), /* 646 proc_ */ - S_ST( 'e', 3, 648, 0 ), /* 647 proc_d */ - S_ST( 'l', 3, 649, 0 ), /* 648 proc_de */ - S_ST( 'a', 3, 446, 0 ), /* 649 proc_del */ - S_ST( 'p', 3, 651, 644 ), /* 650 pro */ - S_ST( '_', 3, 652, 0 ), /* 651 prop */ - S_ST( 'd', 3, 653, 0 ), /* 652 prop_ */ - S_ST( 'e', 3, 654, 0 ), /* 653 prop_d */ - S_ST( 'l', 3, 655, 0 ), /* 654 prop_de */ - S_ST( 'a', 3, 445, 0 ), /* 655 prop_del */ - S_ST( 't', 3, 657, 650 ), /* 656 pro */ - S_ST( 'o', 3, 658, 0 ), /* 657 prot */ - S_ST( 's', 3, 659, 0 ), /* 658 proto */ - S_ST( 't', 3, 660, 0 ), /* 659 protos */ - S_ST( 'a', 3, 661, 0 ), /* 660 protost */ - S_ST( 't', 3, 388, 0 ), /* 661 protosta */ - S_ST( 'r', 3, 693, 616 ), /* 662 */ - S_ST( 'a', 3, 669, 0 ), /* 663 r */ - S_ST( 'n', 3, 665, 0 ), /* 664 ra */ - S_ST( 'd', 3, 666, 0 ), /* 665 ran */ - S_ST( 'f', 3, 667, 0 ), /* 666 rand */ - S_ST( 'i', 3, 668, 0 ), /* 667 randf */ - S_ST( 'l', 3, 390, 0 ), /* 668 randfi */ - S_ST( 'w', 3, 670, 664 ), /* 669 ra */ - S_ST( 's', 3, 671, 0 ), /* 670 raw */ - S_ST( 't', 3, 672, 0 ), /* 671 raws */ - S_ST( 'a', 3, 673, 0 ), /* 672 rawst */ - S_ST( 't', 3, 391, 0 ), /* 673 rawsta */ - S_ST( 'e', 3, 690, 663 ), /* 674 r */ - S_ST( 'f', 3, 676, 0 ), /* 675 re */ - S_ST( 'i', 3, 392, 0 ), /* 676 ref */ - S_ST( 'q', 3, 678, 675 ), /* 677 re */ - S_ST( 'u', 3, 679, 0 ), /* 678 req */ - S_ST( 'e', 3, 680, 0 ), /* 679 requ */ - S_ST( 's', 3, 681, 0 ), /* 680 reque */ - S_ST( 't', 3, 682, 0 ), /* 681 reques */ - S_ST( 'k', 3, 683, 0 ), /* 682 request */ - S_ST( 'e', 3, 393, 0 ), /* 683 requestk */ - S_ST( 's', 3, 686, 677 ), /* 684 re */ - S_ST( 'e', 3, 394, 0 ), /* 685 res */ - S_ST( 't', 3, 687, 685 ), /* 686 res */ - S_ST( 'r', 3, 688, 0 ), /* 687 rest */ - S_ST( 'i', 3, 689, 0 ), /* 688 restr */ - S_ST( 'c', 3, 395, 0 ), /* 689 restri */ - S_ST( 'v', 3, 691, 684 ), /* 690 re */ - S_ST( 'o', 3, 692, 0 ), /* 691 rev */ - S_ST( 'k', 3, 396, 0 ), /* 692 revo */ - S_ST( 'l', 3, 694, 674 ), /* 693 r */ - S_ST( 'i', 3, 695, 0 ), /* 694 rl */ - S_ST( 'm', 3, 696, 0 ), /* 695 rli */ - S_ST( 'i', 3, 397, 0 ), /* 696 rlim */ - S_ST( 's', 3, 770, 662 ), /* 697 */ - S_ST( 'a', 3, 699, 0 ), /* 698 s */ - S_ST( 'v', 3, 700, 0 ), /* 699 sa */ - S_ST( 'e', 3, 701, 0 ), /* 700 sav */ - S_ST( 'c', 3, 702, 0 ), /* 701 save */ - S_ST( 'o', 3, 703, 0 ), /* 702 savec */ - S_ST( 'n', 3, 704, 0 ), /* 703 saveco */ - S_ST( 'f', 3, 705, 0 ), /* 704 savecon */ - S_ST( 'i', 3, 706, 0 ), /* 705 saveconf */ - S_ST( 'g', 3, 707, 0 ), /* 706 saveconfi */ - S_ST( 'd', 3, 708, 0 ), /* 707 saveconfig */ - S_ST( 'i', 3, 398, 0 ), /* 708 saveconfigd */ - S_ST( 'e', 3, 719, 698 ), /* 709 s */ - S_ST( 'r', 3, 711, 0 ), /* 710 se */ - S_ST( 'v', 3, 712, 0 ), /* 711 ser */ - S_ST( 'e', 3, 399, 0 ), /* 712 serv */ - S_ST( '_', 3, 714, 0 ), /* 713 server */ - S_ST( 'o', 3, 715, 0 ), /* 714 server_ */ - S_ST( 'f', 3, 716, 0 ), /* 715 server_o */ - S_ST( 'f', 3, 717, 0 ), /* 716 server_of */ - S_ST( 's', 3, 718, 0 ), /* 717 server_off */ - S_ST( 'e', 3, 440, 0 ), /* 718 server_offs */ - S_ST( 't', 3, 720, 710 ), /* 719 se */ - S_ST( 'v', 3, 721, 0 ), /* 720 set */ - S_ST( 'a', 3, 400, 0 ), /* 721 setv */ - S_ST( 'i', 3, 723, 709 ), /* 722 s */ - S_ST( 'm', 3, 724, 0 ), /* 723 si */ - S_ST( 'u', 3, 725, 0 ), /* 724 sim */ - S_ST( 'l', 3, 726, 0 ), /* 725 simu */ - S_ST( 'a', 3, 727, 0 ), /* 726 simul */ - S_ST( 't', 3, 728, 0 ), /* 727 simula */ - S_ST( 'i', 3, 729, 437 ), /* 728 simulat */ - S_ST( 'o', 3, 730, 0 ), /* 729 simulati */ - S_ST( 'n', 3, 731, 0 ), /* 730 simulatio */ - S_ST( '_', 3, 732, 0 ), /* 731 simulation */ - S_ST( 'd', 3, 733, 0 ), /* 732 simulation_ */ - S_ST( 'u', 3, 734, 0 ), /* 733 simulation_d */ - S_ST( 'r', 3, 735, 0 ), /* 734 simulation_du */ - S_ST( 'a', 3, 736, 0 ), /* 735 simulation_dur */ - S_ST( 't', 3, 737, 0 ), /* 736 simulation_dura */ - S_ST( 'i', 3, 738, 0 ), /* 737 simulation_durat */ - S_ST( 'o', 3, 439, 0 ), /* 738 simulation_durati */ - S_ST( 'o', 3, 740, 722 ), /* 739 s */ - S_ST( 'u', 3, 741, 0 ), /* 740 so */ - S_ST( 'r', 3, 742, 0 ), /* 741 sou */ - S_ST( 'c', 3, 401, 0 ), /* 742 sour */ - S_ST( 't', 3, 766, 739 ), /* 743 s */ - S_ST( 'a', 3, 750, 0 ), /* 744 st */ - S_ST( 'c', 3, 746, 0 ), /* 745 sta */ - S_ST( 'k', 3, 747, 0 ), /* 746 stac */ - S_ST( 's', 3, 748, 0 ), /* 747 stack */ - S_ST( 'i', 3, 749, 0 ), /* 748 stacks */ - S_ST( 'z', 3, 402, 0 ), /* 749 stacksi */ - S_ST( 't', 3, 404, 745 ), /* 750 sta */ - S_ST( 'i', 3, 752, 0 ), /* 751 stat */ - S_ST( 's', 3, 753, 0 ), /* 752 stati */ - S_ST( 't', 3, 754, 0 ), /* 753 statis */ - S_ST( 'i', 3, 755, 0 ), /* 754 statist */ - S_ST( 'c', 3, 403, 0 ), /* 755 statisti */ - S_ST( 'd', 3, 757, 0 ), /* 756 stats */ - S_ST( 'i', 3, 405, 0 ), /* 757 statsd */ - S_ST( 'e', 3, 406, 744 ), /* 758 st */ - S_ST( 'b', 3, 760, 0 ), /* 759 step */ - S_ST( 'a', 3, 761, 0 ), /* 760 stepb */ - S_ST( 'c', 3, 407, 0 ), /* 761 stepba */ - S_ST( 'f', 3, 763, 759 ), /* 762 step */ - S_ST( 'w', 3, 408, 0 ), /* 763 stepf */ - S_ST( 'o', 3, 765, 762 ), /* 764 step */ - S_ST( 'u', 3, 409, 0 ), /* 765 stepo */ - S_ST( 'r', 3, 767, 758 ), /* 766 st */ - S_ST( 'a', 3, 768, 0 ), /* 767 str */ - S_ST( 't', 3, 769, 0 ), /* 768 stra */ - S_ST( 'u', 3, 410, 0 ), /* 769 strat */ - S_ST( 'y', 3, 412, 743 ), /* 770 s */ - S_ST( 's', 3, 772, 0 ), /* 771 sys */ - S_ST( 't', 3, 773, 0 ), /* 772 syss */ - S_ST( 'a', 3, 774, 0 ), /* 773 sysst */ - S_ST( 't', 3, 413, 0 ), /* 774 syssta */ - S_ST( 't', 3, 801, 697 ), /* 775 */ - S_ST( 'i', 3, 787, 0 ), /* 776 t */ - S_ST( 'c', 3, 414, 0 ), /* 777 ti */ - S_ST( 'm', 3, 780, 777 ), /* 778 ti */ - S_ST( 'e', 3, 417, 0 ), /* 779 tim */ - S_ST( 'i', 3, 781, 779 ), /* 780 tim */ - S_ST( 'n', 3, 782, 0 ), /* 781 timi */ - S_ST( 'g', 3, 783, 0 ), /* 782 timin */ - S_ST( 's', 3, 784, 0 ), /* 783 timing */ - S_ST( 't', 3, 785, 0 ), /* 784 timings */ - S_ST( 'a', 3, 786, 0 ), /* 785 timingst */ - S_ST( 't', 3, 418, 0 ), /* 786 timingsta */ - S_ST( 'n', 3, 788, 778 ), /* 787 ti */ - S_ST( 'k', 3, 789, 0 ), /* 788 tin */ - S_ST( 'e', 3, 419, 0 ), /* 789 tink */ - S_ST( 'o', 3, 420, 776 ), /* 790 t */ - S_ST( 'r', 3, 793, 790 ), /* 791 t */ - S_ST( 'a', 3, 421, 0 ), /* 792 tr */ - S_ST( 'u', 3, 794, 792 ), /* 793 tr */ - S_ST( 's', 3, 795, 422 ), /* 794 tru */ - S_ST( 't', 3, 796, 0 ), /* 795 trus */ - S_ST( 'e', 3, 797, 0 ), /* 796 trust */ - S_ST( 'd', 3, 798, 0 ), /* 797 truste */ - S_ST( 'k', 3, 799, 0 ), /* 798 trusted */ - S_ST( 'e', 3, 423, 0 ), /* 799 trustedk */ - S_ST( 't', 3, 424, 791 ), /* 800 t */ - S_ST( 'y', 3, 802, 800 ), /* 801 t */ - S_ST( 'p', 3, 425, 0 ), /* 802 ty */ - S_ST( 'u', 3, 804, 775 ), /* 803 */ - S_ST( 'n', 3, 810, 0 ), /* 804 u */ - S_ST( 'c', 3, 806, 0 ), /* 805 un */ - S_ST( 'o', 3, 807, 0 ), /* 806 unc */ - S_ST( 'n', 3, 808, 0 ), /* 807 unco */ - S_ST( 'f', 3, 809, 0 ), /* 808 uncon */ - S_ST( 'i', 3, 427, 0 ), /* 809 unconf */ - S_ST( 'p', 3, 811, 805 ), /* 810 un */ - S_ST( 'e', 3, 812, 0 ), /* 811 unp */ - S_ST( 'e', 3, 428, 0 ), /* 812 unpe */ - S_ST( 'v', 3, 814, 803 ), /* 813 */ - S_ST( 'e', 3, 815, 0 ), /* 814 v */ - S_ST( 'r', 3, 816, 0 ), /* 815 ve */ - S_ST( 's', 3, 817, 0 ), /* 816 ver */ - S_ST( 'i', 3, 818, 0 ), /* 817 vers */ - S_ST( 'o', 3, 429, 0 ), /* 818 versi */ - S_ST( 'w', 3, 826, 813 ), /* 819 */ - S_ST( 'a', 3, 821, 0 ), /* 820 w */ - S_ST( 'n', 3, 822, 0 ), /* 821 wa */ - S_ST( 'd', 3, 823, 0 ), /* 822 wan */ - S_ST( 'e', 3, 443, 0 ), /* 823 wand */ - S_ST( 'e', 3, 825, 820 ), /* 824 w */ - S_ST( 'e', 3, 431, 0 ), /* 825 we */ - S_ST( 'i', 3, 827, 824 ), /* 826 w */ - S_ST( 'l', 3, 828, 0 ), /* 827 wi */ - S_ST( 'd', 3, 829, 0 ), /* 828 wil */ - S_ST( 'c', 3, 830, 0 ), /* 829 wild */ - S_ST( 'a', 3, 831, 0 ), /* 830 wildc */ - S_ST( 'r', 3, 432, 0 ), /* 831 wildca */ - S_ST( 'x', 3, 833, 819 ), /* 832 */ - S_ST( 'l', 3, 834, 0 ), /* 833 x */ - S_ST( 'e', 3, 835, 0 ), /* 834 xl */ - S_ST( 'a', 3, 836, 0 ), /* 835 xle */ - S_ST( 'v', 3, 433, 0 ), /* 836 xlea */ - S_ST( 'y', 3, 838, 832 ), /* 837 [initial state] */ - S_ST( 'e', 3, 839, 0 ), /* 838 y */ - S_ST( 'a', 3, 434, 0 ) /* 839 ye */ + S_ST( 'p', 0, 0, 0 ), /* 290 T_Dscp */ + S_ST( '.', 0, 0, 0 ), /* 291 T_Ellipsis */ + S_ST( 'e', 0, 0, 0 ), /* 292 T_Enable */ + S_ST( 'd', 0, 0, 147 ), /* 293 T_End */ + S_ST( 'm', 3, 316, 0 ), /* 294 li */ + S_ST( 'e', 1, 155, 0 ), /* 295 T_File */ + S_ST( 'n', 0, 0, 0 ), /* 296 T_Filegen */ + S_ST( 'm', 0, 0, 0 ), /* 297 T_Filenum */ + S_ST( '1', 0, 0, 0 ), /* 298 T_Flag1 */ + S_ST( '2', 0, 0, 298 ), /* 299 T_Flag2 */ + S_ST( '3', 0, 0, 299 ), /* 300 T_Flag3 */ + S_ST( '4', 0, 0, 300 ), /* 301 T_Flag4 */ + S_ST( 'e', 0, 0, 0 ), /* 302 T_Flake */ + S_ST( 'r', 0, 0, 0 ), /* 303 T_Floor */ + S_ST( 'q', 0, 165, 0 ), /* 304 T_Freq */ + S_ST( 'e', 1, 0, 0 ), /* 305 T_Fudge */ + S_ST( 't', 1, 0, 0 ), /* 306 T_Host */ + S_ST( 'f', 0, 0, 0 ), /* 307 T_Huffpuff */ + S_ST( 't', 0, 0, 0 ), /* 308 T_Iburst */ + S_ST( 't', 1, 0, 0 ), /* 309 T_Ident */ + S_ST( 'e', 0, 0, 0 ), /* 310 T_Ignore */ + S_ST( 'c', 0, 0, 0 ), /* 311 T_Incalloc */ + S_ST( 'm', 0, 0, 0 ), /* 312 T_Incmem */ + S_ST( 'c', 0, 0, 0 ), /* 313 T_Initalloc */ + S_ST( 'm', 0, 0, 0 ), /* 314 T_Initmem */ + S_ST( 'e', 1, 0, 0 ), /* 315 T_Includefile */ + S_ST( 'i', 3, 318, 0 ), /* 316 lim */ + S_ST( 'e', 0, 0, 0 ), /* 317 T_Interface */ + S_ST( 't', 3, 413, 0 ), /* 318 limi */ + S_ST( 'o', 0, 0, 195 ), /* 319 T_Io */ + S_ST( '4', 0, 0, 0 ), /* 320 T_Ipv4 */ + S_ST( '4', 0, 0, 0 ), /* 321 T_Ipv4_flag */ + S_ST( '6', 0, 0, 320 ), /* 322 T_Ipv6 */ + S_ST( '6', 0, 0, 321 ), /* 323 T_Ipv6_flag */ + S_ST( 'l', 0, 0, 0 ), /* 324 T_Kernel */ + S_ST( 'y', 0, 326, 233 ), /* 325 T_Key */ + S_ST( 's', 1, 236, 0 ), /* 326 T_Keys */ + S_ST( 'r', 1, 0, 0 ), /* 327 T_Keysdir */ + S_ST( 'd', 0, 0, 0 ), /* 328 T_Kod */ + S_ST( 'p', 0, 0, 0 ), /* 329 T_Mssntp */ + S_ST( 'e', 1, 0, 0 ), /* 330 T_Leapfile */ + S_ST( 'l', 0, 0, 0 ), /* 331 T_Leapsmearinterval */ + S_ST( 'd', 0, 0, 0 ), /* 332 T_Limited */ + S_ST( 'k', 0, 0, 0 ), /* 333 T_Link */ + S_ST( 'n', 0, 0, 0 ), /* 334 T_Listen */ + S_ST( 'g', 2, 0, 0 ), /* 335 T_Logconfig */ + S_ST( 'e', 1, 0, 0 ), /* 336 T_Logfile */ + S_ST( 's', 0, 0, 0 ), /* 337 T_Loopstats */ + S_ST( 'p', 0, 0, 0 ), /* 338 T_Lowpriotrap */ + S_ST( 't', 1, 0, 0 ), /* 339 T_Manycastclient */ + S_ST( 'r', 2, 0, 0 ), /* 340 T_Manycastserver */ + S_ST( 'k', 0, 0, 0 ), /* 341 T_Mask */ + S_ST( 'e', 0, 0, 0 ), /* 342 T_Maxage */ + S_ST( 'k', 0, 0, 0 ), /* 343 T_Maxclock */ + S_ST( 'h', 0, 0, 0 ), /* 344 T_Maxdepth */ + S_ST( 't', 0, 0, 0 ), /* 345 T_Maxdist */ + S_ST( 'm', 0, 0, 0 ), /* 346 T_Maxmem */ + S_ST( 'l', 0, 0, 0 ), /* 347 T_Maxpoll */ + S_ST( 's', 0, 0, 0 ), /* 348 T_Mdnstries */ + S_ST( 'm', 0, 518, 0 ), /* 349 T_Mem */ + S_ST( 'k', 0, 0, 0 ), /* 350 T_Memlock */ + S_ST( 'k', 0, 0, 0 ), /* 351 T_Minclock */ + S_ST( 'h', 0, 0, 0 ), /* 352 T_Mindepth */ + S_ST( 't', 0, 0, 0 ), /* 353 T_Mindist */ + S_ST( 'm', 0, 0, 0 ), /* 354 T_Minimum */ + S_ST( 'l', 0, 0, 0 ), /* 355 T_Minpoll */ + S_ST( 'e', 0, 0, 0 ), /* 356 T_Minsane */ + S_ST( 'e', 0, 358, 0 ), /* 357 T_Mode */ + S_ST( '7', 0, 0, 0 ), /* 358 T_Mode7 */ + S_ST( 'r', 0, 0, 0 ), /* 359 T_Monitor */ + S_ST( 'h', 0, 0, 0 ), /* 360 T_Month */ + S_ST( 'u', 0, 0, 0 ), /* 361 T_Mru */ + S_ST( 't', 2, 0, 0 ), /* 362 T_Multicastclient */ + S_ST( 'c', 0, 0, 0 ), /* 363 T_Nic */ + S_ST( 'k', 0, 0, 0 ), /* 364 T_Nolink */ + S_ST( 'y', 0, 0, 0 ), /* 365 T_Nomodify */ + S_ST( 't', 0, 0, 0 ), /* 366 T_Nomrulist */ + S_ST( 'e', 0, 0, 0 ), /* 367 T_None */ + S_ST( 'e', 0, 0, 0 ), /* 368 T_Nonvolatile */ + S_ST( 'r', 0, 0, 0 ), /* 369 T_Nopeer */ + S_ST( 'y', 0, 0, 0 ), /* 370 T_Noquery */ + S_ST( 't', 0, 0, 0 ), /* 371 T_Noselect */ + S_ST( 'e', 0, 0, 0 ), /* 372 T_Noserve */ + S_ST( 'p', 0, 0, 0 ), /* 373 T_Notrap */ + S_ST( 't', 0, 0, 0 ), /* 374 T_Notrust */ + S_ST( 'p', 0, 614, 0 ), /* 375 T_Ntp */ + S_ST( 't', 0, 0, 0 ), /* 376 T_Ntpport */ + S_ST( 't', 1, 0, 0 ), /* 377 T_NtpSignDsocket */ + S_ST( 'n', 0, 629, 0 ), /* 378 T_Orphan */ + S_ST( 't', 0, 0, 0 ), /* 379 T_Orphanwait */ + S_ST( 'c', 0, 0, 0 ), /* 380 T_Panic */ + S_ST( 'r', 1, 638, 0 ), /* 381 T_Peer */ + S_ST( 's', 0, 0, 0 ), /* 382 T_Peerstats */ + S_ST( 'e', 2, 0, 0 ), /* 383 T_Phone */ + S_ST( 'd', 0, 646, 0 ), /* 384 T_Pid */ + S_ST( 'e', 1, 0, 0 ), /* 385 T_Pidfile */ + S_ST( 'l', 1, 0, 0 ), /* 386 T_Pool */ + S_ST( 't', 0, 0, 0 ), /* 387 T_Port */ + S_ST( 't', 0, 0, 0 ), /* 388 T_Preempt */ + S_ST( 'r', 0, 0, 0 ), /* 389 T_Prefer */ + S_ST( 's', 0, 0, 0 ), /* 390 T_Protostats */ + S_ST( 'w', 1, 0, 652 ), /* 391 T_Pw */ + S_ST( 'e', 1, 0, 0 ), /* 392 T_Randfile */ + S_ST( 's', 0, 0, 0 ), /* 393 T_Rawstats */ + S_ST( 'd', 1, 0, 0 ), /* 394 T_Refid */ + S_ST( 'y', 0, 0, 0 ), /* 395 T_Requestkey */ + S_ST( 't', 0, 0, 0 ), /* 396 T_Reset */ + S_ST( 't', 0, 0, 0 ), /* 397 T_Restrict */ + S_ST( 'e', 0, 0, 0 ), /* 398 T_Revoke */ + S_ST( 't', 0, 0, 0 ), /* 399 T_Rlimit */ + S_ST( 'r', 1, 0, 0 ), /* 400 T_Saveconfigdir */ + S_ST( 'r', 1, 729, 0 ), /* 401 T_Server */ + S_ST( 'r', 1, 0, 0 ), /* 402 T_Setvar */ + S_ST( 'e', 0, 0, 0 ), /* 403 T_Source */ + S_ST( 'e', 0, 0, 0 ), /* 404 T_Stacksize */ + S_ST( 's', 0, 0, 0 ), /* 405 T_Statistics */ + S_ST( 's', 0, 772, 767 ), /* 406 T_Stats */ + S_ST( 'r', 1, 0, 0 ), /* 407 T_Statsdir */ + S_ST( 'p', 0, 780, 0 ), /* 408 T_Step */ + S_ST( 'k', 0, 0, 0 ), /* 409 T_Stepback */ + S_ST( 'd', 0, 0, 0 ), /* 410 T_Stepfwd */ + S_ST( 't', 0, 0, 0 ), /* 411 T_Stepout */ + S_ST( 'm', 0, 0, 0 ), /* 412 T_Stratum */ + S_ST( 'e', 3, 332, 0 ), /* 413 limit */ + S_ST( 's', 0, 787, 0 ), /* 414 T_Sys */ + S_ST( 's', 0, 0, 0 ), /* 415 T_Sysstats */ + S_ST( 'k', 0, 0, 0 ), /* 416 T_Tick */ + S_ST( '1', 0, 0, 0 ), /* 417 T_Time1 */ + S_ST( '2', 0, 0, 417 ), /* 418 T_Time2 */ + S_ST( 'r', 0, 0, 418 ), /* 419 T_Timer */ + S_ST( 's', 0, 0, 0 ), /* 420 T_Timingstats */ + S_ST( 'r', 0, 0, 0 ), /* 421 T_Tinker */ + S_ST( 's', 0, 0, 0 ), /* 422 T_Tos */ + S_ST( 'p', 1, 0, 0 ), /* 423 T_Trap */ + S_ST( 'e', 0, 0, 0 ), /* 424 T_True */ + S_ST( 'y', 0, 0, 0 ), /* 425 T_Trustedkey */ + S_ST( 'l', 0, 0, 0 ), /* 426 T_Ttl */ + S_ST( 'e', 0, 0, 0 ), /* 427 T_Type */ + S_ST( 'n', 3, 333, 294 ), /* 428 li */ + S_ST( 'g', 1, 0, 0 ), /* 429 T_Unconfig */ + S_ST( 'r', 1, 0, 0 ), /* 430 T_Unpeer */ + S_ST( 'n', 0, 0, 0 ), /* 431 T_Version */ + S_ST( 's', 3, 437, 428 ), /* 432 li */ + S_ST( 'k', 0, 0, 0 ), /* 433 T_Week */ + S_ST( 'd', 0, 0, 0 ), /* 434 T_Wildcard */ + S_ST( 'e', 0, 0, 0 ), /* 435 T_Xleave */ + S_ST( 'r', 0, 0, 0 ), /* 436 T_Year */ + S_ST( 't', 3, 438, 0 ), /* 437 lis */ + S_ST( 'e', 3, 334, 0 ), /* 438 list */ + S_ST( 'e', 0, 0, 0 ), /* 439 T_Simulate */ + S_ST( 'y', 0, 0, 0 ), /* 440 T_Beep_Delay */ + S_ST( 'n', 0, 0, 0 ), /* 441 T_Sim_Duration */ + S_ST( 't', 0, 0, 0 ), /* 442 T_Server_Offset */ + S_ST( 'n', 0, 0, 0 ), /* 443 T_Duration */ + S_ST( 't', 0, 0, 0 ), /* 444 T_Freq_Offset */ + S_ST( 'r', 0, 0, 0 ), /* 445 T_Wander */ + S_ST( 'r', 0, 0, 0 ), /* 446 T_Jitter */ + S_ST( 'y', 0, 0, 0 ), /* 447 T_Prop_Delay */ + S_ST( 'y', 0, 0, 0 ), /* 448 T_Proc_Delay */ + S_ST( 'o', 3, 465, 287 ), /* 449 l */ + S_ST( 'g', 3, 456, 0 ), /* 450 lo */ + S_ST( 'c', 3, 452, 0 ), /* 451 log */ + S_ST( 'o', 3, 453, 0 ), /* 452 logc */ + S_ST( 'n', 3, 454, 0 ), /* 453 logco */ + S_ST( 'f', 3, 455, 0 ), /* 454 logcon */ + S_ST( 'i', 3, 335, 0 ), /* 455 logconf */ + S_ST( 'f', 3, 457, 451 ), /* 456 log */ + S_ST( 'i', 3, 458, 0 ), /* 457 logf */ + S_ST( 'l', 3, 336, 0 ), /* 458 logfi */ + S_ST( 'o', 3, 460, 450 ), /* 459 lo */ + S_ST( 'p', 3, 461, 0 ), /* 460 loo */ + S_ST( 's', 3, 462, 0 ), /* 461 loop */ + S_ST( 't', 3, 463, 0 ), /* 462 loops */ + S_ST( 'a', 3, 464, 0 ), /* 463 loopst */ + S_ST( 't', 3, 337, 0 ), /* 464 loopsta */ + S_ST( 'w', 3, 466, 459 ), /* 465 lo */ + S_ST( 'p', 3, 467, 0 ), /* 466 low */ + S_ST( 'r', 3, 468, 0 ), /* 467 lowp */ + S_ST( 'i', 3, 469, 0 ), /* 468 lowpr */ + S_ST( 'o', 3, 470, 0 ), /* 469 lowpri */ + S_ST( 't', 3, 471, 0 ), /* 470 lowprio */ + S_ST( 'r', 3, 472, 0 ), /* 471 lowpriot */ + S_ST( 'a', 3, 338, 0 ), /* 472 lowpriotr */ + S_ST( 'm', 3, 554, 239 ), /* 473 */ + S_ST( 'a', 3, 492, 0 ), /* 474 m */ + S_ST( 'n', 3, 476, 0 ), /* 475 ma */ + S_ST( 'y', 3, 477, 0 ), /* 476 man */ + S_ST( 'c', 3, 478, 0 ), /* 477 many */ + S_ST( 'a', 3, 479, 0 ), /* 478 manyc */ + S_ST( 's', 3, 480, 0 ), /* 479 manyca */ + S_ST( 't', 3, 486, 0 ), /* 480 manycas */ + S_ST( 'c', 3, 482, 0 ), /* 481 manycast */ + S_ST( 'l', 3, 483, 0 ), /* 482 manycastc */ + S_ST( 'i', 3, 484, 0 ), /* 483 manycastcl */ + S_ST( 'e', 3, 485, 0 ), /* 484 manycastcli */ + S_ST( 'n', 3, 339, 0 ), /* 485 manycastclie */ + S_ST( 's', 3, 487, 481 ), /* 486 manycast */ + S_ST( 'e', 3, 488, 0 ), /* 487 manycasts */ + S_ST( 'r', 3, 489, 0 ), /* 488 manycastse */ + S_ST( 'v', 3, 490, 0 ), /* 489 manycastser */ + S_ST( 'e', 3, 340, 0 ), /* 490 manycastserv */ + S_ST( 's', 3, 341, 475 ), /* 491 ma */ + S_ST( 'x', 3, 507, 491 ), /* 492 ma */ + S_ST( 'a', 3, 494, 0 ), /* 493 max */ + S_ST( 'g', 3, 342, 0 ), /* 494 maxa */ + S_ST( 'c', 3, 496, 493 ), /* 495 max */ + S_ST( 'l', 3, 497, 0 ), /* 496 maxc */ + S_ST( 'o', 3, 498, 0 ), /* 497 maxcl */ + S_ST( 'c', 3, 343, 0 ), /* 498 maxclo */ + S_ST( 'd', 3, 503, 495 ), /* 499 max */ + S_ST( 'e', 3, 501, 0 ), /* 500 maxd */ + S_ST( 'p', 3, 502, 0 ), /* 501 maxde */ + S_ST( 't', 3, 344, 0 ), /* 502 maxdep */ + S_ST( 'i', 3, 504, 500 ), /* 503 maxd */ + S_ST( 's', 3, 345, 0 ), /* 504 maxdi */ + S_ST( 'm', 3, 506, 499 ), /* 505 max */ + S_ST( 'e', 3, 346, 0 ), /* 506 maxm */ + S_ST( 'p', 3, 508, 505 ), /* 507 max */ + S_ST( 'o', 3, 509, 0 ), /* 508 maxp */ + S_ST( 'l', 3, 347, 0 ), /* 509 maxpo */ + S_ST( 'd', 3, 511, 474 ), /* 510 m */ + S_ST( 'n', 3, 512, 0 ), /* 511 md */ + S_ST( 's', 3, 513, 0 ), /* 512 mdn */ + S_ST( 't', 3, 514, 0 ), /* 513 mdns */ + S_ST( 'r', 3, 515, 0 ), /* 514 mdnst */ + S_ST( 'i', 3, 516, 0 ), /* 515 mdnstr */ + S_ST( 'e', 3, 348, 0 ), /* 516 mdnstri */ + S_ST( 'e', 3, 349, 510 ), /* 517 m */ + S_ST( 'l', 3, 519, 0 ), /* 518 mem */ + S_ST( 'o', 3, 520, 0 ), /* 519 meml */ + S_ST( 'c', 3, 350, 0 ), /* 520 memlo */ + S_ST( 'i', 3, 522, 517 ), /* 521 m */ + S_ST( 'n', 3, 539, 0 ), /* 522 mi */ + S_ST( 'c', 3, 524, 0 ), /* 523 min */ + S_ST( 'l', 3, 525, 0 ), /* 524 minc */ + S_ST( 'o', 3, 526, 0 ), /* 525 mincl */ + S_ST( 'c', 3, 351, 0 ), /* 526 minclo */ + S_ST( 'd', 3, 531, 523 ), /* 527 min */ + S_ST( 'e', 3, 529, 0 ), /* 528 mind */ + S_ST( 'p', 3, 530, 0 ), /* 529 minde */ + S_ST( 't', 3, 352, 0 ), /* 530 mindep */ + S_ST( 'i', 3, 532, 528 ), /* 531 mind */ + S_ST( 's', 3, 353, 0 ), /* 532 mindi */ + S_ST( 'i', 3, 534, 527 ), /* 533 min */ + S_ST( 'm', 3, 535, 0 ), /* 534 mini */ + S_ST( 'u', 3, 354, 0 ), /* 535 minim */ + S_ST( 'p', 3, 537, 533 ), /* 536 min */ + S_ST( 'o', 3, 538, 0 ), /* 537 minp */ + S_ST( 'l', 3, 355, 0 ), /* 538 minpo */ + S_ST( 's', 3, 540, 536 ), /* 539 min */ + S_ST( 'a', 3, 541, 0 ), /* 540 mins */ + S_ST( 'n', 3, 356, 0 ), /* 541 minsa */ + S_ST( 'o', 3, 544, 521 ), /* 542 m */ + S_ST( 'd', 3, 357, 0 ), /* 543 mo */ + S_ST( 'n', 3, 548, 543 ), /* 544 mo */ + S_ST( 'i', 3, 546, 0 ), /* 545 mon */ + S_ST( 't', 3, 547, 0 ), /* 546 moni */ + S_ST( 'o', 3, 359, 0 ), /* 547 monit */ + S_ST( 't', 3, 360, 545 ), /* 548 mon */ + S_ST( 'r', 3, 361, 542 ), /* 549 m */ + S_ST( 's', 3, 551, 549 ), /* 550 m */ + S_ST( 's', 3, 552, 0 ), /* 551 ms */ + S_ST( 'n', 3, 553, 0 ), /* 552 mss */ + S_ST( 't', 3, 329, 0 ), /* 553 mssn */ + S_ST( 'u', 3, 555, 550 ), /* 554 m */ + S_ST( 'l', 3, 556, 0 ), /* 555 mu */ + S_ST( 't', 3, 557, 0 ), /* 556 mul */ + S_ST( 'i', 3, 558, 0 ), /* 557 mult */ + S_ST( 'c', 3, 559, 0 ), /* 558 multi */ + S_ST( 'a', 3, 560, 0 ), /* 559 multic */ + S_ST( 's', 3, 561, 0 ), /* 560 multica */ + S_ST( 't', 3, 562, 0 ), /* 561 multicas */ + S_ST( 'c', 3, 563, 0 ), /* 562 multicast */ + S_ST( 'l', 3, 564, 0 ), /* 563 multicastc */ + S_ST( 'i', 3, 565, 0 ), /* 564 multicastcl */ + S_ST( 'e', 3, 566, 0 ), /* 565 multicastcli */ + S_ST( 'n', 3, 362, 0 ), /* 566 multicastclie */ + S_ST( 'n', 3, 610, 473 ), /* 567 */ + S_ST( 'i', 3, 363, 0 ), /* 568 n */ + S_ST( 'o', 3, 605, 568 ), /* 569 n */ + S_ST( 'l', 3, 571, 0 ), /* 570 no */ + S_ST( 'i', 3, 572, 0 ), /* 571 nol */ + S_ST( 'n', 3, 364, 0 ), /* 572 noli */ + S_ST( 'm', 3, 578, 570 ), /* 573 no */ + S_ST( 'o', 3, 575, 0 ), /* 574 nom */ + S_ST( 'd', 3, 576, 0 ), /* 575 nomo */ + S_ST( 'i', 3, 577, 0 ), /* 576 nomod */ + S_ST( 'f', 3, 365, 0 ), /* 577 nomodi */ + S_ST( 'r', 3, 579, 574 ), /* 578 nom */ + S_ST( 'u', 3, 580, 0 ), /* 579 nomr */ + S_ST( 'l', 3, 581, 0 ), /* 580 nomru */ + S_ST( 'i', 3, 582, 0 ), /* 581 nomrul */ + S_ST( 's', 3, 366, 0 ), /* 582 nomruli */ + S_ST( 'n', 3, 584, 573 ), /* 583 no */ + S_ST( 'v', 3, 585, 367 ), /* 584 non */ + S_ST( 'o', 3, 586, 0 ), /* 585 nonv */ + S_ST( 'l', 3, 587, 0 ), /* 586 nonvo */ + S_ST( 'a', 3, 588, 0 ), /* 587 nonvol */ + S_ST( 't', 3, 589, 0 ), /* 588 nonvola */ + S_ST( 'i', 3, 590, 0 ), /* 589 nonvolat */ + S_ST( 'l', 3, 368, 0 ), /* 590 nonvolati */ + S_ST( 'p', 3, 592, 583 ), /* 591 no */ + S_ST( 'e', 3, 593, 0 ), /* 592 nop */ + S_ST( 'e', 3, 369, 0 ), /* 593 nope */ + S_ST( 'q', 3, 595, 591 ), /* 594 no */ + S_ST( 'u', 3, 596, 0 ), /* 595 noq */ + S_ST( 'e', 3, 597, 0 ), /* 596 noqu */ + S_ST( 'r', 3, 370, 0 ), /* 597 noque */ + S_ST( 's', 3, 599, 594 ), /* 598 no */ + S_ST( 'e', 3, 603, 0 ), /* 599 nos */ + S_ST( 'l', 3, 601, 0 ), /* 600 nose */ + S_ST( 'e', 3, 602, 0 ), /* 601 nosel */ + S_ST( 'c', 3, 371, 0 ), /* 602 nosele */ + S_ST( 'r', 3, 604, 600 ), /* 603 nose */ + S_ST( 'v', 3, 372, 0 ), /* 604 noser */ + S_ST( 't', 3, 606, 598 ), /* 605 no */ + S_ST( 'r', 3, 608, 0 ), /* 606 not */ + S_ST( 'a', 3, 373, 0 ), /* 607 notr */ + S_ST( 'u', 3, 609, 607 ), /* 608 notr */ + S_ST( 's', 3, 374, 0 ), /* 609 notru */ + S_ST( 't', 3, 375, 569 ), /* 610 n */ + S_ST( 'p', 3, 612, 0 ), /* 611 ntp */ + S_ST( 'o', 3, 613, 0 ), /* 612 ntpp */ + S_ST( 'r', 3, 376, 0 ), /* 613 ntppo */ + S_ST( 's', 3, 615, 611 ), /* 614 ntp */ + S_ST( 'i', 3, 616, 0 ), /* 615 ntps */ + S_ST( 'g', 3, 617, 0 ), /* 616 ntpsi */ + S_ST( 'n', 3, 618, 0 ), /* 617 ntpsig */ + S_ST( 'd', 3, 619, 0 ), /* 618 ntpsign */ + S_ST( 's', 3, 620, 0 ), /* 619 ntpsignd */ + S_ST( 'o', 3, 621, 0 ), /* 620 ntpsignds */ + S_ST( 'c', 3, 622, 0 ), /* 621 ntpsigndso */ + S_ST( 'k', 3, 623, 0 ), /* 622 ntpsigndsoc */ + S_ST( 'e', 3, 377, 0 ), /* 623 ntpsigndsock */ + S_ST( 'o', 3, 625, 567 ), /* 624 */ + S_ST( 'r', 3, 626, 0 ), /* 625 o */ + S_ST( 'p', 3, 627, 0 ), /* 626 or */ + S_ST( 'h', 3, 628, 0 ), /* 627 orp */ + S_ST( 'a', 3, 378, 0 ), /* 628 orph */ + S_ST( 'w', 3, 630, 0 ), /* 629 orphan */ + S_ST( 'a', 3, 631, 0 ), /* 630 orphanw */ + S_ST( 'i', 3, 379, 0 ), /* 631 orphanwa */ + S_ST( 'p', 3, 391, 624 ), /* 632 */ + S_ST( 'a', 3, 634, 0 ), /* 633 p */ + S_ST( 'n', 3, 635, 0 ), /* 634 pa */ + S_ST( 'i', 3, 380, 0 ), /* 635 pan */ + S_ST( 'e', 3, 637, 633 ), /* 636 p */ + S_ST( 'e', 3, 381, 0 ), /* 637 pe */ + S_ST( 's', 3, 639, 0 ), /* 638 peer */ + S_ST( 't', 3, 640, 0 ), /* 639 peers */ + S_ST( 'a', 3, 641, 0 ), /* 640 peerst */ + S_ST( 't', 3, 382, 0 ), /* 641 peersta */ + S_ST( 'h', 3, 643, 636 ), /* 642 p */ + S_ST( 'o', 3, 644, 0 ), /* 643 ph */ + S_ST( 'n', 3, 383, 0 ), /* 644 pho */ + S_ST( 'i', 3, 384, 642 ), /* 645 p */ + S_ST( 'f', 3, 647, 0 ), /* 646 pid */ + S_ST( 'i', 3, 648, 0 ), /* 647 pidf */ + S_ST( 'l', 3, 385, 0 ), /* 648 pidfi */ + S_ST( 'o', 3, 651, 645 ), /* 649 p */ + S_ST( 'o', 3, 386, 0 ), /* 650 po */ + S_ST( 'r', 3, 387, 650 ), /* 651 po */ + S_ST( 'r', 3, 659, 649 ), /* 652 p */ + S_ST( 'e', 3, 657, 0 ), /* 653 pr */ + S_ST( 'e', 3, 655, 0 ), /* 654 pre */ + S_ST( 'm', 3, 656, 0 ), /* 655 pree */ + S_ST( 'p', 3, 388, 0 ), /* 656 preem */ + S_ST( 'f', 3, 658, 654 ), /* 657 pre */ + S_ST( 'e', 3, 389, 0 ), /* 658 pref */ + S_ST( 'o', 3, 672, 653 ), /* 659 pr */ + S_ST( 'c', 3, 661, 0 ), /* 660 pro */ + S_ST( '_', 3, 662, 0 ), /* 661 proc */ + S_ST( 'd', 3, 663, 0 ), /* 662 proc_ */ + S_ST( 'e', 3, 664, 0 ), /* 663 proc_d */ + S_ST( 'l', 3, 665, 0 ), /* 664 proc_de */ + S_ST( 'a', 3, 448, 0 ), /* 665 proc_del */ + S_ST( 'p', 3, 667, 660 ), /* 666 pro */ + S_ST( '_', 3, 668, 0 ), /* 667 prop */ + S_ST( 'd', 3, 669, 0 ), /* 668 prop_ */ + S_ST( 'e', 3, 670, 0 ), /* 669 prop_d */ + S_ST( 'l', 3, 671, 0 ), /* 670 prop_de */ + S_ST( 'a', 3, 447, 0 ), /* 671 prop_del */ + S_ST( 't', 3, 673, 666 ), /* 672 pro */ + S_ST( 'o', 3, 674, 0 ), /* 673 prot */ + S_ST( 's', 3, 675, 0 ), /* 674 proto */ + S_ST( 't', 3, 676, 0 ), /* 675 protos */ + S_ST( 'a', 3, 677, 0 ), /* 676 protost */ + S_ST( 't', 3, 390, 0 ), /* 677 protosta */ + S_ST( 'r', 3, 709, 632 ), /* 678 */ + S_ST( 'a', 3, 685, 0 ), /* 679 r */ + S_ST( 'n', 3, 681, 0 ), /* 680 ra */ + S_ST( 'd', 3, 682, 0 ), /* 681 ran */ + S_ST( 'f', 3, 683, 0 ), /* 682 rand */ + S_ST( 'i', 3, 684, 0 ), /* 683 randf */ + S_ST( 'l', 3, 392, 0 ), /* 684 randfi */ + S_ST( 'w', 3, 686, 680 ), /* 685 ra */ + S_ST( 's', 3, 687, 0 ), /* 686 raw */ + S_ST( 't', 3, 688, 0 ), /* 687 raws */ + S_ST( 'a', 3, 689, 0 ), /* 688 rawst */ + S_ST( 't', 3, 393, 0 ), /* 689 rawsta */ + S_ST( 'e', 3, 706, 679 ), /* 690 r */ + S_ST( 'f', 3, 692, 0 ), /* 691 re */ + S_ST( 'i', 3, 394, 0 ), /* 692 ref */ + S_ST( 'q', 3, 694, 691 ), /* 693 re */ + S_ST( 'u', 3, 695, 0 ), /* 694 req */ + S_ST( 'e', 3, 696, 0 ), /* 695 requ */ + S_ST( 's', 3, 697, 0 ), /* 696 reque */ + S_ST( 't', 3, 698, 0 ), /* 697 reques */ + S_ST( 'k', 3, 699, 0 ), /* 698 request */ + S_ST( 'e', 3, 395, 0 ), /* 699 requestk */ + S_ST( 's', 3, 702, 693 ), /* 700 re */ + S_ST( 'e', 3, 396, 0 ), /* 701 res */ + S_ST( 't', 3, 703, 701 ), /* 702 res */ + S_ST( 'r', 3, 704, 0 ), /* 703 rest */ + S_ST( 'i', 3, 705, 0 ), /* 704 restr */ + S_ST( 'c', 3, 397, 0 ), /* 705 restri */ + S_ST( 'v', 3, 707, 700 ), /* 706 re */ + S_ST( 'o', 3, 708, 0 ), /* 707 rev */ + S_ST( 'k', 3, 398, 0 ), /* 708 revo */ + S_ST( 'l', 3, 710, 690 ), /* 709 r */ + S_ST( 'i', 3, 711, 0 ), /* 710 rl */ + S_ST( 'm', 3, 712, 0 ), /* 711 rli */ + S_ST( 'i', 3, 399, 0 ), /* 712 rlim */ + S_ST( 's', 3, 786, 678 ), /* 713 */ + S_ST( 'a', 3, 715, 0 ), /* 714 s */ + S_ST( 'v', 3, 716, 0 ), /* 715 sa */ + S_ST( 'e', 3, 717, 0 ), /* 716 sav */ + S_ST( 'c', 3, 718, 0 ), /* 717 save */ + S_ST( 'o', 3, 719, 0 ), /* 718 savec */ + S_ST( 'n', 3, 720, 0 ), /* 719 saveco */ + S_ST( 'f', 3, 721, 0 ), /* 720 savecon */ + S_ST( 'i', 3, 722, 0 ), /* 721 saveconf */ + S_ST( 'g', 3, 723, 0 ), /* 722 saveconfi */ + S_ST( 'd', 3, 724, 0 ), /* 723 saveconfig */ + S_ST( 'i', 3, 400, 0 ), /* 724 saveconfigd */ + S_ST( 'e', 3, 735, 714 ), /* 725 s */ + S_ST( 'r', 3, 727, 0 ), /* 726 se */ + S_ST( 'v', 3, 728, 0 ), /* 727 ser */ + S_ST( 'e', 3, 401, 0 ), /* 728 serv */ + S_ST( '_', 3, 730, 0 ), /* 729 server */ + S_ST( 'o', 3, 731, 0 ), /* 730 server_ */ + S_ST( 'f', 3, 732, 0 ), /* 731 server_o */ + S_ST( 'f', 3, 733, 0 ), /* 732 server_of */ + S_ST( 's', 3, 734, 0 ), /* 733 server_off */ + S_ST( 'e', 3, 442, 0 ), /* 734 server_offs */ + S_ST( 't', 3, 736, 726 ), /* 735 se */ + S_ST( 'v', 3, 737, 0 ), /* 736 set */ + S_ST( 'a', 3, 402, 0 ), /* 737 setv */ + S_ST( 'i', 3, 739, 725 ), /* 738 s */ + S_ST( 'm', 3, 740, 0 ), /* 739 si */ + S_ST( 'u', 3, 741, 0 ), /* 740 sim */ + S_ST( 'l', 3, 742, 0 ), /* 741 simu */ + S_ST( 'a', 3, 743, 0 ), /* 742 simul */ + S_ST( 't', 3, 744, 0 ), /* 743 simula */ + S_ST( 'i', 3, 745, 439 ), /* 744 simulat */ + S_ST( 'o', 3, 746, 0 ), /* 745 simulati */ + S_ST( 'n', 3, 747, 0 ), /* 746 simulatio */ + S_ST( '_', 3, 748, 0 ), /* 747 simulation */ + S_ST( 'd', 3, 749, 0 ), /* 748 simulation_ */ + S_ST( 'u', 3, 750, 0 ), /* 749 simulation_d */ + S_ST( 'r', 3, 751, 0 ), /* 750 simulation_du */ + S_ST( 'a', 3, 752, 0 ), /* 751 simulation_dur */ + S_ST( 't', 3, 753, 0 ), /* 752 simulation_dura */ + S_ST( 'i', 3, 754, 0 ), /* 753 simulation_durat */ + S_ST( 'o', 3, 441, 0 ), /* 754 simulation_durati */ + S_ST( 'o', 3, 756, 738 ), /* 755 s */ + S_ST( 'u', 3, 757, 0 ), /* 756 so */ + S_ST( 'r', 3, 758, 0 ), /* 757 sou */ + S_ST( 'c', 3, 403, 0 ), /* 758 sour */ + S_ST( 't', 3, 782, 755 ), /* 759 s */ + S_ST( 'a', 3, 766, 0 ), /* 760 st */ + S_ST( 'c', 3, 762, 0 ), /* 761 sta */ + S_ST( 'k', 3, 763, 0 ), /* 762 stac */ + S_ST( 's', 3, 764, 0 ), /* 763 stack */ + S_ST( 'i', 3, 765, 0 ), /* 764 stacks */ + S_ST( 'z', 3, 404, 0 ), /* 765 stacksi */ + S_ST( 't', 3, 406, 761 ), /* 766 sta */ + S_ST( 'i', 3, 768, 0 ), /* 767 stat */ + S_ST( 's', 3, 769, 0 ), /* 768 stati */ + S_ST( 't', 3, 770, 0 ), /* 769 statis */ + S_ST( 'i', 3, 771, 0 ), /* 770 statist */ + S_ST( 'c', 3, 405, 0 ), /* 771 statisti */ + S_ST( 'd', 3, 773, 0 ), /* 772 stats */ + S_ST( 'i', 3, 407, 0 ), /* 773 statsd */ + S_ST( 'e', 3, 408, 760 ), /* 774 st */ + S_ST( 'b', 3, 776, 0 ), /* 775 step */ + S_ST( 'a', 3, 777, 0 ), /* 776 stepb */ + S_ST( 'c', 3, 409, 0 ), /* 777 stepba */ + S_ST( 'f', 3, 779, 775 ), /* 778 step */ + S_ST( 'w', 3, 410, 0 ), /* 779 stepf */ + S_ST( 'o', 3, 781, 778 ), /* 780 step */ + S_ST( 'u', 3, 411, 0 ), /* 781 stepo */ + S_ST( 'r', 3, 783, 774 ), /* 782 st */ + S_ST( 'a', 3, 784, 0 ), /* 783 str */ + S_ST( 't', 3, 785, 0 ), /* 784 stra */ + S_ST( 'u', 3, 412, 0 ), /* 785 strat */ + S_ST( 'y', 3, 414, 759 ), /* 786 s */ + S_ST( 's', 3, 788, 0 ), /* 787 sys */ + S_ST( 't', 3, 789, 0 ), /* 788 syss */ + S_ST( 'a', 3, 790, 0 ), /* 789 sysst */ + S_ST( 't', 3, 415, 0 ), /* 790 syssta */ + S_ST( 't', 3, 817, 713 ), /* 791 */ + S_ST( 'i', 3, 803, 0 ), /* 792 t */ + S_ST( 'c', 3, 416, 0 ), /* 793 ti */ + S_ST( 'm', 3, 796, 793 ), /* 794 ti */ + S_ST( 'e', 3, 419, 0 ), /* 795 tim */ + S_ST( 'i', 3, 797, 795 ), /* 796 tim */ + S_ST( 'n', 3, 798, 0 ), /* 797 timi */ + S_ST( 'g', 3, 799, 0 ), /* 798 timin */ + S_ST( 's', 3, 800, 0 ), /* 799 timing */ + S_ST( 't', 3, 801, 0 ), /* 800 timings */ + S_ST( 'a', 3, 802, 0 ), /* 801 timingst */ + S_ST( 't', 3, 420, 0 ), /* 802 timingsta */ + S_ST( 'n', 3, 804, 794 ), /* 803 ti */ + S_ST( 'k', 3, 805, 0 ), /* 804 tin */ + S_ST( 'e', 3, 421, 0 ), /* 805 tink */ + S_ST( 'o', 3, 422, 792 ), /* 806 t */ + S_ST( 'r', 3, 809, 806 ), /* 807 t */ + S_ST( 'a', 3, 423, 0 ), /* 808 tr */ + S_ST( 'u', 3, 810, 808 ), /* 809 tr */ + S_ST( 's', 3, 811, 424 ), /* 810 tru */ + S_ST( 't', 3, 812, 0 ), /* 811 trus */ + S_ST( 'e', 3, 813, 0 ), /* 812 trust */ + S_ST( 'd', 3, 814, 0 ), /* 813 truste */ + S_ST( 'k', 3, 815, 0 ), /* 814 trusted */ + S_ST( 'e', 3, 425, 0 ), /* 815 trustedk */ + S_ST( 't', 3, 426, 807 ), /* 816 t */ + S_ST( 'y', 3, 818, 816 ), /* 817 t */ + S_ST( 'p', 3, 427, 0 ), /* 818 ty */ + S_ST( 'u', 3, 820, 791 ), /* 819 */ + S_ST( 'n', 3, 826, 0 ), /* 820 u */ + S_ST( 'c', 3, 822, 0 ), /* 821 un */ + S_ST( 'o', 3, 823, 0 ), /* 822 unc */ + S_ST( 'n', 3, 824, 0 ), /* 823 unco */ + S_ST( 'f', 3, 825, 0 ), /* 824 uncon */ + S_ST( 'i', 3, 429, 0 ), /* 825 unconf */ + S_ST( 'p', 3, 827, 821 ), /* 826 un */ + S_ST( 'e', 3, 828, 0 ), /* 827 unp */ + S_ST( 'e', 3, 430, 0 ), /* 828 unpe */ + S_ST( 'v', 3, 830, 819 ), /* 829 */ + S_ST( 'e', 3, 831, 0 ), /* 830 v */ + S_ST( 'r', 3, 832, 0 ), /* 831 ve */ + S_ST( 's', 3, 833, 0 ), /* 832 ver */ + S_ST( 'i', 3, 834, 0 ), /* 833 vers */ + S_ST( 'o', 3, 431, 0 ), /* 834 versi */ + S_ST( 'w', 3, 842, 829 ), /* 835 */ + S_ST( 'a', 3, 837, 0 ), /* 836 w */ + S_ST( 'n', 3, 838, 0 ), /* 837 wa */ + S_ST( 'd', 3, 839, 0 ), /* 838 wan */ + S_ST( 'e', 3, 445, 0 ), /* 839 wand */ + S_ST( 'e', 3, 841, 836 ), /* 840 w */ + S_ST( 'e', 3, 433, 0 ), /* 841 we */ + S_ST( 'i', 3, 843, 840 ), /* 842 w */ + S_ST( 'l', 3, 844, 0 ), /* 843 wi */ + S_ST( 'd', 3, 845, 0 ), /* 844 wil */ + S_ST( 'c', 3, 846, 0 ), /* 845 wild */ + S_ST( 'a', 3, 847, 0 ), /* 846 wildc */ + S_ST( 'r', 3, 434, 0 ), /* 847 wildca */ + S_ST( 'x', 3, 849, 835 ), /* 848 */ + S_ST( 'l', 3, 850, 0 ), /* 849 x */ + S_ST( 'e', 3, 851, 0 ), /* 850 xl */ + S_ST( 'a', 3, 852, 0 ), /* 851 xle */ + S_ST( 'v', 3, 435, 0 ), /* 852 xlea */ + S_ST( 'y', 3, 854, 848 ), /* 853 [initial state] */ + S_ST( 'e', 3, 855, 0 ), /* 854 y */ + S_ST( 'a', 3, 436, 0 ) /* 855 ye */ }; diff --git a/contrib/ntp/ntpd/ntp_leapsec.c b/contrib/ntp/ntpd/ntp_leapsec.c index eeef89f3c648..7a652f5cf6b9 100644 --- a/contrib/ntp/ntpd/ntp_leapsec.c +++ b/contrib/ntp/ntpd/ntp_leapsec.c @@ -89,11 +89,13 @@ static char * get_line(leapsec_reader, void*, char*, size_t); static char * skipws(const char*); static int parsefail(const char * cp, const char * ep); static void reload_limits(leap_table_t*, const vint64*); +static void fetch_leap_era(leap_era_t*, const leap_table_t*, + const vint64*); static int betweenu32(uint32_t, uint32_t, uint32_t); static void reset_times(leap_table_t*); static int leapsec_add(leap_table_t*, const vint64*, int); static int leapsec_raw(leap_table_t*, const vint64 *, int, int); -static char * lstostr(const vint64 * ts); +static const char * lstostr(const vint64 * ts); /* ===================================================================== * Get & Set the current leap table @@ -107,8 +109,17 @@ leapsec_get_table( leap_table_t *p1, *p2; p1 = _lptr; - p1 = &_ltab[p1 == &_ltab[1]]; - p2 = &_ltab[p1 == &_ltab[0]]; + if (p1 == &_ltab[0]) { + p2 = &_ltab[1]; + } else if (p1 == &_ltab[1]) { + p2 = &_ltab[0]; + } else { + p1 = &_ltab[0]; + p2 = &_ltab[1]; + reset_times(p1); + reset_times(p2); + _lptr = p1; + } if (alternate) { memcpy(p2, p1, sizeof(leap_table_t)); p1 = p2; @@ -178,10 +189,15 @@ leapsec_load( struct calendar build; leapsec_clear(pt); - if (use_build_limit && ntpcal_get_build_date(&build)) + if (use_build_limit && ntpcal_get_build_date(&build)) { + /* don't prune everything -- permit the last 10yrs + * before build. + */ + build.year -= 10; limit = ntpcal_date_to_ntp64(&build); - else + } else { memset(&limit, 0, sizeof(limit)); + } while (get_line(func, farg, linebuf, sizeof(linebuf))) { cp = linebuf; @@ -198,7 +214,7 @@ leapsec_load( pt->head.update = strtouv64(cp, &ep, 10); if (parsefail(cp, ep)) goto fail_read; - } + } } else if (isdigit((u_char)*cp)) { ttime = strtouv64(cp, &ep, 10); if (parsefail(cp, ep)) @@ -288,7 +304,7 @@ leapsec_query( * leap era frame. */ reload_limits(pt, &ts64); - } else if (ucmpv64(&ts64, &pt->head.dtime) >= 0) { + } else if (ucmpv64(&ts64, &pt->head.dtime) >= 0) { /* Boundary crossed in forward direction. This might * indicate a leap transition, so we prepare for that * case. @@ -296,32 +312,47 @@ leapsec_query( * Some operations below are actually NOPs in electric * mode, but having only one code path that works for * both modes is easier to maintain. + * + * There's another quirk we must keep looking out for: + * If we just stepped the clock, the step might have + * crossed a leap boundary. As with backward steps, we + * do not want to raise the 'fired' event in that case. + * So we raise the 'fired' event only if we're close to + * the transition and just reload the limits otherwise. */ - last = pt->head.ttime; - qr->warped = (int16_t)(last.D_s.lo - - pt->head.dtime.D_s.lo); - next = addv64i32(&ts64, qr->warped); - reload_limits(pt, &next); - fired = ucmpv64(&pt->head.ebase, &last) == 0; - if (fired) { - ts64 = next; - ts32 = next.D_s.lo; + last = addv64i32(&pt->head.dtime, 3); /* get boundary */ + if (ucmpv64(&ts64, &last) >= 0) { + /* that was likely a query after a step */ + reload_limits(pt, &ts64); } else { - qr->warped = 0; + /* close enough for deeper examination */ + last = pt->head.ttime; + qr->warped = (int16_t)(last.D_s.lo - + pt->head.dtime.D_s.lo); + next = addv64i32(&ts64, qr->warped); + reload_limits(pt, &next); + fired = ucmpv64(&pt->head.ebase, &last) == 0; + if (fired) { + ts64 = next; + ts32 = next.D_s.lo; + } else { + qr->warped = 0; + } } } qr->tai_offs = pt->head.this_tai; + qr->ebase = pt->head.ebase; + qr->ttime = pt->head.ttime; /* If before the next scheduling alert, we're done. */ if (ucmpv64(&ts64, &pt->head.stime) < 0) return fired; - /* now start to collect the remaing data */ + /* now start to collect the remaining data */ due32 = pt->head.dtime.D_s.lo; qr->tai_diff = pt->head.next_tai - pt->head.this_tai; - qr->ttime = pt->head.ttime; qr->ddist = due32 - ts32; qr->dynamic = pt->head.dynls; qr->proximity = LSPROX_SCHEDULE; @@ -329,7 +360,7 @@ leapsec_query( /* if not in the last day before transition, we're done. */ if (!betweenu32(due32 - SECSPERDAY, ts32, due32)) return fired; - + qr->proximity = LSPROX_ANNOUNCE; if (!betweenu32(due32 - 10, ts32, due32)) return fired; @@ -339,6 +370,22 @@ leapsec_query( return fired; } +/* ------------------------------------------------------------------ */ +int/*BOOL*/ +leapsec_query_era( + leap_era_t * qr , + uint32_t ntpts, + const time_t * pivot) +{ + const leap_table_t * pt; + vint64 ts64; + + pt = leapsec_get_table(FALSE); + ts64 = ntpcal_ntp_to_ntp(ntpts, pivot); + fetch_leap_era(qr, pt, &ts64); + return TRUE; +} + /* ------------------------------------------------------------------ */ int/*BOOL*/ leapsec_frame( @@ -348,15 +395,14 @@ leapsec_frame( memset(qr, 0, sizeof(leap_result_t)); pt = leapsec_get_table(FALSE); - if (ucmpv64(&pt->head.ttime, &pt->head.stime) <= 0) - return FALSE; qr->tai_offs = pt->head.this_tai; qr->tai_diff = pt->head.next_tai - pt->head.this_tai; + qr->ebase = pt->head.ebase; qr->ttime = pt->head.ttime; qr->dynamic = pt->head.dynls; - return TRUE; + return ucmpv64(&pt->head.ttime, &pt->head.stime) >= 0; } /* ------------------------------------------------------------------ */ @@ -392,7 +438,7 @@ leapsec_load_stream( msyslog(LOG_NOTICE, "%s ('%s'): good hash signature", logPrefix, fname); break; - + case LSVALID_NOHASH: msyslog(LOG_ERR, "%s ('%s'): no hash signature", logPrefix, fname); @@ -442,7 +488,7 @@ leapsec_load_stream( "%s ('%s'): loaded, expire=%s ofs=%d (no entries after build date)", logPrefix, fname, lstostr(&pt->head.expire), pt->head.base_tai); - + return leapsec_set_table(pt); } @@ -461,7 +507,7 @@ leapsec_load_file( /* just do nothing if there is no leap file */ if ( !(fname && *fname) ) return FALSE; - + /* try to stat the leapfile */ if (0 != stat(fname, &sb_new)) { if (logall) @@ -551,6 +597,7 @@ leapsec_daystolive( } /* ------------------------------------------------------------------ */ +#if 0 /* currently unused -- possibly revived later */ int/*BOOL*/ leapsec_add_fix( int total, @@ -566,7 +613,7 @@ leapsec_add_fix( time(&tpiv); pivot = &tpiv; } - + et64 = ntpcal_ntp_to_ntp(etime, pivot); tt64 = ntpcal_ntp_to_ntp(ttime, pivot); pt = leapsec_get_table(TRUE); @@ -583,6 +630,7 @@ leapsec_add_fix( return leapsec_set_table(pt); } +#endif /* ------------------------------------------------------------------ */ int/*BOOL*/ @@ -600,6 +648,71 @@ leapsec_add_dyn( && leapsec_set_table(pt)); } +/* ------------------------------------------------------------------ */ +int/*BOOL*/ +leapsec_autokey_tai( + int tai_offset, + uint32_t ntpnow , + const time_t * pivot ) +{ + leap_table_t * pt; + leap_era_t era; + vint64 now64; + int idx; + + (void)tai_offset; + pt = leapsec_get_table(FALSE); + + /* Bail out if the basic offset is not zero and the putative + * offset is bigger than 10s. That was in 1972 -- we don't want + * to go back that far! + */ + if (pt->head.base_tai != 0 || tai_offset < 10) + return FALSE; + + /* If there's already data in the table, check if an update is + * possible. Update is impossible if there are static entries + * (since this indicates a valid leapsecond file) or if we're + * too close to a leapsecond transition: We do not know on what + * side the transition the sender might have been, so we use a + * dead zone around the transition. + */ + + /* Check for static entries */ + for (idx = 0; idx != pt->head.size; idx++) + if ( ! pt->info[idx].dynls) + return FALSE; + + /* get the fulll time stamp and leap era for it */ + now64 = ntpcal_ntp_to_ntp(ntpnow, pivot); + fetch_leap_era(&era, pt, &now64); + + /* check the limits with 20s dead band */ + era.ebase = addv64i32(&era.ebase, 20); + if (ucmpv64(&now64, &era.ebase) < 0) + return FALSE; + + era.ttime = addv64i32(&era.ttime, -20); + if (ucmpv64(&now64, &era.ttime) > 0) + return FALSE; + + /* Here we can proceed. Calculate the delta update. */ + tai_offset -= era.taiof; + + /* Shift the header info offsets. */ + pt->head.base_tai += tai_offset; + pt->head.this_tai += tai_offset; + pt->head.next_tai += tai_offset; + + /* Shift table entry offsets (if any) */ + for (idx = 0; idx != pt->head.size; idx++) + pt->info[idx].taiof += tai_offset; + + /* claim success... */ + return TRUE; +} + + /* ===================================================================== * internal helpers */ @@ -630,15 +743,21 @@ add_range( const leap_info_t * pi) { /* If the table is full, make room by throwing out the oldest - * entry. But remember the accumulated leap seconds! + * entry. But remember the accumulated leap seconds! Likewise, + * assume a positive leap insertion if this is the first entry + * in the table. This is not necessarily the best of all ideas, + * but it helps a great deal if a system does not have a leap + * table and gets updated from an upstream server. */ - if (pt->head.size >= MAX_HIST) { + if (pt->head.size == 0) { + pt->head.base_tai = pi->taiof - 1; + } else if (pt->head.size >= MAX_HIST) { pt->head.size = MAX_HIST - 1; pt->head.base_tai = pt->info[pt->head.size].taiof; } /* make room in lower end and insert item */ - memmove(pt->info+1, pt->info, pt->head.size*sizeof(*pt->info)); + memmove(pt->info+1, pt->info, pt->head.size*sizeof(*pt->info)); pt->info[0] = *pi; pt->head.size++; @@ -670,7 +789,7 @@ get_line( { int ch; char *ptr; - + /* if we cannot even store the delimiter, declare failure */ if (buff == NULL || size == 0) return NULL; @@ -698,7 +817,7 @@ skipws( return (char*)noconst(ptr); } -/* [internal] check if a strtoXYZ ended at EOL or whistespace and +/* [internal] check if a strtoXYZ ended at EOL or whitespace and * converted something at all. Return TRUE if something went wrong. */ static int/*BOOL*/ @@ -758,7 +877,7 @@ reload_limits( pt->head.dtime = addv64i32( &pt->head.ttime, pt->head.next_tai - pt->head.this_tai); - + pt->head.stime = subv64u32( &pt->head.ttime, pt->info[idx].stime); @@ -771,6 +890,37 @@ reload_limits( } } +/* [internal] fetch the leap era for a given time stamp. + * This is a cut-down version the algorithm used to reload the table + * limits, but it does not update any global state and provides just the + * era information for a given time stamp. + */ +static void +fetch_leap_era( + leap_era_t * into, + const leap_table_t * pt , + const vint64 * ts ) +{ + int idx; + + /* Simple search loop, also works with empty table. */ + for (idx = 0; idx != pt->head.size; idx++) + if (ucmpv64(ts, &pt->info[idx].ttime) >= 0) + break; + /* fetch era data, keeping an eye on boundary conditions */ + if (idx >= pt->head.size) { + memset(&into->ebase, 0x00, sizeof(vint64)); + into->taiof = pt->head.base_tai; + } else { + into->ebase = pt->info[idx].ttime; + into->taiof = pt->info[idx].taiof; + } + if (--idx >= 0) + into->ttime = pt->info[idx].ttime; + else + memset(&into->ttime, 0xFF, sizeof(vint64)); +} + /* [internal] Take a time stamp and create a leap second frame for * it. This will schedule a leap second for the beginning of the next * month, midnight UTC. The 'insert' argument tells if a leap second is @@ -791,7 +941,7 @@ leapsec_add( struct calendar fts; leap_info_t li; - /* Check against the table expiration and the lates available + /* Check against the table expiration and the latest available * leap entry. Do not permit inserts, only appends, and only if * the extend the table beyond the expiration! */ @@ -843,10 +993,22 @@ leapsec_raw( struct calendar fts; leap_info_t li; - /* Check that we only extend the table. Paranoia rulez! */ - if (pt->head.size && ucmpv64(ttime, &pt->info[0].ttime) <= 0) { - errno = ERANGE; - return FALSE; + /* Check that we either extend the table or get a duplicate of + * the latest entry. The latter is a benevolent overwrite with + * identical data and could happen if we get an autokey message + * that extends the lifetime of the current leapsecond table. + * Otherwise paranoia rulez! + */ + if (pt->head.size) { + int cmp = ucmpv64(ttime, &pt->info[0].ttime); + if (cmp == 0) + cmp -= (taiof != pt->info[0].taiof); + if (cmp < 0) { + errno = ERANGE; + return FALSE; + } + if (cmp == 0) + return TRUE; } ntpcal_ntp64_to_date(&fts, ttime); @@ -856,7 +1018,7 @@ leapsec_raw( return FALSE; } fts.month--; /* was in range 1..12, no overflow here! */ - starttime = ntpcal_date_to_ntp64(&fts); + starttime = ntpcal_date_to_ntp64(&fts); li.ttime = *ttime; li.stime = ttime->D_s.lo - starttime.D_s.lo; li.taiof = (int16_t)taiof; @@ -947,7 +1109,7 @@ do_hash_data( isc_sha1_update( mdctx, text, sizeof(text)); } - + if (0 < tlen) isc_sha1_update(mdctx, text, tlen); } @@ -991,20 +1153,34 @@ leapsec_validate( /* * lstostr - prettyprint NTP seconds */ -static char * lstostr( +static const char * +lstostr( const vint64 * ts) { char * buf; struct calendar tm; LIB_GETBUF(buf); - ntpcal_ntp64_to_date(&tm, ts); - snprintf(buf, LIB_BUFLENGTH, "%04d-%02d-%02dT%02d:%02dZ", - tm.year, tm.month, tm.monthday, - tm.hour, tm.minute); + + if ( ! (ts->d_s.hi >= 0 && ntpcal_ntp64_to_date(&tm, ts) >= 0)) + snprintf(buf, LIB_BUFLENGTH, "%s", "9999-12-31T23:59:59Z"); + else + snprintf(buf, LIB_BUFLENGTH, "%04d-%02d-%02dT%02d:%02d:%02dZ", + tm.year, tm.month, tm.monthday, + tm.hour, tm.minute, tm.second); + return buf; } +/* reset the global state for unit tests */ +void +leapsec_ut_pristine(void) +{ + memset(_ltab, 0, sizeof(_ltab)); + _lptr = NULL; + _electric = 0; +} + /* -*- that's all folks! -*- */ diff --git a/contrib/ntp/ntpd/ntp_leapsec.h b/contrib/ntp/ntpd/ntp_leapsec.h index 75edcc4608f7..120b75fcbb3f 100644 --- a/contrib/ntp/ntpd/ntp_leapsec.h +++ b/contrib/ntp/ntpd/ntp_leapsec.h @@ -61,16 +61,27 @@ extern int leapsec_validate(leapsec_reader, void*); */ extern int/*BOOL*/ leapsec_electric(int/*BOOL*/ on); +/* Query result for a leap era. This is the minimal stateless + * information available for a time stamp in UTC. + */ +struct leap_era { + vint64 ebase; /* era base (UTC of start) */ + vint64 ttime; /* era end (UTC of next leap second) */ + int16_t taiof; /* offset to TAI in this era */ +}; +typedef struct leap_era leap_era_t; /* Query result for a leap second schedule - * 'ttime' is the transition point in full time scale, but only if - * 'tai_diff' is not zero. Nominal UTC time when the next leap - * era starts. + * 'ebase' is the nominal UTC time when the current leap era + * started. (Era base time) + * 'ttime' is the next transition point in full time scale. (Nominal UTC + * time when the next leap era starts.) * 'ddist' is the distance to the transition, in clock seconds. * This is the distance to the due time, which is different * from the transition time if the mode is non-electric. * Only valid if 'tai_diff' is not zero. - * 'tai_offs' is the CURRENT distance from clock (UTC) to TAI. Always valid. + * 'tai_offs' is the CURRENT distance from clock (UTC) to TAI. Always + * valid. * 'tai_diff' is the change in TAI offset after the next leap * transition. Zero if nothing is pending or too far ahead. * 'warped' is set only once, when the the leap second occurred between @@ -79,8 +90,9 @@ extern int/*BOOL*/ leapsec_electric(int/*BOOL*/ on); * 'proximity' is a proximity warning. See definitions below. This is * more useful than an absolute difference to the leap second. * 'dynamic' != 0 if entry was requested by clock/peer - */ + */ struct leap_result { + vint64 ebase; vint64 ttime; uint32_t ddist; int16_t tai_offs; @@ -91,6 +103,15 @@ struct leap_result { }; typedef struct leap_result leap_result_t; +/* The leap signature is used in two distinct circumstances, and it has + * slightly different content in these cases: + * - it is used to indictae the time range covered by the leap second + * table, and then it contains the last transition, TAI offset after + * the final transition, and the expiration time. + * - it is used to query data for AUTOKEY updates, and then it contains + * the *current* TAI offset, the *next* transition time and the + * expiration time of the table. + */ struct leap_signature { uint32_t etime; /* expiration time */ uint32_t ttime; /* transition time */ @@ -99,6 +120,24 @@ struct leap_signature { typedef struct leap_signature leap_signature_t; +#ifdef LEAP_SMEAR + +struct leap_smear_info { + int enabled; /* not 0 if smearing is generally enabled */ + int in_progress; /* not 0 if smearing is in progress, i.e. the offset has been computed */ + int leap_occurred; /* not 0 if the leap second has already occurred, i.e., during the leap second */ + double doffset; /* the current smear offset as double */ + l_fp offset; /* the current smear offset */ + uint32_t t_offset; /* the current time for which a smear offset has been computed */ + long interval; /* smear interval, in [s], should be at least some hours */ + double intv_start; /* start time of the smear interval */ + double intv_end; /* end time of the smear interval */ +}; +typedef struct leap_smear_info leap_smear_info_t; + +#endif /* LEAP_SMEAR */ + + #define LSPROX_NOWARN 0 /* clear radar screen */ #define LSPROX_SCHEDULE 1 /* less than 1 month to target*/ #define LSPROX_ANNOUNCE 2 /* less than 1 day to target */ @@ -170,6 +209,7 @@ extern int32_t leapsec_daystolive(uint32_t when, const time_t * pivot); */ extern void leapsec_reset_frame(void); +#if 0 /* currently unused -- possibly revived later */ /* Given a transition time, the TAI offset valid after that and an * expiration time, try to establish a system leap transition. Only * works if the existing table is extended. On success, updates the @@ -177,6 +217,7 @@ extern void leapsec_reset_frame(void); */ extern int/*BOOL*/ leapsec_add_fix(int offset, uint32_t ttime, uint32_t etime, const time_t * pivot); +#endif /* Take a time stamp and create a leap second frame for it. This will * schedule a leap second for the beginning of the next month, midnight @@ -200,9 +241,15 @@ extern int/*BOOL*/ leapsec_add_dyn(int/*BOOL*/ insert, uint32_t ntp_now, * last and the current query. In that case, qr->warped contains the * required clock stepping, which is always zero in electric mode. */ -extern int/*BOOL*/ leapsec_query(leap_result_t *qr, uint32_t ntpts, +extern int/*BOOL*/ leapsec_query(leap_result_t * qr, uint32_t ntpts, const time_t * pivot); +/* For a given time stamp, fetch the data for the bracketing leap + * era. The time stamp is subject to NTP era unfolding. + */ +extern int/*BOOL*/ leapsec_query_era(leap_era_t * qr, uint32_t ntpts, + const time_t * pivot); + /* Get the current leap frame info. Returns TRUE if the result contains * useable data, FALSE if there is currently no leap second frame. * This merely replicates some results from a previous query, but since @@ -215,4 +262,15 @@ extern int/*BOOL*/ leapsec_query(leap_result_t *qr, uint32_t ntpts, */ extern int/*BOOL*/ leapsec_frame(leap_result_t *qr); + +/* Process a AUTOKEY TAI offset information. This *might* augment the + * current leap data table with the given TAI offset. + * Returns TRUE if action was taken, FALSE otherwise. + */ +extern int/*BOOL*/ leapsec_autokey_tai(int tai_offset, uint32_t ntpnow, + const time_t * pivot); + +/* reset global state for unit tests */ +extern void leapsec_ut_pristine(void); + #endif /* !defined(NTP_LEAPSEC_H) */ diff --git a/contrib/ntp/ntpd/ntp_loopfilter.c b/contrib/ntp/ntpd/ntp_loopfilter.c index e47f83b976a2..cb183b934fc8 100644 --- a/contrib/ntp/ntpd/ntp_loopfilter.c +++ b/contrib/ntp/ntpd/ntp_loopfilter.c @@ -246,6 +246,8 @@ ntp_adjtime_error_handler( int line /* line number of ntp_adjtime call */ ) { + char des[1024] = ""; /* Decoded Error Status */ + switch (ret) { case -1: switch (saved_errno) { @@ -317,14 +319,88 @@ ntp_adjtime_error_handler( # warning TIME_WAIT is not defined #endif #ifdef TIME_ERROR +#if 0 + +from the reference implementation of ntp_gettime(): + + // Hardware or software error + if ((time_status & (STA_UNSYNC | STA_CLOCKERR)) + + /* + * PPS signal lost when either time or frequency synchronization + * requested + */ + || (time_status & (STA_PPSFREQ | STA_PPSTIME) + && !(time_status & STA_PPSSIGNAL)) + + /* + * PPS jitter exceeded when time synchronization requested + */ + || (time_status & STA_PPSTIME && + time_status & STA_PPSJITTER) + + /* + * PPS wander exceeded or calibration error when frequency + * synchronization requested + */ + || (time_status & STA_PPSFREQ && + time_status & (STA_PPSWANDER | STA_PPSERROR))) + return (TIME_ERROR); + +or, from ntp_adjtime(): + + if ( (time_status & (STA_UNSYNC | STA_CLOCKERR)) + || (time_status & (STA_PPSFREQ | STA_PPSTIME) + && !(time_status & STA_PPSSIGNAL)) + || (time_status & STA_PPSTIME + && time_status & STA_PPSJITTER) + || (time_status & STA_PPSFREQ + && time_status & (STA_PPSWANDER | STA_PPSERROR)) + ) + return (TIME_ERROR); +#endif + case TIME_ERROR: /* 5: unsynchronized, or loss of synchronization */ /* error (see status word) */ + + if (ptimex->status & STA_UNSYNC) + snprintf(des, sizeof(des), "%s%sClock Unsynchronized", + des, (*des) ? "; " : ""); + + if (ptimex->status & STA_CLOCKERR) + snprintf(des, sizeof(des), "%s%sClock Error", + des, (*des) ? "; " : ""); + + if (!(ptimex->status & STA_PPSSIGNAL) + && ptimex->status & STA_PPSFREQ) + snprintf(des, sizeof(des), "%s%sPPS Frequency Sync wanted but no PPS", + des, (*des) ? "; " : ""); + + if (!(ptimex->status & STA_PPSSIGNAL) + && ptimex->status & STA_PPSTIME) + snprintf(des, sizeof(des), "%s%sPPS Time Sync wanted but no PPS signal", + des, (*des) ? "; " : ""); + + if ( ptimex->status & STA_PPSTIME + && ptimex->status & STA_PPSJITTER) + snprintf(des, sizeof(des), "%s%sPPS Time Sync wanted but PPS Jitter exceeded", + des, (*des) ? "; " : ""); + + if ( ptimex->status & STA_PPSFREQ + && ptimex->status & STA_PPSWANDER) + snprintf(des, sizeof(des), "%s%sPPS Frequency Sync wanted but PPS Wander exceeded", + des, (*des) ? "; " : ""); + + if ( ptimex->status & STA_PPSFREQ + && ptimex->status & STA_PPSERROR) + snprintf(des, sizeof(des), "%s%sPPS Frequency Sync wanted but Calibration error detected", + des, (*des) ? "; " : ""); + if (pps_call && !(ptimex->status & STA_PPSSIGNAL)) report_event(EVNT_KERN, NULL, - "PPS no signal"); - errno = saved_errno; - DPRINTF(1, ("kernel loop status (%s) %d %m\n", - k_st_flags(ptimex->status), errno)); + "no PPS signal"); + DPRINTF(1, ("kernel loop status %#x (%s)\n", + ptimex->status, des)); /* * This code may be returned when ntp_adjtime() has just * been called for the first time, quite a while after @@ -339,15 +415,14 @@ ntp_adjtime_error_handler( * or ??? * msyslog(LOG_INFO, "kernel reports time synchronization lost"); */ - errno = saved_errno; /* may not be needed */ - msyslog(LOG_INFO, "kernel reports TIME_ERROR: %#x: %s %m", - ptimex->status, k_st_flags(ptimex->status)); + msyslog(LOG_INFO, "kernel reports TIME_ERROR: %#x: %s", + ptimex->status, des); break; #else # warning TIME_ERROR is not defined #endif default: - msyslog(LOG_NOTICE, "%s: %s line %d: unhandled return value %d from ntp_adjtime in %s at line %d", + msyslog(LOG_NOTICE, "%s: %s line %d: unhandled return value %d from ntp_adjtime() in %s at line %d", caller, file_name(), line, ret, __func__, __LINE__ diff --git a/contrib/ntp/ntpd/ntp_monitor.c b/contrib/ntp/ntpd/ntp_monitor.c index 1214e1d661c2..02fd757307da 100644 --- a/contrib/ntp/ntpd/ntp_monitor.c +++ b/contrib/ntp/ntpd/ntp_monitor.c @@ -183,7 +183,7 @@ mon_getmoremem(void) : mru_incalloc; if (entries) { - chunk = emalloc(entries * sizeof(*chunk)); + chunk = eallocarray(entries, sizeof(*chunk)); mru_alloc += entries; for (chunk += entries; entries; entries--) mon_free_entry(--chunk); diff --git a/contrib/ntp/ntpd/ntp_parser.c b/contrib/ntp/ntpd/ntp_parser.c index 0cf55197ac6c..d76ac3374386 100644 --- a/contrib/ntp/ntpd/ntp_parser.c +++ b/contrib/ntp/ntpd/ntp_parser.c @@ -1,19 +1,19 @@ -/* A Bison parser, made by GNU Bison 3.0.2. */ +/* A Bison parser, made by GNU Bison 2.7.12-4996. */ /* Bison implementation for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. - + + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . */ @@ -26,7 +26,7 @@ special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. - + This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ @@ -44,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.2" +#define YYBISON_VERSION "2.7.12-4996" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -62,7 +62,8 @@ /* Copy the first part of user declarations. */ -#line 14 "ntp_parser.y" /* yacc.c:339 */ +/* Line 371 of yacc.c */ +#line 11 "../../ntpd/ntp_parser.y" #ifdef HAVE_CONFIG_H # include @@ -88,7 +89,7 @@ #define YYFREE free #define YYERROR_VERBOSE #define YYMAXDEPTH 1000 /* stop the madness sooner */ - void yyerror(struct FILE_INFO *ip_file, const char *msg); + void yyerror(const char *msg); #ifdef SIM # define ONLY_SIM(a) (a) @@ -96,13 +97,14 @@ # define ONLY_SIM(a) NULL #endif -#line 100 "ntp_parser.c" /* yacc.c:339 */ +/* Line 371 of yacc.c */ +#line 102 "ntp_parser.c" -# ifndef YY_NULLPTR +# ifndef YY_NULL # if defined __cplusplus && 201103L <= __cplusplus -# define YY_NULLPTR nullptr +# define YY_NULL nullptr # else -# define YY_NULLPTR 0 +# define YY_NULL 0 # endif # endif @@ -116,9 +118,9 @@ /* In a future release of Bison, this section will be replaced by #include "y.tab.h". */ -#ifndef YY_YY_Y_TAB_H_INCLUDED -# define YY_YY_Y_TAB_H_INCLUDED -/* Debug traces. */ +#ifndef YY_YY_NTP_PARSER_H_INCLUDED +# define YY_YY_NTP_PARSER_H_INCLUDED +/* Enabling traces. */ #ifndef YYDEBUG # define YYDEBUG 1 #endif @@ -126,201 +128,204 @@ extern int yydebug; #endif -/* Token type. */ +/* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE - enum yytokentype - { - T_Abbrev = 258, - T_Age = 259, - T_All = 260, - T_Allan = 261, - T_Allpeers = 262, - T_Auth = 263, - T_Autokey = 264, - T_Automax = 265, - T_Average = 266, - T_Bclient = 267, - T_Beacon = 268, - T_Broadcast = 269, - T_Broadcastclient = 270, - T_Broadcastdelay = 271, - T_Burst = 272, - T_Calibrate = 273, - T_Ceiling = 274, - T_Clockstats = 275, - T_Cohort = 276, - T_ControlKey = 277, - T_Crypto = 278, - T_Cryptostats = 279, - T_Ctl = 280, - T_Day = 281, - T_Default = 282, - T_Digest = 283, - T_Disable = 284, - T_Discard = 285, - T_Dispersion = 286, - T_Double = 287, - T_Driftfile = 288, - T_Drop = 289, - T_Ellipsis = 290, - T_Enable = 291, - T_End = 292, - T_False = 293, - T_File = 294, - T_Filegen = 295, - T_Filenum = 296, - T_Flag1 = 297, - T_Flag2 = 298, - T_Flag3 = 299, - T_Flag4 = 300, - T_Flake = 301, - T_Floor = 302, - T_Freq = 303, - T_Fudge = 304, - T_Host = 305, - T_Huffpuff = 306, - T_Iburst = 307, - T_Ident = 308, - T_Ignore = 309, - T_Incalloc = 310, - T_Incmem = 311, - T_Initalloc = 312, - T_Initmem = 313, - T_Includefile = 314, - T_Integer = 315, - T_Interface = 316, - T_Intrange = 317, - T_Io = 318, - T_Ipv4 = 319, - T_Ipv4_flag = 320, - T_Ipv6 = 321, - T_Ipv6_flag = 322, - T_Kernel = 323, - T_Key = 324, - T_Keys = 325, - T_Keysdir = 326, - T_Kod = 327, - T_Mssntp = 328, - T_Leapfile = 329, - T_Limited = 330, - T_Link = 331, - T_Listen = 332, - T_Logconfig = 333, - T_Logfile = 334, - T_Loopstats = 335, - T_Lowpriotrap = 336, - T_Manycastclient = 337, - T_Manycastserver = 338, - T_Mask = 339, - T_Maxage = 340, - T_Maxclock = 341, - T_Maxdepth = 342, - T_Maxdist = 343, - T_Maxmem = 344, - T_Maxpoll = 345, - T_Mdnstries = 346, - T_Mem = 347, - T_Memlock = 348, - T_Minclock = 349, - T_Mindepth = 350, - T_Mindist = 351, - T_Minimum = 352, - T_Minpoll = 353, - T_Minsane = 354, - T_Mode = 355, - T_Mode7 = 356, - T_Monitor = 357, - T_Month = 358, - T_Mru = 359, - T_Multicastclient = 360, - T_Nic = 361, - T_Nolink = 362, - T_Nomodify = 363, - T_Nomrulist = 364, - T_None = 365, - T_Nonvolatile = 366, - T_Nopeer = 367, - T_Noquery = 368, - T_Noselect = 369, - T_Noserve = 370, - T_Notrap = 371, - T_Notrust = 372, - T_Ntp = 373, - T_Ntpport = 374, - T_NtpSignDsocket = 375, - T_Orphan = 376, - T_Orphanwait = 377, - T_Panic = 378, - T_Peer = 379, - T_Peerstats = 380, - T_Phone = 381, - T_Pid = 382, - T_Pidfile = 383, - T_Pool = 384, - T_Port = 385, - T_Preempt = 386, - T_Prefer = 387, - T_Protostats = 388, - T_Pw = 389, - T_Randfile = 390, - T_Rawstats = 391, - T_Refid = 392, - T_Requestkey = 393, - T_Reset = 394, - T_Restrict = 395, - T_Revoke = 396, - T_Rlimit = 397, - T_Saveconfigdir = 398, - T_Server = 399, - T_Setvar = 400, - T_Source = 401, - T_Stacksize = 402, - T_Statistics = 403, - T_Stats = 404, - T_Statsdir = 405, - T_Step = 406, - T_Stepback = 407, - T_Stepfwd = 408, - T_Stepout = 409, - T_Stratum = 410, - T_String = 411, - T_Sys = 412, - T_Sysstats = 413, - T_Tick = 414, - T_Time1 = 415, - T_Time2 = 416, - T_Timer = 417, - T_Timingstats = 418, - T_Tinker = 419, - T_Tos = 420, - T_Trap = 421, - T_True = 422, - T_Trustedkey = 423, - T_Ttl = 424, - T_Type = 425, - T_U_int = 426, - T_Unconfig = 427, - T_Unpeer = 428, - T_Version = 429, - T_WanderThreshold = 430, - T_Week = 431, - T_Wildcard = 432, - T_Xleave = 433, - T_Year = 434, - T_Flag = 435, - T_EOC = 436, - T_Simulate = 437, - T_Beep_Delay = 438, - T_Sim_Duration = 439, - T_Server_Offset = 440, - T_Duration = 441, - T_Freq_Offset = 442, - T_Wander = 443, - T_Jitter = 444, - T_Prop_Delay = 445, - T_Proc_Delay = 446 - }; + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + T_Abbrev = 258, + T_Age = 259, + T_All = 260, + T_Allan = 261, + T_Allpeers = 262, + T_Auth = 263, + T_Autokey = 264, + T_Automax = 265, + T_Average = 266, + T_Bclient = 267, + T_Beacon = 268, + T_Broadcast = 269, + T_Broadcastclient = 270, + T_Broadcastdelay = 271, + T_Burst = 272, + T_Calibrate = 273, + T_Ceiling = 274, + T_Clockstats = 275, + T_Cohort = 276, + T_ControlKey = 277, + T_Crypto = 278, + T_Cryptostats = 279, + T_Ctl = 280, + T_Day = 281, + T_Default = 282, + T_Digest = 283, + T_Disable = 284, + T_Discard = 285, + T_Dispersion = 286, + T_Double = 287, + T_Driftfile = 288, + T_Drop = 289, + T_Dscp = 290, + T_Ellipsis = 291, + T_Enable = 292, + T_End = 293, + T_False = 294, + T_File = 295, + T_Filegen = 296, + T_Filenum = 297, + T_Flag1 = 298, + T_Flag2 = 299, + T_Flag3 = 300, + T_Flag4 = 301, + T_Flake = 302, + T_Floor = 303, + T_Freq = 304, + T_Fudge = 305, + T_Host = 306, + T_Huffpuff = 307, + T_Iburst = 308, + T_Ident = 309, + T_Ignore = 310, + T_Incalloc = 311, + T_Incmem = 312, + T_Initalloc = 313, + T_Initmem = 314, + T_Includefile = 315, + T_Integer = 316, + T_Interface = 317, + T_Intrange = 318, + T_Io = 319, + T_Ipv4 = 320, + T_Ipv4_flag = 321, + T_Ipv6 = 322, + T_Ipv6_flag = 323, + T_Kernel = 324, + T_Key = 325, + T_Keys = 326, + T_Keysdir = 327, + T_Kod = 328, + T_Mssntp = 329, + T_Leapfile = 330, + T_Leapsmearinterval = 331, + T_Limited = 332, + T_Link = 333, + T_Listen = 334, + T_Logconfig = 335, + T_Logfile = 336, + T_Loopstats = 337, + T_Lowpriotrap = 338, + T_Manycastclient = 339, + T_Manycastserver = 340, + T_Mask = 341, + T_Maxage = 342, + T_Maxclock = 343, + T_Maxdepth = 344, + T_Maxdist = 345, + T_Maxmem = 346, + T_Maxpoll = 347, + T_Mdnstries = 348, + T_Mem = 349, + T_Memlock = 350, + T_Minclock = 351, + T_Mindepth = 352, + T_Mindist = 353, + T_Minimum = 354, + T_Minpoll = 355, + T_Minsane = 356, + T_Mode = 357, + T_Mode7 = 358, + T_Monitor = 359, + T_Month = 360, + T_Mru = 361, + T_Multicastclient = 362, + T_Nic = 363, + T_Nolink = 364, + T_Nomodify = 365, + T_Nomrulist = 366, + T_None = 367, + T_Nonvolatile = 368, + T_Nopeer = 369, + T_Noquery = 370, + T_Noselect = 371, + T_Noserve = 372, + T_Notrap = 373, + T_Notrust = 374, + T_Ntp = 375, + T_Ntpport = 376, + T_NtpSignDsocket = 377, + T_Orphan = 378, + T_Orphanwait = 379, + T_Panic = 380, + T_Peer = 381, + T_Peerstats = 382, + T_Phone = 383, + T_Pid = 384, + T_Pidfile = 385, + T_Pool = 386, + T_Port = 387, + T_Preempt = 388, + T_Prefer = 389, + T_Protostats = 390, + T_Pw = 391, + T_Randfile = 392, + T_Rawstats = 393, + T_Refid = 394, + T_Requestkey = 395, + T_Reset = 396, + T_Restrict = 397, + T_Revoke = 398, + T_Rlimit = 399, + T_Saveconfigdir = 400, + T_Server = 401, + T_Setvar = 402, + T_Source = 403, + T_Stacksize = 404, + T_Statistics = 405, + T_Stats = 406, + T_Statsdir = 407, + T_Step = 408, + T_Stepback = 409, + T_Stepfwd = 410, + T_Stepout = 411, + T_Stratum = 412, + T_String = 413, + T_Sys = 414, + T_Sysstats = 415, + T_Tick = 416, + T_Time1 = 417, + T_Time2 = 418, + T_Timer = 419, + T_Timingstats = 420, + T_Tinker = 421, + T_Tos = 422, + T_Trap = 423, + T_True = 424, + T_Trustedkey = 425, + T_Ttl = 426, + T_Type = 427, + T_U_int = 428, + T_Unconfig = 429, + T_Unpeer = 430, + T_Version = 431, + T_WanderThreshold = 432, + T_Week = 433, + T_Wildcard = 434, + T_Xleave = 435, + T_Year = 436, + T_Flag = 437, + T_EOC = 438, + T_Simulate = 439, + T_Beep_Delay = 440, + T_Sim_Duration = 441, + T_Server_Offset = 442, + T_Duration = 443, + T_Freq_Offset = 444, + T_Wander = 445, + T_Jitter = 446, + T_Prop_Delay = 447, + T_Proc_Delay = 448 + }; #endif /* Tokens. */ #define T_Abbrev 258 @@ -355,170 +360,173 @@ extern int yydebug; #define T_Double 287 #define T_Driftfile 288 #define T_Drop 289 -#define T_Ellipsis 290 -#define T_Enable 291 -#define T_End 292 -#define T_False 293 -#define T_File 294 -#define T_Filegen 295 -#define T_Filenum 296 -#define T_Flag1 297 -#define T_Flag2 298 -#define T_Flag3 299 -#define T_Flag4 300 -#define T_Flake 301 -#define T_Floor 302 -#define T_Freq 303 -#define T_Fudge 304 -#define T_Host 305 -#define T_Huffpuff 306 -#define T_Iburst 307 -#define T_Ident 308 -#define T_Ignore 309 -#define T_Incalloc 310 -#define T_Incmem 311 -#define T_Initalloc 312 -#define T_Initmem 313 -#define T_Includefile 314 -#define T_Integer 315 -#define T_Interface 316 -#define T_Intrange 317 -#define T_Io 318 -#define T_Ipv4 319 -#define T_Ipv4_flag 320 -#define T_Ipv6 321 -#define T_Ipv6_flag 322 -#define T_Kernel 323 -#define T_Key 324 -#define T_Keys 325 -#define T_Keysdir 326 -#define T_Kod 327 -#define T_Mssntp 328 -#define T_Leapfile 329 -#define T_Limited 330 -#define T_Link 331 -#define T_Listen 332 -#define T_Logconfig 333 -#define T_Logfile 334 -#define T_Loopstats 335 -#define T_Lowpriotrap 336 -#define T_Manycastclient 337 -#define T_Manycastserver 338 -#define T_Mask 339 -#define T_Maxage 340 -#define T_Maxclock 341 -#define T_Maxdepth 342 -#define T_Maxdist 343 -#define T_Maxmem 344 -#define T_Maxpoll 345 -#define T_Mdnstries 346 -#define T_Mem 347 -#define T_Memlock 348 -#define T_Minclock 349 -#define T_Mindepth 350 -#define T_Mindist 351 -#define T_Minimum 352 -#define T_Minpoll 353 -#define T_Minsane 354 -#define T_Mode 355 -#define T_Mode7 356 -#define T_Monitor 357 -#define T_Month 358 -#define T_Mru 359 -#define T_Multicastclient 360 -#define T_Nic 361 -#define T_Nolink 362 -#define T_Nomodify 363 -#define T_Nomrulist 364 -#define T_None 365 -#define T_Nonvolatile 366 -#define T_Nopeer 367 -#define T_Noquery 368 -#define T_Noselect 369 -#define T_Noserve 370 -#define T_Notrap 371 -#define T_Notrust 372 -#define T_Ntp 373 -#define T_Ntpport 374 -#define T_NtpSignDsocket 375 -#define T_Orphan 376 -#define T_Orphanwait 377 -#define T_Panic 378 -#define T_Peer 379 -#define T_Peerstats 380 -#define T_Phone 381 -#define T_Pid 382 -#define T_Pidfile 383 -#define T_Pool 384 -#define T_Port 385 -#define T_Preempt 386 -#define T_Prefer 387 -#define T_Protostats 388 -#define T_Pw 389 -#define T_Randfile 390 -#define T_Rawstats 391 -#define T_Refid 392 -#define T_Requestkey 393 -#define T_Reset 394 -#define T_Restrict 395 -#define T_Revoke 396 -#define T_Rlimit 397 -#define T_Saveconfigdir 398 -#define T_Server 399 -#define T_Setvar 400 -#define T_Source 401 -#define T_Stacksize 402 -#define T_Statistics 403 -#define T_Stats 404 -#define T_Statsdir 405 -#define T_Step 406 -#define T_Stepback 407 -#define T_Stepfwd 408 -#define T_Stepout 409 -#define T_Stratum 410 -#define T_String 411 -#define T_Sys 412 -#define T_Sysstats 413 -#define T_Tick 414 -#define T_Time1 415 -#define T_Time2 416 -#define T_Timer 417 -#define T_Timingstats 418 -#define T_Tinker 419 -#define T_Tos 420 -#define T_Trap 421 -#define T_True 422 -#define T_Trustedkey 423 -#define T_Ttl 424 -#define T_Type 425 -#define T_U_int 426 -#define T_Unconfig 427 -#define T_Unpeer 428 -#define T_Version 429 -#define T_WanderThreshold 430 -#define T_Week 431 -#define T_Wildcard 432 -#define T_Xleave 433 -#define T_Year 434 -#define T_Flag 435 -#define T_EOC 436 -#define T_Simulate 437 -#define T_Beep_Delay 438 -#define T_Sim_Duration 439 -#define T_Server_Offset 440 -#define T_Duration 441 -#define T_Freq_Offset 442 -#define T_Wander 443 -#define T_Jitter 444 -#define T_Prop_Delay 445 -#define T_Proc_Delay 446 +#define T_Dscp 290 +#define T_Ellipsis 291 +#define T_Enable 292 +#define T_End 293 +#define T_False 294 +#define T_File 295 +#define T_Filegen 296 +#define T_Filenum 297 +#define T_Flag1 298 +#define T_Flag2 299 +#define T_Flag3 300 +#define T_Flag4 301 +#define T_Flake 302 +#define T_Floor 303 +#define T_Freq 304 +#define T_Fudge 305 +#define T_Host 306 +#define T_Huffpuff 307 +#define T_Iburst 308 +#define T_Ident 309 +#define T_Ignore 310 +#define T_Incalloc 311 +#define T_Incmem 312 +#define T_Initalloc 313 +#define T_Initmem 314 +#define T_Includefile 315 +#define T_Integer 316 +#define T_Interface 317 +#define T_Intrange 318 +#define T_Io 319 +#define T_Ipv4 320 +#define T_Ipv4_flag 321 +#define T_Ipv6 322 +#define T_Ipv6_flag 323 +#define T_Kernel 324 +#define T_Key 325 +#define T_Keys 326 +#define T_Keysdir 327 +#define T_Kod 328 +#define T_Mssntp 329 +#define T_Leapfile 330 +#define T_Leapsmearinterval 331 +#define T_Limited 332 +#define T_Link 333 +#define T_Listen 334 +#define T_Logconfig 335 +#define T_Logfile 336 +#define T_Loopstats 337 +#define T_Lowpriotrap 338 +#define T_Manycastclient 339 +#define T_Manycastserver 340 +#define T_Mask 341 +#define T_Maxage 342 +#define T_Maxclock 343 +#define T_Maxdepth 344 +#define T_Maxdist 345 +#define T_Maxmem 346 +#define T_Maxpoll 347 +#define T_Mdnstries 348 +#define T_Mem 349 +#define T_Memlock 350 +#define T_Minclock 351 +#define T_Mindepth 352 +#define T_Mindist 353 +#define T_Minimum 354 +#define T_Minpoll 355 +#define T_Minsane 356 +#define T_Mode 357 +#define T_Mode7 358 +#define T_Monitor 359 +#define T_Month 360 +#define T_Mru 361 +#define T_Multicastclient 362 +#define T_Nic 363 +#define T_Nolink 364 +#define T_Nomodify 365 +#define T_Nomrulist 366 +#define T_None 367 +#define T_Nonvolatile 368 +#define T_Nopeer 369 +#define T_Noquery 370 +#define T_Noselect 371 +#define T_Noserve 372 +#define T_Notrap 373 +#define T_Notrust 374 +#define T_Ntp 375 +#define T_Ntpport 376 +#define T_NtpSignDsocket 377 +#define T_Orphan 378 +#define T_Orphanwait 379 +#define T_Panic 380 +#define T_Peer 381 +#define T_Peerstats 382 +#define T_Phone 383 +#define T_Pid 384 +#define T_Pidfile 385 +#define T_Pool 386 +#define T_Port 387 +#define T_Preempt 388 +#define T_Prefer 389 +#define T_Protostats 390 +#define T_Pw 391 +#define T_Randfile 392 +#define T_Rawstats 393 +#define T_Refid 394 +#define T_Requestkey 395 +#define T_Reset 396 +#define T_Restrict 397 +#define T_Revoke 398 +#define T_Rlimit 399 +#define T_Saveconfigdir 400 +#define T_Server 401 +#define T_Setvar 402 +#define T_Source 403 +#define T_Stacksize 404 +#define T_Statistics 405 +#define T_Stats 406 +#define T_Statsdir 407 +#define T_Step 408 +#define T_Stepback 409 +#define T_Stepfwd 410 +#define T_Stepout 411 +#define T_Stratum 412 +#define T_String 413 +#define T_Sys 414 +#define T_Sysstats 415 +#define T_Tick 416 +#define T_Time1 417 +#define T_Time2 418 +#define T_Timer 419 +#define T_Timingstats 420 +#define T_Tinker 421 +#define T_Tos 422 +#define T_Trap 423 +#define T_True 424 +#define T_Trustedkey 425 +#define T_Ttl 426 +#define T_Type 427 +#define T_U_int 428 +#define T_Unconfig 429 +#define T_Unpeer 430 +#define T_Version 431 +#define T_WanderThreshold 432 +#define T_Week 433 +#define T_Wildcard 434 +#define T_Xleave 435 +#define T_Year 436 +#define T_Flag 437 +#define T_EOC 438 +#define T_Simulate 439 +#define T_Beep_Delay 440 +#define T_Sim_Duration 441 +#define T_Server_Offset 442 +#define T_Duration 443 +#define T_Freq_Offset 444 +#define T_Wander 445 +#define T_Jitter 446 +#define T_Prop_Delay 447 +#define T_Proc_Delay 448 + + -/* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE YYSTYPE; -union YYSTYPE +typedef union YYSTYPE { -#line 54 "ntp_parser.y" /* yacc.c:355 */ +/* Line 387 of yacc.c */ +#line 51 "../../ntpd/ntp_parser.y" char * String; double Double; @@ -537,22 +545,37 @@ union YYSTYPE script_info * Sim_script; script_info_fifo * Sim_script_fifo; -#line 541 "ntp_parser.c" /* yacc.c:355 */ -}; + +/* Line 387 of yacc.c */ +#line 551 "ntp_parser.c" +} YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif - extern YYSTYPE yylval; -int yyparse (struct FILE_INFO *ip_file); +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int yyparse (void *YYPARSE_PARAM); +#else +int yyparse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus +int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ -#endif /* !YY_YY_Y_TAB_H_INCLUDED */ +#endif /* !YY_YY_NTP_PARSER_H_INCLUDED */ /* Copy the second part of user declarations. */ -#line 556 "ntp_parser.c" /* yacc.c:358 */ +/* Line 390 of yacc.c */ +#line 579 "ntp_parser.c" #ifdef short # undef short @@ -566,8 +589,11 @@ typedef unsigned char yytype_uint8; #ifdef YYTYPE_INT8 typedef YYTYPE_INT8 yytype_int8; -#else +#elif (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) typedef signed char yytype_int8; +#else +typedef short int yytype_int8; #endif #ifdef YYTYPE_UINT16 @@ -587,7 +613,8 @@ typedef short int yytype_int16; # define YYSIZE_T __SIZE_TYPE__ # elif defined size_t # define YYSIZE_T size_t -# elif ! defined YYSIZE_T +# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # else @@ -609,30 +636,11 @@ typedef short int yytype_int16; # endif #endif -#ifndef YY_ATTRIBUTE -# if (defined __GNUC__ \ - && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ - || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C -# define YY_ATTRIBUTE(Spec) __attribute__(Spec) -# else -# define YY_ATTRIBUTE(Spec) /* empty */ -# endif -#endif - -#ifndef YY_ATTRIBUTE_PURE -# define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) -#endif - -#ifndef YY_ATTRIBUTE_UNUSED -# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) -#endif - -#if !defined _Noreturn \ - && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112) -# if defined _MSC_VER && 1200 <= _MSC_VER -# define _Noreturn __declspec (noreturn) -# else -# define _Noreturn YY_ATTRIBUTE ((__noreturn__)) +#ifndef __attribute__ +/* This feature is available in gcc versions 2.5 and later. */ +# if (! defined __GNUC__ || __GNUC__ < 2 \ + || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)) +# define __attribute__(Spec) /* empty */ # endif #endif @@ -643,25 +651,24 @@ typedef short int yytype_int16; # define YYUSE(E) /* empty */ #endif -#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ -/* Suppress an incorrect diagnostic about yylval being uninitialized. */ -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ - _Pragma ("GCC diagnostic push") \ - _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ - _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") -# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ - _Pragma ("GCC diagnostic pop") -#else -# define YY_INITIAL_VALUE(Value) Value -#endif -#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -# define YY_IGNORE_MAYBE_UNINITIALIZED_END -#endif -#ifndef YY_INITIAL_VALUE -# define YY_INITIAL_VALUE(Value) /* Nothing. */ -#endif +/* Identity function, used to suppress warnings about constant conditions. */ +#ifndef lint +# define YYID(N) (N) +#else +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static int +YYID (int yyi) +#else +static int +YYID (yyi) + int yyi; +#endif +{ + return yyi; +} +#endif #if ! defined yyoverflow || YYERROR_VERBOSE @@ -680,7 +687,8 @@ typedef short int yytype_int16; # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ /* Use EXIT_SUCCESS as a witness for stdlib.h. */ # ifndef EXIT_SUCCESS @@ -692,8 +700,8 @@ typedef short int yytype_int16; # endif # ifdef YYSTACK_ALLOC - /* Pacify GCC's 'empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) # ifndef YYSTACK_ALLOC_MAXIMUM /* The OS might guarantee only one guard page at the bottom of the stack, and a page size can be as small as 4096 bytes. So we cannot safely @@ -709,7 +717,7 @@ typedef short int yytype_int16; # endif # if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ - && (defined YYFREE || defined free))) + && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ # ifndef EXIT_SUCCESS # define EXIT_SUCCESS 0 @@ -717,13 +725,15 @@ typedef short int yytype_int16; # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined EXIT_SUCCESS +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined EXIT_SUCCESS +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif # endif @@ -733,7 +743,7 @@ void free (void *); /* INFRINGES ON USER NAME SPACE */ #if (! defined yyoverflow \ && (! defined __cplusplus \ - || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc @@ -758,16 +768,16 @@ union yyalloc elements in the stack, and YYPTR gives the new location of the stack. Advance YYPTR to a properly aligned location for the next stack. */ -# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ - Stack = &yyptr->Stack_alloc; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (0) +# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ + Stack = &yyptr->Stack_alloc; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (YYID (0)) #endif @@ -786,50 +796,48 @@ union yyalloc for (yyi = 0; yyi < (Count); yyi++) \ (Dst)[yyi] = (Src)[yyi]; \ } \ - while (0) + while (YYID (0)) # endif # endif #endif /* !YYCOPY_NEEDED */ /* YYFINAL -- State number of the termination state. */ -#define YYFINAL 207 +#define YYFINAL 210 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 622 +#define YYLAST 647 /* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 197 +#define YYNTOKENS 199 /* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 104 +#define YYNNTS 105 /* YYNRULES -- Number of rules. */ -#define YYNRULES 310 -/* YYNSTATES -- Number of states. */ -#define YYNSTATES 415 +#define YYNRULES 313 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 419 -/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned - by yylex, with out-of-bounds checking. */ +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 -#define YYMAXUTOK 446 +#define YYMAXUTOK 448 -#define YYTRANSLATE(YYX) \ +#define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) -/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM - as returned by yylex, without out-of-bounds checking. */ +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ static const yytype_uint8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 193, 194, 2, 2, 2, 2, 2, 2, 2, 2, + 195, 196, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 192, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 194, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 195, 2, 196, 2, 2, 2, 2, + 2, 2, 2, 197, 2, 198, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -861,45 +869,165 @@ static const yytype_uint8 yytranslate[] = 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, - 185, 186, 187, 188, 189, 190, 191 + 185, 186, 187, 188, 189, 190, 191, 192, 193 }; #if YYDEBUG - /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const yytype_uint16 yyprhs[] = +{ + 0, 0, 3, 5, 9, 12, 15, 16, 18, 20, + 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, + 42, 46, 48, 50, 52, 54, 56, 58, 61, 63, + 65, 67, 68, 71, 73, 75, 77, 79, 81, 83, + 85, 87, 89, 91, 93, 95, 98, 101, 103, 105, + 107, 109, 111, 113, 116, 118, 121, 123, 125, 127, + 130, 133, 136, 139, 142, 145, 148, 151, 154, 157, + 160, 163, 164, 167, 170, 173, 175, 177, 179, 181, + 183, 186, 189, 191, 194, 197, 200, 202, 204, 206, + 208, 210, 212, 214, 216, 218, 220, 223, 226, 230, + 233, 235, 237, 239, 241, 243, 245, 247, 249, 251, + 252, 255, 258, 261, 263, 265, 267, 269, 271, 273, + 275, 277, 279, 281, 283, 285, 287, 290, 293, 297, + 303, 307, 312, 317, 321, 322, 325, 327, 329, 331, + 333, 335, 337, 339, 341, 343, 345, 347, 349, 351, + 353, 355, 358, 360, 363, 365, 367, 369, 372, 374, + 377, 379, 381, 383, 385, 387, 389, 391, 393, 397, + 400, 402, 405, 408, 411, 414, 417, 419, 421, 423, + 425, 427, 429, 432, 435, 437, 440, 442, 444, 446, + 449, 452, 455, 457, 459, 461, 463, 465, 467, 469, + 471, 473, 475, 477, 480, 483, 485, 488, 490, 492, + 494, 496, 498, 500, 502, 504, 506, 508, 510, 512, + 515, 518, 521, 524, 528, 530, 533, 536, 539, 542, + 546, 549, 551, 553, 555, 557, 559, 561, 563, 565, + 567, 569, 571, 574, 575, 580, 582, 583, 584, 587, + 590, 593, 596, 598, 600, 604, 608, 610, 612, 614, + 616, 618, 620, 622, 624, 626, 629, 632, 634, 636, + 638, 640, 642, 644, 646, 648, 651, 653, 656, 658, + 660, 662, 668, 671, 673, 676, 678, 680, 682, 684, + 686, 688, 694, 696, 700, 703, 707, 709, 711, 714, + 716, 722, 727, 731, 734, 736, 743, 747, 750, 754, + 756, 758, 760, 762 +}; + +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const yytype_int16 yyrhs[] = +{ + 200, 0, -1, 201, -1, 201, 202, 183, -1, 202, + 183, -1, 1, 183, -1, -1, 203, -1, 216, -1, + 218, -1, 219, -1, 228, -1, 236, -1, 223, -1, + 245, -1, 250, -1, 254, -1, 259, -1, 263, -1, + 290, -1, 204, 205, 208, -1, 146, -1, 131, -1, + 126, -1, 14, -1, 84, -1, 206, -1, 207, 158, + -1, 158, -1, 66, -1, 68, -1, -1, 208, 209, + -1, 210, -1, 212, -1, 214, -1, 211, -1, 9, + -1, 17, -1, 53, -1, 116, -1, 133, -1, 134, + -1, 169, -1, 180, -1, 213, 61, -1, 213, 173, + -1, 70, -1, 100, -1, 92, -1, 171, -1, 102, + -1, 176, -1, 215, 158, -1, 54, -1, 217, 205, + -1, 174, -1, 175, -1, 15, -1, 85, 287, -1, + 107, 287, -1, 93, 61, -1, 10, 61, -1, 22, + 61, -1, 23, 220, -1, 71, 158, -1, 72, 158, + -1, 140, 61, -1, 143, 61, -1, 170, 283, -1, + 122, 158, -1, -1, 220, 221, -1, 222, 158, -1, + 143, 61, -1, 51, -1, 54, -1, 136, -1, 137, + -1, 28, -1, 167, 224, -1, 224, 225, -1, 225, + -1, 226, 61, -1, 227, 289, -1, 21, 288, -1, + 19, -1, 48, -1, 123, -1, 124, -1, 101, -1, + 13, -1, 98, -1, 90, -1, 96, -1, 88, -1, + 150, 229, -1, 152, 158, -1, 41, 230, 231, -1, + 229, 230, -1, 230, -1, 20, -1, 24, -1, 82, + -1, 127, -1, 138, -1, 160, -1, 165, -1, 135, + -1, -1, 231, 232, -1, 40, 158, -1, 172, 235, + -1, 233, -1, 234, -1, 78, -1, 109, -1, 37, + -1, 29, -1, 112, -1, 129, -1, 26, -1, 178, + -1, 105, -1, 181, -1, 4, -1, 30, 239, -1, + 106, 242, -1, 142, 205, 237, -1, 142, 206, 86, + 206, 237, -1, 142, 27, 237, -1, 142, 66, 27, + 237, -1, 142, 68, 27, 237, -1, 142, 148, 237, + -1, -1, 237, 238, -1, 47, -1, 55, -1, 73, + -1, 74, -1, 77, -1, 83, -1, 110, -1, 111, + -1, 114, -1, 115, -1, 117, -1, 118, -1, 119, + -1, 121, -1, 176, -1, 239, 240, -1, 240, -1, + 241, 61, -1, 11, -1, 99, -1, 104, -1, 242, + 243, -1, 243, -1, 244, 61, -1, 56, -1, 57, + -1, 58, -1, 59, -1, 87, -1, 89, -1, 91, + -1, 97, -1, 50, 205, 246, -1, 246, 247, -1, + 247, -1, 248, 289, -1, 249, 288, -1, 157, 61, + -1, 3, 158, -1, 139, 158, -1, 162, -1, 163, + -1, 43, -1, 44, -1, 45, -1, 46, -1, 144, + 251, -1, 251, 252, -1, 252, -1, 253, 61, -1, + 95, -1, 149, -1, 42, -1, 37, 255, -1, 29, + 255, -1, 255, 256, -1, 256, -1, 257, -1, 258, + -1, 8, -1, 12, -1, 18, -1, 69, -1, 104, + -1, 120, -1, 103, -1, 151, -1, 166, 260, -1, + 260, 261, -1, 261, -1, 262, 289, -1, 6, -1, + 31, -1, 49, -1, 52, -1, 125, -1, 153, -1, + 154, -1, 155, -1, 156, -1, 161, -1, 275, -1, + 279, -1, 264, 289, -1, 265, 61, -1, 266, 158, + -1, 267, 158, -1, 60, 158, 202, -1, 38, -1, + 33, 268, -1, 80, 273, -1, 128, 286, -1, 147, + 269, -1, 168, 206, 271, -1, 171, 282, -1, 16, + -1, 113, -1, 161, -1, 35, -1, 76, -1, 54, + -1, 75, -1, 130, -1, 81, -1, 145, -1, 158, + -1, 158, 32, -1, -1, 158, 194, 158, 270, -1, + 27, -1, -1, -1, 271, 272, -1, 132, 61, -1, + 62, 206, -1, 273, 274, -1, 274, -1, 158, -1, + 276, 278, 277, -1, 276, 278, 158, -1, 62, -1, + 108, -1, 5, -1, 65, -1, 67, -1, 179, -1, + 79, -1, 55, -1, 34, -1, 141, 280, -1, 280, + 281, -1, 281, -1, 7, -1, 8, -1, 25, -1, + 64, -1, 94, -1, 159, -1, 164, -1, 282, 61, + -1, 61, -1, 283, 284, -1, 284, -1, 61, -1, + 285, -1, 195, 61, 36, 61, 196, -1, 286, 158, + -1, 158, -1, 287, 205, -1, 205, -1, 61, -1, + 169, -1, 39, -1, 61, -1, 32, -1, 291, 197, + 292, 295, 198, -1, 184, -1, 292, 293, 183, -1, + 293, 183, -1, 294, 194, 289, -1, 185, -1, 186, + -1, 295, 296, -1, 296, -1, 298, 197, 297, 299, + 198, -1, 187, 194, 289, 183, -1, 146, 194, 205, + -1, 299, 300, -1, 300, -1, 188, 194, 289, 197, + 301, 198, -1, 301, 302, 183, -1, 302, 183, -1, + 303, 194, 289, -1, 189, -1, 190, -1, 191, -1, + 192, -1, 193, -1 +}; + +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { - 0, 366, 366, 370, 371, 372, 386, 387, 388, 389, - 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, - 407, 417, 418, 419, 420, 421, 425, 426, 431, 436, - 438, 444, 445, 453, 454, 455, 459, 464, 465, 466, - 467, 468, 469, 470, 471, 475, 477, 482, 483, 484, - 485, 486, 487, 491, 496, 505, 515, 516, 526, 528, - 530, 532, 543, 550, 552, 557, 559, 561, 563, 565, - 574, 580, 581, 589, 591, 603, 604, 605, 606, 607, - 616, 621, 626, 634, 636, 638, 643, 644, 645, 646, - 647, 648, 652, 653, 654, 655, 664, 666, 675, 685, - 690, 698, 699, 700, 701, 702, 703, 704, 705, 710, - 711, 719, 729, 738, 753, 758, 759, 763, 764, 768, - 769, 770, 771, 772, 773, 774, 783, 787, 791, 799, - 807, 815, 830, 845, 858, 859, 867, 868, 869, 870, - 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, - 881, 885, 890, 898, 903, 904, 905, 909, 914, 922, - 927, 928, 929, 930, 931, 932, 933, 934, 942, 952, - 957, 965, 967, 969, 971, 973, 978, 979, 983, 984, - 985, 986, 994, 999, 1004, 1012, 1017, 1018, 1019, 1028, - 1030, 1035, 1040, 1048, 1050, 1067, 1068, 1069, 1070, 1071, - 1072, 1076, 1077, 1085, 1090, 1095, 1103, 1108, 1109, 1110, - 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1126, 1127, 1128, - 1135, 1142, 1158, 1177, 1182, 1184, 1186, 1188, 1190, 1197, - 1202, 1203, 1204, 1208, 1209, 1210, 1214, 1215, 1219, 1226, - 1236, 1245, 1250, 1252, 1257, 1258, 1266, 1268, 1276, 1281, - 1289, 1314, 1321, 1331, 1332, 1336, 1337, 1338, 1339, 1343, - 1344, 1345, 1349, 1354, 1359, 1367, 1368, 1369, 1370, 1371, - 1372, 1373, 1383, 1388, 1396, 1401, 1409, 1411, 1415, 1420, - 1425, 1433, 1438, 1446, 1455, 1456, 1460, 1461, 1470, 1488, - 1492, 1497, 1505, 1510, 1511, 1515, 1520, 1528, 1533, 1538, - 1543, 1548, 1556, 1561, 1566, 1574, 1579, 1580, 1581, 1582, - 1583 + 0, 366, 366, 370, 371, 372, 387, 388, 389, 390, + 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, + 408, 418, 419, 420, 421, 422, 426, 427, 432, 437, + 439, 445, 446, 454, 455, 456, 460, 465, 466, 467, + 468, 469, 470, 471, 472, 476, 478, 483, 484, 485, + 486, 487, 488, 492, 497, 506, 516, 517, 527, 529, + 531, 533, 544, 551, 553, 558, 560, 562, 564, 566, + 575, 581, 582, 590, 592, 604, 605, 606, 607, 608, + 617, 622, 627, 635, 637, 639, 644, 645, 646, 647, + 648, 649, 653, 654, 655, 656, 665, 667, 676, 686, + 691, 699, 700, 701, 702, 703, 704, 705, 706, 711, + 712, 720, 730, 739, 754, 759, 760, 764, 765, 769, + 770, 771, 772, 773, 774, 775, 784, 788, 792, 800, + 808, 816, 831, 846, 859, 860, 868, 869, 870, 871, + 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, + 882, 886, 891, 899, 904, 905, 906, 910, 915, 923, + 928, 929, 930, 931, 932, 933, 934, 935, 943, 953, + 958, 966, 968, 970, 972, 974, 979, 980, 984, 985, + 986, 987, 995, 1000, 1005, 1013, 1018, 1019, 1020, 1029, + 1031, 1036, 1041, 1049, 1051, 1068, 1069, 1070, 1071, 1072, + 1073, 1077, 1078, 1086, 1091, 1096, 1104, 1109, 1110, 1111, + 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1127, 1128, 1129, + 1136, 1143, 1150, 1166, 1185, 1187, 1189, 1191, 1193, 1195, + 1202, 1207, 1208, 1209, 1213, 1217, 1226, 1227, 1228, 1232, + 1233, 1237, 1244, 1254, 1263, 1268, 1270, 1275, 1276, 1284, + 1286, 1294, 1299, 1307, 1332, 1339, 1349, 1350, 1354, 1355, + 1356, 1357, 1361, 1362, 1363, 1367, 1372, 1377, 1385, 1386, + 1387, 1388, 1389, 1390, 1391, 1401, 1406, 1414, 1419, 1427, + 1429, 1433, 1438, 1443, 1451, 1456, 1464, 1473, 1474, 1478, + 1479, 1488, 1506, 1510, 1515, 1523, 1528, 1529, 1533, 1538, + 1546, 1551, 1556, 1561, 1566, 1574, 1579, 1584, 1592, 1597, + 1598, 1599, 1600, 1601 }; #endif @@ -914,23 +1042,23 @@ static const char *const yytname[] = "T_Broadcastdelay", "T_Burst", "T_Calibrate", "T_Ceiling", "T_Clockstats", "T_Cohort", "T_ControlKey", "T_Crypto", "T_Cryptostats", "T_Ctl", "T_Day", "T_Default", "T_Digest", "T_Disable", "T_Discard", - "T_Dispersion", "T_Double", "T_Driftfile", "T_Drop", "T_Ellipsis", - "T_Enable", "T_End", "T_False", "T_File", "T_Filegen", "T_Filenum", - "T_Flag1", "T_Flag2", "T_Flag3", "T_Flag4", "T_Flake", "T_Floor", - "T_Freq", "T_Fudge", "T_Host", "T_Huffpuff", "T_Iburst", "T_Ident", - "T_Ignore", "T_Incalloc", "T_Incmem", "T_Initalloc", "T_Initmem", - "T_Includefile", "T_Integer", "T_Interface", "T_Intrange", "T_Io", - "T_Ipv4", "T_Ipv4_flag", "T_Ipv6", "T_Ipv6_flag", "T_Kernel", "T_Key", - "T_Keys", "T_Keysdir", "T_Kod", "T_Mssntp", "T_Leapfile", "T_Limited", - "T_Link", "T_Listen", "T_Logconfig", "T_Logfile", "T_Loopstats", - "T_Lowpriotrap", "T_Manycastclient", "T_Manycastserver", "T_Mask", - "T_Maxage", "T_Maxclock", "T_Maxdepth", "T_Maxdist", "T_Maxmem", - "T_Maxpoll", "T_Mdnstries", "T_Mem", "T_Memlock", "T_Minclock", - "T_Mindepth", "T_Mindist", "T_Minimum", "T_Minpoll", "T_Minsane", - "T_Mode", "T_Mode7", "T_Monitor", "T_Month", "T_Mru", - "T_Multicastclient", "T_Nic", "T_Nolink", "T_Nomodify", "T_Nomrulist", - "T_None", "T_Nonvolatile", "T_Nopeer", "T_Noquery", "T_Noselect", - "T_Noserve", "T_Notrap", "T_Notrust", "T_Ntp", "T_Ntpport", + "T_Dispersion", "T_Double", "T_Driftfile", "T_Drop", "T_Dscp", + "T_Ellipsis", "T_Enable", "T_End", "T_False", "T_File", "T_Filegen", + "T_Filenum", "T_Flag1", "T_Flag2", "T_Flag3", "T_Flag4", "T_Flake", + "T_Floor", "T_Freq", "T_Fudge", "T_Host", "T_Huffpuff", "T_Iburst", + "T_Ident", "T_Ignore", "T_Incalloc", "T_Incmem", "T_Initalloc", + "T_Initmem", "T_Includefile", "T_Integer", "T_Interface", "T_Intrange", + "T_Io", "T_Ipv4", "T_Ipv4_flag", "T_Ipv6", "T_Ipv6_flag", "T_Kernel", + "T_Key", "T_Keys", "T_Keysdir", "T_Kod", "T_Mssntp", "T_Leapfile", + "T_Leapsmearinterval", "T_Limited", "T_Link", "T_Listen", "T_Logconfig", + "T_Logfile", "T_Loopstats", "T_Lowpriotrap", "T_Manycastclient", + "T_Manycastserver", "T_Mask", "T_Maxage", "T_Maxclock", "T_Maxdepth", + "T_Maxdist", "T_Maxmem", "T_Maxpoll", "T_Mdnstries", "T_Mem", + "T_Memlock", "T_Minclock", "T_Mindepth", "T_Mindist", "T_Minimum", + "T_Minpoll", "T_Minsane", "T_Mode", "T_Mode7", "T_Monitor", "T_Month", + "T_Mru", "T_Multicastclient", "T_Nic", "T_Nolink", "T_Nomodify", + "T_Nomrulist", "T_None", "T_Nonvolatile", "T_Nopeer", "T_Noquery", + "T_Noselect", "T_Noserve", "T_Notrap", "T_Notrust", "T_Ntp", "T_Ntpport", "T_NtpSignDsocket", "T_Orphan", "T_Orphanwait", "T_Panic", "T_Peer", "T_Peerstats", "T_Phone", "T_Pid", "T_Pidfile", "T_Pool", "T_Port", "T_Preempt", "T_Prefer", "T_Protostats", "T_Pw", "T_Randfile", @@ -965,24 +1093,25 @@ static const char *const yytname[] = "system_option", "system_option_flag_keyword", "system_option_local_flag_keyword", "tinker_command", "tinker_option_list", "tinker_option", "tinker_option_keyword", - "miscellaneous_command", "misc_cmd_dbl_keyword", "misc_cmd_str_keyword", - "misc_cmd_str_lcl_keyword", "drift_parm", "variable_assign", - "t_default_or_zero", "trap_option_list", "trap_option", - "log_config_list", "log_config_command", "interface_command", - "interface_nic", "nic_rule_class", "nic_rule_action", "reset_command", - "counter_set_list", "counter_set_keyword", "integer_list", - "integer_list_range", "integer_list_range_elt", "integer_range", - "string_list", "address_list", "boolean", "number", "simulate_command", - "sim_conf_start", "sim_init_statement_list", "sim_init_statement", - "sim_init_keyword", "sim_server_list", "sim_server", "sim_server_offset", - "sim_server_name", "sim_act_list", "sim_act", "sim_act_stmt_list", - "sim_act_stmt", "sim_act_keyword", YY_NULLPTR + "miscellaneous_command", "misc_cmd_dbl_keyword", "misc_cmd_int_keyword", + "misc_cmd_str_keyword", "misc_cmd_str_lcl_keyword", "drift_parm", + "variable_assign", "t_default_or_zero", "trap_option_list", + "trap_option", "log_config_list", "log_config_command", + "interface_command", "interface_nic", "nic_rule_class", + "nic_rule_action", "reset_command", "counter_set_list", + "counter_set_keyword", "integer_list", "integer_list_range", + "integer_list_range_elt", "integer_range", "string_list", "address_list", + "boolean", "number", "simulate_command", "sim_conf_start", + "sim_init_statement_list", "sim_init_statement", "sim_init_keyword", + "sim_server_list", "sim_server", "sim_server_offset", "sim_server_name", + "sim_act_list", "sim_act", "sim_act_stmt_list", "sim_act_stmt", + "sim_act_keyword", YY_NULL }; #endif # ifdef YYPRINT -/* YYTOKNUM[NUM] -- (External) token number corresponding to the - (internal) symbol number NUM (which must be that of a token). */ +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ static const yytype_uint16 yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, @@ -1004,372 +1133,48 @@ static const yytype_uint16 yytoknum[] = 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, - 445, 446, 61, 40, 41, 123, 125 + 445, 446, 447, 448, 61, 40, 41, 123, 125 }; # endif -#define YYPACT_NINF -182 - -#define yypact_value_is_default(Yystate) \ - (!!((Yystate) == (-182))) - -#define YYTABLE_NINF -7 - -#define yytable_value_is_error(Yytable_value) \ - 0 - - /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing - STATE-NUM. */ -static const yytype_int16 yypact[] = -{ - 18, -161, -18, -182, -182, -182, -10, -182, 189, 11, - -103, 189, -182, 7, -49, -182, -100, -182, -97, -90, - -182, -84, -182, -182, -49, 13, 365, -49, -182, -182, - -81, -182, -80, -182, -182, 20, 86, 104, 21, -33, - -182, -182, -73, 7, -72, -182, 51, 500, -71, -54, - 26, -182, -182, -182, 90, 205, -83, -182, -49, -182, - -49, -182, -182, -182, -182, -182, -182, -182, -182, -182, - -182, -8, -65, -51, -182, -9, -182, -182, -91, -182, - -182, -182, -15, -182, -182, -182, -182, -182, -182, -182, - -182, 189, -182, -182, -182, -182, -182, -182, 11, -182, - 46, 85, -182, 189, -182, -182, -182, -182, -182, -182, - -182, -182, -182, -182, -182, -182, 92, -182, -35, 366, - -182, -182, -182, -84, -182, -182, -49, -182, -182, -182, - -182, -182, -182, -182, -182, -182, 365, -182, 68, -49, - -182, -182, -23, -182, -182, -182, -182, -182, -182, -182, - -182, 86, -182, -182, 114, 121, -182, -182, 67, -182, - -182, -182, -182, -33, -182, 93, -28, -182, 7, -182, - -182, -182, -182, -182, -182, -182, -182, -182, -182, -182, - -182, 51, -182, -8, -182, -182, -17, -182, -182, -182, - -182, -182, -182, -182, -182, 500, -182, 107, -8, -182, - -182, 112, -54, -182, -182, -182, 113, -182, 8, -182, - -182, -182, -182, -182, -182, -182, -182, -182, -182, -182, - -2, -147, -182, -182, -182, -182, -182, 128, -182, 25, - -182, -182, -182, -182, 116, 37, -182, -182, -182, -182, - 38, 135, -182, -182, 92, -182, -8, -17, -182, -182, - -182, -182, -182, -182, -182, -182, 445, -182, -182, 445, - 445, -71, -182, -182, 40, -182, -182, -182, -182, -182, - -182, -182, -182, -182, -182, -52, 163, -182, -182, -182, - 261, -182, -182, -182, -182, -182, -182, -182, -182, -114, - 27, 14, -182, -182, -182, -182, 55, -182, -182, 0, - -182, -182, -182, -182, -182, -182, -182, -182, -182, -182, - -182, -182, -182, -182, -182, -182, -182, -182, -182, -182, - -182, -182, -182, -182, -182, 445, 445, -182, 185, -71, - 153, -182, 156, -182, -182, -182, -182, -182, -182, -182, - -182, -182, -182, -182, -182, -182, -182, -182, -182, -182, - -182, -182, -53, -182, 61, 30, 43, -133, -182, 23, - -182, -8, -182, -182, -182, -182, -182, -182, -182, -182, - -182, 445, -182, -182, -182, -182, 32, -182, -182, -182, - -49, -182, -182, -182, 45, -182, -182, -182, 41, 50, - -8, 47, -157, -182, 56, -8, -182, -182, -182, 49, - 130, -182, -182, -182, -182, -182, 110, 59, 54, -182, - 70, -182, -8, -182, -182 -}; - - /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. - Performed when YYTABLE does not specify something else to do. Zero - means the default is an error. */ -static const yytype_uint16 yydefact[] = -{ - 0, 0, 0, 24, 58, 230, 0, 71, 0, 0, - 240, 0, 223, 0, 0, 233, 0, 253, 0, 0, - 234, 0, 236, 25, 0, 0, 0, 0, 254, 231, - 0, 23, 0, 235, 22, 0, 0, 0, 0, 0, - 237, 21, 0, 0, 0, 232, 0, 0, 0, 0, - 0, 56, 57, 289, 0, 2, 0, 7, 0, 8, - 0, 9, 10, 13, 11, 12, 14, 15, 16, 17, - 18, 0, 0, 0, 217, 0, 218, 19, 0, 5, - 62, 63, 64, 195, 196, 197, 198, 201, 199, 200, - 202, 190, 192, 193, 194, 154, 155, 156, 126, 152, - 0, 238, 224, 189, 101, 102, 103, 104, 108, 105, - 106, 107, 109, 29, 30, 28, 0, 26, 0, 6, - 65, 66, 250, 225, 249, 282, 59, 61, 160, 161, - 162, 163, 164, 165, 166, 167, 127, 158, 0, 60, - 70, 280, 226, 67, 265, 266, 267, 268, 269, 270, - 271, 262, 264, 134, 29, 30, 134, 134, 26, 68, - 188, 186, 187, 182, 184, 0, 0, 227, 96, 100, - 97, 207, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 203, 205, 0, 91, 86, 0, 87, 95, 93, - 94, 92, 90, 88, 89, 80, 82, 0, 0, 244, - 276, 0, 69, 275, 277, 273, 229, 1, 0, 4, - 31, 55, 287, 286, 219, 220, 221, 261, 260, 259, - 0, 0, 79, 75, 76, 77, 78, 0, 72, 0, - 191, 151, 153, 239, 98, 0, 178, 179, 180, 181, - 0, 0, 176, 177, 168, 170, 0, 0, 27, 222, - 248, 281, 157, 159, 279, 263, 130, 134, 134, 133, - 128, 0, 183, 185, 0, 99, 204, 206, 285, 283, - 284, 85, 81, 83, 84, 228, 0, 274, 272, 3, - 20, 255, 256, 257, 252, 258, 251, 293, 294, 0, - 0, 0, 74, 73, 118, 117, 0, 115, 116, 0, - 110, 113, 114, 174, 175, 173, 169, 171, 172, 136, - 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, - 147, 148, 149, 150, 135, 131, 132, 134, 243, 0, - 0, 245, 0, 37, 38, 39, 54, 47, 49, 48, - 51, 40, 41, 42, 43, 50, 52, 44, 32, 33, - 36, 34, 0, 35, 0, 0, 0, 0, 296, 0, - 291, 0, 111, 125, 121, 123, 119, 120, 122, 124, - 112, 129, 242, 241, 247, 246, 0, 45, 46, 53, - 0, 290, 288, 295, 0, 292, 278, 299, 0, 0, - 0, 0, 0, 301, 0, 0, 297, 300, 298, 0, - 0, 306, 307, 308, 309, 310, 0, 0, 0, 302, - 0, 304, 0, 303, 305 -}; - - /* YYPGOTO[NTERM-NUM]. */ -static const yytype_int16 yypgoto[] = -{ - -182, -182, -182, -45, -182, -182, -14, -36, -182, -182, - -182, -182, -182, -182, -182, -182, -182, -182, -182, -182, - -182, -182, -182, -182, -182, -182, 60, -182, -182, -182, - -182, -38, -182, -182, -182, -182, -182, -182, -142, -182, - -182, 134, -182, -182, 120, -182, -182, -182, 5, -182, - -182, -182, -182, 96, -182, -182, 250, -42, -182, -182, - -182, -182, 81, -182, -182, -182, -182, -182, -182, -182, - -182, -182, -182, -182, 140, -182, -182, -182, -182, -182, - -182, 117, -182, -182, 63, -182, -182, 240, 22, -181, - -182, -182, -182, -16, -182, -182, -86, -182, -182, -182, - -120, -182, -132, -182 -}; - - /* YYDEFGOTO[NTERM-NUM]. */ -static const yytype_int16 yydefgoto[] = -{ - -1, 54, 55, 56, 57, 58, 125, 117, 118, 280, - 348, 349, 350, 351, 352, 353, 354, 59, 60, 61, - 62, 82, 228, 229, 63, 195, 196, 197, 198, 64, - 168, 112, 234, 300, 301, 302, 370, 65, 256, 324, - 98, 99, 100, 136, 137, 138, 66, 244, 245, 246, - 247, 67, 163, 164, 165, 68, 91, 92, 93, 94, - 69, 181, 182, 183, 70, 71, 72, 73, 102, 167, - 373, 275, 331, 123, 124, 74, 75, 286, 220, 76, - 151, 152, 206, 202, 203, 204, 142, 126, 271, 214, - 77, 78, 289, 290, 291, 357, 358, 389, 359, 392, - 393, 406, 407, 408 -}; - - /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If - positive, shift that token. If negative, reduce the rule whose - number is the opposite. If YYTABLE_NINF, syntax error. */ -static const yytype_int16 yytable[] = -{ - 116, 158, 267, 281, 363, 169, 200, 377, 160, 329, - 208, 355, 199, 222, 259, 260, 113, 274, 114, 1, - 79, 268, 95, 157, 212, 217, 364, 104, 2, 391, - 355, 105, 3, 4, 5, 223, 287, 288, 224, 396, - 6, 7, 80, 269, 210, 218, 211, 8, 9, 230, - 81, 10, 213, 101, 11, 12, 119, 171, 13, 120, - 161, 230, 282, 382, 283, 307, 121, 14, 219, 287, - 288, 15, 122, 127, 249, 140, 141, 16, 330, 17, - 143, 159, 172, 166, 170, 115, 205, 106, 18, 19, - 207, 215, 20, 144, 145, 235, 21, 22, 209, 173, - 23, 24, 174, 365, 221, 216, 232, 115, 96, 25, - 366, 146, 251, 97, 162, 325, 326, 233, 378, 225, - 226, 248, 26, 27, 28, 251, 227, 367, 253, 29, - 265, 153, 107, 254, 236, 237, 238, 239, 30, 201, - 108, 257, 31, 109, 32, 294, 33, 34, 258, 147, - 270, 261, 295, 263, 284, 296, 35, 36, 37, 38, - 39, 40, 41, 42, 264, 110, 43, 273, 44, 154, - 111, 155, 276, 278, 175, 285, 368, 45, 148, 369, - 385, 293, 46, 47, 48, 371, 49, 50, 292, 279, - 51, 52, 297, 303, 304, 305, 328, 83, 332, -6, - 53, 84, 176, 177, 178, 179, 361, 85, 360, 394, - 180, 362, 372, 375, 399, 2, 376, 379, 384, 3, - 4, 5, 380, 298, 381, 327, 386, 6, 7, 240, - 388, 414, 231, 390, 8, 9, 391, 398, 10, 395, - 411, 11, 12, 149, 400, 13, 412, 241, 150, 306, - 156, 413, 242, 243, 14, 272, 252, 86, 15, 262, - 115, 103, 266, 250, 16, 277, 17, 139, 255, 308, - 333, 383, 397, 356, 410, 18, 19, 0, 334, 20, - 0, 0, 0, 21, 22, 0, 299, 23, 24, 0, - 87, 88, 0, 374, 0, 0, 25, 401, 402, 403, - 404, 405, 0, 0, 0, 0, 409, 89, 0, 26, - 27, 28, 0, 335, 336, 0, 29, 401, 402, 403, - 404, 405, 0, 0, 0, 30, 0, 0, 0, 31, - 337, 32, 0, 33, 34, 0, 0, 0, 90, 0, - 0, 0, 0, 35, 36, 37, 38, 39, 40, 41, - 42, 338, 0, 43, 0, 44, 0, 0, 0, 339, - 0, 340, 0, 0, 45, 0, 387, 0, 0, 46, - 47, 48, 0, 49, 50, 341, 2, 51, 52, 0, - 3, 4, 5, 0, 0, 0, -6, 53, 6, 7, - 0, 0, 342, 343, 0, 8, 9, 0, 0, 10, - 0, 0, 11, 12, 0, 0, 13, 0, 0, 0, - 0, 0, 0, 0, 0, 14, 0, 0, 0, 15, - 128, 129, 130, 131, 0, 16, 0, 17, 344, 0, - 345, 0, 0, 0, 0, 346, 18, 19, 0, 347, - 20, 0, 0, 0, 21, 22, 0, 0, 23, 24, - 132, 0, 133, 0, 134, 0, 0, 25, 0, 0, - 135, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 26, 27, 28, 0, 0, 0, 0, 29, 0, 0, - 0, 0, 0, 0, 0, 0, 30, 0, 0, 0, - 31, 309, 32, 0, 33, 34, 0, 0, 0, 310, - 0, 0, 0, 0, 35, 36, 37, 38, 39, 40, - 41, 42, 0, 184, 43, 0, 44, 311, 312, 185, - 313, 186, 0, 0, 0, 45, 314, 0, 0, 0, - 46, 47, 48, 0, 49, 50, 0, 0, 51, 52, - 0, 0, 0, 0, 0, 0, 0, 187, 53, 0, - 0, 0, 0, 315, 316, 0, 0, 317, 318, 0, - 319, 320, 321, 0, 322, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 188, 0, 189, 0, - 0, 0, 0, 0, 190, 0, 191, 0, 0, 192, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 323, - 0, 193, 194 -}; - -static const yytype_int16 yycheck[] = -{ - 14, 37, 183, 5, 4, 43, 60, 60, 41, 61, - 55, 144, 48, 28, 156, 157, 65, 198, 67, 1, - 181, 38, 11, 37, 32, 34, 26, 20, 10, 186, - 144, 24, 14, 15, 16, 50, 183, 184, 53, 196, - 22, 23, 60, 60, 58, 54, 60, 29, 30, 91, - 60, 33, 60, 156, 36, 37, 156, 6, 40, 156, - 93, 103, 64, 196, 66, 246, 156, 49, 77, 183, - 184, 53, 156, 60, 119, 156, 156, 59, 130, 61, - 60, 60, 31, 156, 156, 156, 60, 80, 70, 71, - 0, 156, 74, 7, 8, 3, 78, 79, 181, 48, - 82, 83, 51, 103, 195, 156, 60, 156, 97, 91, - 110, 25, 126, 102, 147, 257, 258, 32, 171, 134, - 135, 156, 104, 105, 106, 139, 141, 127, 60, 111, - 168, 27, 125, 156, 42, 43, 44, 45, 120, 193, - 133, 27, 124, 136, 126, 29, 128, 129, 27, 63, - 167, 84, 36, 60, 156, 39, 138, 139, 140, 141, - 142, 143, 144, 145, 192, 158, 148, 60, 150, 65, - 163, 67, 60, 60, 123, 177, 176, 159, 92, 179, - 361, 156, 164, 165, 166, 327, 168, 169, 60, 181, - 172, 173, 76, 156, 156, 60, 156, 8, 35, 181, - 182, 12, 151, 152, 153, 154, 192, 18, 181, 390, - 159, 156, 27, 60, 395, 10, 60, 156, 195, 14, - 15, 16, 192, 107, 181, 261, 194, 22, 23, 137, - 185, 412, 98, 192, 29, 30, 186, 181, 33, 192, - 181, 36, 37, 157, 195, 40, 192, 155, 162, 244, - 146, 181, 160, 161, 49, 195, 136, 68, 53, 163, - 156, 11, 181, 123, 59, 202, 61, 27, 151, 247, - 9, 357, 392, 289, 406, 70, 71, -1, 17, 74, - -1, -1, -1, 78, 79, -1, 170, 82, 83, -1, - 101, 102, -1, 329, -1, -1, 91, 187, 188, 189, - 190, 191, -1, -1, -1, -1, 196, 118, -1, 104, - 105, 106, -1, 52, 53, -1, 111, 187, 188, 189, - 190, 191, -1, -1, -1, 120, -1, -1, -1, 124, - 69, 126, -1, 128, 129, -1, -1, -1, 149, -1, - -1, -1, -1, 138, 139, 140, 141, 142, 143, 144, - 145, 90, -1, 148, -1, 150, -1, -1, -1, 98, - -1, 100, -1, -1, 159, -1, 380, -1, -1, 164, - 165, 166, -1, 168, 169, 114, 10, 172, 173, -1, - 14, 15, 16, -1, -1, -1, 181, 182, 22, 23, - -1, -1, 131, 132, -1, 29, 30, -1, -1, 33, - -1, -1, 36, 37, -1, -1, 40, -1, -1, -1, - -1, -1, -1, -1, -1, 49, -1, -1, -1, 53, - 55, 56, 57, 58, -1, 59, -1, 61, 167, -1, - 169, -1, -1, -1, -1, 174, 70, 71, -1, 178, - 74, -1, -1, -1, 78, 79, -1, -1, 82, 83, - 85, -1, 87, -1, 89, -1, -1, 91, -1, -1, - 95, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 104, 105, 106, -1, -1, -1, -1, 111, -1, -1, - -1, -1, -1, -1, -1, -1, 120, -1, -1, -1, - 124, 46, 126, -1, 128, 129, -1, -1, -1, 54, - -1, -1, -1, -1, 138, 139, 140, 141, 142, 143, - 144, 145, -1, 13, 148, -1, 150, 72, 73, 19, - 75, 21, -1, -1, -1, 159, 81, -1, -1, -1, - 164, 165, 166, -1, 168, 169, -1, -1, 172, 173, - -1, -1, -1, -1, -1, -1, -1, 47, 182, -1, - -1, -1, -1, 108, 109, -1, -1, 112, 113, -1, - 115, 116, 117, -1, 119, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 86, -1, 88, -1, - -1, -1, -1, -1, 94, -1, 96, -1, -1, 99, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 174, - -1, 121, 122 -}; - - /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing - symbol of state STATE-NUM. */ -static const yytype_uint16 yystos[] = -{ - 0, 1, 10, 14, 15, 16, 22, 23, 29, 30, - 33, 36, 37, 40, 49, 53, 59, 61, 70, 71, - 74, 78, 79, 82, 83, 91, 104, 105, 106, 111, - 120, 124, 126, 128, 129, 138, 139, 140, 141, 142, - 143, 144, 145, 148, 150, 159, 164, 165, 166, 168, - 169, 172, 173, 182, 198, 199, 200, 201, 202, 214, - 215, 216, 217, 221, 226, 234, 243, 248, 252, 257, - 261, 262, 263, 264, 272, 273, 276, 287, 288, 181, - 60, 60, 218, 8, 12, 18, 68, 101, 102, 118, - 149, 253, 254, 255, 256, 11, 97, 102, 237, 238, - 239, 156, 265, 253, 20, 24, 80, 125, 133, 136, - 158, 163, 228, 65, 67, 156, 203, 204, 205, 156, - 156, 156, 156, 270, 271, 203, 284, 60, 55, 56, - 57, 58, 85, 87, 89, 95, 240, 241, 242, 284, - 156, 156, 283, 60, 7, 8, 25, 63, 92, 157, - 162, 277, 278, 27, 65, 67, 146, 203, 204, 60, - 41, 93, 147, 249, 250, 251, 156, 266, 227, 228, - 156, 6, 31, 48, 51, 123, 151, 152, 153, 154, - 159, 258, 259, 260, 13, 19, 21, 47, 86, 88, - 94, 96, 99, 121, 122, 222, 223, 224, 225, 204, - 60, 193, 280, 281, 282, 60, 279, 0, 200, 181, - 203, 203, 32, 60, 286, 156, 156, 34, 54, 77, - 275, 195, 28, 50, 53, 134, 135, 141, 219, 220, - 254, 238, 60, 32, 229, 3, 42, 43, 44, 45, - 137, 155, 160, 161, 244, 245, 246, 247, 156, 200, - 271, 203, 241, 60, 156, 278, 235, 27, 27, 235, - 235, 84, 250, 60, 192, 228, 259, 286, 38, 60, - 167, 285, 223, 60, 286, 268, 60, 281, 60, 181, - 206, 5, 64, 66, 156, 177, 274, 183, 184, 289, - 290, 291, 60, 156, 29, 36, 39, 76, 107, 170, - 230, 231, 232, 156, 156, 60, 245, 286, 285, 46, - 54, 72, 73, 75, 81, 108, 109, 112, 113, 115, - 116, 117, 119, 174, 236, 235, 235, 204, 156, 61, - 130, 269, 35, 9, 17, 52, 53, 69, 90, 98, - 100, 114, 131, 132, 167, 169, 174, 178, 207, 208, - 209, 210, 211, 212, 213, 144, 290, 292, 293, 295, - 181, 192, 156, 4, 26, 103, 110, 127, 176, 179, - 233, 235, 27, 267, 204, 60, 60, 60, 171, 156, - 192, 181, 196, 293, 195, 286, 194, 203, 185, 294, - 192, 186, 296, 297, 286, 192, 196, 297, 181, 286, - 195, 187, 188, 189, 190, 191, 298, 299, 300, 196, - 299, 181, 192, 181, 286 -}; - - /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const yytype_uint16 yyr1[] = { - 0, 197, 198, 199, 199, 199, 200, 200, 200, 200, - 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, - 201, 202, 202, 202, 202, 202, 203, 203, 204, 205, - 205, 206, 206, 207, 207, 207, 208, 209, 209, 209, - 209, 209, 209, 209, 209, 210, 210, 211, 211, 211, - 211, 211, 211, 212, 213, 214, 215, 215, 216, 216, - 216, 216, 217, 217, 217, 217, 217, 217, 217, 217, - 217, 218, 218, 219, 219, 220, 220, 220, 220, 220, - 221, 222, 222, 223, 223, 223, 224, 224, 224, 224, - 224, 224, 225, 225, 225, 225, 226, 226, 226, 227, - 227, 228, 228, 228, 228, 228, 228, 228, 228, 229, - 229, 230, 230, 230, 230, 231, 231, 232, 232, 233, - 233, 233, 233, 233, 233, 233, 234, 234, 234, 234, - 234, 234, 234, 234, 235, 235, 236, 236, 236, 236, - 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, - 236, 237, 237, 238, 239, 239, 239, 240, 240, 241, - 242, 242, 242, 242, 242, 242, 242, 242, 243, 244, - 244, 245, 245, 245, 245, 245, 246, 246, 247, 247, - 247, 247, 248, 249, 249, 250, 251, 251, 251, 252, - 252, 253, 253, 254, 254, 255, 255, 255, 255, 255, - 255, 256, 256, 257, 258, 258, 259, 260, 260, 260, - 260, 260, 260, 260, 260, 260, 260, 261, 261, 261, - 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, - 262, 262, 262, 263, 263, 263, 264, 264, 265, 265, - 265, 266, 267, 267, 268, 268, 269, 269, 270, 270, - 271, 272, 272, 273, 273, 274, 274, 274, 274, 275, - 275, 275, 276, 277, 277, 278, 278, 278, 278, 278, - 278, 278, 279, 279, 280, 280, 281, 281, 282, 283, - 283, 284, 284, 285, 285, 285, 286, 286, 287, 288, - 289, 289, 290, 291, 291, 292, 292, 293, 294, 295, - 296, 296, 297, 298, 298, 299, 300, 300, 300, 300, - 300 + 0, 199, 200, 201, 201, 201, 202, 202, 202, 202, + 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, + 203, 204, 204, 204, 204, 204, 205, 205, 206, 207, + 207, 208, 208, 209, 209, 209, 210, 211, 211, 211, + 211, 211, 211, 211, 211, 212, 212, 213, 213, 213, + 213, 213, 213, 214, 215, 216, 217, 217, 218, 218, + 218, 218, 219, 219, 219, 219, 219, 219, 219, 219, + 219, 220, 220, 221, 221, 222, 222, 222, 222, 222, + 223, 224, 224, 225, 225, 225, 226, 226, 226, 226, + 226, 226, 227, 227, 227, 227, 228, 228, 228, 229, + 229, 230, 230, 230, 230, 230, 230, 230, 230, 231, + 231, 232, 232, 232, 232, 233, 233, 234, 234, 235, + 235, 235, 235, 235, 235, 235, 236, 236, 236, 236, + 236, 236, 236, 236, 237, 237, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 239, 239, 240, 241, 241, 241, 242, 242, 243, + 244, 244, 244, 244, 244, 244, 244, 244, 245, 246, + 246, 247, 247, 247, 247, 247, 248, 248, 249, 249, + 249, 249, 250, 251, 251, 252, 253, 253, 253, 254, + 254, 255, 255, 256, 256, 257, 257, 257, 257, 257, + 257, 258, 258, 259, 260, 260, 261, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 263, 264, 264, 264, 265, 265, 266, 266, 266, 267, + 267, 268, 268, 268, 269, 270, 270, 271, 271, 272, + 272, 273, 273, 274, 275, 275, 276, 276, 277, 277, + 277, 277, 278, 278, 278, 279, 280, 280, 281, 281, + 281, 281, 281, 281, 281, 282, 282, 283, 283, 284, + 284, 285, 286, 286, 287, 287, 288, 288, 288, 289, + 289, 290, 291, 292, 292, 293, 294, 294, 295, 295, + 296, 297, 298, 299, 299, 300, 301, 301, 302, 303, + 303, 303, 303, 303 }; - /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */ +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ static const yytype_uint8 yyr2[] = { 0, 2, 1, 3, 2, 2, 0, 1, 1, 1, @@ -1394,28 +1199,368 @@ static const yytype_uint8 yyr2[] = 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, - 2, 2, 3, 1, 2, 2, 2, 2, 3, 2, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, - 0, 4, 1, 0, 0, 2, 2, 2, 2, 1, - 1, 3, 3, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 1, 2, 1, 1, 1, 5, 2, - 1, 2, 1, 1, 1, 1, 1, 1, 5, 1, - 3, 2, 3, 1, 1, 2, 1, 5, 4, 3, - 2, 1, 6, 3, 2, 3, 1, 1, 1, 1, - 1 + 2, 2, 2, 3, 1, 2, 2, 2, 2, 3, + 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 2, 0, 4, 1, 0, 0, 2, 2, + 2, 2, 1, 1, 3, 3, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, + 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, + 1, 5, 2, 1, 2, 1, 1, 1, 1, 1, + 1, 5, 1, 3, 2, 3, 1, 1, 2, 1, + 5, 4, 3, 2, 1, 6, 3, 2, 3, 1, + 1, 1, 1, 1 }; +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ +static const yytype_uint16 yydefact[] = +{ + 0, 0, 0, 24, 58, 231, 0, 71, 0, 0, + 243, 234, 0, 224, 0, 0, 236, 0, 256, 0, + 0, 237, 235, 0, 239, 25, 0, 0, 0, 0, + 257, 232, 0, 23, 0, 238, 22, 0, 0, 0, + 0, 0, 240, 21, 0, 0, 0, 233, 0, 0, + 0, 0, 0, 56, 57, 292, 0, 2, 0, 7, + 0, 8, 0, 9, 10, 13, 11, 12, 14, 15, + 16, 17, 18, 0, 0, 0, 0, 217, 0, 218, + 19, 0, 5, 62, 63, 64, 195, 196, 197, 198, + 201, 199, 200, 202, 190, 192, 193, 194, 154, 155, + 156, 126, 152, 0, 241, 225, 189, 101, 102, 103, + 104, 108, 105, 106, 107, 109, 29, 30, 28, 0, + 26, 0, 6, 65, 66, 253, 226, 252, 285, 59, + 61, 160, 161, 162, 163, 164, 165, 166, 167, 127, + 158, 0, 60, 70, 283, 227, 67, 268, 269, 270, + 271, 272, 273, 274, 265, 267, 134, 29, 30, 134, + 134, 26, 68, 188, 186, 187, 182, 184, 0, 0, + 228, 96, 100, 97, 207, 208, 209, 210, 211, 212, + 213, 214, 215, 216, 203, 205, 0, 91, 86, 0, + 87, 95, 93, 94, 92, 90, 88, 89, 80, 82, + 0, 0, 247, 279, 0, 69, 278, 280, 276, 230, + 1, 0, 4, 31, 55, 290, 289, 219, 220, 221, + 222, 264, 263, 262, 0, 0, 79, 75, 76, 77, + 78, 0, 72, 0, 191, 151, 153, 242, 98, 0, + 178, 179, 180, 181, 0, 0, 176, 177, 168, 170, + 0, 0, 27, 223, 251, 284, 157, 159, 282, 266, + 130, 134, 134, 133, 128, 0, 183, 185, 0, 99, + 204, 206, 288, 286, 287, 85, 81, 83, 84, 229, + 0, 277, 275, 3, 20, 258, 259, 260, 255, 261, + 254, 296, 297, 0, 0, 0, 74, 73, 118, 117, + 0, 115, 116, 0, 110, 113, 114, 174, 175, 173, + 169, 171, 172, 136, 137, 138, 139, 140, 141, 142, + 143, 144, 145, 146, 147, 148, 149, 150, 135, 131, + 132, 134, 246, 0, 0, 248, 0, 37, 38, 39, + 54, 47, 49, 48, 51, 40, 41, 42, 43, 50, + 52, 44, 32, 33, 36, 34, 0, 35, 0, 0, + 0, 0, 299, 0, 294, 0, 111, 125, 121, 123, + 119, 120, 122, 124, 112, 129, 245, 244, 250, 249, + 0, 45, 46, 53, 0, 293, 291, 298, 0, 295, + 281, 302, 0, 0, 0, 0, 0, 304, 0, 0, + 300, 303, 301, 0, 0, 309, 310, 311, 312, 313, + 0, 0, 0, 305, 0, 307, 0, 306, 308 +}; -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY (-2) -#define YYEOF 0 +/* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_int16 yydefgoto[] = +{ + -1, 56, 57, 58, 59, 60, 128, 120, 121, 284, + 352, 353, 354, 355, 356, 357, 358, 61, 62, 63, + 64, 85, 232, 233, 65, 198, 199, 200, 201, 66, + 171, 115, 238, 304, 305, 306, 374, 67, 260, 328, + 101, 102, 103, 139, 140, 141, 68, 248, 249, 250, + 251, 69, 166, 167, 168, 70, 94, 95, 96, 97, + 71, 184, 185, 186, 72, 73, 74, 75, 76, 105, + 170, 377, 279, 335, 126, 127, 77, 78, 290, 224, + 79, 154, 155, 209, 205, 206, 207, 145, 129, 275, + 217, 80, 81, 293, 294, 295, 361, 362, 393, 363, + 396, 397, 410, 411, 412 +}; -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrorlab +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -185 +static const yytype_int16 yypact[] = +{ + 78, -169, -34, -185, -185, -185, -29, -185, 17, 43, + -124, -185, 17, -185, -5, -27, -185, -121, -185, -112, + -110, -185, -185, -100, -185, -185, -27, 0, 116, -27, + -185, -185, -91, -185, -89, -185, -185, 11, 35, 30, + 13, 31, -185, -185, -83, -5, -78, -185, 186, 523, + -76, -56, 15, -185, -185, -185, 83, 244, -99, -185, + -27, -185, -27, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -12, 24, -71, -69, -185, -11, -185, + -185, -107, -185, -185, -185, 8, -185, -185, -185, -185, + -185, -185, -185, -185, 17, -185, -185, -185, -185, -185, + -185, 43, -185, 34, 59, -185, 17, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, 7, + -185, -61, 407, -185, -185, -185, -100, -185, -185, -27, + -185, -185, -185, -185, -185, -185, -185, -185, -185, 116, + -185, 44, -27, -185, -185, -52, -185, -185, -185, -185, + -185, -185, -185, -185, 35, -185, -185, 85, 96, -185, + -185, 39, -185, -185, -185, -185, 31, -185, 75, -46, + -185, -5, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, 186, -185, -12, -185, -185, -35, + -185, -185, -185, -185, -185, -185, -185, -185, 523, -185, + 82, -12, -185, -185, 91, -56, -185, -185, -185, 100, + -185, -26, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -2, -130, -185, -185, -185, -185, + -185, 105, -185, 9, -185, -185, -185, -185, -7, 18, + -185, -185, -185, -185, 25, 121, -185, -185, 7, -185, + -12, -35, -185, -185, -185, -185, -185, -185, -185, -185, + 391, -185, -185, 391, 391, -76, -185, -185, 29, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, -51, + 153, -185, -185, -185, 464, -185, -185, -185, -185, -185, + -185, -185, -185, -82, 14, 1, -185, -185, -185, -185, + 38, -185, -185, 12, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, 391, + 391, -185, 171, -76, 140, -185, 141, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -55, -185, 53, 20, + 33, -128, -185, 32, -185, -12, -185, -185, -185, -185, + -185, -185, -185, -185, -185, 391, -185, -185, -185, -185, + 16, -185, -185, -185, -27, -185, -185, -185, 46, -185, + -185, -185, 37, 48, -12, 40, -167, -185, 54, -12, + -185, -185, -185, 45, 79, -185, -185, -185, -185, -185, + 98, 57, 47, -185, 60, -185, -12, -185, -185 +}; +/* YYPGOTO[NTERM-NUM]. */ +static const yytype_int16 yypgoto[] = +{ + -185, -185, -185, -44, -185, -185, -15, -38, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, -185, 28, -185, -185, -185, + -185, -36, -185, -185, -185, -185, -185, -185, -152, -185, + -185, 146, -185, -185, 111, -185, -185, -185, 3, -185, + -185, -185, -185, 89, -185, -185, 245, -66, -185, -185, + -185, -185, 72, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, 137, -185, -185, -185, -185, + -185, -185, 110, -185, -185, 70, -185, -185, 236, 27, + -184, -185, -185, -185, -17, -185, -185, -81, -185, -185, + -185, -113, -185, -126, -185 +}; + +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -7 +static const yytype_int16 yytable[] = +{ + 119, 161, 271, 285, 272, 203, 381, 263, 264, 172, + 239, 333, 202, 211, 82, 107, 367, 278, 359, 108, + 215, 395, 298, 221, 160, 86, 273, 83, 234, 87, + 299, 400, 84, 300, 104, 88, 226, 122, 368, 116, + 234, 117, 147, 148, 222, 213, 123, 214, 124, 216, + 240, 241, 242, 243, 98, 291, 292, 156, 125, 227, + 149, 130, 228, 286, 359, 287, 311, 143, 223, 144, + 386, 301, 146, 163, 162, 169, 208, 109, 253, 1, + 173, 334, 118, 210, 212, 218, 89, 219, 2, 220, + 225, 237, 3, 4, 5, 236, 157, 252, 158, 150, + 6, 7, 302, 291, 292, 257, 258, 8, 9, 329, + 330, 10, 261, 11, 255, 12, 13, 369, 382, 14, + 90, 91, 110, 262, 370, 265, 164, 255, 15, 151, + 111, 118, 16, 112, 274, 269, 267, 92, 17, 204, + 18, 371, 99, 277, 229, 230, 244, 100, 268, 19, + 20, 231, 280, 21, 22, 113, 288, 283, 23, 24, + 114, 282, 25, 26, 245, 303, 296, 297, 93, 246, + 247, 27, 131, 132, 133, 134, 307, 289, 159, 375, + 165, 389, 309, 308, 28, 29, 30, 332, 118, 336, + 372, 31, 174, 373, 152, 365, 366, 364, 376, 153, + 32, 379, 380, 135, 33, 136, 34, 137, 35, 36, + 398, 383, 390, 138, 384, 403, 385, 175, 37, 38, + 39, 40, 41, 42, 43, 44, 276, 331, 45, 388, + 46, 394, 418, 392, 399, 176, 395, 402, 177, 47, + 415, 416, 404, 417, 48, 49, 50, 235, 51, 52, + 256, 310, 53, 54, 2, 266, 270, 106, 3, 4, + 5, -6, 55, 254, 259, 142, 6, 7, 405, 406, + 407, 408, 409, 8, 9, 281, 360, 10, 312, 11, + 387, 12, 13, 401, 414, 14, 0, 405, 406, 407, + 408, 409, 0, 0, 15, 378, 413, 0, 16, 0, + 0, 0, 0, 0, 17, 0, 18, 0, 0, 0, + 0, 178, 0, 0, 0, 19, 20, 0, 0, 21, + 22, 0, 0, 0, 23, 24, 0, 0, 25, 26, + 0, 0, 0, 0, 0, 0, 0, 27, 0, 179, + 180, 181, 182, 0, 0, 0, 0, 183, 0, 0, + 28, 29, 30, 0, 0, 0, 0, 31, 0, 0, + 0, 0, 0, 0, 0, 0, 32, 0, 0, 391, + 33, 0, 34, 0, 35, 36, 0, 0, 0, 0, + 0, 0, 0, 0, 37, 38, 39, 40, 41, 42, + 43, 44, 0, 0, 45, 0, 46, 0, 0, 0, + 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, + 48, 49, 50, 0, 51, 52, 0, 2, 53, 54, + 0, 3, 4, 5, 0, 0, 0, -6, 55, 6, + 7, 0, 0, 0, 0, 0, 8, 9, 313, 0, + 10, 0, 11, 0, 12, 13, 314, 0, 14, 0, + 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, + 0, 16, 0, 0, 315, 316, 0, 17, 317, 18, + 0, 0, 0, 337, 318, 0, 0, 0, 19, 20, + 0, 338, 21, 22, 0, 0, 0, 23, 24, 0, + 0, 25, 26, 0, 0, 0, 0, 0, 0, 0, + 27, 319, 320, 0, 0, 321, 322, 0, 323, 324, + 325, 0, 326, 28, 29, 30, 0, 339, 340, 0, + 31, 0, 0, 0, 0, 0, 0, 0, 0, 32, + 0, 0, 0, 33, 341, 34, 187, 35, 36, 0, + 0, 0, 188, 0, 189, 0, 0, 37, 38, 39, + 40, 41, 42, 43, 44, 0, 342, 45, 0, 46, + 0, 0, 0, 0, 343, 0, 344, 327, 47, 0, + 0, 190, 0, 48, 49, 50, 0, 51, 52, 0, + 345, 53, 54, 0, 0, 0, 0, 0, 0, 0, + 0, 55, 0, 0, 0, 0, 0, 346, 347, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 191, 0, 192, 0, 0, 0, 0, 0, 193, + 0, 194, 0, 0, 195, 0, 0, 0, 0, 0, + 0, 0, 0, 348, 0, 349, 0, 0, 0, 0, + 350, 0, 0, 0, 351, 0, 196, 197 +}; + +#define yypact_value_is_default(Yystate) \ + (!!((Yystate) == (-185))) + +#define yytable_value_is_error(Yytable_value) \ + YYID (0) + +static const yytype_int16 yycheck[] = +{ + 15, 39, 186, 5, 39, 61, 61, 159, 160, 45, + 3, 62, 50, 57, 183, 20, 4, 201, 146, 24, + 32, 188, 29, 34, 39, 8, 61, 61, 94, 12, + 37, 198, 61, 40, 158, 18, 28, 158, 26, 66, + 106, 68, 7, 8, 55, 60, 158, 62, 158, 61, + 43, 44, 45, 46, 11, 185, 186, 27, 158, 51, + 25, 61, 54, 65, 146, 67, 250, 158, 79, 158, + 198, 78, 61, 42, 61, 158, 61, 82, 122, 1, + 158, 132, 158, 0, 183, 61, 69, 158, 10, 158, + 197, 32, 14, 15, 16, 61, 66, 158, 68, 64, + 22, 23, 109, 185, 186, 61, 158, 29, 30, 261, + 262, 33, 27, 35, 129, 37, 38, 105, 173, 41, + 103, 104, 127, 27, 112, 86, 95, 142, 50, 94, + 135, 158, 54, 138, 169, 171, 61, 120, 60, 195, + 62, 129, 99, 61, 136, 137, 139, 104, 194, 71, + 72, 143, 61, 75, 76, 160, 158, 183, 80, 81, + 165, 61, 84, 85, 157, 172, 61, 158, 151, 162, + 163, 93, 56, 57, 58, 59, 158, 179, 148, 331, + 149, 365, 61, 158, 106, 107, 108, 158, 158, 36, + 178, 113, 6, 181, 159, 194, 158, 183, 27, 164, + 122, 61, 61, 87, 126, 89, 128, 91, 130, 131, + 394, 158, 196, 97, 194, 399, 183, 31, 140, 141, + 142, 143, 144, 145, 146, 147, 198, 265, 150, 197, + 152, 194, 416, 187, 194, 49, 188, 183, 52, 161, + 183, 194, 197, 183, 166, 167, 168, 101, 170, 171, + 139, 248, 174, 175, 10, 166, 184, 12, 14, 15, + 16, 183, 184, 126, 154, 29, 22, 23, 189, 190, + 191, 192, 193, 29, 30, 205, 293, 33, 251, 35, + 361, 37, 38, 396, 410, 41, -1, 189, 190, 191, + 192, 193, -1, -1, 50, 333, 198, -1, 54, -1, + -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, + -1, 125, -1, -1, -1, 71, 72, -1, -1, 75, + 76, -1, -1, -1, 80, 81, -1, -1, 84, 85, + -1, -1, -1, -1, -1, -1, -1, 93, -1, 153, + 154, 155, 156, -1, -1, -1, -1, 161, -1, -1, + 106, 107, 108, -1, -1, -1, -1, 113, -1, -1, + -1, -1, -1, -1, -1, -1, 122, -1, -1, 384, + 126, -1, 128, -1, 130, 131, -1, -1, -1, -1, + -1, -1, -1, -1, 140, 141, 142, 143, 144, 145, + 146, 147, -1, -1, 150, -1, 152, -1, -1, -1, + -1, -1, -1, -1, -1, 161, -1, -1, -1, -1, + 166, 167, 168, -1, 170, 171, -1, 10, 174, 175, + -1, 14, 15, 16, -1, -1, -1, 183, 184, 22, + 23, -1, -1, -1, -1, -1, 29, 30, 47, -1, + 33, -1, 35, -1, 37, 38, 55, -1, 41, -1, + -1, -1, -1, -1, -1, -1, -1, 50, -1, -1, + -1, 54, -1, -1, 73, 74, -1, 60, 77, 62, + -1, -1, -1, 9, 83, -1, -1, -1, 71, 72, + -1, 17, 75, 76, -1, -1, -1, 80, 81, -1, + -1, 84, 85, -1, -1, -1, -1, -1, -1, -1, + 93, 110, 111, -1, -1, 114, 115, -1, 117, 118, + 119, -1, 121, 106, 107, 108, -1, 53, 54, -1, + 113, -1, -1, -1, -1, -1, -1, -1, -1, 122, + -1, -1, -1, 126, 70, 128, 13, 130, 131, -1, + -1, -1, 19, -1, 21, -1, -1, 140, 141, 142, + 143, 144, 145, 146, 147, -1, 92, 150, -1, 152, + -1, -1, -1, -1, 100, -1, 102, 176, 161, -1, + -1, 48, -1, 166, 167, 168, -1, 170, 171, -1, + 116, 174, 175, -1, -1, -1, -1, -1, -1, -1, + -1, 184, -1, -1, -1, -1, -1, 133, 134, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 88, -1, 90, -1, -1, -1, -1, -1, 96, + -1, 98, -1, -1, 101, -1, -1, -1, -1, -1, + -1, -1, -1, 169, -1, 171, -1, -1, -1, -1, + 176, -1, -1, -1, 180, -1, 123, 124 +}; + +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const yytype_uint16 yystos[] = +{ + 0, 1, 10, 14, 15, 16, 22, 23, 29, 30, + 33, 35, 37, 38, 41, 50, 54, 60, 62, 71, + 72, 75, 76, 80, 81, 84, 85, 93, 106, 107, + 108, 113, 122, 126, 128, 130, 131, 140, 141, 142, + 143, 144, 145, 146, 147, 150, 152, 161, 166, 167, + 168, 170, 171, 174, 175, 184, 200, 201, 202, 203, + 204, 216, 217, 218, 219, 223, 228, 236, 245, 250, + 254, 259, 263, 264, 265, 266, 267, 275, 276, 279, + 290, 291, 183, 61, 61, 220, 8, 12, 18, 69, + 103, 104, 120, 151, 255, 256, 257, 258, 11, 99, + 104, 239, 240, 241, 158, 268, 255, 20, 24, 82, + 127, 135, 138, 160, 165, 230, 66, 68, 158, 205, + 206, 207, 158, 158, 158, 158, 273, 274, 205, 287, + 61, 56, 57, 58, 59, 87, 89, 91, 97, 242, + 243, 244, 287, 158, 158, 286, 61, 7, 8, 25, + 64, 94, 159, 164, 280, 281, 27, 66, 68, 148, + 205, 206, 61, 42, 95, 149, 251, 252, 253, 158, + 269, 229, 230, 158, 6, 31, 49, 52, 125, 153, + 154, 155, 156, 161, 260, 261, 262, 13, 19, 21, + 48, 88, 90, 96, 98, 101, 123, 124, 224, 225, + 226, 227, 206, 61, 195, 283, 284, 285, 61, 282, + 0, 202, 183, 205, 205, 32, 61, 289, 61, 158, + 158, 34, 55, 79, 278, 197, 28, 51, 54, 136, + 137, 143, 221, 222, 256, 240, 61, 32, 231, 3, + 43, 44, 45, 46, 139, 157, 162, 163, 246, 247, + 248, 249, 158, 202, 274, 205, 243, 61, 158, 281, + 237, 27, 27, 237, 237, 86, 252, 61, 194, 230, + 261, 289, 39, 61, 169, 288, 225, 61, 289, 271, + 61, 284, 61, 183, 208, 5, 65, 67, 158, 179, + 277, 185, 186, 292, 293, 294, 61, 158, 29, 37, + 40, 78, 109, 172, 232, 233, 234, 158, 158, 61, + 247, 289, 288, 47, 55, 73, 74, 77, 83, 110, + 111, 114, 115, 117, 118, 119, 121, 176, 238, 237, + 237, 206, 158, 62, 132, 272, 36, 9, 17, 53, + 54, 70, 92, 100, 102, 116, 133, 134, 169, 171, + 176, 180, 209, 210, 211, 212, 213, 214, 215, 146, + 293, 295, 296, 298, 183, 194, 158, 4, 26, 105, + 112, 129, 178, 181, 235, 237, 27, 270, 206, 61, + 61, 61, 173, 158, 194, 183, 198, 296, 197, 289, + 196, 205, 187, 297, 194, 188, 299, 300, 289, 194, + 198, 300, 183, 289, 197, 189, 190, 191, 192, 193, + 301, 302, 303, 198, 302, 183, 194, 183, 289 +}; + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY (-2) +#define YYEOF 0 + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab + + +/* Like YYERROR except do call yyerror. This remains here temporarily + to ease the transition to the new meaning of YYERROR, for GCC. + Once GCC version 2 has supplanted version 1, this can go. However, + YYFAIL appears to be in use. Nevertheless, it is formally deprecated + in Bison 2.4.2's NEWS entry, where a plan to phase it out is + discussed. */ + +#define YYFAIL goto yyerrlab +#if defined YYFAIL + /* This is here to suppress warnings from the GCC cpp's + -Wunused-macros. Normally we don't worry about that warning, but + some users do, and we want to make it easy for users to remove + YYFAIL uses, which will produce warnings from Bison 2.5. */ +#endif #define YYRECOVERING() (!!yyerrstatus) @@ -1431,16 +1576,28 @@ do \ } \ else \ { \ - yyerror (ip_file, YY_("syntax error: cannot back up")); \ - YYERROR; \ - } \ -while (0) + yyerror (YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ +while (YYID (0)) /* Error token number */ -#define YYTERROR 1 -#define YYERRCODE 256 +#define YYTERROR 1 +#define YYERRCODE 256 +/* This macro is provided for backward compatibility. */ +#ifndef YY_LOCATION_PRINT +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) +#endif + + +/* YYLEX -- calling `yylex' with the right arguments. */ +#ifdef YYLEX_PARAM +# define YYLEX yylex (YYLEX_PARAM) +#else +# define YYLEX yylex () +#endif /* Enable debugging if requested. */ #if YYDEBUG @@ -1450,45 +1607,50 @@ while (0) # define YYFPRINTF fprintf # endif -# define YYDPRINTF(Args) \ -do { \ - if (yydebug) \ - YYFPRINTF Args; \ -} while (0) +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (YYID (0)) -/* This macro is provided for backward compatibility. */ -#ifndef YY_LOCATION_PRINT -# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -#endif +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Type, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (YYID (0)) -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ -do { \ - if (yydebug) \ - { \ - YYFPRINTF (stderr, "%s ", Title); \ - yy_symbol_print (stderr, \ - Type, Value, ip_file); \ - YYFPRINTF (stderr, "\n"); \ - } \ -} while (0) - - -/*----------------------------------------. -| Print this symbol's value on YYOUTPUT. | -`----------------------------------------*/ +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void -yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, struct FILE_INFO *ip_file) +yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_value_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif { FILE *yyo = yyoutput; YYUSE (yyo); - YYUSE (ip_file); if (!yyvaluep) return; # ifdef YYPRINT if (yytype < YYNTOKENS) YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# else + YYUSE (yyoutput); # endif YYUSE (yytype); } @@ -1498,13 +1660,24 @@ yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvalue | Print this symbol on YYOUTPUT. | `--------------------------------*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void -yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, struct FILE_INFO *ip_file) +yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif { - YYFPRINTF (yyoutput, "%s %s (", - yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); - yy_symbol_value_print (yyoutput, yytype, yyvaluep, ip_file); + yy_symbol_value_print (yyoutput, yytype, yyvaluep); YYFPRINTF (yyoutput, ")"); } @@ -1513,8 +1686,16 @@ yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, str | TOP (included). | `------------------------------------------------------------------*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) +#else +static void +yy_stack_print (yybottom, yytop) + yytype_int16 *yybottom; + yytype_int16 *yytop; +#endif { YYFPRINTF (stderr, "Stack now"); for (; yybottom <= yytop; yybottom++) @@ -1525,42 +1706,49 @@ yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) YYFPRINTF (stderr, "\n"); } -# define YY_STACK_PRINT(Bottom, Top) \ -do { \ - if (yydebug) \ - yy_stack_print ((Bottom), (Top)); \ -} while (0) +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (YYID (0)) /*------------------------------------------------. | Report that the YYRULE is going to be reduced. | `------------------------------------------------*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void -yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, struct FILE_INFO *ip_file) +yy_reduce_print (YYSTYPE *yyvsp, int yyrule) +#else +static void +yy_reduce_print (yyvsp, yyrule) + YYSTYPE *yyvsp; + int yyrule; +#endif { - unsigned long int yylno = yyrline[yyrule]; int yynrhs = yyr2[yyrule]; int yyi; + unsigned long int yylno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", - yyrule - 1, yylno); + yyrule - 1, yylno); /* The symbols being reduced. */ for (yyi = 0; yyi < yynrhs; yyi++) { YYFPRINTF (stderr, " $%d = ", yyi + 1); - yy_symbol_print (stderr, - yystos[yyssp[yyi + 1 - yynrhs]], - &(yyvsp[(yyi + 1) - (yynrhs)]) - , ip_file); + yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], + &(yyvsp[(yyi + 1) - (yynrhs)]) + ); YYFPRINTF (stderr, "\n"); } } -# define YY_REDUCE_PRINT(Rule) \ -do { \ - if (yydebug) \ - yy_reduce_print (yyssp, yyvsp, Rule, ip_file); \ -} while (0) +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (yyvsp, Rule); \ +} while (YYID (0)) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ @@ -1574,7 +1762,7 @@ int yydebug; /* YYINITDEPTH -- initial size of the parser's stacks. */ -#ifndef YYINITDEPTH +#ifndef YYINITDEPTH # define YYINITDEPTH 200 #endif @@ -1597,8 +1785,15 @@ int yydebug; # define yystrlen strlen # else /* Return the length of YYSTR. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static YYSIZE_T yystrlen (const char *yystr) +#else +static YYSIZE_T +yystrlen (yystr) + const char *yystr; +#endif { YYSIZE_T yylen; for (yylen = 0; yystr[yylen]; yylen++) @@ -1614,8 +1809,16 @@ yystrlen (const char *yystr) # else /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in YYDEST. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static char * yystpcpy (char *yydest, const char *yysrc) +#else +static char * +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +#endif { char *yyd = yydest; const char *yys = yysrc; @@ -1645,27 +1848,27 @@ yytnamerr (char *yyres, const char *yystr) char const *yyp = yystr; for (;;) - switch (*++yyp) - { - case '\'': - case ',': - goto do_not_strip_quotes; + switch (*++yyp) + { + case '\'': + case ',': + goto do_not_strip_quotes; - case '\\': - if (*++yyp != '\\') - goto do_not_strip_quotes; - /* Fall through. */ - default: - if (yyres) - yyres[yyn] = *yyp; - yyn++; - break; + case '\\': + if (*++yyp != '\\') + goto do_not_strip_quotes; + /* Fall through. */ + default: + if (yyres) + yyres[yyn] = *yyp; + yyn++; + break; - case '"': - if (yyres) - yyres[yyn] = '\0'; - return yyn; - } + case '"': + if (yyres) + yyres[yyn] = '\0'; + return yyn; + } do_not_strip_quotes: ; } @@ -1688,11 +1891,11 @@ static int yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, yytype_int16 *yyssp, int yytoken) { - YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); + YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]); YYSIZE_T yysize = yysize0; enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; /* Internationalized format string. */ - const char *yyformat = YY_NULLPTR; + const char *yyformat = YY_NULL; /* Arguments of yyformat. */ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; /* Number of reported tokens (one for the "unexpected", one per @@ -1700,6 +1903,10 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, int yycount = 0; /* There are many possibilities here to consider: + - Assume YYFAIL is not used. It's too flawed to consider. See + + for details. YYERROR is fine as it does not invoke this + function. - If this state is a consistent state with a default action, then the only way this function was invoked is if the default action is an error action. In that case, don't check for expected @@ -1749,7 +1956,7 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, } yyarg[yycount++] = yytname[yyx]; { - YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); + YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]); if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) return 2; @@ -1816,18 +2023,26 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, | Release the memory associated to this symbol. | `-----------------------------------------------*/ +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void -yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, struct FILE_INFO *ip_file) +yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) +#else +static void +yydestruct (yymsg, yytype, yyvaluep) + const char *yymsg; + int yytype; + YYSTYPE *yyvaluep; +#endif { YYUSE (yyvaluep); - YYUSE (ip_file); + if (!yymsg) yymsg = "Deleting"; YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); - YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN YYUSE (yytype); - YY_IGNORE_MAYBE_UNINITIALIZED_END } @@ -1836,8 +2051,18 @@ yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, struct FILE_INFO * /* The lookahead symbol. */ int yychar; + +#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_END +#endif +#ifndef YY_INITIAL_VALUE +# define YY_INITIAL_VALUE(Value) /* Nothing. */ +#endif + /* The semantic value of the lookahead symbol. */ -YYSTYPE yylval; +YYSTYPE yylval YY_INITIAL_VALUE(yyval_default); + /* Number of syntax errors so far. */ int yynerrs; @@ -1846,16 +2071,35 @@ int yynerrs; | yyparse. | `----------*/ +#ifdef YYPARSE_PARAM +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) int -yyparse (struct FILE_INFO *ip_file) +yyparse (void *YYPARSE_PARAM) +#else +int +yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +#endif +#else /* ! YYPARSE_PARAM */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int +yyparse (void) +#else +int +yyparse () + +#endif +#endif { int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* The stacks and their tools: - 'yyss': related to states. - 'yyvs': related to semantic values. + `yyss': related to states. + `yyvs': related to semantic values. Refer to the stacks through separate pointers, to allow yyoverflow to reallocate them elsewhere. */ @@ -1923,23 +2167,23 @@ yyparse (struct FILE_INFO *ip_file) #ifdef yyoverflow { - /* Give user a chance to reallocate the stack. Use copies of - these so that the &'s don't force the real ones into - memory. */ - YYSTYPE *yyvs1 = yyvs; - yytype_int16 *yyss1 = yyss; + /* Give user a chance to reallocate the stack. Use copies of + these so that the &'s don't force the real ones into + memory. */ + YYSTYPE *yyvs1 = yyvs; + yytype_int16 *yyss1 = yyss; - /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. This used to be a - conditional around just the two extra args, but that might - be undefined if yyoverflow is a macro. */ - yyoverflow (YY_("memory exhausted"), - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - &yystacksize); + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ + yyoverflow (YY_("memory exhausted"), + &yyss1, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + &yystacksize); - yyss = yyss1; - yyvs = yyvs1; + yyss = yyss1; + yyvs = yyvs1; } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE @@ -1947,22 +2191,22 @@ yyparse (struct FILE_INFO *ip_file) # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) - goto yyexhaustedlab; + goto yyexhaustedlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) - yystacksize = YYMAXDEPTH; + yystacksize = YYMAXDEPTH; { - yytype_int16 *yyss1 = yyss; - union yyalloc *yyptr = - (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); - if (! yyptr) - goto yyexhaustedlab; - YYSTACK_RELOCATE (yyss_alloc, yyss); - YYSTACK_RELOCATE (yyvs_alloc, yyvs); + yytype_int16 *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyexhaustedlab; + YYSTACK_RELOCATE (yyss_alloc, yyss); + YYSTACK_RELOCATE (yyvs_alloc, yyvs); # undef YYSTACK_RELOCATE - if (yyss1 != yyssa) - YYSTACK_FREE (yyss1); + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); } # endif #endif /* no yyoverflow */ @@ -1971,10 +2215,10 @@ yyparse (struct FILE_INFO *ip_file) yyvsp = yyvs + yysize - 1; YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); + (unsigned long int) yystacksize)); if (yyss + yystacksize - 1 <= yyssp) - YYABORT; + YYABORT; } YYDPRINTF ((stderr, "Entering state %d\n", yystate)); @@ -2003,7 +2247,7 @@ yyparse (struct FILE_INFO *ip_file) if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); - yychar = yylex (ip_file); + yychar = YYLEX; } if (yychar <= YYEOF) @@ -2068,7 +2312,7 @@ yyparse (struct FILE_INFO *ip_file) yylen = yyr2[yyn]; /* If YYLEN is nonzero, implement the default value of the action: - '$$ = $1'. + `$$ = $1'. Otherwise, the following line sets YYVAL to garbage. This behavior is undocumented and Bison @@ -2082,1257 +2326,1277 @@ yyparse (struct FILE_INFO *ip_file) switch (yyn) { case 5: -#line 373 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 373 "../../ntpd/ntp_parser.y" { /* I will need to incorporate much more fine grained * error messages. The following should suffice for * the time being. */ - msyslog(LOG_ERR, + struct FILE_INFO * ip_ctx = lex_current(); + msyslog(LOG_ERR, "syntax error in %s line %d, column %d", - ip_file->fname, - ip_file->err_line_no, - ip_file->err_col_no); + ip_ctx->fname, + ip_ctx->errpos.nline, + ip_ctx->errpos.ncol); } -#line 2098 "ntp_parser.c" /* yacc.c:1646 */ break; case 20: -#line 408 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 409 "../../ntpd/ntp_parser.y" { peer_node *my_node; - my_node = create_peer_node((yyvsp[-2].Integer), (yyvsp[-1].Address_node), (yyvsp[0].Attr_val_fifo)); + my_node = create_peer_node((yyvsp[(1) - (3)].Integer), (yyvsp[(2) - (3)].Address_node), (yyvsp[(3) - (3)].Attr_val_fifo)); APPEND_G_FIFO(cfgt.peers, my_node); } -#line 2109 "ntp_parser.c" /* yacc.c:1646 */ break; case 27: -#line 427 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Address_node) = create_address_node((yyvsp[0].String), (yyvsp[-1].Integer)); } -#line 2115 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 428 "../../ntpd/ntp_parser.y" + { (yyval.Address_node) = create_address_node((yyvsp[(2) - (2)].String), (yyvsp[(1) - (2)].Integer)); } break; case 28: -#line 432 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Address_node) = create_address_node((yyvsp[0].String), AF_UNSPEC); } -#line 2121 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 433 "../../ntpd/ntp_parser.y" + { (yyval.Address_node) = create_address_node((yyvsp[(1) - (1)].String), AF_UNSPEC); } break; case 29: -#line 437 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 438 "../../ntpd/ntp_parser.y" { (yyval.Integer) = AF_INET; } -#line 2127 "ntp_parser.c" /* yacc.c:1646 */ break; case 30: -#line 439 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 440 "../../ntpd/ntp_parser.y" { (yyval.Integer) = AF_INET6; } -#line 2133 "ntp_parser.c" /* yacc.c:1646 */ break; case 31: -#line 444 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 445 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; } -#line 2139 "ntp_parser.c" /* yacc.c:1646 */ break; case 32: -#line 446 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 447 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2148 "ntp_parser.c" /* yacc.c:1646 */ break; case 36: -#line 460 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); } -#line 2154 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 461 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } break; case 45: -#line 476 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2160 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 477 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 46: -#line 478 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_uval((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2166 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 479 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_uval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 53: -#line 492 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); } -#line 2172 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 493 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } break; case 55: -#line 506 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 507 "../../ntpd/ntp_parser.y" { unpeer_node *my_node; - - my_node = create_unpeer_node((yyvsp[0].Address_node)); + + my_node = create_unpeer_node((yyvsp[(2) - (2)].Address_node)); if (my_node) APPEND_G_FIFO(cfgt.unpeers, my_node); } -#line 2184 "ntp_parser.c" /* yacc.c:1646 */ break; case 58: -#line 527 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 528 "../../ntpd/ntp_parser.y" { cfgt.broadcastclient = 1; } -#line 2190 "ntp_parser.c" /* yacc.c:1646 */ break; case 59: -#line 529 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.manycastserver, (yyvsp[0].Address_fifo)); } -#line 2196 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 530 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.manycastserver, (yyvsp[(2) - (2)].Address_fifo)); } break; case 60: -#line 531 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.multicastclient, (yyvsp[0].Address_fifo)); } -#line 2202 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 532 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.multicastclient, (yyvsp[(2) - (2)].Address_fifo)); } break; case 61: -#line 533 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.mdnstries = (yyvsp[0].Integer); } -#line 2208 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 534 "../../ntpd/ntp_parser.y" + { cfgt.mdnstries = (yyvsp[(2) - (2)].Integer); } break; case 62: -#line 544 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 545 "../../ntpd/ntp_parser.y" { attr_val *atrv; - - atrv = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); + + atrv = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); APPEND_G_FIFO(cfgt.vars, atrv); } -#line 2219 "ntp_parser.c" /* yacc.c:1646 */ break; case 63: -#line 551 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.control_key = (yyvsp[0].Integer); } -#line 2225 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 552 "../../ntpd/ntp_parser.y" + { cfgt.auth.control_key = (yyvsp[(2) - (2)].Integer); } break; case 64: -#line 553 "ntp_parser.y" /* yacc.c:1646 */ - { +/* Line 1787 of yacc.c */ +#line 554 "../../ntpd/ntp_parser.y" + { cfgt.auth.cryptosw++; - CONCAT_G_FIFOS(cfgt.auth.crypto_cmd_list, (yyvsp[0].Attr_val_fifo)); + CONCAT_G_FIFOS(cfgt.auth.crypto_cmd_list, (yyvsp[(2) - (2)].Attr_val_fifo)); } -#line 2234 "ntp_parser.c" /* yacc.c:1646 */ break; case 65: -#line 558 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.keys = (yyvsp[0].String); } -#line 2240 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 559 "../../ntpd/ntp_parser.y" + { cfgt.auth.keys = (yyvsp[(2) - (2)].String); } break; case 66: -#line 560 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.keysdir = (yyvsp[0].String); } -#line 2246 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 561 "../../ntpd/ntp_parser.y" + { cfgt.auth.keysdir = (yyvsp[(2) - (2)].String); } break; case 67: -#line 562 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.request_key = (yyvsp[0].Integer); } -#line 2252 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 563 "../../ntpd/ntp_parser.y" + { cfgt.auth.request_key = (yyvsp[(2) - (2)].Integer); } break; case 68: -#line 564 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.revoke = (yyvsp[0].Integer); } -#line 2258 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 565 "../../ntpd/ntp_parser.y" + { cfgt.auth.revoke = (yyvsp[(2) - (2)].Integer); } break; case 69: -#line 566 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 567 "../../ntpd/ntp_parser.y" { - cfgt.auth.trusted_key_list = (yyvsp[0].Attr_val_fifo); + cfgt.auth.trusted_key_list = (yyvsp[(2) - (2)].Attr_val_fifo); // if (!cfgt.auth.trusted_key_list) // cfgt.auth.trusted_key_list = $2; // else // LINK_SLIST(cfgt.auth.trusted_key_list, $2, link); } -#line 2271 "ntp_parser.c" /* yacc.c:1646 */ break; case 70: -#line 575 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.ntp_signd_socket = (yyvsp[0].String); } -#line 2277 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 576 "../../ntpd/ntp_parser.y" + { cfgt.auth.ntp_signd_socket = (yyvsp[(2) - (2)].String); } break; case 71: -#line 580 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 581 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; } -#line 2283 "ntp_parser.c" /* yacc.c:1646 */ break; case 72: -#line 582 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 583 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2292 "ntp_parser.c" /* yacc.c:1646 */ break; case 73: -#line 590 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); } -#line 2298 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 591 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } break; case 74: -#line 592 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 593 "../../ntpd/ntp_parser.y" { (yyval.Attr_val) = NULL; - cfgt.auth.revoke = (yyvsp[0].Integer); + cfgt.auth.revoke = (yyvsp[(2) - (2)].Integer); msyslog(LOG_WARNING, "'crypto revoke %d' is deprecated, " "please use 'revoke %d' instead.", cfgt.auth.revoke, cfgt.auth.revoke); } -#line 2311 "ntp_parser.c" /* yacc.c:1646 */ break; case 80: -#line 617 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.orphan_cmds, (yyvsp[0].Attr_val_fifo)); } -#line 2317 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 618 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.orphan_cmds, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 81: -#line 622 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 623 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2326 "ntp_parser.c" /* yacc.c:1646 */ break; case 82: -#line 627 "ntp_parser.y" /* yacc.c:1646 */ - { +/* Line 1787 of yacc.c */ +#line 628 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2335 "ntp_parser.c" /* yacc.c:1646 */ break; case 83: -#line 635 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (double)(yyvsp[0].Integer)); } -#line 2341 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 636 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (double)(yyvsp[(2) - (2)].Integer)); } break; case 84: -#line 637 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (yyvsp[0].Double)); } -#line 2347 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 638 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Double)); } break; case 85: -#line 639 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (double)(yyvsp[0].Integer)); } -#line 2353 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 640 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (double)(yyvsp[(2) - (2)].Integer)); } break; case 96: -#line 665 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.stats_list, (yyvsp[0].Int_fifo)); } -#line 2359 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 666 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.stats_list, (yyvsp[(2) - (2)].Int_fifo)); } break; case 97: -#line 667 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 668 "../../ntpd/ntp_parser.y" { - if (input_from_file) { - cfgt.stats_dir = (yyvsp[0].String); + if (lex_from_file()) { + cfgt.stats_dir = (yyvsp[(2) - (2)].String); } else { - YYFREE((yyvsp[0].String)); - yyerror(ip_file, "statsdir remote configuration ignored"); + YYFREE((yyvsp[(2) - (2)].String)); + yyerror("statsdir remote configuration ignored"); } } -#line 2372 "ntp_parser.c" /* yacc.c:1646 */ break; case 98: -#line 676 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 677 "../../ntpd/ntp_parser.y" { filegen_node *fgn; - - fgn = create_filegen_node((yyvsp[-1].Integer), (yyvsp[0].Attr_val_fifo)); + + fgn = create_filegen_node((yyvsp[(2) - (3)].Integer), (yyvsp[(3) - (3)].Attr_val_fifo)); APPEND_G_FIFO(cfgt.filegen_opts, fgn); } -#line 2383 "ntp_parser.c" /* yacc.c:1646 */ break; case 99: -#line 686 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 687 "../../ntpd/ntp_parser.y" { - (yyval.Int_fifo) = (yyvsp[-1].Int_fifo); - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); + (yyval.Int_fifo) = (yyvsp[(1) - (2)].Int_fifo); + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(2) - (2)].Integer))); } -#line 2392 "ntp_parser.c" /* yacc.c:1646 */ break; case 100: -#line 691 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 692 "../../ntpd/ntp_parser.y" { (yyval.Int_fifo) = NULL; - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(1) - (1)].Integer))); } -#line 2401 "ntp_parser.c" /* yacc.c:1646 */ break; case 109: -#line 710 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 711 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; } -#line 2407 "ntp_parser.c" /* yacc.c:1646 */ break; case 110: -#line 712 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 713 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2416 "ntp_parser.c" /* yacc.c:1646 */ break; case 111: -#line 720 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 721 "../../ntpd/ntp_parser.y" { - if (input_from_file) { - (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); + if (lex_from_file()) { + (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } else { (yyval.Attr_val) = NULL; - YYFREE((yyvsp[0].String)); - yyerror(ip_file, "filegen file remote config ignored"); + YYFREE((yyvsp[(2) - (2)].String)); + yyerror("filegen file remote config ignored"); } } -#line 2430 "ntp_parser.c" /* yacc.c:1646 */ break; case 112: -#line 730 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 731 "../../ntpd/ntp_parser.y" { - if (input_from_file) { - (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); + if (lex_from_file()) { + (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } else { (yyval.Attr_val) = NULL; - yyerror(ip_file, "filegen type remote config ignored"); + yyerror("filegen type remote config ignored"); } } -#line 2443 "ntp_parser.c" /* yacc.c:1646 */ break; case 113: -#line 739 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 740 "../../ntpd/ntp_parser.y" { const char *err; - - if (input_from_file) { - (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); + + if (lex_from_file()) { + (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } else { (yyval.Attr_val) = NULL; - if (T_Link == (yyvsp[0].Integer)) + if (T_Link == (yyvsp[(1) - (1)].Integer)) err = "filegen link remote config ignored"; else err = "filegen nolink remote config ignored"; - yyerror(ip_file, err); + yyerror(err); } } -#line 2462 "ntp_parser.c" /* yacc.c:1646 */ break; case 114: -#line 754 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); } -#line 2468 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 755 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } break; case 126: -#line 784 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 785 "../../ntpd/ntp_parser.y" { - CONCAT_G_FIFOS(cfgt.discard_opts, (yyvsp[0].Attr_val_fifo)); + CONCAT_G_FIFOS(cfgt.discard_opts, (yyvsp[(2) - (2)].Attr_val_fifo)); } -#line 2476 "ntp_parser.c" /* yacc.c:1646 */ break; case 127: -#line 788 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 789 "../../ntpd/ntp_parser.y" { - CONCAT_G_FIFOS(cfgt.mru_opts, (yyvsp[0].Attr_val_fifo)); + CONCAT_G_FIFOS(cfgt.mru_opts, (yyvsp[(2) - (2)].Attr_val_fifo)); } -#line 2484 "ntp_parser.c" /* yacc.c:1646 */ break; case 128: -#line 792 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 793 "../../ntpd/ntp_parser.y" { restrict_node *rn; - rn = create_restrict_node((yyvsp[-1].Address_node), NULL, (yyvsp[0].Int_fifo), - ip_file->line_no); + rn = create_restrict_node((yyvsp[(2) - (3)].Address_node), NULL, (yyvsp[(3) - (3)].Int_fifo), + lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2496 "ntp_parser.c" /* yacc.c:1646 */ break; case 129: -#line 800 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 801 "../../ntpd/ntp_parser.y" { restrict_node *rn; - rn = create_restrict_node((yyvsp[-3].Address_node), (yyvsp[-1].Address_node), (yyvsp[0].Int_fifo), - ip_file->line_no); + rn = create_restrict_node((yyvsp[(2) - (5)].Address_node), (yyvsp[(4) - (5)].Address_node), (yyvsp[(5) - (5)].Int_fifo), + lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2508 "ntp_parser.c" /* yacc.c:1646 */ break; case 130: -#line 808 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 809 "../../ntpd/ntp_parser.y" { restrict_node *rn; - rn = create_restrict_node(NULL, NULL, (yyvsp[0].Int_fifo), - ip_file->line_no); + rn = create_restrict_node(NULL, NULL, (yyvsp[(3) - (3)].Int_fifo), + lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2520 "ntp_parser.c" /* yacc.c:1646 */ break; case 131: -#line 816 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 817 "../../ntpd/ntp_parser.y" { restrict_node *rn; rn = create_restrict_node( create_address_node( - estrdup("0.0.0.0"), + estrdup("0.0.0.0"), AF_INET), create_address_node( - estrdup("0.0.0.0"), + estrdup("0.0.0.0"), AF_INET), - (yyvsp[0].Int_fifo), - ip_file->line_no); + (yyvsp[(4) - (4)].Int_fifo), + lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2539 "ntp_parser.c" /* yacc.c:1646 */ break; case 132: -#line 831 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 832 "../../ntpd/ntp_parser.y" { restrict_node *rn; - + rn = create_restrict_node( create_address_node( - estrdup("::"), + estrdup("::"), AF_INET6), create_address_node( - estrdup("::"), + estrdup("::"), AF_INET6), - (yyvsp[0].Int_fifo), - ip_file->line_no); + (yyvsp[(4) - (4)].Int_fifo), + lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2558 "ntp_parser.c" /* yacc.c:1646 */ break; case 133: -#line 846 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 847 "../../ntpd/ntp_parser.y" { restrict_node * rn; - APPEND_G_FIFO((yyvsp[0].Int_fifo), create_int_node((yyvsp[-1].Integer))); + APPEND_G_FIFO((yyvsp[(3) - (3)].Int_fifo), create_int_node((yyvsp[(2) - (3)].Integer))); rn = create_restrict_node( - NULL, NULL, (yyvsp[0].Int_fifo), ip_file->line_no); + NULL, NULL, (yyvsp[(3) - (3)].Int_fifo), lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2571 "ntp_parser.c" /* yacc.c:1646 */ break; case 134: -#line 858 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 859 "../../ntpd/ntp_parser.y" { (yyval.Int_fifo) = NULL; } -#line 2577 "ntp_parser.c" /* yacc.c:1646 */ break; case 135: -#line 860 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 861 "../../ntpd/ntp_parser.y" { - (yyval.Int_fifo) = (yyvsp[-1].Int_fifo); - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); + (yyval.Int_fifo) = (yyvsp[(1) - (2)].Int_fifo); + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(2) - (2)].Integer))); } -#line 2586 "ntp_parser.c" /* yacc.c:1646 */ break; case 151: -#line 886 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 887 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2595 "ntp_parser.c" /* yacc.c:1646 */ break; case 152: -#line 891 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 892 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2604 "ntp_parser.c" /* yacc.c:1646 */ break; case 153: -#line 899 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2610 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 900 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 157: -#line 910 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 911 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2619 "ntp_parser.c" /* yacc.c:1646 */ break; case 158: -#line 915 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 916 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2628 "ntp_parser.c" /* yacc.c:1646 */ break; case 159: -#line 923 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2634 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 924 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 168: -#line 943 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 944 "../../ntpd/ntp_parser.y" { addr_opts_node *aon; - - aon = create_addr_opts_node((yyvsp[-1].Address_node), (yyvsp[0].Attr_val_fifo)); + + aon = create_addr_opts_node((yyvsp[(2) - (3)].Address_node), (yyvsp[(3) - (3)].Attr_val_fifo)); APPEND_G_FIFO(cfgt.fudge, aon); } -#line 2645 "ntp_parser.c" /* yacc.c:1646 */ break; case 169: -#line 953 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 954 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2654 "ntp_parser.c" /* yacc.c:1646 */ break; case 170: -#line 958 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 959 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2663 "ntp_parser.c" /* yacc.c:1646 */ break; case 171: -#line 966 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (yyvsp[0].Double)); } -#line 2669 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 967 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Double)); } break; case 172: -#line 968 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2675 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 969 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 173: -#line 970 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2681 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 971 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 174: -#line 972 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); } -#line 2687 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 973 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } break; case 175: -#line 974 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); } -#line 2693 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 975 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } break; case 182: -#line 995 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.rlimit, (yyvsp[0].Attr_val_fifo)); } -#line 2699 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 996 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.rlimit, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 183: -#line 1000 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1001 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2708 "ntp_parser.c" /* yacc.c:1646 */ break; case 184: -#line 1005 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1006 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2717 "ntp_parser.c" /* yacc.c:1646 */ break; case 185: -#line 1013 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2723 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1014 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 189: -#line 1029 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.enable_opts, (yyvsp[0].Attr_val_fifo)); } -#line 2729 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1030 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.enable_opts, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 190: -#line 1031 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.disable_opts, (yyvsp[0].Attr_val_fifo)); } -#line 2735 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1032 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.disable_opts, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 191: -#line 1036 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1037 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2744 "ntp_parser.c" /* yacc.c:1646 */ break; case 192: -#line 1041 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1042 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2753 "ntp_parser.c" /* yacc.c:1646 */ break; case 193: -#line 1049 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); } -#line 2759 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1050 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } break; case 194: -#line 1051 "ntp_parser.y" /* yacc.c:1646 */ - { - if (input_from_file) { - (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); +/* Line 1787 of yacc.c */ +#line 1052 "../../ntpd/ntp_parser.y" + { + if (lex_from_file()) { + (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } else { char err_str[128]; - + (yyval.Attr_val) = NULL; snprintf(err_str, sizeof(err_str), "enable/disable %s remote configuration ignored", - keyword((yyvsp[0].Integer))); - yyerror(ip_file, err_str); + keyword((yyvsp[(1) - (1)].Integer))); + yyerror(err_str); } } -#line 2777 "ntp_parser.c" /* yacc.c:1646 */ break; case 203: -#line 1086 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.tinker, (yyvsp[0].Attr_val_fifo)); } -#line 2783 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1087 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.tinker, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 204: -#line 1091 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1092 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2792 "ntp_parser.c" /* yacc.c:1646 */ break; case 205: -#line 1096 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1097 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2801 "ntp_parser.c" /* yacc.c:1646 */ break; case 206: -#line 1104 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (yyvsp[0].Double)); } -#line 2807 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1105 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Double)); } break; case 219: -#line 1129 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1130 "../../ntpd/ntp_parser.y" { attr_val *av; - - av = create_attr_dval((yyvsp[-1].Integer), (yyvsp[0].Double)); + + av = create_attr_dval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Double)); APPEND_G_FIFO(cfgt.vars, av); } -#line 2818 "ntp_parser.c" /* yacc.c:1646 */ break; case 220: -#line 1136 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1137 "../../ntpd/ntp_parser.y" { attr_val *av; - - av = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); + + av = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); APPEND_G_FIFO(cfgt.vars, av); } -#line 2829 "ntp_parser.c" /* yacc.c:1646 */ break; case 221: -#line 1143 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1144 "../../ntpd/ntp_parser.y" + { + attr_val *av; + + av = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); + APPEND_G_FIFO(cfgt.vars, av); + } + break; + + case 222: +/* Line 1787 of yacc.c */ +#line 1151 "../../ntpd/ntp_parser.y" { char error_text[64]; attr_val *av; - if (input_from_file) { - av = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); + if (lex_from_file()) { + av = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); APPEND_G_FIFO(cfgt.vars, av); } else { - YYFREE((yyvsp[0].String)); + YYFREE((yyvsp[(2) - (2)].String)); snprintf(error_text, sizeof(error_text), "%s remote config ignored", - keyword((yyvsp[-1].Integer))); - yyerror(ip_file, error_text); + keyword((yyvsp[(1) - (2)].Integer))); + yyerror(error_text); } } -#line 2849 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 222: -#line 1159 "ntp_parser.y" /* yacc.c:1646 */ - { - if (!input_from_file) { - yyerror(ip_file, "remote includefile ignored"); - break; - } - if (curr_include_level >= MAXINCLUDELEVEL) { - fprintf(stderr, "getconfig: Maximum include file level exceeded.\n"); - msyslog(LOG_ERR, "getconfig: Maximum include file level exceeded."); - } else { - fp[curr_include_level + 1] = F_OPEN(FindConfig((yyvsp[-1].String)), "r"); - if (fp[curr_include_level + 1] == NULL) { - fprintf(stderr, "getconfig: Couldn't open <%s>\n", FindConfig((yyvsp[-1].String))); - msyslog(LOG_ERR, "getconfig: Couldn't open <%s>", FindConfig((yyvsp[-1].String))); - } else { - ip_file = fp[++curr_include_level]; - } - } - } -#line 2872 "ntp_parser.c" /* yacc.c:1646 */ break; case 223: -#line 1178 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1167 "../../ntpd/ntp_parser.y" { - while (curr_include_level != -1) - FCLOSE(fp[curr_include_level--]); + if (!lex_from_file()) { + YYFREE((yyvsp[(2) - (3)].String)); /* avoid leak */ + yyerror("remote includefile ignored"); + break; + } + if (lex_level() > MAXINCLUDELEVEL) { + fprintf(stderr, "getconfig: Maximum include file level exceeded.\n"); + msyslog(LOG_ERR, "getconfig: Maximum include file level exceeded."); + } else { + const char * path = FindConfig((yyvsp[(2) - (3)].String)); /* might return $2! */ + if (!lex_push_file(path, "r")) { + fprintf(stderr, "getconfig: Couldn't open <%s>\n", path); + msyslog(LOG_ERR, "getconfig: Couldn't open <%s>", path); + } + } + YYFREE((yyvsp[(2) - (3)].String)); /* avoid leak */ } -#line 2881 "ntp_parser.c" /* yacc.c:1646 */ break; case 224: -#line 1183 "ntp_parser.y" /* yacc.c:1646 */ - { /* see drift_parm below for actions */ } -#line 2887 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1186 "../../ntpd/ntp_parser.y" + { lex_flush_stack(); } break; case 225: -#line 1185 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.logconfig, (yyvsp[0].Attr_val_fifo)); } -#line 2893 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1188 "../../ntpd/ntp_parser.y" + { /* see drift_parm below for actions */ } break; case 226: -#line 1187 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.phone, (yyvsp[0].String_fifo)); } -#line 2899 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1190 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.logconfig, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 227: -#line 1189 "ntp_parser.y" /* yacc.c:1646 */ - { APPEND_G_FIFO(cfgt.setvar, (yyvsp[0].Set_var)); } -#line 2905 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1192 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.phone, (yyvsp[(2) - (2)].String_fifo)); } break; case 228: -#line 1191 "ntp_parser.y" /* yacc.c:1646 */ - { - addr_opts_node *aon; - - aon = create_addr_opts_node((yyvsp[-1].Address_node), (yyvsp[0].Attr_val_fifo)); - APPEND_G_FIFO(cfgt.trap, aon); - } -#line 2916 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1194 "../../ntpd/ntp_parser.y" + { APPEND_G_FIFO(cfgt.setvar, (yyvsp[(2) - (2)].Set_var)); } break; case 229: -#line 1198 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.ttl, (yyvsp[0].Attr_val_fifo)); } -#line 2922 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1196 "../../ntpd/ntp_parser.y" + { + addr_opts_node *aon; + + aon = create_addr_opts_node((yyvsp[(2) - (3)].Address_node), (yyvsp[(3) - (3)].Attr_val_fifo)); + APPEND_G_FIFO(cfgt.trap, aon); + } break; - case 238: -#line 1220 "ntp_parser.y" /* yacc.c:1646 */ - { - attr_val *av; - - av = create_attr_sval(T_Driftfile, (yyvsp[0].String)); - APPEND_G_FIFO(cfgt.vars, av); - } -#line 2933 "ntp_parser.c" /* yacc.c:1646 */ + case 230: +/* Line 1787 of yacc.c */ +#line 1203 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.ttl, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; - case 239: -#line 1227 "ntp_parser.y" /* yacc.c:1646 */ + case 235: +/* Line 1787 of yacc.c */ +#line 1218 "../../ntpd/ntp_parser.y" { - attr_val *av; - - av = create_attr_sval(T_Driftfile, (yyvsp[-1].String)); - APPEND_G_FIFO(cfgt.vars, av); - av = create_attr_dval(T_WanderThreshold, (yyvsp[0].Double)); - APPEND_G_FIFO(cfgt.vars, av); +#ifndef LEAP_SMEAR + yyerror("Built without LEAP_SMEAR support."); +#endif } -#line 2946 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 240: -#line 1236 "ntp_parser.y" /* yacc.c:1646 */ - { - attr_val *av; - - av = create_attr_sval(T_Driftfile, ""); - APPEND_G_FIFO(cfgt.vars, av); - } -#line 2957 "ntp_parser.c" /* yacc.c:1646 */ break; case 241: -#line 1246 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Set_var) = create_setvar_node((yyvsp[-3].String), (yyvsp[-1].String), (yyvsp[0].Integer)); } -#line 2963 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1238 "../../ntpd/ntp_parser.y" + { + attr_val *av; + + av = create_attr_sval(T_Driftfile, (yyvsp[(1) - (1)].String)); + APPEND_G_FIFO(cfgt.vars, av); + } + break; + + case 242: +/* Line 1787 of yacc.c */ +#line 1245 "../../ntpd/ntp_parser.y" + { + attr_val *av; + + av = create_attr_sval(T_Driftfile, (yyvsp[(1) - (2)].String)); + APPEND_G_FIFO(cfgt.vars, av); + av = create_attr_dval(T_WanderThreshold, (yyvsp[(2) - (2)].Double)); + APPEND_G_FIFO(cfgt.vars, av); + } break; case 243: -#line 1252 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Integer) = 0; } -#line 2969 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1254 "../../ntpd/ntp_parser.y" + { + attr_val *av; + + av = create_attr_sval(T_Driftfile, ""); + APPEND_G_FIFO(cfgt.vars, av); + } break; case 244: -#line 1257 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val_fifo) = NULL; } -#line 2975 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 245: -#line 1259 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); - } -#line 2984 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1264 "../../ntpd/ntp_parser.y" + { (yyval.Set_var) = create_setvar_node((yyvsp[(1) - (4)].String), (yyvsp[(3) - (4)].String), (yyvsp[(4) - (4)].Integer)); } break; case 246: -#line 1267 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2990 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1270 "../../ntpd/ntp_parser.y" + { (yyval.Integer) = 0; } break; case 247: -#line 1269 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), estrdup((yyvsp[0].Address_node)->address)); - destroy_address_node((yyvsp[0].Address_node)); - } -#line 2999 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1275 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val_fifo) = NULL; } break; case 248: -#line 1277 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1277 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 3008 "ntp_parser.c" /* yacc.c:1646 */ break; case 249: -#line 1282 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); - } -#line 3017 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1285 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 250: -#line 1290 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1287 "../../ntpd/ntp_parser.y" { - char prefix; - char * type; - - switch ((yyvsp[0].String)[0]) { - - case '+': - case '-': - case '=': - prefix = (yyvsp[0].String)[0]; - type = (yyvsp[0].String) + 1; - break; - - default: - prefix = '='; - type = (yyvsp[0].String); - } - - (yyval.Attr_val) = create_attr_sval(prefix, estrdup(type)); - YYFREE((yyvsp[0].String)); + (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), estrdup((yyvsp[(2) - (2)].Address_node)->address)); + destroy_address_node((yyvsp[(2) - (2)].Address_node)); } -#line 3043 "ntp_parser.c" /* yacc.c:1646 */ break; case 251: -#line 1315 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1295 "../../ntpd/ntp_parser.y" { - nic_rule_node *nrn; - - nrn = create_nic_rule_node((yyvsp[0].Integer), NULL, (yyvsp[-1].Integer)); - APPEND_G_FIFO(cfgt.nic_rules, nrn); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 3054 "ntp_parser.c" /* yacc.c:1646 */ break; case 252: -#line 1322 "ntp_parser.y" /* yacc.c:1646 */ - { - nic_rule_node *nrn; - - nrn = create_nic_rule_node(0, (yyvsp[0].String), (yyvsp[-1].Integer)); - APPEND_G_FIFO(cfgt.nic_rules, nrn); - } -#line 3065 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 262: -#line 1350 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.reset_counters, (yyvsp[0].Int_fifo)); } -#line 3071 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 263: -#line 1355 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Int_fifo) = (yyvsp[-1].Int_fifo); - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); - } -#line 3080 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 264: -#line 1360 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Int_fifo) = NULL; - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); - } -#line 3089 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 272: -#line 1384 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), create_int_node((yyvsp[0].Integer))); - } -#line 3098 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 273: -#line 1389 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1300 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), create_int_node((yyvsp[0].Integer))); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 3107 "ntp_parser.c" /* yacc.c:1646 */ break; - case 274: -#line 1397 "ntp_parser.y" /* yacc.c:1646 */ + case 253: +/* Line 1787 of yacc.c */ +#line 1308 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + char prefix; + char * type; + + switch ((yyvsp[(1) - (1)].String)[0]) { + + case '+': + case '-': + case '=': + prefix = (yyvsp[(1) - (1)].String)[0]; + type = (yyvsp[(1) - (1)].String) + 1; + break; + + default: + prefix = '='; + type = (yyvsp[(1) - (1)].String); + } + + (yyval.Attr_val) = create_attr_sval(prefix, estrdup(type)); + YYFREE((yyvsp[(1) - (1)].String)); + } + break; + + case 254: +/* Line 1787 of yacc.c */ +#line 1333 "../../ntpd/ntp_parser.y" + { + nic_rule_node *nrn; + + nrn = create_nic_rule_node((yyvsp[(3) - (3)].Integer), NULL, (yyvsp[(2) - (3)].Integer)); + APPEND_G_FIFO(cfgt.nic_rules, nrn); + } + break; + + case 255: +/* Line 1787 of yacc.c */ +#line 1340 "../../ntpd/ntp_parser.y" + { + nic_rule_node *nrn; + + nrn = create_nic_rule_node(0, (yyvsp[(3) - (3)].String), (yyvsp[(2) - (3)].Integer)); + APPEND_G_FIFO(cfgt.nic_rules, nrn); + } + break; + + case 265: +/* Line 1787 of yacc.c */ +#line 1368 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.reset_counters, (yyvsp[(2) - (2)].Int_fifo)); } + break; + + case 266: +/* Line 1787 of yacc.c */ +#line 1373 "../../ntpd/ntp_parser.y" + { + (yyval.Int_fifo) = (yyvsp[(1) - (2)].Int_fifo); + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(2) - (2)].Integer))); + } + break; + + case 267: +/* Line 1787 of yacc.c */ +#line 1378 "../../ntpd/ntp_parser.y" + { + (yyval.Int_fifo) = NULL; + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(1) - (1)].Integer))); } -#line 3116 "ntp_parser.c" /* yacc.c:1646 */ break; case 275: -#line 1402 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1402 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), create_int_node((yyvsp[(2) - (2)].Integer))); } -#line 3125 "ntp_parser.c" /* yacc.c:1646 */ break; case 276: -#line 1410 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival('i', (yyvsp[0].Integer)); } -#line 3131 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1407 "../../ntpd/ntp_parser.y" + { + (yyval.Attr_val_fifo) = NULL; + APPEND_G_FIFO((yyval.Attr_val_fifo), create_int_node((yyvsp[(1) - (1)].Integer))); + } + break; + + case 277: +/* Line 1787 of yacc.c */ +#line 1415 "../../ntpd/ntp_parser.y" + { + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); + } break; case 278: -#line 1416 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_rangeval('-', (yyvsp[-3].Integer), (yyvsp[-1].Integer)); } -#line 3137 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1420 "../../ntpd/ntp_parser.y" + { + (yyval.Attr_val_fifo) = NULL; + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); + } break; case 279: -#line 1421 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.String_fifo) = (yyvsp[-1].String_fifo); - APPEND_G_FIFO((yyval.String_fifo), create_string_node((yyvsp[0].String))); - } -#line 3146 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 280: -#line 1426 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.String_fifo) = NULL; - APPEND_G_FIFO((yyval.String_fifo), create_string_node((yyvsp[0].String))); - } -#line 3155 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1428 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival('i', (yyvsp[(1) - (1)].Integer)); } break; case 281: -#line 1434 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Address_fifo) = (yyvsp[-1].Address_fifo); - APPEND_G_FIFO((yyval.Address_fifo), (yyvsp[0].Address_node)); - } -#line 3164 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1434 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_rangeval('-', (yyvsp[(2) - (5)].Integer), (yyvsp[(4) - (5)].Integer)); } break; case 282: -#line 1439 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1439 "../../ntpd/ntp_parser.y" { - (yyval.Address_fifo) = NULL; - APPEND_G_FIFO((yyval.Address_fifo), (yyvsp[0].Address_node)); + (yyval.String_fifo) = (yyvsp[(1) - (2)].String_fifo); + APPEND_G_FIFO((yyval.String_fifo), create_string_node((yyvsp[(2) - (2)].String))); } -#line 3173 "ntp_parser.c" /* yacc.c:1646 */ break; case 283: -#line 1447 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1444 "../../ntpd/ntp_parser.y" { - if ((yyvsp[0].Integer) != 0 && (yyvsp[0].Integer) != 1) { - yyerror(ip_file, "Integer value is not boolean (0 or 1). Assuming 1"); - (yyval.Integer) = 1; - } else { - (yyval.Integer) = (yyvsp[0].Integer); - } + (yyval.String_fifo) = NULL; + APPEND_G_FIFO((yyval.String_fifo), create_string_node((yyvsp[(1) - (1)].String))); } -#line 3186 "ntp_parser.c" /* yacc.c:1646 */ break; case 284: -#line 1455 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Integer) = 1; } -#line 3192 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1452 "../../ntpd/ntp_parser.y" + { + (yyval.Address_fifo) = (yyvsp[(1) - (2)].Address_fifo); + APPEND_G_FIFO((yyval.Address_fifo), (yyvsp[(2) - (2)].Address_node)); + } break; case 285: -#line 1456 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Integer) = 0; } -#line 3198 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1457 "../../ntpd/ntp_parser.y" + { + (yyval.Address_fifo) = NULL; + APPEND_G_FIFO((yyval.Address_fifo), (yyvsp[(1) - (1)].Address_node)); + } break; case 286: -#line 1460 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Double) = (double)(yyvsp[0].Integer); } -#line 3204 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1465 "../../ntpd/ntp_parser.y" + { + if ((yyvsp[(1) - (1)].Integer) != 0 && (yyvsp[(1) - (1)].Integer) != 1) { + yyerror("Integer value is not boolean (0 or 1). Assuming 1"); + (yyval.Integer) = 1; + } else { + (yyval.Integer) = (yyvsp[(1) - (1)].Integer); + } + } + break; + + case 287: +/* Line 1787 of yacc.c */ +#line 1473 "../../ntpd/ntp_parser.y" + { (yyval.Integer) = 1; } break; case 288: -#line 1471 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1474 "../../ntpd/ntp_parser.y" + { (yyval.Integer) = 0; } + break; + + case 289: +/* Line 1787 of yacc.c */ +#line 1478 "../../ntpd/ntp_parser.y" + { (yyval.Double) = (double)(yyvsp[(1) - (1)].Integer); } + break; + + case 291: +/* Line 1787 of yacc.c */ +#line 1489 "../../ntpd/ntp_parser.y" { sim_node *sn; - - sn = create_sim_node((yyvsp[-2].Attr_val_fifo), (yyvsp[-1].Sim_server_fifo)); + + sn = create_sim_node((yyvsp[(3) - (5)].Attr_val_fifo), (yyvsp[(4) - (5)].Sim_server_fifo)); APPEND_G_FIFO(cfgt.sim_details, sn); /* Revert from ; to \n for end-of-command */ old_config_style = 1; } -#line 3218 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 289: -#line 1488 "ntp_parser.y" /* yacc.c:1646 */ - { old_config_style = 0; } -#line 3224 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 290: -#line 1493 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Attr_val_fifo) = (yyvsp[-2].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[-1].Attr_val)); - } -#line 3233 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 291: -#line 1498 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[-1].Attr_val)); - } -#line 3242 "ntp_parser.c" /* yacc.c:1646 */ break; case 292: -#line 1506 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-2].Integer), (yyvsp[0].Double)); } -#line 3248 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1506 "../../ntpd/ntp_parser.y" + { old_config_style = 0; } + break; + + case 293: +/* Line 1787 of yacc.c */ +#line 1511 "../../ntpd/ntp_parser.y" + { + (yyval.Attr_val_fifo) = (yyvsp[(1) - (3)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (3)].Attr_val)); + } + break; + + case 294: +/* Line 1787 of yacc.c */ +#line 1516 "../../ntpd/ntp_parser.y" + { + (yyval.Attr_val_fifo) = NULL; + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (2)].Attr_val)); + } break; case 295: -#line 1516 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Sim_server_fifo) = (yyvsp[-1].Sim_server_fifo); - APPEND_G_FIFO((yyval.Sim_server_fifo), (yyvsp[0].Sim_server)); - } -#line 3257 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 296: -#line 1521 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Sim_server_fifo) = NULL; - APPEND_G_FIFO((yyval.Sim_server_fifo), (yyvsp[0].Sim_server)); - } -#line 3266 "ntp_parser.c" /* yacc.c:1646 */ - break; - - case 297: -#line 1529 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Sim_server) = ONLY_SIM(create_sim_server((yyvsp[-4].Address_node), (yyvsp[-2].Double), (yyvsp[-1].Sim_script_fifo))); } -#line 3272 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1524 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (3)].Integer), (yyvsp[(3) - (3)].Double)); } break; case 298: -#line 1534 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Double) = (yyvsp[-1].Double); } -#line 3278 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1534 "../../ntpd/ntp_parser.y" + { + (yyval.Sim_server_fifo) = (yyvsp[(1) - (2)].Sim_server_fifo); + APPEND_G_FIFO((yyval.Sim_server_fifo), (yyvsp[(2) - (2)].Sim_server)); + } break; case 299: -#line 1539 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Address_node) = (yyvsp[0].Address_node); } -#line 3284 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1539 "../../ntpd/ntp_parser.y" + { + (yyval.Sim_server_fifo) = NULL; + APPEND_G_FIFO((yyval.Sim_server_fifo), (yyvsp[(1) - (1)].Sim_server)); + } break; case 300: -#line 1544 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Sim_script_fifo) = (yyvsp[-1].Sim_script_fifo); - APPEND_G_FIFO((yyval.Sim_script_fifo), (yyvsp[0].Sim_script)); - } -#line 3293 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1547 "../../ntpd/ntp_parser.y" + { (yyval.Sim_server) = ONLY_SIM(create_sim_server((yyvsp[(1) - (5)].Address_node), (yyvsp[(3) - (5)].Double), (yyvsp[(4) - (5)].Sim_script_fifo))); } break; case 301: -#line 1549 "ntp_parser.y" /* yacc.c:1646 */ - { - (yyval.Sim_script_fifo) = NULL; - APPEND_G_FIFO((yyval.Sim_script_fifo), (yyvsp[0].Sim_script)); - } -#line 3302 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1552 "../../ntpd/ntp_parser.y" + { (yyval.Double) = (yyvsp[(3) - (4)].Double); } break; case 302: -#line 1557 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Sim_script) = ONLY_SIM(create_sim_script_info((yyvsp[-3].Double), (yyvsp[-1].Attr_val_fifo))); } -#line 3308 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1557 "../../ntpd/ntp_parser.y" + { (yyval.Address_node) = (yyvsp[(3) - (3)].Address_node); } break; case 303: -#line 1562 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1562 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-2].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[-1].Attr_val)); + (yyval.Sim_script_fifo) = (yyvsp[(1) - (2)].Sim_script_fifo); + APPEND_G_FIFO((yyval.Sim_script_fifo), (yyvsp[(2) - (2)].Sim_script)); } -#line 3317 "ntp_parser.c" /* yacc.c:1646 */ break; case 304: -#line 1567 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1567 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[-1].Attr_val)); + (yyval.Sim_script_fifo) = NULL; + APPEND_G_FIFO((yyval.Sim_script_fifo), (yyvsp[(1) - (1)].Sim_script)); } -#line 3326 "ntp_parser.c" /* yacc.c:1646 */ break; case 305: -#line 1575 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-2].Integer), (yyvsp[0].Double)); } -#line 3332 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1575 "../../ntpd/ntp_parser.y" + { (yyval.Sim_script) = ONLY_SIM(create_sim_script_info((yyvsp[(3) - (6)].Double), (yyvsp[(5) - (6)].Attr_val_fifo))); } + break; + + case 306: +/* Line 1787 of yacc.c */ +#line 1580 "../../ntpd/ntp_parser.y" + { + (yyval.Attr_val_fifo) = (yyvsp[(1) - (3)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (3)].Attr_val)); + } + break; + + case 307: +/* Line 1787 of yacc.c */ +#line 1585 "../../ntpd/ntp_parser.y" + { + (yyval.Attr_val_fifo) = NULL; + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (2)].Attr_val)); + } + break; + + case 308: +/* Line 1787 of yacc.c */ +#line 1593 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (3)].Integer), (yyvsp[(3) - (3)].Double)); } break; -#line 3336 "ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 3600 "ntp_parser.c" default: break; } /* User semantic actions sometimes alter yychar, and that requires @@ -3354,7 +3618,7 @@ yyparse (struct FILE_INFO *ip_file) *++yyvsp = yyval; - /* Now 'shift' the result of the reduction. Determine what state + /* Now `shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ @@ -3369,9 +3633,9 @@ yyparse (struct FILE_INFO *ip_file) goto yynewstate; -/*--------------------------------------. -| yyerrlab -- here on detecting error. | -`--------------------------------------*/ +/*------------------------------------. +| yyerrlab -- here on detecting error | +`------------------------------------*/ yyerrlab: /* Make sure we have latest lookahead translation. See comments at user semantic actions for why this is necessary. */ @@ -3382,7 +3646,7 @@ yyparse (struct FILE_INFO *ip_file) { ++yynerrs; #if ! YYERROR_VERBOSE - yyerror (ip_file, YY_("syntax error")); + yyerror (YY_("syntax error")); #else # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ yyssp, yytoken) @@ -3409,7 +3673,7 @@ yyparse (struct FILE_INFO *ip_file) yymsgp = yymsg; } } - yyerror (ip_file, yymsgp); + yyerror (yymsgp); if (yysyntax_error_status == 2) goto yyexhaustedlab; } @@ -3422,20 +3686,20 @@ yyparse (struct FILE_INFO *ip_file) if (yyerrstatus == 3) { /* If just tried and failed to reuse lookahead token after an - error, discard it. */ + error, discard it. */ if (yychar <= YYEOF) - { - /* Return failure if at end of input. */ - if (yychar == YYEOF) - YYABORT; - } + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } else - { - yydestruct ("Error: discarding", - yytoken, &yylval, ip_file); - yychar = YYEMPTY; - } + { + yydestruct ("Error: discarding", + yytoken, &yylval); + yychar = YYEMPTY; + } } /* Else will try to reuse lookahead token after shifting the error @@ -3454,7 +3718,7 @@ yyparse (struct FILE_INFO *ip_file) if (/*CONSTCOND*/ 0) goto yyerrorlab; - /* Do not reclaim the symbols of the rule whose action triggered + /* Do not reclaim the symbols of the rule which action triggered this YYERROR. */ YYPOPSTACK (yylen); yylen = 0; @@ -3467,29 +3731,29 @@ yyparse (struct FILE_INFO *ip_file) | yyerrlab1 -- common code for both syntax error and YYERROR. | `-------------------------------------------------------------*/ yyerrlab1: - yyerrstatus = 3; /* Each real token shifted decrements this. */ + yyerrstatus = 3; /* Each real token shifted decrements this. */ for (;;) { yyn = yypact[yystate]; if (!yypact_value_is_default (yyn)) - { - yyn += YYTERROR; - if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) - { - yyn = yytable[yyn]; - if (0 < yyn) - break; - } - } + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } /* Pop the current state because it cannot handle the error token. */ if (yyssp == yyss) - YYABORT; + YYABORT; yydestruct ("Error: popping", - yystos[yystate], yyvsp, ip_file); + yystos[yystate], yyvsp); YYPOPSTACK (1); yystate = *yyssp; YY_STACK_PRINT (yyss, yyssp); @@ -3526,7 +3790,7 @@ yyparse (struct FILE_INFO *ip_file) | yyexhaustedlab -- memory exhaustion comes here. | `-------------------------------------------------*/ yyexhaustedlab: - yyerror (ip_file, YY_("memory exhausted")); + yyerror (YY_("memory exhausted")); yyresult = 2; /* Fall through. */ #endif @@ -3538,16 +3802,16 @@ yyparse (struct FILE_INFO *ip_file) user semantic actions for why this is necessary. */ yytoken = YYTRANSLATE (yychar); yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval, ip_file); + yytoken, &yylval); } - /* Do not reclaim the symbols of the rule whose action triggered + /* Do not reclaim the symbols of the rule which action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); YY_STACK_PRINT (yyss, yyssp); while (yyssp != yyss) { yydestruct ("Cleanup: popping", - yystos[*yyssp], yyvsp, ip_file); + yystos[*yyssp], yyvsp); YYPOPSTACK (1); } #ifndef yyoverflow @@ -3558,33 +3822,34 @@ yyparse (struct FILE_INFO *ip_file) if (yymsg != yymsgbuf) YYSTACK_FREE (yymsg); #endif - return yyresult; + /* Make sure YYID is used. */ + return YYID (yyresult); } -#line 1586 "ntp_parser.y" /* yacc.c:1906 */ -void +/* Line 2050 of yacc.c */ +#line 1604 "../../ntpd/ntp_parser.y" + + +void yyerror( - struct FILE_INFO *ip_file, const char *msg ) { int retval; + struct FILE_INFO * ip_ctx; - ip_file->err_line_no = ip_file->prev_token_line_no; - ip_file->err_col_no = ip_file->prev_token_col_no; - - msyslog(LOG_ERR, - "line %d column %d %s", - ip_file->err_line_no, - ip_file->err_col_no, - msg); - if (!input_from_file) { + ip_ctx = lex_current(); + ip_ctx->errpos = ip_ctx->tokpos; + + msyslog(LOG_ERR, "line %d column %d %s", + ip_ctx->errpos.nline, ip_ctx->errpos.ncol, msg); + if (!lex_from_file()) { /* Save the error message in the correct buffer */ retval = snprintf(remote_config.err_msg + remote_config.err_pos, MAXLINE - remote_config.err_pos, "column %d %s", - ip_file->err_col_no, msg); + ip_ctx->errpos.ncol, msg); /* Increment the value of err_pos */ if (retval > 0) diff --git a/contrib/ntp/ntpd/ntp_parser.h b/contrib/ntp/ntpd/ntp_parser.h index 2804e544973c..b474fc24113c 100644 --- a/contrib/ntp/ntpd/ntp_parser.h +++ b/contrib/ntp/ntpd/ntp_parser.h @@ -1,19 +1,19 @@ -/* A Bison parser, made by GNU Bison 3.0.2. */ +/* A Bison parser, made by GNU Bison 2.7.12-4996. */ /* Bison interface for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. - + + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . */ @@ -26,13 +26,13 @@ special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. - + This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ #ifndef YY_YY_NTP_PARSER_H_INCLUDED # define YY_YY_NTP_PARSER_H_INCLUDED -/* Debug traces. */ +/* Enabling traces. */ #ifndef YYDEBUG # define YYDEBUG 1 #endif @@ -40,201 +40,204 @@ extern int yydebug; #endif -/* Token type. */ +/* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE - enum yytokentype - { - T_Abbrev = 258, - T_Age = 259, - T_All = 260, - T_Allan = 261, - T_Allpeers = 262, - T_Auth = 263, - T_Autokey = 264, - T_Automax = 265, - T_Average = 266, - T_Bclient = 267, - T_Beacon = 268, - T_Broadcast = 269, - T_Broadcastclient = 270, - T_Broadcastdelay = 271, - T_Burst = 272, - T_Calibrate = 273, - T_Ceiling = 274, - T_Clockstats = 275, - T_Cohort = 276, - T_ControlKey = 277, - T_Crypto = 278, - T_Cryptostats = 279, - T_Ctl = 280, - T_Day = 281, - T_Default = 282, - T_Digest = 283, - T_Disable = 284, - T_Discard = 285, - T_Dispersion = 286, - T_Double = 287, - T_Driftfile = 288, - T_Drop = 289, - T_Ellipsis = 290, - T_Enable = 291, - T_End = 292, - T_False = 293, - T_File = 294, - T_Filegen = 295, - T_Filenum = 296, - T_Flag1 = 297, - T_Flag2 = 298, - T_Flag3 = 299, - T_Flag4 = 300, - T_Flake = 301, - T_Floor = 302, - T_Freq = 303, - T_Fudge = 304, - T_Host = 305, - T_Huffpuff = 306, - T_Iburst = 307, - T_Ident = 308, - T_Ignore = 309, - T_Incalloc = 310, - T_Incmem = 311, - T_Initalloc = 312, - T_Initmem = 313, - T_Includefile = 314, - T_Integer = 315, - T_Interface = 316, - T_Intrange = 317, - T_Io = 318, - T_Ipv4 = 319, - T_Ipv4_flag = 320, - T_Ipv6 = 321, - T_Ipv6_flag = 322, - T_Kernel = 323, - T_Key = 324, - T_Keys = 325, - T_Keysdir = 326, - T_Kod = 327, - T_Mssntp = 328, - T_Leapfile = 329, - T_Limited = 330, - T_Link = 331, - T_Listen = 332, - T_Logconfig = 333, - T_Logfile = 334, - T_Loopstats = 335, - T_Lowpriotrap = 336, - T_Manycastclient = 337, - T_Manycastserver = 338, - T_Mask = 339, - T_Maxage = 340, - T_Maxclock = 341, - T_Maxdepth = 342, - T_Maxdist = 343, - T_Maxmem = 344, - T_Maxpoll = 345, - T_Mdnstries = 346, - T_Mem = 347, - T_Memlock = 348, - T_Minclock = 349, - T_Mindepth = 350, - T_Mindist = 351, - T_Minimum = 352, - T_Minpoll = 353, - T_Minsane = 354, - T_Mode = 355, - T_Mode7 = 356, - T_Monitor = 357, - T_Month = 358, - T_Mru = 359, - T_Multicastclient = 360, - T_Nic = 361, - T_Nolink = 362, - T_Nomodify = 363, - T_Nomrulist = 364, - T_None = 365, - T_Nonvolatile = 366, - T_Nopeer = 367, - T_Noquery = 368, - T_Noselect = 369, - T_Noserve = 370, - T_Notrap = 371, - T_Notrust = 372, - T_Ntp = 373, - T_Ntpport = 374, - T_NtpSignDsocket = 375, - T_Orphan = 376, - T_Orphanwait = 377, - T_Panic = 378, - T_Peer = 379, - T_Peerstats = 380, - T_Phone = 381, - T_Pid = 382, - T_Pidfile = 383, - T_Pool = 384, - T_Port = 385, - T_Preempt = 386, - T_Prefer = 387, - T_Protostats = 388, - T_Pw = 389, - T_Randfile = 390, - T_Rawstats = 391, - T_Refid = 392, - T_Requestkey = 393, - T_Reset = 394, - T_Restrict = 395, - T_Revoke = 396, - T_Rlimit = 397, - T_Saveconfigdir = 398, - T_Server = 399, - T_Setvar = 400, - T_Source = 401, - T_Stacksize = 402, - T_Statistics = 403, - T_Stats = 404, - T_Statsdir = 405, - T_Step = 406, - T_Stepback = 407, - T_Stepfwd = 408, - T_Stepout = 409, - T_Stratum = 410, - T_String = 411, - T_Sys = 412, - T_Sysstats = 413, - T_Tick = 414, - T_Time1 = 415, - T_Time2 = 416, - T_Timer = 417, - T_Timingstats = 418, - T_Tinker = 419, - T_Tos = 420, - T_Trap = 421, - T_True = 422, - T_Trustedkey = 423, - T_Ttl = 424, - T_Type = 425, - T_U_int = 426, - T_Unconfig = 427, - T_Unpeer = 428, - T_Version = 429, - T_WanderThreshold = 430, - T_Week = 431, - T_Wildcard = 432, - T_Xleave = 433, - T_Year = 434, - T_Flag = 435, - T_EOC = 436, - T_Simulate = 437, - T_Beep_Delay = 438, - T_Sim_Duration = 439, - T_Server_Offset = 440, - T_Duration = 441, - T_Freq_Offset = 442, - T_Wander = 443, - T_Jitter = 444, - T_Prop_Delay = 445, - T_Proc_Delay = 446 - }; + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + T_Abbrev = 258, + T_Age = 259, + T_All = 260, + T_Allan = 261, + T_Allpeers = 262, + T_Auth = 263, + T_Autokey = 264, + T_Automax = 265, + T_Average = 266, + T_Bclient = 267, + T_Beacon = 268, + T_Broadcast = 269, + T_Broadcastclient = 270, + T_Broadcastdelay = 271, + T_Burst = 272, + T_Calibrate = 273, + T_Ceiling = 274, + T_Clockstats = 275, + T_Cohort = 276, + T_ControlKey = 277, + T_Crypto = 278, + T_Cryptostats = 279, + T_Ctl = 280, + T_Day = 281, + T_Default = 282, + T_Digest = 283, + T_Disable = 284, + T_Discard = 285, + T_Dispersion = 286, + T_Double = 287, + T_Driftfile = 288, + T_Drop = 289, + T_Dscp = 290, + T_Ellipsis = 291, + T_Enable = 292, + T_End = 293, + T_False = 294, + T_File = 295, + T_Filegen = 296, + T_Filenum = 297, + T_Flag1 = 298, + T_Flag2 = 299, + T_Flag3 = 300, + T_Flag4 = 301, + T_Flake = 302, + T_Floor = 303, + T_Freq = 304, + T_Fudge = 305, + T_Host = 306, + T_Huffpuff = 307, + T_Iburst = 308, + T_Ident = 309, + T_Ignore = 310, + T_Incalloc = 311, + T_Incmem = 312, + T_Initalloc = 313, + T_Initmem = 314, + T_Includefile = 315, + T_Integer = 316, + T_Interface = 317, + T_Intrange = 318, + T_Io = 319, + T_Ipv4 = 320, + T_Ipv4_flag = 321, + T_Ipv6 = 322, + T_Ipv6_flag = 323, + T_Kernel = 324, + T_Key = 325, + T_Keys = 326, + T_Keysdir = 327, + T_Kod = 328, + T_Mssntp = 329, + T_Leapfile = 330, + T_Leapsmearinterval = 331, + T_Limited = 332, + T_Link = 333, + T_Listen = 334, + T_Logconfig = 335, + T_Logfile = 336, + T_Loopstats = 337, + T_Lowpriotrap = 338, + T_Manycastclient = 339, + T_Manycastserver = 340, + T_Mask = 341, + T_Maxage = 342, + T_Maxclock = 343, + T_Maxdepth = 344, + T_Maxdist = 345, + T_Maxmem = 346, + T_Maxpoll = 347, + T_Mdnstries = 348, + T_Mem = 349, + T_Memlock = 350, + T_Minclock = 351, + T_Mindepth = 352, + T_Mindist = 353, + T_Minimum = 354, + T_Minpoll = 355, + T_Minsane = 356, + T_Mode = 357, + T_Mode7 = 358, + T_Monitor = 359, + T_Month = 360, + T_Mru = 361, + T_Multicastclient = 362, + T_Nic = 363, + T_Nolink = 364, + T_Nomodify = 365, + T_Nomrulist = 366, + T_None = 367, + T_Nonvolatile = 368, + T_Nopeer = 369, + T_Noquery = 370, + T_Noselect = 371, + T_Noserve = 372, + T_Notrap = 373, + T_Notrust = 374, + T_Ntp = 375, + T_Ntpport = 376, + T_NtpSignDsocket = 377, + T_Orphan = 378, + T_Orphanwait = 379, + T_Panic = 380, + T_Peer = 381, + T_Peerstats = 382, + T_Phone = 383, + T_Pid = 384, + T_Pidfile = 385, + T_Pool = 386, + T_Port = 387, + T_Preempt = 388, + T_Prefer = 389, + T_Protostats = 390, + T_Pw = 391, + T_Randfile = 392, + T_Rawstats = 393, + T_Refid = 394, + T_Requestkey = 395, + T_Reset = 396, + T_Restrict = 397, + T_Revoke = 398, + T_Rlimit = 399, + T_Saveconfigdir = 400, + T_Server = 401, + T_Setvar = 402, + T_Source = 403, + T_Stacksize = 404, + T_Statistics = 405, + T_Stats = 406, + T_Statsdir = 407, + T_Step = 408, + T_Stepback = 409, + T_Stepfwd = 410, + T_Stepout = 411, + T_Stratum = 412, + T_String = 413, + T_Sys = 414, + T_Sysstats = 415, + T_Tick = 416, + T_Time1 = 417, + T_Time2 = 418, + T_Timer = 419, + T_Timingstats = 420, + T_Tinker = 421, + T_Tos = 422, + T_Trap = 423, + T_True = 424, + T_Trustedkey = 425, + T_Ttl = 426, + T_Type = 427, + T_U_int = 428, + T_Unconfig = 429, + T_Unpeer = 430, + T_Version = 431, + T_WanderThreshold = 432, + T_Week = 433, + T_Wildcard = 434, + T_Xleave = 435, + T_Year = 436, + T_Flag = 437, + T_EOC = 438, + T_Simulate = 439, + T_Beep_Delay = 440, + T_Sim_Duration = 441, + T_Server_Offset = 442, + T_Duration = 443, + T_Freq_Offset = 444, + T_Wander = 445, + T_Jitter = 446, + T_Prop_Delay = 447, + T_Proc_Delay = 448 + }; #endif /* Tokens. */ #define T_Abbrev 258 @@ -269,170 +272,173 @@ extern int yydebug; #define T_Double 287 #define T_Driftfile 288 #define T_Drop 289 -#define T_Ellipsis 290 -#define T_Enable 291 -#define T_End 292 -#define T_False 293 -#define T_File 294 -#define T_Filegen 295 -#define T_Filenum 296 -#define T_Flag1 297 -#define T_Flag2 298 -#define T_Flag3 299 -#define T_Flag4 300 -#define T_Flake 301 -#define T_Floor 302 -#define T_Freq 303 -#define T_Fudge 304 -#define T_Host 305 -#define T_Huffpuff 306 -#define T_Iburst 307 -#define T_Ident 308 -#define T_Ignore 309 -#define T_Incalloc 310 -#define T_Incmem 311 -#define T_Initalloc 312 -#define T_Initmem 313 -#define T_Includefile 314 -#define T_Integer 315 -#define T_Interface 316 -#define T_Intrange 317 -#define T_Io 318 -#define T_Ipv4 319 -#define T_Ipv4_flag 320 -#define T_Ipv6 321 -#define T_Ipv6_flag 322 -#define T_Kernel 323 -#define T_Key 324 -#define T_Keys 325 -#define T_Keysdir 326 -#define T_Kod 327 -#define T_Mssntp 328 -#define T_Leapfile 329 -#define T_Limited 330 -#define T_Link 331 -#define T_Listen 332 -#define T_Logconfig 333 -#define T_Logfile 334 -#define T_Loopstats 335 -#define T_Lowpriotrap 336 -#define T_Manycastclient 337 -#define T_Manycastserver 338 -#define T_Mask 339 -#define T_Maxage 340 -#define T_Maxclock 341 -#define T_Maxdepth 342 -#define T_Maxdist 343 -#define T_Maxmem 344 -#define T_Maxpoll 345 -#define T_Mdnstries 346 -#define T_Mem 347 -#define T_Memlock 348 -#define T_Minclock 349 -#define T_Mindepth 350 -#define T_Mindist 351 -#define T_Minimum 352 -#define T_Minpoll 353 -#define T_Minsane 354 -#define T_Mode 355 -#define T_Mode7 356 -#define T_Monitor 357 -#define T_Month 358 -#define T_Mru 359 -#define T_Multicastclient 360 -#define T_Nic 361 -#define T_Nolink 362 -#define T_Nomodify 363 -#define T_Nomrulist 364 -#define T_None 365 -#define T_Nonvolatile 366 -#define T_Nopeer 367 -#define T_Noquery 368 -#define T_Noselect 369 -#define T_Noserve 370 -#define T_Notrap 371 -#define T_Notrust 372 -#define T_Ntp 373 -#define T_Ntpport 374 -#define T_NtpSignDsocket 375 -#define T_Orphan 376 -#define T_Orphanwait 377 -#define T_Panic 378 -#define T_Peer 379 -#define T_Peerstats 380 -#define T_Phone 381 -#define T_Pid 382 -#define T_Pidfile 383 -#define T_Pool 384 -#define T_Port 385 -#define T_Preempt 386 -#define T_Prefer 387 -#define T_Protostats 388 -#define T_Pw 389 -#define T_Randfile 390 -#define T_Rawstats 391 -#define T_Refid 392 -#define T_Requestkey 393 -#define T_Reset 394 -#define T_Restrict 395 -#define T_Revoke 396 -#define T_Rlimit 397 -#define T_Saveconfigdir 398 -#define T_Server 399 -#define T_Setvar 400 -#define T_Source 401 -#define T_Stacksize 402 -#define T_Statistics 403 -#define T_Stats 404 -#define T_Statsdir 405 -#define T_Step 406 -#define T_Stepback 407 -#define T_Stepfwd 408 -#define T_Stepout 409 -#define T_Stratum 410 -#define T_String 411 -#define T_Sys 412 -#define T_Sysstats 413 -#define T_Tick 414 -#define T_Time1 415 -#define T_Time2 416 -#define T_Timer 417 -#define T_Timingstats 418 -#define T_Tinker 419 -#define T_Tos 420 -#define T_Trap 421 -#define T_True 422 -#define T_Trustedkey 423 -#define T_Ttl 424 -#define T_Type 425 -#define T_U_int 426 -#define T_Unconfig 427 -#define T_Unpeer 428 -#define T_Version 429 -#define T_WanderThreshold 430 -#define T_Week 431 -#define T_Wildcard 432 -#define T_Xleave 433 -#define T_Year 434 -#define T_Flag 435 -#define T_EOC 436 -#define T_Simulate 437 -#define T_Beep_Delay 438 -#define T_Sim_Duration 439 -#define T_Server_Offset 440 -#define T_Duration 441 -#define T_Freq_Offset 442 -#define T_Wander 443 -#define T_Jitter 444 -#define T_Prop_Delay 445 -#define T_Proc_Delay 446 +#define T_Dscp 290 +#define T_Ellipsis 291 +#define T_Enable 292 +#define T_End 293 +#define T_False 294 +#define T_File 295 +#define T_Filegen 296 +#define T_Filenum 297 +#define T_Flag1 298 +#define T_Flag2 299 +#define T_Flag3 300 +#define T_Flag4 301 +#define T_Flake 302 +#define T_Floor 303 +#define T_Freq 304 +#define T_Fudge 305 +#define T_Host 306 +#define T_Huffpuff 307 +#define T_Iburst 308 +#define T_Ident 309 +#define T_Ignore 310 +#define T_Incalloc 311 +#define T_Incmem 312 +#define T_Initalloc 313 +#define T_Initmem 314 +#define T_Includefile 315 +#define T_Integer 316 +#define T_Interface 317 +#define T_Intrange 318 +#define T_Io 319 +#define T_Ipv4 320 +#define T_Ipv4_flag 321 +#define T_Ipv6 322 +#define T_Ipv6_flag 323 +#define T_Kernel 324 +#define T_Key 325 +#define T_Keys 326 +#define T_Keysdir 327 +#define T_Kod 328 +#define T_Mssntp 329 +#define T_Leapfile 330 +#define T_Leapsmearinterval 331 +#define T_Limited 332 +#define T_Link 333 +#define T_Listen 334 +#define T_Logconfig 335 +#define T_Logfile 336 +#define T_Loopstats 337 +#define T_Lowpriotrap 338 +#define T_Manycastclient 339 +#define T_Manycastserver 340 +#define T_Mask 341 +#define T_Maxage 342 +#define T_Maxclock 343 +#define T_Maxdepth 344 +#define T_Maxdist 345 +#define T_Maxmem 346 +#define T_Maxpoll 347 +#define T_Mdnstries 348 +#define T_Mem 349 +#define T_Memlock 350 +#define T_Minclock 351 +#define T_Mindepth 352 +#define T_Mindist 353 +#define T_Minimum 354 +#define T_Minpoll 355 +#define T_Minsane 356 +#define T_Mode 357 +#define T_Mode7 358 +#define T_Monitor 359 +#define T_Month 360 +#define T_Mru 361 +#define T_Multicastclient 362 +#define T_Nic 363 +#define T_Nolink 364 +#define T_Nomodify 365 +#define T_Nomrulist 366 +#define T_None 367 +#define T_Nonvolatile 368 +#define T_Nopeer 369 +#define T_Noquery 370 +#define T_Noselect 371 +#define T_Noserve 372 +#define T_Notrap 373 +#define T_Notrust 374 +#define T_Ntp 375 +#define T_Ntpport 376 +#define T_NtpSignDsocket 377 +#define T_Orphan 378 +#define T_Orphanwait 379 +#define T_Panic 380 +#define T_Peer 381 +#define T_Peerstats 382 +#define T_Phone 383 +#define T_Pid 384 +#define T_Pidfile 385 +#define T_Pool 386 +#define T_Port 387 +#define T_Preempt 388 +#define T_Prefer 389 +#define T_Protostats 390 +#define T_Pw 391 +#define T_Randfile 392 +#define T_Rawstats 393 +#define T_Refid 394 +#define T_Requestkey 395 +#define T_Reset 396 +#define T_Restrict 397 +#define T_Revoke 398 +#define T_Rlimit 399 +#define T_Saveconfigdir 400 +#define T_Server 401 +#define T_Setvar 402 +#define T_Source 403 +#define T_Stacksize 404 +#define T_Statistics 405 +#define T_Stats 406 +#define T_Statsdir 407 +#define T_Step 408 +#define T_Stepback 409 +#define T_Stepfwd 410 +#define T_Stepout 411 +#define T_Stratum 412 +#define T_String 413 +#define T_Sys 414 +#define T_Sysstats 415 +#define T_Tick 416 +#define T_Time1 417 +#define T_Time2 418 +#define T_Timer 419 +#define T_Timingstats 420 +#define T_Tinker 421 +#define T_Tos 422 +#define T_Trap 423 +#define T_True 424 +#define T_Trustedkey 425 +#define T_Ttl 426 +#define T_Type 427 +#define T_U_int 428 +#define T_Unconfig 429 +#define T_Unpeer 430 +#define T_Version 431 +#define T_WanderThreshold 432 +#define T_Week 433 +#define T_Wildcard 434 +#define T_Xleave 435 +#define T_Year 436 +#define T_Flag 437 +#define T_EOC 438 +#define T_Simulate 439 +#define T_Beep_Delay 440 +#define T_Sim_Duration 441 +#define T_Server_Offset 442 +#define T_Duration 443 +#define T_Freq_Offset 444 +#define T_Wander 445 +#define T_Jitter 446 +#define T_Prop_Delay 447 +#define T_Proc_Delay 448 + + -/* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE YYSTYPE; -union YYSTYPE +typedef union YYSTYPE { -#line 54 "ntp_parser.y" /* yacc.c:1909 */ +/* Line 2053 of yacc.c */ +#line 51 "../../ntpd/ntp_parser.y" char * String; double Double; @@ -451,15 +457,29 @@ union YYSTYPE script_info * Sim_script; script_info_fifo * Sim_script_fifo; -#line 455 "ntp_parser.h" /* yacc.c:1909 */ -}; + +/* Line 2053 of yacc.c */ +#line 463 "ntp_parser.h" +} YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif - extern YYSTYPE yylval; -int yyparse (struct FILE_INFO *ip_file); +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int yyparse (void *YYPARSE_PARAM); +#else +int yyparse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus +int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ #endif /* !YY_YY_NTP_PARSER_H_INCLUDED */ diff --git a/contrib/ntp/ntpd/ntp_proto.c b/contrib/ntp/ntpd/ntp_proto.c index 577b5fb0af5a..40624066746f 100644 --- a/contrib/ntp/ntpd/ntp_proto.c +++ b/contrib/ntp/ntpd/ntp_proto.c @@ -14,6 +14,7 @@ #include "ntp_control.h" #include "ntp_string.h" #include "ntp_leapsec.h" +#include "refidsmear.h" #include #ifdef HAVE_LIBSCF_H @@ -61,7 +62,8 @@ typedef struct peer_select_tag { * System variables are declared here. Unless specified otherwise, all * times are in seconds. */ -u_char sys_leap; /* system leap indicator */ +u_char sys_leap; /* system leap indicator, use set_sys_leap() to change this */ +u_char xmt_leap; /* leap indicator sent in client requests, set up by set_sys_leap() */ u_char sys_stratum; /* system stratum */ s_char sys_precision; /* local clock precision (log2 s) */ double sys_rootdelay; /* roundtrip delay to primary source */ @@ -70,6 +72,11 @@ u_int32 sys_refid; /* reference id (network byte order) */ l_fp sys_reftime; /* last update time */ struct peer *sys_peer; /* current peer */ +#ifdef LEAP_SMEAR +struct leap_smear_info leap_smear; +#endif +int leap_sec_in_progress; + /* * Rate controls. Leaky buckets are used to throttle the packet * transmission rates in order to protect busy servers such as at NIST @@ -151,6 +158,33 @@ void pool_name_resolved (int, int, void *, const char *, const struct addrinfo *); #endif /* WORKER */ +void +set_sys_leap(u_char new_sys_leap) { + sys_leap = new_sys_leap; + xmt_leap = sys_leap; + + /* + * Under certain conditions we send faked leap bits to clients, so + * eventually change xmt_leap below, but never change LEAP_NOTINSYNC. + */ + if (xmt_leap != LEAP_NOTINSYNC) { + if (leap_sec_in_progress) { + /* always send "not sync" */ + xmt_leap = LEAP_NOTINSYNC; + } +#ifdef LEAP_SMEAR + else { + /* + * If leap smear is enabled in general we must never send a leap second warning + * to clients, so make sure we only send "in sync". + */ + if (leap_smear.enabled) + xmt_leap = LEAP_NOWARNING; + } +#endif /* LEAP_SMEAR */ + } +} + /* * transmit - transmit procedure called by poll timeout @@ -1909,7 +1943,7 @@ clock_update( */ case 2: clear_all(); - sys_leap = LEAP_NOTINSYNC; + set_sys_leap(LEAP_NOTINSYNC); sys_stratum = STRATUM_UNSPEC; memcpy(&sys_refid, "STEP", 4); sys_rootdelay = 0; @@ -1930,7 +1964,7 @@ clock_update( * process. */ if (sys_leap == LEAP_NOTINSYNC) { - sys_leap = LEAP_NOWARNING; + set_sys_leap(LEAP_NOWARNING); #ifdef AUTOKEY if (crypto_flags) crypto_update(); @@ -2424,7 +2458,7 @@ clock_select(void) osys_peer = sys_peer; sys_survivors = 0; #ifdef LOCKCLOCK - sys_leap = LEAP_NOTINSYNC; + set_sys_leap(LEAP_NOTINSYNC); sys_stratum = STRATUM_UNSPEC; memcpy(&sys_refid, "DOWN", 4); #endif /* LOCKCLOCK */ @@ -3407,6 +3441,16 @@ peer_xmit( } +#ifdef LEAP_SMEAR + +static void +leap_smear_add_offs(l_fp *t, l_fp *t_recv) { + L_ADD(t, &leap_smear.offset); +} + +#endif /* LEAP_SMEAR */ + + /* * fast_xmit - Send packet for nonpersistent association. Note that * neither the source or destination can be a broadcast address. @@ -3468,18 +3512,60 @@ fast_xmit( * This is a normal packet. Use the system variables. */ } else { - xpkt.li_vn_mode = PKT_LI_VN_MODE(sys_leap, +#ifdef LEAP_SMEAR + /* + * Make copies of the variables which can be affected by smearing. + */ + l_fp this_ref_time; + l_fp this_recv_time; +#endif + + /* + * If we are inside the leap smear interval we add the current smear offset to + * the packet receive time, to the packet transmit time, and eventually to the + * reftime to make sure the reftime isn't later than the transmit/receive times. + */ + xpkt.li_vn_mode = PKT_LI_VN_MODE(xmt_leap, PKT_VERSION(rpkt->li_vn_mode), xmode); + xpkt.stratum = STRATUM_TO_PKT(sys_stratum); xpkt.ppoll = max(rpkt->ppoll, ntp_minpoll); xpkt.precision = sys_precision; xpkt.refid = sys_refid; xpkt.rootdelay = HTONS_FP(DTOFP(sys_rootdelay)); xpkt.rootdisp = HTONS_FP(DTOUFP(sys_rootdisp)); + +#ifdef LEAP_SMEAR + this_ref_time = sys_reftime; + if (leap_smear.in_progress) { + leap_smear_add_offs(&this_ref_time, NULL); + xpkt.refid = convertLFPToRefID(leap_smear.offset); + DPRINTF(2, ("fast_xmit: leap_smear.in_progress: refid %8x, smear %s\n", + ntohl(xpkt.refid), + lfptoa(&leap_smear.offset, 8) + )); + } + HTONL_FP(&this_ref_time, &xpkt.reftime); +#else HTONL_FP(&sys_reftime, &xpkt.reftime); +#endif + xpkt.org = rpkt->xmt; + +#ifdef LEAP_SMEAR + this_recv_time = rbufp->recv_time; + if (leap_smear.in_progress) + leap_smear_add_offs(&this_recv_time, NULL); + HTONL_FP(&this_recv_time, &xpkt.rec); +#else HTONL_FP(&rbufp->recv_time, &xpkt.rec); +#endif + get_systime(&xmt_tx); +#ifdef LEAP_SMEAR + if (leap_smear.in_progress) + leap_smear_add_offs(&xmt_tx, &this_recv_time); +#endif HTONL_FP(&xmt_tx, &xpkt.xmt); } @@ -3988,7 +4074,7 @@ init_proto(void) * Fill in the sys_* stuff. Default is don't listen to * broadcasting, require authentication. */ - sys_leap = LEAP_NOTINSYNC; + set_sys_leap(LEAP_NOTINSYNC); sys_stratum = STRATUM_UNSPEC; memcpy(&sys_refid, "INIT", 4); sys_peer = NULL; @@ -4062,8 +4148,12 @@ proto_config( case PROTO_MONITOR: /* monitoring (monitor) */ if (value) mon_start(MON_ON); - else + else { mon_stop(MON_ON); + if (mon_enabled) + msyslog(LOG_WARNING, + "restrict: 'monitor' cannot be disabled while 'limited' is enabled"); + } break; case PROTO_NTP: /* NTP discipline (ntp) */ diff --git a/contrib/ntp/ntpd/ntp_scanner.c b/contrib/ntp/ntpd/ntp_scanner.c index a7c19922bd53..49adf6bfb767 100644 --- a/contrib/ntp/ntpd/ntp_scanner.c +++ b/contrib/ntp/ntpd/ntp_scanner.c @@ -38,6 +38,7 @@ char yytext[MAX_LEXEME]; /* Buffer for storing the input text/lexeme */ u_int32 conf_file_sum; /* Simple sum of characters read */ +static struct FILE_INFO * lex_stack = NULL; @@ -86,153 +87,342 @@ keyword( } -/* FILE INTERFACE - * -------------- - * We define a couple of wrapper functions around the standard C fgetc - * and ungetc functions in order to include positional bookkeeping +/* FILE & STRING BUFFER INTERFACE + * ------------------------------ + * + * This set out as a couple of wrapper functions around the standard C + * fgetc and ungetc functions in order to include positional + * bookkeeping. Alas, this is no longer a good solution with nested + * input files and the possibility to send configuration commands via + * 'ntpdc' and 'ntpq'. + * + * Now there are a few functions to maintain a stack of nested input + * sources (though nesting is only allowd for disk files) and from the + * scanner / parser point of view there's no difference between both + * types of sources. + * + * The 'fgetc()' / 'ungetc()' replacements now operate on a FILE_INFO + * structure. Instead of trying different 'ungetc()' strategies for file + * and buffer based parsing, we keep the backup char in our own + * FILE_INFO structure. This is sufficient, as the parser does *not* + * jump around via 'seek' or the like, and there's no need to + * check/clear the backup store in other places than 'lex_getch()'. */ -struct FILE_INFO * -F_OPEN( +/* + * Allocate an info structure and attach it to a file. + * + * Note: When 'mode' is NULL, then the INFO block will be set up to + * contain a NULL file pointer, as suited for remote config command + * parsing. Otherwise having a NULL file pointer is considered an error, + * and a NULL info block pointer is returned to indicate failure! + * + * Note: We use a variable-sized structure to hold a copy of the file + * name (or, more proper, the input source description). This is more + * secure than keeping a reference to some other storage that might go + * out of scope. + */ +static struct FILE_INFO * +lex_open( const char *path, const char *mode ) { - struct FILE_INFO *my_info; + struct FILE_INFO *stream; + size_t nnambuf; - my_info = emalloc(sizeof *my_info); + nnambuf = strlen(path); + stream = emalloc_zero(sizeof(*stream) + nnambuf); + stream->curpos.nline = 1; + stream->backch = EOF; + /* copy name with memcpy -- trailing NUL already there! */ + memcpy(stream->fname, path, nnambuf); - my_info->line_no = 1; - my_info->col_no = 0; - my_info->prev_line_col_no = 0; - my_info->prev_token_col_no = 0; - my_info->fname = path; - - my_info->fd = fopen(path, mode); - if (NULL == my_info->fd) { - free(my_info); - return NULL; + if (NULL != mode) { + stream->fpi = fopen(path, mode); + if (NULL == stream->fpi) { + free(stream); + stream = NULL; + } } - return my_info; + return stream; } -int -FGETC( +/* get next character from buffer or file. This will return any putback + * character first; it will also make sure the last line is at least + * virtually terminated with a '\n'. + */ +static int +lex_getch( struct FILE_INFO *stream ) { int ch; - - do - ch = fgetc(stream->fd); - while (EOF != ch && (CHAR_MIN > ch || ch > CHAR_MAX)); - if (EOF != ch) { - if (input_from_file) - conf_file_sum += (u_char)ch; - ++stream->col_no; - if (ch == '\n') { - stream->prev_line_col_no = stream->col_no; - ++stream->line_no; - stream->col_no = 1; + if (NULL == stream || stream->force_eof) + return EOF; + + if (EOF != stream->backch) { + ch = stream->backch; + stream->backch = EOF; + if (stream->fpi) + conf_file_sum += ch; + } else if (stream->fpi) { + /* fetch next 7-bit ASCII char (or EOF) from file */ + while ((ch = fgetc(stream->fpi)) != EOF && ch > SCHAR_MAX) + stream->curpos.ncol++; + if (EOF != ch) { + conf_file_sum += ch; + stream->curpos.ncol++; } + } else { + /* fetch next 7-bit ASCII char from buffer */ + const char * scan; + scan = &remote_config.buffer[remote_config.pos]; + while ((ch = (u_char)*scan) > SCHAR_MAX) { + scan++; + stream->curpos.ncol++; + } + if ('\0' != ch) { + scan++; + stream->curpos.ncol++; + } else { + ch = EOF; + } + remote_config.pos = (int)(scan - remote_config.buffer); + } + + /* If the last line ends without '\n', generate one. This + * happens most likely on Windows, where editors often have a + * sloppy concept of a line. + */ + if (EOF == ch && stream->curpos.ncol != 0) + ch = '\n'; + + /* update scan position tallies */ + if (ch == '\n') { + stream->bakpos = stream->curpos; + stream->curpos.nline++; + stream->curpos.ncol = 0; } return ch; } -/* BUGS: 1. Function will fail on more than one line of pushback - * 2. No error checking is done to see if ungetc fails - * SK: I don't think its worth fixing these bugs for our purposes ;-) +/* Note: lex_ungetch will fail to track more than one line of push + * back. But since it guarantees only one char of back storage anyway, + * this should not be a problem. */ -int -UNGETC( +static int +lex_ungetch( int ch, struct FILE_INFO *stream ) { - if (input_from_file) - conf_file_sum -= (u_char)ch; - if (ch == '\n') { - stream->col_no = stream->prev_line_col_no; - stream->prev_line_col_no = -1; - --stream->line_no; + /* check preconditions */ + if (NULL == stream || stream->force_eof) + return EOF; + if (EOF != stream->backch || EOF == ch) + return EOF; + + /* keep for later reference and update checksum */ + stream->backch = (u_char)ch; + if (stream->fpi) + conf_file_sum -= stream->backch; + + /* update position */ + if (stream->backch == '\n') { + stream->curpos = stream->bakpos; + stream->bakpos.ncol = -1; } - --stream->col_no; - return ungetc(ch, stream->fd); + stream->curpos.ncol--; + return stream->backch; } -int -FCLOSE( +/* dispose of an input structure. If the file pointer is not NULL, close + * the file. This function does not check the result of 'fclose()'. + */ +static void +lex_close( struct FILE_INFO *stream ) { - int ret_val = fclose(stream->fd); - - if (!ret_val) + if (NULL != stream) { + if (NULL != stream->fpi) + fclose(stream->fpi); free(stream); - return ret_val; + } } -/* STREAM INTERFACE - * ---------------- - * Provide a wrapper for the stream functions so that the - * stream can either read from a file or from a character - * array. - * NOTE: This is not very efficient for reading from character - * arrays, but needed to allow remote configuration where the - * configuration command is provided through ntpq. - * - * The behavior of there two functions is determined by the - * input_from_file flag. +/* INPUT STACK + * ----------- + * + * Nested input sources are a bit tricky at first glance. We deal with + * this problem using a stack of input sources, that is, a forward + * linked list of FILE_INFO structs. + * + * This stack is never empty during parsing; while an encounter with EOF + * can and will remove nested input sources, removing the last element + * in the stack will not work during parsing, and the EOF condition of + * the outermost input file remains until the parser folds up. */ -static int -get_next_char( - struct FILE_INFO *ip_file +static struct FILE_INFO * +_drop_stack_do( + struct FILE_INFO * head ) { - char ch; - - if (input_from_file) - return FGETC(ip_file); - else { - if (remote_config.buffer[remote_config.pos] == '\0') - return EOF; - else { - ip_file->col_no++; - ch = remote_config.buffer[remote_config.pos++]; - if (ch == '\n') { - ip_file->prev_line_col_no = ip_file->col_no; - ++ip_file->line_no; - ip_file->col_no = 1; - } - return ch; - } + struct FILE_INFO * tail; + while (NULL != head) { + tail = head->st_next; + lex_close(head); + head = tail; } + return head; } -static void -push_back_char( - struct FILE_INFO *ip_file, - int ch + + +/* Create a singleton input source on an empty lexer stack. This will + * fail if there is already an input source, or if the underlying disk + * file cannot be opened. + * + * Returns TRUE if a new input object was successfully created. + */ +int/*BOOL*/ +lex_init_stack( + const char * path, + const char * mode ) { - if (input_from_file) - UNGETC(ch, ip_file); - else { - if (ch == '\n') { - ip_file->col_no = ip_file->prev_line_col_no; - ip_file->prev_line_col_no = -1; - --ip_file->line_no; - } - --ip_file->col_no; + if (NULL != lex_stack || NULL == path) + return FALSE; - remote_config.pos--; - } + lex_stack = lex_open(path, mode); + return (NULL != lex_stack); +} + +/* This removes *all* input sources from the stack, leaving the head + * pointer as NULL. Any attempt to parse in that state is likely to bomb + * with segmentation faults or the like. + * + * In other words: Use this to clean up after parsing, and do not parse + * anything until the next 'lex_init_stack()' succeeded. + */ +void +lex_drop_stack() +{ + lex_stack = _drop_stack_do(lex_stack); +} + +/* Flush the lexer input stack: This will nip all input objects on the + * stack (but keeps the current top-of-stack) and marks the top-of-stack + * as inactive. Any further calls to lex_getch yield only EOF, and it's + * no longer possible to push something back. + * + * Returns TRUE if there is a head element (top-of-stack) that was not + * in the force-eof mode before this call. + */ +int/*BOOL*/ +lex_flush_stack() +{ + int retv = FALSE; + + if (NULL != lex_stack) { + retv = !lex_stack->force_eof; + lex_stack->force_eof = TRUE; + lex_stack->st_next = _drop_stack_do( + lex_stack->st_next); + } + return retv; +} + +/* Push another file on the parsing stack. If the mode is NULL, create a + * FILE_INFO suitable for in-memory parsing; otherwise, create a + * FILE_INFO that is bound to a local/disc file. Note that 'path' must + * not be NULL, or the function will fail. + * + * Returns TRUE if a new info record was pushed onto the stack. + */ +int/*BOOL*/ lex_push_file( + const char * path, + const char * mode + ) +{ + struct FILE_INFO * next = NULL; + + if (NULL != path) { + next = lex_open(path, mode); + if (NULL != next) { + next->st_next = lex_stack; + lex_stack = next; + } + } + return (NULL != next); +} + +/* Pop, close & free the top of the include stack, unless the stack + * contains only a singleton input object. In that case the function + * fails, because the parser does not expect the input stack to be + * empty. + * + * Returns TRUE if an object was successfuly popped from the stack. + */ +int/*BOOL*/ +lex_pop_file(void) +{ + struct FILE_INFO * head = lex_stack; + struct FILE_INFO * tail = NULL; + + if (NULL != head) { + tail = head->st_next; + if (NULL != tail) { + lex_stack = tail; + lex_close(head); + } + } + return (NULL != tail); +} + +/* Get include nesting level. This currently loops over the stack and + * counts elements; but since this is of concern only with an include + * statement and the nesting depth has a small limit, there's no + * bottleneck expected here. + * + * Returns the nesting level of includes, that is, the current depth of + * the lexer input stack. + * + * Note: + */ +size_t +lex_level(void) +{ + size_t cnt = 0; + struct FILE_INFO *ipf = lex_stack; + + while (NULL != ipf) { + cnt++; + ipf = ipf->st_next; + } + return cnt; +} + +/* check if the current input is from a file */ +int/*BOOL*/ +lex_from_file(void) +{ + return (NULL != lex_stack) && (NULL != lex_stack->fpi); +} + +struct FILE_INFO * +lex_current() +{ + /* this became so simple, it could be a macro. But then, + * lex_stack needed to be global... + */ + return lex_stack; } - /* STATE MACHINES * -------------- @@ -297,7 +487,7 @@ is_integer( /* Check that all the remaining characters are digits */ for (; lexeme[i] != '\0'; i++) { - if (!isdigit((unsigned char)lexeme[i])) + if (!isdigit((u_char)lexeme[i])) return FALSE; } @@ -322,7 +512,7 @@ is_u_int( int is_hex; i = 0; - if ('0' == lexeme[i] && 'x' == tolower((unsigned char)lexeme[i + 1])) { + if ('0' == lexeme[i] && 'x' == tolower((u_char)lexeme[i + 1])) { i += 2; is_hex = TRUE; } else { @@ -331,9 +521,9 @@ is_u_int( /* Check that all the remaining characters are digits */ for (; lexeme[i] != '\0'; i++) { - if (is_hex && !isxdigit((unsigned char)lexeme[i])) + if (is_hex && !isxdigit((u_char)lexeme[i])) return FALSE; - if (!is_hex && !isdigit((unsigned char)lexeme[i])) + if (!is_hex && !isdigit((u_char)lexeme[i])) return FALSE; } @@ -357,14 +547,14 @@ is_double( i++; /* Read the integer part */ - for (; lexeme[i] && isdigit((unsigned char)lexeme[i]); i++) + for (; lexeme[i] && isdigit((u_char)lexeme[i]); i++) num_digits++; /* Check for the optional decimal point */ if ('.' == lexeme[i]) { i++; /* Check for any digits after the decimal point */ - for (; lexeme[i] && isdigit((unsigned char)lexeme[i]); i++) + for (; lexeme[i] && isdigit((u_char)lexeme[i]); i++) num_digits++; } @@ -380,7 +570,7 @@ is_double( return 1; /* There is still more input, read the exponent */ - if ('e' == tolower((unsigned char)lexeme[i])) + if ('e' == tolower((u_char)lexeme[i])) i++; else return 0; @@ -390,7 +580,7 @@ is_double( i++; /* Now read the exponent part */ - while (lexeme[i] && isdigit((unsigned char)lexeme[i])) + while (lexeme[i] && isdigit((u_char)lexeme[i])) i++; /* Check if we are done */ @@ -455,7 +645,7 @@ create_string_token( * ignore end of line whitespace */ pch = lexeme; - while (*pch && isspace((unsigned char)*pch)) + while (*pch && isspace((u_char)*pch)) pch++; if (!*pch) { @@ -476,37 +666,31 @@ create_string_token( * value representing the token or type. */ int -yylex( - struct FILE_INFO *ip_file - ) +yylex(void) { static follby followedby = FOLLBY_TOKEN; - size_t i; + int i; int instring; int yylval_was_set; int converted; int token; /* The return value */ int ch; - if (input_from_file) - ip_file = fp[curr_include_level]; instring = FALSE; yylval_was_set = FALSE; do { /* Ignore whitespace at the beginning */ - while (EOF != (ch = get_next_char(ip_file)) && + while (EOF != (ch = lex_getch(lex_stack)) && isspace(ch) && !is_EOC(ch)) + ; /* Null Statement */ if (EOF == ch) { - if (!input_from_file || curr_include_level <= 0) + if ( ! lex_pop_file()) return 0; - - FCLOSE(fp[curr_include_level]); - ip_file = fp[--curr_include_level]; token = T_EOC; goto normal_return; @@ -531,15 +715,14 @@ yylex( yytext[1] = '\0'; goto normal_return; } else - push_back_char(ip_file, ch); + lex_ungetch(ch, lex_stack); /* save the position of start of the token */ - ip_file->prev_token_line_no = ip_file->line_no; - ip_file->prev_token_col_no = ip_file->col_no; + lex_stack->tokpos = lex_stack->curpos; /* Read in the lexeme */ i = 0; - while (EOF != (ch = get_next_char(ip_file))) { + while (EOF != (ch = lex_getch(lex_stack))) { yytext[i] = (char)ch; @@ -553,7 +736,7 @@ yylex( /* Read the rest of the line on reading a start of comment character */ if ('#' == ch) { - while (EOF != (ch = get_next_char(ip_file)) + while (EOF != (ch = lex_getch(lex_stack)) && '\n' != ch) ; /* Null Statement */ break; @@ -571,7 +754,7 @@ yylex( */ if ('"' == ch) { instring = TRUE; - while (EOF != (ch = get_next_char(ip_file)) && + while (EOF != (ch = lex_getch(lex_stack)) && ch != '"' && ch != '\n') { yytext[i++] = (char)ch; if (i >= COUNTOF(yytext)) @@ -583,18 +766,15 @@ yylex( * not be pushed back, so we read another char. */ if ('"' == ch) - ch = get_next_char(ip_file); + ch = lex_getch(lex_stack); } /* Pushback the last character read that is not a part - * of this lexeme. - * If the last character read was an EOF, pushback a - * newline character. This is to prevent a parse error - * when there is no newline at the end of a file. + * of this lexeme. This fails silently if ch is EOF, + * but then the EOF condition persists and is handled on + * the next turn by the include stack mechanism. */ - if (EOF == ch) - push_back_char(ip_file, '\n'); - else - push_back_char(ip_file, ch); + lex_ungetch(ch, lex_stack); + yytext[i] = '\0'; } while (i == 0); @@ -627,7 +807,7 @@ yylex( msyslog(LOG_ERR, "Integer cannot be represented: %s", yytext); - if (input_from_file) { + if (lex_from_file()) { exit(1); } else { /* force end of parsing */ @@ -640,7 +820,7 @@ yylex( } else if (is_u_int(yytext)) { yylval_was_set = TRUE; if ('0' == yytext[0] && - 'x' == tolower((unsigned char)yytext[1])) + 'x' == tolower((unsigned long)yytext[1])) converted = sscanf(&yytext[2], "%x", &yylval.U_int); else @@ -650,7 +830,7 @@ yylex( msyslog(LOG_ERR, "U_int cannot be represented: %s", yytext); - if (input_from_file) { + if (lex_from_file()) { exit(1); } else { /* force end of parsing */ @@ -735,14 +915,14 @@ yylex( yytext[min(sizeof(yytext) - 1, 50)] = 0; msyslog(LOG_ERR, "configuration item on line %d longer than limit of %lu, began with '%s'", - ip_file->line_no, (u_long)min(sizeof(yytext) - 1, 50), + lex_stack->curpos.nline, (u_long)min(sizeof(yytext) - 1, 50), yytext); /* * If we hit the length limit reading the startup configuration * file, abort. */ - if (input_from_file) + if (lex_from_file()) exit(sizeof(yytext) - 1); /* diff --git a/contrib/ntp/ntpd/ntp_scanner.h b/contrib/ntp/ntpd/ntp_scanner.h index 67976371d8ff..11bbfe914be5 100644 --- a/contrib/ntp/ntpd/ntp_scanner.h +++ b/contrib/ntp/ntpd/ntp_scanner.h @@ -83,22 +83,28 @@ typedef enum { typedef u_int32 scan_state; +struct LCPOS { + int nline; + int ncol; +}; -/* Structure to hold a filename, file pointer and positional info */ +/* Structure to hold a filename, file pointer and positional info. + * Instances are dynamically allocated, and the file name is copied by + * value into a dynamic extension of the 'fname' array. (Which *must* be + * the last field for that reason!) + */ struct FILE_INFO { - const char * fname; /* Path to the file */ - FILE * fd; /* File Descriptor */ - int line_no; /* Line Number */ - int col_no; /* Column Number */ - int prev_line_col_no; /* Col No on the - previous line when a - '\n' was seen */ - int prev_token_line_no; /* Line at start of - token */ - int prev_token_col_no; /* Col No at start of - token */ - int err_line_no; - int err_col_no; + struct FILE_INFO * st_next; /* next on stack */ + FILE * fpi; /* File Descriptor */ + int force_eof; /* locked or not */ + int backch; /* ungetch buffer */ + + struct LCPOS curpos; /* current scan position */ + struct LCPOS bakpos; /* last line end for ungetc */ + struct LCPOS tokpos; /* current token position */ + struct LCPOS errpos; /* error position */ + + char fname[1]; /* (formal only) buffered name */ }; @@ -106,25 +112,31 @@ struct FILE_INFO { * ------------------------ */ extern config_tree cfgt; /* Parser output stored here */ -extern int curr_include_level; /* The current include level */ /* VARIOUS EXTERNAL DECLARATIONS * ----------------------------- */ extern int old_config_style; -extern int input_from_file; -extern struct FILE_INFO *fp[]; /* VARIOUS SUBROUTINE DECLARATIONS * ------------------------------- */ extern const char *keyword(int token); extern char *quote_if_needed(char *str); -int yylex(struct FILE_INFO *); +int yylex(void); -struct FILE_INFO *F_OPEN(const char *path, const char *mode); -int FGETC(struct FILE_INFO *stream); -int UNGETC(int ch, struct FILE_INFO *stream); -int FCLOSE(struct FILE_INFO *stream); +/* managing the input source stack itself */ +extern int/*BOOL*/ lex_init_stack(const char * path, const char * mode); +extern void lex_drop_stack(void); +extern int/*BOOL*/ lex_flush_stack(void); + +/* add/remove a nested input source */ +extern int/*BOOL*/ lex_push_file(const char * path, const char * mode); +extern int/*BOOL*/ lex_pop_file(void); + +/* input stack state query functions */ +extern size_t lex_level(void); +extern int/*BOOL*/ lex_from_file(void); +extern struct FILE_INFO * lex_current(void); #endif /* NTP_SCANNER_H */ diff --git a/contrib/ntp/ntpd/ntp_timer.c b/contrib/ntp/ntpd/ntp_timer.c index 958c8db39400..5cbb892e3ddd 100644 --- a/contrib/ntp/ntpd/ntp_timer.c +++ b/contrib/ntp/ntpd/ntp_timer.c @@ -41,6 +41,7 @@ #define TC_ERR (-1) #endif + static void check_leapsec(u_int32, const time_t*, int/*BOOL*/); /* @@ -110,7 +111,7 @@ static RETSIGTYPE alarming (int); static timer_t timer_id; typedef struct itimerspec intervaltimer; # define itv_frac tv_nsec -# else +# else typedef struct itimerval intervaltimer; # define itv_frac tv_usec # endif @@ -151,7 +152,7 @@ set_timer_or_die( /* * reinit_timer - reinitialize interval timer after a clock step. */ -void +void reinit_timer(void) { #if !defined(SYS_WINNT) && !defined(VMS) @@ -211,7 +212,7 @@ init_timer(void) } # endif signal_no_reset(SIGALRM, alarming); - itimer.it_interval.tv_sec = + itimer.it_interval.tv_sec = itimer.it_value.tv_sec = (1 << EVENT_TIMEOUT); itimer.it_interval.itv_frac = itimer.it_value.itv_frac = 0; set_timer_or_die(&itimer); @@ -228,7 +229,7 @@ init_timer(void) #else /* SYS_WINNT follows */ /* * Set up timer interrupts for every 2**EVENT_TIMEOUT seconds - * Under Windows/NT, + * Under Windows/NT, */ WaitableTimerHandle = CreateWaitableTimer(NULL, FALSE, NULL); @@ -341,9 +342,9 @@ timer(void) if (sys_orphan < STRATUM_UNSPEC && sys_peer == NULL && current_time > orphwait) { if (sys_leap == LEAP_NOTINSYNC) { - sys_leap = LEAP_NOWARNING; + set_sys_leap(LEAP_NOWARNING); #ifdef AUTOKEY - if (crypto_flags) + if (crypto_flags) crypto_update(); #endif /* AUTOKEY */ } @@ -370,11 +371,11 @@ timer(void) if (sys_leap != LEAP_NOTINSYNC) { if (leapsec >= LSPROX_ANNOUNCE && leapdif) { if (leapdif > 0) - sys_leap = LEAP_ADDSECOND; + set_sys_leap(LEAP_ADDSECOND); else - sys_leap = LEAP_DELSECOND; + set_sys_leap(LEAP_DELSECOND); } else { - sys_leap = LEAP_NOWARNING; + set_sys_leap(LEAP_NOWARNING); } } @@ -472,7 +473,7 @@ alarming( # endif # ifdef DEBUG if (debug >= 4) - write(1, msg, strlen(msg)); + (void)(-1 == write(1, msg, strlen(msg))); # endif } #endif /* SYS_WINNT */ @@ -496,44 +497,162 @@ timer_clr_stats(void) timer_timereset = current_time; } + +static void +check_leap_sec_in_progress( const leap_result_t *lsdata ) { + int prv_leap_sec_in_progress = leap_sec_in_progress; + leap_sec_in_progress = lsdata->tai_diff && (lsdata->ddist < 3); + + /* if changed we may have to update the leap status sent to clients */ + if (leap_sec_in_progress != prv_leap_sec_in_progress) + set_sys_leap(sys_leap); +} + + static void check_leapsec( u_int32 now , const time_t * tpiv , int/*BOOL*/ reset) { + static const char leapmsg_p_step[] = + "Positive leap second, stepped backward."; + static const char leapmsg_p_slew[] = + "Positive leap second, no step correction. " + "System clock will be inaccurate for a long time."; + + static const char leapmsg_n_step[] = + "Negative leap second, stepped forward."; + static const char leapmsg_n_slew[] = + "Negative leap second, no step correction. " + "System clock will be inaccurate for a long time."; + leap_result_t lsdata; u_int32 lsprox; - +#ifdef AUTOKEY + int/*BOOL*/ update_autokey = FALSE; +#endif + #ifndef SYS_WINNT /* WinNT port has its own leap second handling */ # ifdef KERNEL_PLL leapsec_electric(pll_control && kern_enable); # else leapsec_electric(0); # endif -#endif +#endif +#ifdef LEAP_SMEAR + leap_smear.enabled = leap_smear_intv != 0; +#endif if (reset) { lsprox = LSPROX_NOWARN; leapsec_reset_frame(); memset(&lsdata, 0, sizeof(lsdata)); - } else if (leapsec_query(&lsdata, now, tpiv)) { + } else { + int fired = leapsec_query(&lsdata, now, tpiv); + + DPRINTF(1, ("*** leapsec_query: fired %i, now %u (0x%08X), tai_diff %i, ddist %u\n", + fired, now, now, lsdata.tai_diff, lsdata.ddist)); + +#ifdef LEAP_SMEAR + leap_smear.in_progress = 0; + leap_smear.doffset = 0.0; + + if (leap_smear.enabled) { + if (lsdata.tai_diff) { + if (leap_smear.interval == 0) { + leap_smear.interval = leap_smear_intv; + leap_smear.intv_end = lsdata.ttime.Q_s; + leap_smear.intv_start = leap_smear.intv_end - leap_smear.interval; + DPRINTF(1, ("*** leapsec_query: setting leap_smear interval %li, begin %.0f, end %.0f\n", + leap_smear.interval, leap_smear.intv_start, leap_smear.intv_end)); + } + } + else { + if (leap_smear.interval) + DPRINTF(1, ("*** leapsec_query: clearing leap_smear interval\n")); + leap_smear.interval = 0; + } + + if (leap_smear.interval) { + double dtemp = now; + if (dtemp >= leap_smear.intv_start && dtemp <= leap_smear.intv_end) { + double leap_smear_time = dtemp - leap_smear.intv_start; + /* + * For now we just do a linear interpolation over the smear interval + */ +#if 0 + // linear interpolation + leap_smear.doffset = -(leap_smear_time * lsdata.tai_diff / leap_smear.interval); +#else + // Google approach: lie(t) = (1.0 - cos(pi * t / w)) / 2.0 + leap_smear.doffset = -((double) lsdata.tai_diff - cos( M_PI * leap_smear_time / leap_smear.interval)) / 2.0; +#endif + /* + * TODO see if we're inside an inserted leap second, so we need to compute + * leap_smear.doffset = 1.0 - leap_smear.doffset + */ + leap_smear.in_progress = 1; +#if 0 && defined( DEBUG ) + msyslog(LOG_NOTICE, "*** leapsec_query: [%.0f:%.0f] (%li), now %u (%.0f), smear offset %.6f ms\n", + leap_smear.intv_start, leap_smear.intv_end, leap_smear.interval, + now, leap_smear_time, leap_smear.doffset); +#else + DPRINTF(1, ("*** leapsec_query: [%.0f:%.0f] (%li), now %u (%.0f), smear offset %.6f ms\n", + leap_smear.intv_start, leap_smear.intv_end, leap_smear.interval, + now, leap_smear_time, leap_smear.doffset)); +#endif + + } + } + } + else + leap_smear.interval = 0; + + /* + * Update the current leap smear offset, eventually 0.0 if outside smear interval. + */ + DTOLFP(leap_smear.doffset, &leap_smear.offset); + +#endif /* LEAP_SMEAR */ + + if (fired) { /* Full hit. Eventually step the clock, but always * announce the leap event has happened. */ + const char *leapmsg = NULL; if (lsdata.warped < 0) { - step_systime(lsdata.warped); - msyslog(LOG_NOTICE, "Inserting positive leap second."); + if (clock_max_back > 0.0 && + clock_max_back < fabs(lsdata.warped)) { + step_systime(lsdata.warped); + leapmsg = leapmsg_p_step; + } else { + leapmsg = leapmsg_p_slew; + } } else if (lsdata.warped > 0) { - step_systime(lsdata.warped); - msyslog(LOG_NOTICE, "Inserting negative leap second."); + if (clock_max_fwd > 0.0 && + clock_max_fwd < fabs(lsdata.warped)) { + step_systime(lsdata.warped); + leapmsg = leapmsg_n_step; + } else { + leapmsg = leapmsg_n_slew; + } } + if (leapmsg) + msyslog(LOG_NOTICE, "%s", leapmsg); report_event(EVNT_LEAP, NULL, NULL); +#ifdef AUTOKEY + update_autokey = TRUE; +#endif lsprox = LSPROX_NOWARN; leapsec = LSPROX_NOWARN; sys_tai = lsdata.tai_offs; - } else { + } else { +#ifdef AUTOKEY + update_autokey = (sys_tai != lsdata.tai_offs); +#endif lsprox = lsdata.proximity; sys_tai = lsdata.tai_offs; + } } /* We guard against panic alarming during the red alert phase. @@ -563,8 +682,15 @@ check_leapsec( leapsec = lsprox; } - if (leapsec >= LSPROX_SCHEDULE) - leapdif = lsdata.tai_diff; - else - leapdif = 0; + if (leapsec >= LSPROX_SCHEDULE) + leapdif = lsdata.tai_diff; + else + leapdif = 0; + + check_leap_sec_in_progress(&lsdata); + +#ifdef AUTOKEY + if (update_autokey) + crypto_update_taichange(); +#endif } diff --git a/contrib/ntp/ntpd/ntpd-opts.c b/contrib/ntp/ntpd/ntpd-opts.c index 910689d1ea97..2d547a18de79 100644 --- a/contrib/ntp/ntpd/ntpd-opts.c +++ b/contrib/ntp/ntpd/ntpd-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpd-opts.c) * - * It has been AutoGen-ed April 7, 2015 at 04:23:14 AM by AutoGen 5.18.5pre4 + * It has been AutoGen-ed June 29, 2015 at 04:28:19 PM by AutoGen 5.18.5 * From the definitions ntpd-opts.def * and the template file options * @@ -75,7 +75,7 @@ extern FILE * option_usage_fp; * static const strings for ntpd options */ static char const ntpd_opt_strs[3129] = -/* 0 */ "ntpd 4.2.8p2\n" +/* 0 */ "ntpd 4.2.8p3\n" "Copyright (C) 1992-2015 The University of Delaware and Network Time Foundation, all rights reserved.\n" "This is free software. It is licensed for use, modification and\n" "redistribution under the terms of the NTP License, copies of which\n" @@ -205,12 +205,12 @@ static char const ntpd_opt_strs[3129] = /* 2900 */ "output version information and exit\0" /* 2936 */ "version\0" /* 2944 */ "NTPD\0" -/* 2949 */ "ntpd - NTP daemon program - Ver. 4.2.8p2\n" +/* 2949 */ "ntpd - NTP daemon program - Ver. 4.2.8p3\n" "Usage: %s [ - [] | --[{=| }] ]... \\\n" "\t\t[ ... ]\n\0" /* 3080 */ "http://bugs.ntp.org, bugs@ntp.org\0" /* 3114 */ "\n\0" -/* 3116 */ "ntpd 4.2.8p2"; +/* 3116 */ "ntpd 4.2.8p3"; /** * ipv4 option description with @@ -1331,7 +1331,7 @@ OPT_VALUE_SET_DEBUG_LEVEL++; (void)pOptDesc; (void)pOptions; } -/* extracted from optmain.tlib near line 1245 */ +/* extracted from optmain.tlib near line 1250 */ /** * The directory containing the data associated with ntpd. @@ -1443,11 +1443,11 @@ AO_gettext(char const * pz) if (option_xlateable_txt.field_ct != 0) { res = dgettext("libopts", pz); if (res == pz) - res = (char *)(void *)_(pz); + res = (char *)VOIDP(_(pz)); } else - res = (char *)(void *)_(pz); + res = (char *)VOIDP(_(pz)); #else - res = (char *)(void *)_(pz); + res = (char *)VOIDP(_(pz)); #endif if (res == pz) return res; @@ -1484,7 +1484,7 @@ translate_option_strings(void) * Do the translations. The first pointer follows the field count * field. The field count field is the size of a pointer. */ - char ** ppz = (char**)(void*)&(option_xlateable_txt); + char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); int ix = option_xlateable_txt.field_ct; do { @@ -1494,16 +1494,16 @@ translate_option_strings(void) /* prevent re-translation and disable "libopts" domain lookup */ option_xlateable_txt.field_ct = 0; - coerce_it((void*)&(opts->pzCopyright)); - coerce_it((void*)&(opts->pzCopyNotice)); - coerce_it((void*)&(opts->pzFullVersion)); - coerce_it((void*)&(opts->pzUsageTitle)); - coerce_it((void*)&(opts->pzExplain)); - coerce_it((void*)&(opts->pzDetail)); + coerce_it(VOIDP(&(opts->pzCopyright))); + coerce_it(VOIDP(&(opts->pzCopyNotice))); + coerce_it(VOIDP(&(opts->pzFullVersion))); + coerce_it(VOIDP(&(opts->pzUsageTitle))); + coerce_it(VOIDP(&(opts->pzExplain))); + coerce_it(VOIDP(&(opts->pzDetail))); { tOptDesc * od = opts->pOptDesc; for (ix = opts->optCt; ix > 0; ix--, od++) - coerce_it((void*)&(od->pzText)); + coerce_it(VOIDP(&(od->pzText))); } } } @@ -1529,7 +1529,7 @@ static void bogus_function(void) { translate option names. */ /* referenced via ntpdOptions.pzCopyright */ - puts(_("ntpd 4.2.8p2\n\ + puts(_("ntpd 4.2.8p3\n\ Copyright (C) 1992-2015 The University of Delaware and Network Time Foundation, all rights reserved.\n\ This is free software. It is licensed for use, modification and\n\ redistribution under the terms of the NTP License, copies of which\n\ @@ -1670,7 +1670,7 @@ implied warranty.\n")); puts(_("output version information and exit")); /* referenced via ntpdOptions.pzUsageTitle */ - puts(_("ntpd - NTP daemon program - Ver. 4.2.8p2\n\ + puts(_("ntpd - NTP daemon program - Ver. 4.2.8p3\n\ Usage: %s [ - [] | --[{=| }] ]... \\\n\ \t\t[ ... ]\n")); @@ -1678,7 +1678,7 @@ Usage: %s [ - [] | --[{=| }] ]... \\\n\ puts(_("\n")); /* referenced via ntpdOptions.pzFullVersion */ - puts(_("ntpd 4.2.8p2")); + puts(_("ntpd 4.2.8p3")); /* referenced via ntpdOptions.pzFullUsage */ puts(_("<<>>")); @@ -1704,7 +1704,7 @@ Usage: %s [ - [] | --[{=| }] ]... \\\n\ #line 121 "../version.c" puts(_("Automated Options version %s\n" "\tCopyright (C) 1999-2014 by Bruce Korb - all rights reserved\n")); -#line 82 "../makeshell.c" +#line 87 "../makeshell.c" puts(_("(AutoOpts bug): %s.\n")); #line 90 "../reset.c" puts(_("optionResetOpt() called, but reset-option not configured")); @@ -1728,9 +1728,9 @@ Usage: %s [ - [] | --[{=| }] ]... \\\n\ puts(_("%s: Command line arguments required\n")); #line 43 "../alias.c" puts(_("%d %s%s options allowed\n")); -#line 89 "../makeshell.c" +#line 94 "../makeshell.c" puts(_("%s error %d (%s) calling %s for '%s'\n")); -#line 301 "../makeshell.c" +#line 306 "../makeshell.c" puts(_("interprocess pipe")); #line 168 "../version.c" puts(_("error: version option argument '%c' invalid. Use:\n" @@ -1808,9 +1808,9 @@ Usage: %s [ - [] | --[{=| }] ]... \\\n\ puts(_("Try '%s %s' for more information.\n")); #line 45 "../alias.c" puts(_("one %s%s option allowed\n")); -#line 203 "../makeshell.c" +#line 208 "../makeshell.c" puts(_("standard output")); -#line 938 "../makeshell.c" +#line 943 "../makeshell.c" puts(_("standard output")); #line 274 "../usage.c" puts(_("standard output")); @@ -1828,9 +1828,9 @@ Usage: %s [ - [] | --[{=| }] ]... \\\n\ puts(_("standard error")); #line 175 "../version.c" puts(_("standard error")); -#line 203 "../makeshell.c" +#line 208 "../makeshell.c" puts(_("write")); -#line 938 "../makeshell.c" +#line 943 "../makeshell.c" puts(_("write")); #line 273 "../usage.c" puts(_("write")); @@ -1882,7 +1882,7 @@ Usage: %s [ - [] | --[{=| }] ]... \\\n\ #line 380 "../usage.c" puts(_("Options are specified by doubled hyphens and their name or by a single\n" "hyphen and the flag character.\n")); -#line 916 "../makeshell.c" +#line 921 "../makeshell.c" puts(_("\n" "= = = = = = = =\n\n" "This incarnation of genshell will produce\n" diff --git a/contrib/ntp/ntpd/ntpd-opts.h b/contrib/ntp/ntpd/ntpd-opts.h index 682aebda41af..21142d8c4de2 100644 --- a/contrib/ntp/ntpd/ntpd-opts.h +++ b/contrib/ntp/ntpd/ntpd-opts.h @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpd-opts.h) * - * It has been AutoGen-ed April 7, 2015 at 04:23:13 AM by AutoGen 5.18.5pre4 + * It has been AutoGen-ed June 29, 2015 at 04:28:18 PM by AutoGen 5.18.5 * From the definitions ntpd-opts.def * and the template file options * @@ -106,9 +106,9 @@ typedef enum { /** count of all options for ntpd */ #define OPTION_CT 38 /** ntpd version */ -#define NTPD_VERSION "4.2.8p2" +#define NTPD_VERSION "4.2.8p3" /** Full ntpd version text */ -#define NTPD_FULL_VERSION "ntpd 4.2.8p2" +#define NTPD_FULL_VERSION "ntpd 4.2.8p3" /** * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/contrib/ntp/ntpd/ntpd.1ntpdman b/contrib/ntp/ntpd/ntpd.1ntpdman index 5ded89b0cac0..c231b7fd8486 100644 --- a/contrib/ntp/ntpd/ntpd.1ntpdman +++ b/contrib/ntp/ntpd/ntpd.1ntpdman @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH ntpd 1ntpdman "07 Apr 2015" "4.2.8p2" "User Commands" +.TH ntpd 1ntpdman "29 Jun 2015" "4.2.8p3" "User Commands" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-TQays3/ag-5Qaqr3) +.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-LZaapD/ag-XZa4nD) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:25:45 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:24 PM by AutoGen 5.18.5 .\" From the definitions ntpd-opts.def .\" and the template file agman-cmd.tpl .SH NAME @@ -59,7 +59,7 @@ with future gigahertz CPU clocks and gigabit LANs. Ordinarily, \f\*[B-Font]ntpd\fP reads the -\fCntp.conf\fR(5)\f[] +\fCntp.conf\f[]\fR(5)\f[] configuration file at startup time in order to determine the synchronization sources and operating modes. It is also possible to @@ -78,7 +78,7 @@ then \f\*[B-Font]ntpd\fP will attempt to read its configuration from the NetInfo if the default -\fCntp.conf\fR(5)\f[] +\fCntp.conf\f[]\fR(5)\f[] file cannot be read and no file is specified by the \f\*[B-Font]\-c\f[] @@ -93,9 +93,9 @@ configuration options altered while the \f\*[B-Font]ntpd\fP is running using the -\fCntpq\fR(1ntpqmdoc)\f[] +\fCntpq\f[]\fR(1ntpqmdoc)\f[] and -\fCntpdc\fR(1ntpdcmdoc)\f[] +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[] utility programs. .sp \n(Ppu .ne 2 @@ -103,11 +103,11 @@ utility programs. When \f\*[B-Font]ntpd\fP starts it looks at the value of -\fCumask\fR(2)\f[], +\fCumask\f[]\fR(2)\f[], and if zero \f\*[B-Font]ntpd\fP will set the -\fCumask\fR(2)\f[] +\fCumask\f[]\fR(2)\f[] to 022. .SH "OPTIONS" .TP @@ -472,7 +472,7 @@ keyword with the \f\*[B-Font]server\f[] configuration command, as described in -\fCntp.conf\fR(5)\f[]. +\fCntp.conf\f[]\fR(5)\f[]. .sp \n(Ppu .ne 2 @@ -601,9 +601,9 @@ when you have permission to do so from the owner of the target host. Finally, in the past many startup scripts would run -\fCntpdate\fR(1ntpdatemdoc)\f[] +\fCntpdate\f[]\fR(1ntpdatemdoc)\f[] to get the system clock close to correct before starting -\fCntpd\fR(1ntpdmdoc)\f[], +\fCntpd\f[]\fR(1ntpdmdoc)\f[], but this was never more than a mediocre hack and is no longer needed. If you are following the instructions in \fIStarting NTP (Best Current Practice)\f[] @@ -611,12 +611,12 @@ and you still need to set the system time before starting \f\*[B-Font]ntpd\fP, please open a bug report and document what is going on, and then look at using -\fCsntp\fR(1sntpmdoc)\f[]. +\fCsntp\f[]\fR(1sntpmdoc)\f[]. .sp \n(Ppu .ne 2 There is a way to start -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] that often addresses all of the problems mentioned above. .SS "Starting NTP (Best Current Practice)" First, use the @@ -630,14 +630,14 @@ entries. If you can also keep a good \fIntp.drift\f[] file then -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] will effectively "warm-start" and your system's clock will be stable in under 11 seconds' time. .sp \n(Ppu .ne 2 As soon as possible in the startup sequence, start -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] with at least the \f\*[B-Font]\-g\f[] and perhaps the @@ -646,7 +646,7 @@ options. Then, start the rest of your "normal" processes. This will give -\fCntpd\fR(1ntpdmdoc)\f[] +\fCntpd\f[]\fR(1ntpdmdoc)\f[] as much time as possible to get the system's clock synchronized and stable. .sp \n(Ppu .ne 2 @@ -658,13 +658,13 @@ or database servers that require monotonically-increasing time, run -\fCntp-wait\fR(1ntp-waitmdoc)\f[] +\fCntp-wait\f[]\fR(1ntp-waitmdoc)\f[] as late as possible in the boot sequence (perhaps with the \f\*[B-Font]\-v\f[] flag) and after -\fCntp-wait\fR(1ntp-waitmdoc)\f[] +\fCntp-wait\f[]\fR(1ntp-waitmdoc)\f[] exits successfully it is as safe as it will ever be to start any process that require stable time. @@ -749,11 +749,11 @@ In some cases it may not be practical for \f\*[B-Font]ntpd\fP to run continuously. A common workaround has been to run the -\fCntpdate\fR(1ntpdatemdoc)\f[] +\fCntpdate\f[]\fR(1ntpdatemdoc)\f[] or -\fCsntp\fR(1sntpmdoc)\f[] +\fCsntp\f[]\fR(1sntpmdoc)\f[] programs from a -\fCcron\fR(8)\f[] +\fCcron\f[]\fR(8)\f[] job at designated times. However, these programs do not have the crafted signal @@ -780,7 +780,7 @@ If nothing is heard after a couple of minutes, the daemon times out and exits. After a suitable period of mourning, the -\fCntpdate\fR(1ntpdatemdoc)\f[] +\fCntpdate\f[]\fR(1ntpdatemdoc)\f[] program will be retired. .sp \n(Ppu @@ -891,7 +891,7 @@ The filter is activated by the command and \f\*[B-Font]huffpuff\f[] keyword, as described in -\fCntp.conf\fR(5)\f[]. +\fCntp.conf\f[]\fR(5)\f[]. .SH "ENVIRONMENT" See \fBOPTION PRESETS\fP for configuration environment variables. .SH FILES @@ -923,11 +923,11 @@ libopts had an internal operational error. Please report it to autogen-users@lists.sourceforge.net. Thank you. .PP .SH "SEE ALSO" -\fCntp.conf\fR(5)\f[], -\fCntpdate\fR(1ntpdatemdoc)\f[], -\fCntpdc\fR(1ntpdcmdoc)\f[], -\fCntpq\fR(1ntpqmdoc)\f[], -\fCsntp\fR(1sntpmdoc)\f[] +\fCntp.conf\f[]\fR(5)\f[], +\fCntpdate\f[]\fR(1ntpdatemdoc)\f[], +\fCntpdc\f[]\fR(1ntpdcmdoc)\f[], +\fCntpq\f[]\fR(1ntpqmdoc)\f[], +\fCsntp\f[]\fR(1sntpmdoc)\f[] .sp \n(Ppu .ne 2 diff --git a/contrib/ntp/ntpd/ntpd.1ntpdmdoc b/contrib/ntp/ntpd/ntpd.1ntpdmdoc index 14b38e40a861..08d7655dff1f 100644 --- a/contrib/ntp/ntpd/ntpd.1ntpdmdoc +++ b/contrib/ntp/ntpd/ntpd.1ntpdmdoc @@ -1,9 +1,9 @@ -.Dd April 7 2015 +.Dd June 29 2015 .Dt NTPD 1ntpdmdoc User Commands .Os .\" EDIT THIS FILE WITH CAUTION (ntpd-opts.mdoc) .\" -.\" It has been AutoGen-ed April 7, 2015 at 04:26:02 AM by AutoGen 5.18.5pre4 +.\" It has been AutoGen-ed June 29, 2015 at 04:30:41 PM by AutoGen 5.18.5 .\" From the definitions ntpd-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntpd.html b/contrib/ntp/ntpd/ntpd.html index 8919ee90d241..7af6d9859f95 100644 --- a/contrib/ntp/ntpd/ntpd.html +++ b/contrib/ntp/ntpd/ntpd.html @@ -39,7 +39,7 @@ The program can operate in any of several modes, including client/server, symmetric and broadcast modes, and with both symmetric-key and public-key cryptography. -

This document applies to version 4.2.8p2 of ntpd. +

This document applies to version 4.2.8p3 of ntpd.