ntp: Update to version 4.2.8p18

Message ID 20240618104858.3386879-2-adolf.belka@ipfire.org
State New
Headers
Series ntp: Update to version 4.2.8p18 |

Commit Message

Adolf Belka June 18, 2024, 10:48 a.m. UTC
  - Update from version 4.2.8p17 to 4.2.8p18
- Update of rootile
- Changelog
    4.2.8p18 (Harlan Stenn <stenn@ntp.org>, 2024 May 24)
	Focus: Bug fixes
	Severity: Recommended
	This release:
		- changes crypto (OpenSSL or compatible) detection and default build behavior.
		  Previously, crypto was supported if available unless the --without-crypto
		  option was given to configure.  With this release, the prior behavior of
		  falling back to a crypto-free build if usable libcrypto was not found has
		  changed to instead cause configure to fail with an error.
		  The --without-crypto option must be explicitly provided if you want a build
		  that does not use libcrypto functionality.
		- Fixes 40 bugs
		- Includes 40 other improvements
	Details below:
		* [Bug 3918] Tweak openssl header/library handling. <stenn@ntp.org>
		* [Bug 3914] Spurious "Unexpected origin timestamp" logged after time
		             stepped. <hart@ntp.org>
		* [Bug 3913] Avoid duplicate IPv6 link-local manycast associations.
		             <hart@ntp.org>
		* [Bug 3912] Avoid rare math errors in ntptrace.  <brian.utterback@oracle.com>
		* [Bug 3910] Memory leak using openssl-3 <hart@ntp.org>
		* [Bug 3909] Do not select multicast local address for unicast peer.
		             <hart@ntp.org>
		* [Bug 3903] lib/isc/win32/strerror.c NTstrerror() is not thread-safe.
		             <hart@ntp.org>
		* [Bug 3901] LIB_GETBUF isn't thread-safe. <hart@ntp.org>
		* [Bug 3900] fast_xmit() selects wrong local addr responding to mcast on
		             Windows. <hart@ntp.org>
		* [Bug 3888] ntpd with multiple same-subnet IPs using manycastclient creates
		             duplicate associations. <hart@ntp.org>
		* [Bug 3872] Ignore restrict mask for hostname. <hart@ntp.org>
		* [Bug 3871] 4.2.8p17 build without hopf6021 refclock enabled fails.
		             Reported by Hans Mayer.  Moved NONEMPTY_TRANSLATION_UNIT
		             declaration from ntp_types.h to config.h.  <hart@ntp.org>
		* [Bug 3870] Server drops client packets with ppoll < 4.  <stenn@ntp.org>
		* [Bug 3869] Remove long-gone "calldelay" & "crypto sign" from docs.
		             Reported by PoolMUC@web.de. <hart@ntp.org>
		* [Bug 3868] Cannot restrict a pool peer. <hart@ntp.org>  Thanks to
		             Edward McGuire for tracking down the deficiency.
		* [Bug 3864] ntpd IPv6 refid different for big-endian and little-endian.
		             <hart@ntp.org>
		* [Bug 3859] Use NotifyIpInterfaceChange on Windows ntpd. <hart@ntp.org>
		* [Bug 3856] Enable Edit & Continue debugging with Visual Studio.
		             <hart@ntp.org>
		* [Bug 3855] ntpq lacks an equivalent to ntpdc's delrestrict. <hart@ntp.org>
		* [Bug 3854] ntpd 4.2.8p17 corrupts rawstats file with space in refid.
		             <hart@ntp.org>
		* [Bug 3853] Clean up warnings with modern compilers. <hart@ntp.org>
		* [Bug 3852] check-libntp.mf and friends are not triggering rebuilds as
		             intended. <hart@ntp.org>
		* [Bug 3851] Drop pool server when no local address can reach it.
		             <hart@ntp.org>
		* [Bug 3850] ntpq -c apeers breaks column formatting s2 w/refclock refid.
		             <hart@ntp.org>
		* [Bug 3849] ntpd --wait-sync times out. <hart@ntp.org>
		* [Bug 3847] SSL detection in configure should run-test if runpath is needed.
		             <hart@ntp.org>
		* [Bug 3846] Use -Wno-format-truncation by default. <hart@ntp.org>
		* [Bug 3845] accelerate pool clock_sync when IPv6 has only link-local access.
		             <hart@ntp.org>
		* [Bug 3842] Windows ntpd PPSAPI DLL load failure crashes. <hart@ntp.org>
		* [Bug 3841] 4.2.8p17 build break w/ gcc 12 -Wformat-security without -Wformat
		             Need to remove --Wformat-security when removing -Wformat to
		             silence numerous libopts warnings.  <hart@ntp.org>
		* [Bug 3837] NULL pointer deref crash when ntpd deletes last interface.
		             Reported by renmingshuai.  Correct UNLINK_EXPR_SLIST() when the
		             list is empty. <hart@ntp.org>
		* [Bug 3835] NTP_HARD_*FLAGS not used by libevent tearoff. <hart@ntp.org>
		* [Bug 3831] pollskewlist zeroed on runtime configuration. <hart@ntp.org>
		* [Bug 3830] configure libevent check intersperses output with answer. <stenn@>
		* [Bug 3828] BK should ignore a git repo in the same directory.
		             <burnicki@ntp.org>
		* [Bug 3827] Fix build in case CLOCK_HOPF6021 or CLOCK_WHARTON_400A
		             is disabled.  <burnicki@ntp.org>
		* [Bug 3825] Don't touch HTML files unless building inside a BK repo.
		             Fix the script checkHtmlFileDates.  <burnicki@ntp.org>
		* [Bug 3756] Improve OpenSSL library/header detection.
		* [Bug 3753] ntpd fails to start with FIPS-enabled OpenSSL 3. <hart@ntp.org>
		* [Bug 2734] TEST3 prevents initial interleave sync.  Fix from <PoolMUC@web.de>
		* Log failures to allocate receive buffers.  <hart@ntp.org>
		* Remove extraneous */ from libparse/ieee754io.c
		* Fix .datecheck target line in Makefile.am.  <stenn@ntp.org>
		* Update the copyright year.  <stenn@ntp.org>
		* Update ntp.conf documentation to add "delrestrict" and correct information
		  about KoD rate limiting.  <hart@ntp.org>
		* html/clockopt.html cleanup.  <stenn@ntp.org>
		* util/lsf-times - added.  <stenn@ntp.org>
		* Add DSA, DSA-SHA, and SHA to tests/libntp/digests.c. <hart@ntp.org>
		* Provide ntpd thread names to debugger on Windows. <hart@ntp.org>
		* Remove dead code libntp/numtohost.c and its unit tests. <hart@ntp.org>
		* Remove class A, B, C IPv4 distinctions in netof(). <hart@ntp.org>
		* Use @configure_input@ in various *.in files to include a comment that
		  the file is generated from another pointing to the *.in. <hart@ntp.org>
		* Correct underquoting, indents in ntp_facilitynames.m4. <hart@ntp.org>
		* Clean up a few warnings seen building with older gcc. <hart@ntp.org>
		* Fix build on older FreeBSD lacking sys/procctl.h. <hart@ntp.org>
		* Disable [Bug 3627] workaround on newer FreeBSD which has the kernel fix
		  that makes it unnecessary, re-enabling ASLR stack gap. <hart@ntp.org>
		* Use NONEMPTY_COMPILATION_UNIT in more conditionally-compiled files.
		* Remove useless pointer to Windows Help from system error messages.
		* Avoid newlines within Windows error messages. <hart@ntp.org>
		* Ensure unique association IDs if wrapped. <hart@ntp.org>
		* Simplify calc_addr_distance(). <hart@ntp.org>
		* Clamp min/maxpoll in edge cases in newpeer(). <hart@ntp.org>
		* Quiet local addr change logging when unpeering. <hart@ntp.org>
		* Correct missing arg for %s printf specifier in
		  send_blocking_resp_internal(). <hart@ntp.org>
		* Suppress OpenSSL 3 deprecation warning clutter. <hart@ntp.org>
		* Correct OpenSSL usage in Autokey code to avoid warnings about
		  discarding const qualifiers with OpenSSL 3. <hart@ntp.org>
		* Display KoD refid as text in recently added message. <hart@ntp.org>
		* Avoid running checkHtmlFileDates script repeatedly when no html/*.html
		    files have changed. <hart@ntp.org>
		* Abort configure if --enable-crypto-rand given & unavailable. <hart@ntp.org>
		* Add configure --enable-verbose-ssl to trace SSL detection. <hart@ntp.org>
		* Add build test coverage for --disable-saveconfig to flock-build script.
		  <hart@ntp.org>
		* Remove deprecated configure --with-arlib option. <hart@ntp.org>
		* Remove configure support for ISC UNIX ca. 1998. <hart@ntp.org>
		* Move NTP_OPENSSL and NTP_CRYPTO_RAND invocations from configure.ac files
		  to NTP_LIBNTP. <hart@ntp.org>
		* Remove dead code: HAVE_U_INT32_ONLY_WITH_DNS. <hart@ntp.org>
		* Eliminate [v]snprintf redefinition warnings on macOS. <hart@ntp.org>
		* Fix clang 14 cast increases alignment warning on Linux. <hart@ntp.org>
		* Move ENABLE_CMAC to ntp_openssl.m4, reviving sntp/tests CMAC unit tests.
		  <hart@ntp.org>
		* Use NTP_HARD_CPPFLAGS in libopts tearoff. <hart@ntp.org>
		* wire in --enable-build-framework-help

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/ntp | 3 +--
 lfs/ntp                     | 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/ntp b/config/rootfiles/common/ntp
index fd1262e9b..7ca3ed1e7 100644
--- a/config/rootfiles/common/ntp
+++ b/config/rootfiles/common/ntp
@@ -10,7 +10,6 @@  usr/bin/ntpd
 usr/bin/ntpdate
 usr/bin/ntpdc
 usr/bin/ntpq
-#usr/bin/ntpsnmpd
 usr/bin/ntptime
 usr/bin/ntptrace
 usr/bin/sntp
@@ -18,6 +17,7 @@  usr/bin/tickadj
 usr/bin/update-leap
 #usr/share/doc/ntp
 #usr/share/doc/ntp/html
+#usr/share/doc/ntp/html/.datecheck
 #usr/share/doc/ntp/html/access.html
 #usr/share/doc/ntp/html/accopt.html
 #usr/share/doc/ntp/html/assoc.html
@@ -277,7 +277,6 @@  usr/bin/update-leap
 #usr/share/man/man1/ntpdc.1
 #usr/share/man/man1/ntpq.1
 #usr/share/man/man1/ntptrace.1
-#usr/share/man/man1/ntpsnmpd.1
 #usr/share/man/man1/sntp.1
 #usr/share/man/man1/update-leap.1
 #usr/share/man/man5/ntp.conf.5
diff --git a/lfs/ntp b/lfs/ntp
index aadfbd0c1..2d746c78f 100644
--- a/lfs/ntp
+++ b/lfs/ntp
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 4.2.8p17
+VER        = 4.2.8p18
 
 THISAPP    = ntp-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 5c0e90a234cdeab76e7443b42dfd5a0c3c78693a11bdb0fa21c8def91adbdf9b9871498df9d211509632812a9107501da3470104122e9621577541ffd6cd1ab6
+$(DL_FILE)_BLAKE2 = 9a7bb767d2d8ae3a7224542df7978f8289cbdf28488c5e4dce4c549cdd1063259f69548898a352c0463ce83c4725bfd7c7dbf673ee3b74e490d7b1275760497c
 
 install : $(TARGET)