]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Merge ntp-build.tal1.ntfo.org:/ntpbuild/data/master/ntp-stable
authorNTP Release Engineering <stenn@ntp.org>
Thu, 1 Jun 2023 08:17:51 +0000 (01:17 -0700)
committerNTP Release Engineering <stenn@ntp.org>
Thu, 1 Jun 2023 08:17:51 +0000 (01:17 -0700)
into  ntp-build.tal1.ntfo.org:/ntpbuild/data/newdev/ntp-dev

bk: 6478542frrJB1-UbGQtobam3fja2Fw

1  2 
ChangeLog
ports/winnt/scripts/mkver.bat
sntp/Makefile.am

diff --cc ChangeLog
index 5ffca8891edd5bf4d2b81abe40d2dbd4bbba8933,8e34d2a966967d8143214c12a5cfe88baa6837f7..cd0b54875ddfb39df987143f6eb7ef9a327a1971
+++ b/ChangeLog
++From ntp-4.2.8p16:
+ ---
+ (4.2.8p16) 2023/05/31 Released by Harlan Stenn <stenn@ntp.org>
+ * [Sec 3808] Assertion failure in ntpq on malformed RT-11 date <perlinger@ntp.org>
+ * [Sec 3807] praecis_parse() in the Palisade refclock driver has a
+              hypothetical input buffer overflow. Reported by ... stenn@
+ * [Sec 3806] libntp/mstolfp.c needs bounds checking <perlinger@ntp.org>
+   - solved numerically instead of using string manipulation
+ * [Sec 3767] An OOB KoD RATE value triggers an assertion when debug is enabled.
+              <stenn@ntp.org>
+ * [Bug 3819] Updated libopts/Makefile.am was missing NTP_HARD_* values. <stenn@>
+ * [Bug 3817] Bounds-check "tos floor" configuration. <hart@ntp.org>
+ * [Bug 3814] First poll delay of new or cleared associations miscalculated.
+              <hart@ntp.org>
+ * [Bug 3802] ntp-keygen -I default identity modulus bits too small for
+              OpenSSL 3.  Reported by rmsh1216@163.com <hart@ntp.org>
+ * [Bug 3801] gpsdjson refclock gps_open() device name mishandled. <hart@ntp.org>
+ * [Bug 3800] libopts-42.1.17 does not compile with Microsoft C. <hart@ntp.org>
+ * [Bug 3799] Enable libopts noreturn compiler advice for MSC. <hart@ntp.org>
+ * [Bug 3797] Windows getaddrinfo w/AI_ADDRCONFIG fails for localhost when 
+              disconnected, breaking ntpq and ntpdc. <hart@ntp.org>
+ * [Bug 3795] pollskewlist documentation uses | when it shouldn't.
+   - ntp.conf manual page and miscopt.html corrections. <hart@ntp.org>
+ * [Bug 3793] Wrong variable type passed to record_raw_stats(). <hart@ntp.org>
+   - Report and patch by Yuezhen LUAN <wei6410@sina.com>.
+ * [Bug 3786] Timer starvation on high-load Windows ntpd. <hart@ntp.org>
+ * [Bug 3784] high-load ntpd on Windows deaf after enough ICMP TTL exceeded.
+              <hart@ntp.org>
+ * [Bug 3781] log "Unable to listen for broadcasts" for IPv4 <hart@ntp.org>
+ * [Bug 3774] mode 6 packets corrupted in rawstats file <hart@ntp.org>
+   - Reported by Edward McGuire, fix identified by <wei6410@sina.com>.
+ * [Bug 3758] Provide a 'device' config statement for refclocks <perlinger@ntp.org> 
+ * [Bug 3757] Improve handling of Linux-PPS in NTPD <perlinger@ntp.org>
+ * [Bug 3741] 4.2.8p15 can't build with glibc 2.34 <perlinger@ntp.org>
+ * [Bug 3725] Make copyright of clk_wharton.c compatible with Debian.
+              Philippe De Muyter <phdm@macqel.be>
+ * [Bug 3724] ntp-keygen with openSSL 1.1.1 fails on Windows <perlinger@ntp.org>
+   - openssl applink needed again for openSSL-1.1.1
+ * [Bug 3719] configure.ac checks for closefrom() and getdtablesize() missing.
+              Reported by Brian Utterback, broken in 2010 by <hart@ntp.org>
+ * [Bug 3699] Problems handling drift file and restoring previous drifts <perlinger@ntp.org>
+   - command line options override config statements where applicable
+   - make initial frequency settings idempotent and reversible
+   - make sure kernel PLL gets a recovered drift componsation
+ * [Bug 3695] Fix memory leak with ntpq on Windows Server 2019 <perlinger@ntp.org>
+ * [Bug 3694] NMEA refclock seems to unnecessarily require location in messages
+   - misleading title; essentially a request to ignore the receiver status.
+     Added a mode bit for this. <perlinger@ntp.org>
+ * [Bug 3693] Improvement of error handling key lengths <perlinger@ntp.org>
+   - original patch by Richard Schmidt, with mods & unit test fixes
+ * [Bug 3692] /dev/gpsN requirement prevents KPPS <perlinger@ntp.org>
+   - implement/wrap 'realpath()' to resolve symlinks in device names
+ * [Bug 3691] Buffer Overflow reading GPSD output
+   - original patch by matt<ntpbr@mattcorallo.com>
+   - increased max PDU size to 4k to avoid truncation
+ * [Bug 3690] newline in ntp clock variable (parse) <perlinger@ntp.org>
+   - patch by Frank Kardel
+ * [Bug 3689] Extension for MD5, SHA-1 and other keys <perlinger@ntp.org>
+   - ntp{q,dc} now use the same password processing as ntpd does in the key
+     file, so having a binary secret >= 11 bytes is possible for all keys.
+     (This is a different approach to the problem than suggested)
+ * [Bug 3688] GCC 10 build errors in testsuite <perlinger@ntp.org>
+ * [Bug 3687] ntp_crypto_rand RNG status not known <perlinger@ntp.org>
+   - patch by Gerry Garvey
+ * [Bug 3682] Fixes for warnings when compiled without OpenSSL <perlinger@ntp.org>
+   - original patch by Gerry Garvey
+ * [Bug 3677] additional peer events not decoded in associations listing <perlinger@ntp.org>
+   - original patch by Gerry Garvey
+ * [Bug 3676] compiler warnings (CMAC, interrupt_buf, typo, fallthrough)
+   - applied patches by Gerry Garvey
+ * [Bug 3675] ntpq ccmds[] stores pointer to non-persistent storage
+ * [Bug 3674] ntpq command 'execute only' using '~' prefix <perlinger@ntp.org>
+   - idea+patch by Gerry Garvey
+ * [Bug 3672] fix biased selection in median cut <perlinger@ntp.org>
+ * [Bug 3666] avoid unlimited receive buffer allocation <perlinger@ntp.org>
+   - follow-up: fix inverted sense in check, reset shortfall counter
+ * [Bug 3660] Revert 4.2.8p15 change to manycast. <hart@ntp.org>
+ * [Bug 3640] document "discard monitor" and fix the code. <hart@ntp.org>
+   - fixed bug identified by Edward McGuire <perlinger@ntp.org>
+ * [Bug 3626] (SNTP) UTC offset calculation needs dst flag <perlinger@ntp.org>
+   - applied patch by Gerry Garvey
+ * [Bug 3428] ntpd spinning consuming CPU on Linux router with full table.
+              Reported by Israel G. Lugo. <hart@ntp.org>
+ * [Bug 3103] libopts zsave_warn format string too few arguments <bkorb@gnu.org>
+ * [Bug 2990] multicastclient incorrectly causes bind to broadcast address.
+              Integrated patch from Brian Utterback. <hart@ntp.org>
+ * [Bug 2525] Turn on automake subdir-objects across the project. <hart@ntp.org>
+ * [Bug 2410] syslog an error message on panic exceeded. <brian.utterback@oracle.com>
+ * Use correct rounding in mstolfp(). perlinger/hart
+ * M_ADDF should use u_int32.  <hart@ntp.org>
+ * Only define tv_fmt_libbuf() if we will use it. <stenn@ntp.org>
+ * Use recv_buffer instead of the longer recv_space.X_recv_buffer. hart/stenn
+ * Make sure the value returned by refid_str() prints cleanly. <stenn@ntp.org>
+ * If DEBUG is enabled, the startup banner now says that debug assertions
+   are in force and that ntpd will abort if any are violated. <stenn@ntp.org>
+ * syslog valid incoming KoDs.  <stenn@ntp.org>
+ * Rename a poorly-named variable.  <stenn@ntp.org>
+ * Disable "embedded NUL in string" messages in libopts, when we can. <stenn@>
+ * Use https in the AC_INIT URLs in configure.ac.  <stenn@ntp.org>
+ * Implement NTP_FUNC_REALPATH.  <stenn@ntp.org>
+ * Lose a gmake construct in ntpd/Makefile.am.  <stenn@ntp.org>
+ * upgrade to: autogen-5.18.16
+ * upgrade to: libopts-42.1.17
+ * upgrade to: autoconf-2.71
+ * upgrade to: automake-1.16.15
+ * Upgrade to libevent-2.1.12-stable <stenn@ntp.org>
+ * Support OpenSSL-3.0
 +(4.3.101) 2023/05/17 Released by Harlan Stenn <stenn@ntp.org>
 +From ntp-4.2.8p15:
  ---
  (4.2.8p15) 2020/06/23 Released by Harlan Stenn <stenn@ntp.org>
  
  * [Bug 3644] Unsynchronized server [...] selected as candidate <perlinger@ntp.org>
  * [Bug 3639] refclock_jjy: TS-JJY0x can skip time sync depending on the STUS reply. <abe@ntp.org>
    - applied patch by Takao Abe
