Commit Graph

81 Commits

Author SHA256 Message Date
Reinhard Max
22801e29c6 OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=152 2024-06-04 15:01:28 +00:00
Reinhard Max
8c6b8f7934 revert
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=129
2024-05-27 16:19:12 +00:00
Reinhard Max
07694b8c6c - Add 6cf9fe2f16fa49963e47e84f4a6dd9069735062e.patch to fix test
124-tai on some architectures (bsc#1225362).

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=126
2024-05-27 15:36:02 +00:00
Reinhard Max
7f75ffcaf0 - Update clknetsim to snapshot 0a11a35.
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=123
2024-05-27 14:31:56 +00:00
Martin Pluskal
3ffc03feff Accepting request 1150915 from home:dimstar:rpm4.20:c
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1150915
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=120
2024-02-26 10:40:10 +00:00
Reinhard Max
214ae581bd - Update to version 4.5:
* Add support for AES-GCM-SIV in GnuTLS
  * Add support for corrections from PTP transparent clocks
  * Add support for systemd socket activation
  * Fix presend in interleaved mode
  * Fix reloading of modified sources from sourcedir

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=119
2024-01-15 14:21:47 +00:00
Reinhard Max
c09acfbe82 Accepting request 1108478 from home:favogt:branches:network:time
This speeds up building everywhere and gets rid of the timeout on
slower architectures. Unfortunately those sometimes fail the 124-tai
test because the tolerances are too tight (0.001004s > 0.001000).
Something for upstream?

- Use make quickcheck instead of make check to avoid >1h build
  times and failures due to timeouts. This was the default before
  3.2 but it changed to make tests more reliable. Here a seed is
  already set to get deterministic execution.

OBS-URL: https://build.opensuse.org/request/show/1108478
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=117
2023-10-04 11:32:51 +00:00
Reinhard Max
60162d0481 - Update to 4.4:
* Add support for AES-GCM-SIV with Nettle >= 3.9 to shorten NTS
    cookies to avoid some length-specific blocking of NTP on
    Internet.
  * Add support for multiple refclocks using extpps option on one
    PHC.
  * Add maxpoll option to hwtimestamp directive to improve PHC
    tracking with low packet rates
  * Add hwtstimeout directive to configure timeout for late
    timestamps.
  * Handle late hardware transmit timestamps of NTP requests on
    all sockets.
  * Handle mismatched 32/64-bit time_t in SOCK refclock samples
  * Improve source replacement
  * Log important changes made by command requests (chronyc)
  * Refresh address of NTP sources periodically
  * Set DSCP for IPv6 packets
  * Shorten NTS-KE retry interval when network is down
  * Update seccomp filter for musl
  * Warn if loading keys from file with unexpected permissions
  * Warn if source selection fails or falseticker is detected
  * Add selectopts command to modify source-specific selection
    options.
  * Add timestamp sources to serverstats report and make its fields
    64-bit.
  * Add -e option to chronyc to indicate end of response
- Update clknetsim to snapshot ef2a7a9.

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=115
2023-08-09 18:34:39 +00:00
Reinhard Max
264fb68cff Accepting request 1038692 from home:cfconrad:branches:network:time
- Install chrony DHCP dispatcher script for Networkmanager
  * chrony.nm-dispatcher.dhcp.patch /var/run to /run

OBS-URL: https://build.opensuse.org/request/show/1038692
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=113
2022-11-29 16:58:45 +00:00
Reinhard Max
644bee6b71 - Update to 4.3:
* Add local option to refclock directive to stabilise system
    clock with more stable free-running clock (e.g. TCXO, OCXO).
  * Add maxdelayquant option to server/pool/peer directive to
    replace maxdelaydevratio filter with long-term quantile-based
    filtering.
  * Add selection option to log directive.
  * Allow external PPS in PHC refclock without configurable pin.
  * Don't accept first interleaved response to minimise error in
    delay.
  * Don't use arc4random on Linux to avoid server performance loss.
  * Improve filter option to better handle missing NTP samples.
  * Improve stability with hardware timestamping and PHC refclock.
  * Update seccomp filter
- Update clknetsim to snapshot f00531b.
- Use a more specific conditional for the /usr/etc stuff.

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=111
2022-09-01 15:47:14 +00:00
Reinhard Max
973a6028ca Accepting request 1000645 from home:schubi2
- Moved logrotate files from user specific directory /etc/logrotate.d
  to vendor specific directory /usr/etc/logrotate.d.

OBS-URL: https://build.opensuse.org/request/show/1000645
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=110
2022-09-01 12:16:41 +00:00
Reinhard Max
acb5dc1c55 Accepting request 978120 from home:schubi2
- Moved 20-chrony file from user specif directory
  /etc/NetworkManager/dispatcher.d to vendor specific directory 
  /usr/lib/NetworkManager/dispatcher.d. So, users changes can
  still be done in /etc and will not be overwritten by an update.

OBS-URL: https://build.opensuse.org/request/show/978120
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=108
2022-05-23 09:05:03 +00:00
Reinhard Max
50f0dbdedd - boo#1194206: Use /run instead of /var/run throughout.
- bsc#1194229: Fix pool package dependencies, so that SLE actually
  prefers chrony-pool-suse over chrony-pool-empty.

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=107
2022-01-12 17:27:13 +00:00
Reinhard Max
8d76d55b2f - Update to 4.2
* Add support for NTPv4 extension field improving synchronisation
    stability and resolution of root delay and dispersion
    (experimental)
  * Add support for NTP over PTP (experimental)
  * Add support for AES-CMAC and hash functions in GnuTLS
  * Improve server interleaved mode to be more reliable and support
    multiple clients behind NAT
  * Update seccomp filter
  * Fix RTC support with 64-bit time_t on 32-bit Linux
  * Fix seccomp filter to work correctly with bind*device directives
- Obsoleted patches:
  * chrony-refid-internal-md5.patch
  * harden_chrony-wait.service.patch
  * harden_chronyd.service.patch
- Update clknetsim to snapshot 470b5e9.

- Add chrony-htonl.patch to work around undocumented behaviour of
  htonl() in older glibc versions (SLE-12) on 64 bit big endian
  architectures (s390x).

- SLE bugs that have been fixed in openSUSE up to this point
  without explicit references: bsc#1183783, bsc#1184400,
  bsc#1171806, bsc#1161119, bsc#1159840.
- Obsoleted SLE patches:
  * chrony-fix-open.patch
  * chrony-gettimeofday.patch
  * chrony-ntp-era-split.patch
  * chrony-pidfile.patch
  * chrony-select-timeout.patch

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=106
2021-12-16 18:15:17 +00:00
Reinhard Max
902146d99c - boo#1190926: PrivateDevices is too strict, we might need to
access the rtc and ptp devices.
- Add back support to build chrony on SLE12.
- Drop dependency on asciidoctor. It is only needed for building
  the HTML documentation which we don't package anyway.

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=105
2021-10-08 16:29:48 +00:00
Reinhard Max
a94c383238 Accepting request 915264 from home:jsegitz:branches:systemdhardening:network:time
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/915264
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=104
2021-09-04 15:06:47 +00:00
Reinhard Max
f1e86c08f1 - bsc#1173760: MD5 is not available from mozilla-nss in FIPS mode,
but needed for calculating refids from IPv6 addresses as part of
  the NTP protocol (rfc5905). As this is a non-cryptographic use of
  MD5 we can use our own implementation without violating FIPS
  rules: chrony-refid-internal-md5.patch .

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=103
2021-07-01 14:37:51 +00:00
Reinhard Max
0e5e2f49b2 - boo#1187906: Consolidate all references to the helper script.
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=102
2021-07-01 13:21:41 +00:00
Martin Pluskal
8036ef535c Accepting request 899811 from home:gmbr3:Active
- Add now working CONFIG parameter to sysusers generator

OBS-URL: https://build.opensuse.org/request/show/899811
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=101
2021-06-14 07:05:09 +00:00
Reinhard Max
ac480f5e95 Accepting request 896868 from home:gmbr3:Active
- Change to using systemd-sysusers
- Remove otherproviders, not needed anymore

OBS-URL: https://build.opensuse.org/request/show/896868
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=99
2021-06-07 11:01:00 +00:00
Reinhard Max
cde7f90ece - Update to 4.1
* Add support for NTS servers specified by IP address (matching
    Subject Alternative Name in server certificate)
  * Add source-specific configuration of trusted certificates
  * Allow multiple files and directories with trusted certificates
  * Allow multiple pairs of server keys and certificates
  * Add copy option to server/pool directive
  * Increase PPS lock limit to 40% of pulse interval
  * Perform source selection immediately after loading dump files
  * Reload dump files for addresses negotiated by NTS-KE server
  * Update seccomp filter and add less restrictive level
  * Restart ongoing name resolution on online command
  * Fix dump files to not include uncorrected offset
  * Fix initstepslew to accept time from own NTP clients
  * Reset NTP address and port when no longer negotiated by NTS-KE
    server
- Update clknetsim to snapshot f89702d.
- Refresh chrony.keyring from
  https://chrony.tuxfamily.org/gpgkey-8F375C7E8D0EE125A3D3BD51537E2B76F7680DAC.asc
- Ensure the correct pool packages are installed for openSUSE
  and SLE (bsc#1180689).

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=97
2021-06-01 13:31:19 +00:00
Reinhard Max
72bacbacac - Enable syscallfilter unconditionally [boo#1181826].
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=96
2021-02-05 11:06:22 +00:00
Martin Pluskal
1a3bbf601a Accepting request 853546 from home:darix:playground
- drop buildrequires on NSS. We need gnutls for NTS anyway and we
  can do all the other required crypto via nettle+gnutls. no need
  for another crypto library.

OBS-URL: https://build.opensuse.org/request/show/853546
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=95
2020-12-07 11:45:06 +00:00
Reinhard Max
bf5e551c5d Accepting request 845302 from home:darix:playground
- Update to 4.0

OBS-URL: https://build.opensuse.org/request/show/845302
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=94
2020-11-02 10:16:11 +00:00
Martin Pluskal
47cdc20a05 Accepting request 844508 from home:kukuk:branches:network:time
- By default we don't write log files but log to journald, so
  only recommend logrotate.

OBS-URL: https://build.opensuse.org/request/show/844508
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=92
2020-10-29 16:39:05 +00:00
Reinhard Max
67288b2a86 - Adjust and rename the sysconfig file, so that it matches the
expectations of chronyd.service (bsc#1173277).
  * Create new file when writing pidfile (CVE-2020-14367, bsc#1174911)

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=90
2020-09-14 12:52:37 +00:00
Martin Pluskal
bba6f7b831 Accepting request 834167 from home:elimat:branches:network:time
- Update to 3.5.1:
  * Create new file when writing pidfile (CVE-2020-14367)

OBS-URL: https://build.opensuse.org/request/show/834167
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=89
2020-09-14 07:24:37 +00:00
Martin Pluskal
694ca9de6c Accepting request 824482 from home:gmbr3:libexecdir
- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075)

OBS-URL: https://build.opensuse.org/request/show/824482
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=87
2020-08-10 06:14:10 +00:00
Reinhard Max
606c5dd576 - Add chrony-pool-suse and chrony-pool-openSUSE subpackages that
preconfigure chrony to use NTP servers from the  respective
  pools for SUSE and openSUSE (bsc#1156884, SLE-11424).
- Add chrony-pool-empty to still allow installing chrony without
  preconfigured servers.
- Use iburst in the default pool statements to speed up initial
  synchronisation (bsc#1172113).

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=85
2020-06-04 15:25:07 +00:00
Martin Pluskal
99216d1f98 Accepting request 799317 from home:dimstar:Factory
- Use _systemdutildir instead of _libexecdir/systemd: systemd does
  not actually live below libexecdir.

OBS-URL: https://build.opensuse.org/request/show/799317
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=83
2020-05-01 08:38:23 +00:00
Martin Pluskal
fd8ad00186 Accepting request 774157 from home:marxin:branches:network:time
- Add chrony-test-update-processing-of-packet-log.patch in order
  to fix test-suite failure.

OBS-URL: https://build.opensuse.org/request/show/774157
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=81
2020-02-13 12:49:51 +00:00
Martin Pluskal
a9fcc1aa07 Accepting request 774130 from home:marxin:branches:network:time
- Backport chrony-test-fix-util-unit-test-for-NTP-era-split.patch.

OBS-URL: https://build.opensuse.org/request/show/774130
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=80
2020-02-13 10:00:16 +00:00
Martin Pluskal
965d6fca99 Accepting request 774112 from home:marxin:branches:network:time
- Backport test-fix-util-unit-test-for-NTP-era-split.patch.

OBS-URL: https://build.opensuse.org/request/show/774112
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=79
2020-02-13 09:38:25 +00:00
Martin Pluskal
c3aae44af0 Accepting request 773642 from home:marxin:branches:network:time
- Update clknetsim to version 79ffe44 (fixes boo#1162964).

OBS-URL: https://build.opensuse.org/request/show/773642
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=77
2020-02-12 10:03:46 +00:00
Martin Pluskal
efe9a8a5f6 Accepting request 743099 from home:adkorte
- Change to BuildRequires: rubygem(asciidoctor) and remove conditional
  (is available in SLE12-SP4 and SLE15* as well)
- Fix typo in %install

OBS-URL: https://build.opensuse.org/request/show/743099
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=75
2019-11-04 12:38:19 +00:00
Martin Pluskal
5562449e9f Accepting request 741936 from home:adkorte:branches:openSUSE:Factory
- Fix asciidoc in Tumbleweed
- Revert clknetsim to version 58c5e8b
- Fix incorrect download link for package signature

OBS-URL: https://build.opensuse.org/request/show/741936
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=73
2019-10-23 07:34:11 +00:00
Martin Pluskal
ecbff49e0a - Temporarily disable signature usage as its expired
- Update clknetsim to version ac3c832

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=72
2019-10-21 08:17:13 +00:00
Martin Pluskal
1a07c1babb Accepting request 741213 from home:lemmy04:branches:network:time
- fix chrony-service-helper.patch
- Update to 3.5:
  + Add support for more accurate reading of PHC on Linux 5.0
  + Add support for hardware timestamping on interfaces with read-only timestamping configuration
  + Add support for memory locking and real-time priority on FreeBSD, NetBSD, Solaris
  + Update seccomp filter to work on more architectures
  + Validate refclock driver options
  + Fix bindaddress directive on FreeBSD
  + Fix transposition of hardware RX timestamp on Linux 4.13 and later
  + Fix building on non-glibc systems

OBS-URL: https://build.opensuse.org/request/show/741213
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=71
2019-10-20 18:01:21 +00:00
Reinhard Max
5338b64bf8 - Fix location of helper script in chrony-dnssrv@.service
(bsc#1128846).

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=69
2019-03-21 13:37:00 +00:00
Reinhard Max
2bd0eb7e71 started after name resolution is up (bsc#1129914).
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=68
2019-03-20 15:14:01 +00:00
Reinhard Max
e1a383cdd4 - Fix ordering and dependencies of chronyd.service, so that it is
not being started before the network (bsc#1129730).
- Add chrony-service-ordering.patch

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=67
2019-03-19 15:55:11 +00:00
Martin Pluskal
d0dc0eea07 - Update testsuite to version 58c5e8b
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=65
2019-03-06 14:49:27 +00:00
Reinhard Max
ab0c0bf492 - Read runtime servers from /var/run/netconfig/chrony.servers to
fix bsc#1099272.
- Move chrony-helper to /usr/lib/chrony/helper, because there
  should be no executables in /usr/share.

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=62
2018-12-20 17:43:50 +00:00
Martin Pluskal
7da09593f3 - Make sure to generate correct sysconfig file (boo#1117147)
- Update clknetsim to revision 8b48422

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=61
2018-12-14 10:02:44 +00:00
Martin Pluskal
9391fe4476 - Remove discrepancies between spec file and chrony-tmpfiles (boo#1115529)
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=58
2018-11-22 09:39:42 +00:00
Ismail Dönmez
02eeb94e00 - Update the keyring and uncomment it in the spec file
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=56
2018-10-18 10:14:29 +00:00
Martin Pluskal
2546c1b260 - Comment out bad signature
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=54
2018-10-18 08:06:23 +00:00
Martin Pluskal
140ff4ce1a OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=53 2018-09-26 12:23:08 +00:00
Martin Pluskal
ea91575fb2 Accepting request 638376 from home:stroeder:branches:network:time
- Added %{_tmpfilesdir}/%{name}.conf
- Updated clknetsim
- Update to version 3.4

OBS-URL: https://build.opensuse.org/request/show/638376
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=52
2018-09-26 11:51:43 +00:00
Martin Pluskal
c022e41858 - Update clknetsim to revision 42b693b
* Drop not needed chrony-fix-open.patch
- Build tests with optflags as well
- Do not run tests on i586
- Enable signd

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=50
2018-08-03 09:17:49 +00:00