From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka <adolf.belka@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] ntp: Update to version 4.2.8p18 Date: Tue, 18 Jun 2024 12:48:54 +0200 Message-ID: <20240618104858.3386879-2-adolf.belka@ipfire.org> In-Reply-To: <20240618104858.3386879-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1250457793749323115==" List-Id: <development.lists.ipfire.org> --===============1250457793749323115== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from version 4.2.8p17 to 4.2.8p18 - Update of rootile - Changelog 4.2.8p18 (Harlan Stenn <stenn(a)ntp.org>, 2024 May 24) Focus: Bug fixes Severity: Recommended This release: - changes crypto (OpenSSL or compatible) detection and default build behavi= or. 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 bui= ld that does not use libcrypto functionality. - Fixes 40 bugs - Includes 40 other improvements Details below: * [Bug 3918] Tweak openssl header/library handling. <stenn(a)ntp.org> * [Bug 3914] Spurious "Unexpected origin timestamp" logged after time stepped. <hart(a)ntp.org> * [Bug 3913] Avoid duplicate IPv6 link-local manycast associations. <hart(a)ntp.org> * [Bug 3912] Avoid rare math errors in ntptrace. <brian.utterback(a)oracle= .com> * [Bug 3910] Memory leak using openssl-3 <hart(a)ntp.org> * [Bug 3909] Do not select multicast local address for unicast peer. <hart(a)ntp.org> * [Bug 3903] lib/isc/win32/strerror.c NTstrerror() is not thread-safe. <hart(a)ntp.org> * [Bug 3901] LIB_GETBUF isn't thread-safe. <hart(a)ntp.org> * [Bug 3900] fast_xmit() selects wrong local addr responding to mcast on Windows. <hart(a)ntp.org> * [Bug 3888] ntpd with multiple same-subnet IPs using manycastclient creates duplicate associations. <hart(a)ntp.org> * [Bug 3872] Ignore restrict mask for hostname. <hart(a)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(a)ntp.org> * [Bug 3870] Server drops client packets with ppoll < 4. <stenn(a)ntp.org> * [Bug 3869] Remove long-gone "calldelay" & "crypto sign" from docs. Reported by PoolMUC(a)web.de. <hart(a)ntp.org> * [Bug 3868] Cannot restrict a pool peer. <hart(a)ntp.org> Thanks to Edward McGuire for tracking down the deficiency. * [Bug 3864] ntpd IPv6 refid different for big-endian and little-endian. <hart(a)ntp.org> * [Bug 3859] Use NotifyIpInterfaceChange on Windows ntpd. <hart(a)ntp.org> * [Bug 3856] Enable Edit & Continue debugging with Visual Studio. <hart(a)ntp.org> * [Bug 3855] ntpq lacks an equivalent to ntpdc's delrestrict. <hart(a)ntp.o= rg> * [Bug 3854] ntpd 4.2.8p17 corrupts rawstats file with space in refid. <hart(a)ntp.org> * [Bug 3853] Clean up warnings with modern compilers. <hart(a)ntp.org> * [Bug 3852] check-libntp.mf and friends are not triggering rebuilds as intended. <hart(a)ntp.org> * [Bug 3851] Drop pool server when no local address can reach it. <hart(a)ntp.org> * [Bug 3850] ntpq -c apeers breaks column formatting s2 w/refclock refid. <hart(a)ntp.org> * [Bug 3849] ntpd --wait-sync times out. <hart(a)ntp.org> * [Bug 3847] SSL detection in configure should run-test if runpath is neede= d. <hart(a)ntp.org> * [Bug 3846] Use -Wno-format-truncation by default. <hart(a)ntp.org> * [Bug 3845] accelerate pool clock_sync when IPv6 has only link-local acces= s. <hart(a)ntp.org> * [Bug 3842] Windows ntpd PPSAPI DLL load failure crashes. <hart(a)ntp.org> * [Bug 3841] 4.2.8p17 build break w/ gcc 12 -Wformat-security without -Wfor= mat Need to remove --Wformat-security when removing -Wformat to silence numerous libopts warnings. <hart(a)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(a)ntp.org> * [Bug 3835] NTP_HARD_*FLAGS not used by libevent tearoff. <hart(a)ntp.org> * [Bug 3831] pollskewlist zeroed on runtime configuration. <hart(a)ntp.org> * [Bug 3830] configure libevent check intersperses output with answer. <ste= nn@> * [Bug 3828] BK should ignore a git repo in the same directory. <burnicki(a)ntp.org> * [Bug 3827] Fix build in case CLOCK_HOPF6021 or CLOCK_WHARTON_400A is disabled. <burnicki(a)ntp.org> * [Bug 3825] Don't touch HTML files unless building inside a BK repo. Fix the script checkHtmlFileDates. <burnicki(a)ntp.org> * [Bug 3756] Improve OpenSSL library/header detection. * [Bug 3753] ntpd fails to start with FIPS-enabled OpenSSL 3. <hart(a)ntp.o= rg> * [Bug 2734] TEST3 prevents initial interleave sync. Fix from <PoolMUC(a)w= eb.de> * Log failures to allocate receive buffers. <hart(a)ntp.org> * Remove extraneous */ from libparse/ieee754io.c * Fix .datecheck target line in Makefile.am. <stenn(a)ntp.org> * Update the copyright year. <stenn(a)ntp.org> * Update ntp.conf documentation to add "delrestrict" and correct information about KoD rate limiting. <hart(a)ntp.org> * html/clockopt.html cleanup. <stenn(a)ntp.org> * util/lsf-times - added. <stenn(a)ntp.org> * Add DSA, DSA-SHA, and SHA to tests/libntp/digests.c. <hart(a)ntp.org> * Provide ntpd thread names to debugger on Windows. <hart(a)ntp.org> * Remove dead code libntp/numtohost.c and its unit tests. <hart(a)ntp.org> * Remove class A, B, C IPv4 distinctions in netof(). <hart(a)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(a)ntp.org> * Correct underquoting, indents in ntp_facilitynames.m4. <hart(a)ntp.org> * Clean up a few warnings seen building with older gcc. <hart(a)ntp.org> * Fix build on older FreeBSD lacking sys/procctl.h. <hart(a)ntp.org> * Disable [Bug 3627] workaround on newer FreeBSD which has the kernel fix that makes it unnecessary, re-enabling ASLR stack gap. <hart(a)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(a)ntp.org> * Ensure unique association IDs if wrapped. <hart(a)ntp.org> * Simplify calc_addr_distance(). <hart(a)ntp.org> * Clamp min/maxpoll in edge cases in newpeer(). <hart(a)ntp.org> * Quiet local addr change logging when unpeering. <hart(a)ntp.org> * Correct missing arg for %s printf specifier in send_blocking_resp_internal(). <hart(a)ntp.org> * Suppress OpenSSL 3 deprecation warning clutter. <hart(a)ntp.org> * Correct OpenSSL usage in Autokey code to avoid warnings about discarding const qualifiers with OpenSSL 3. <hart(a)ntp.org> * Display KoD refid as text in recently added message. <hart(a)ntp.org> * Avoid running checkHtmlFileDates script repeatedly when no html/*.html files have changed. <hart(a)ntp.org> * Abort configure if --enable-crypto-rand given & unavailable. <hart(a)ntp.= org> * Add configure --enable-verbose-ssl to trace SSL detection. <hart(a)ntp.or= g> * Add build test coverage for --disable-saveconfig to flock-build script. <hart(a)ntp.org> * Remove deprecated configure --with-arlib option. <hart(a)ntp.org> * Remove configure support for ISC UNIX ca. 1998. <hart(a)ntp.org> * Move NTP_OPENSSL and NTP_CRYPTO_RAND invocations from configure.ac files to NTP_LIBNTP. <hart(a)ntp.org> * Remove dead code: HAVE_U_INT32_ONLY_WITH_DNS. <hart(a)ntp.org> * Eliminate [v]snprintf redefinition warnings on macOS. <hart(a)ntp.org> * Fix clang 14 cast increases alignment warning on Linux. <hart(a)ntp.org> * Move ENABLE_CMAC to ntp_openssl.m4, reviving sntp/tests CMAC unit tests. <hart(a)ntp.org> * Use NTP_HARD_CPPFLAGS in libopts tearoff. <hart(a)ntp.org> * wire in --enable-build-framework-help Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org> --- config/rootfiles/common/ntp | 3 +-- lfs/ntp | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) 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(a)ipfire.org> = # +# Copyright (C) 2007-2024 IPFire Team <info(a)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 @@ =20 include Config =20 -VER =3D 4.2.8p17 +VER =3D 4.2.8p18 =20 THISAPP =3D ntp-$(VER) DL_FILE =3D $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D 5c0e90a234cdeab76e7443b42dfd5a0c3c78693a11bdb0fa21c8de= f91adbdf9b9871498df9d211509632812a9107501da3470104122e9621577541ffd6cd1ab6 +$(DL_FILE)_BLAKE2 =3D 9a7bb767d2d8ae3a7224542df7978f8289cbdf28488c5e4dce4c54= 9cdd1063259f69548898a352c0463ce83c4725bfd7c7dbf673ee3b74e490d7b1275760497c =20 install : $(TARGET) =20 --=20 2.45.2 --===============1250457793749323115==--