+ * [Bug 3432] refclocks that 'write()' should check the result <perlinger@ntp.org>
+   - plus some more work on warnings for unchecked results
  
 +(4.3.100) 2023/05/16 Released by Harlan Stenn <stenn@ntp.org>
 +From ntp-4.2.8p14:
  ---
  (4.2.8p14) 2020/03/03 Released by Harlan Stenn <stenn@ntp.org>
  
index f902190d6fd7e787763dc43b293c4ac40e42eb3a,c0c7b526b30280f5ec729c551af9553c254d2440..7b9af7963325307144571011a6bdbecf1d4ef458
@@@ -240,12 -300,19 +303,19 @@@ REM ***********************************
        IF "%PR_SUF%"=="-RC" set PR_POINT=%RCPOINT%
        IF "%PR_SUF%"=="-beta" set PR_POINT=%BETAPOINT%
  
 -      SET VER=%PROTO%.%MAJOR%.%MINOR%%POINT%%SPECIAL%%PR_SUF%%PR_POINT%
 +      SET VER=%PROTO%.%MINOR%.%POINT%%SPECIAL%%PR_SUF%%PR_POINT%
        
-       REM Now we have the version info, try to add a BK ChangeSet version number
-       
+       REM Now we have the version info, try to add a BK ChangeSet revision
+       IF "%SCMREV%" == "" GOTO GENERATE_SCM_REV
+       REM ** Called as -S to use generated scm-rev file.
+       FOR /F "TOKENS=1" %%a IN ('type %SCMREV%') DO @SET CSET=%%a
+       GOTO HAVECHANGESETREVISION
+ :GENERATE_SCM_REV
        REM ** Check if BK is installed ...
-       bk -R prs -hr+ -nd:I: ChangeSet 2> NUL > NUL
+       bk root ../../../.. 2> NUL > NUL
        IF ERRORLEVEL 1 GOTO NOBK
  
        REM ** Try to get the CSet rev directly from BK
Simple merge