Commit Graph

120 Commits

Author SHA256 Message Date
Dominique Leuenberger
7363a8d551 Accepting request 1038940 from network:time
OBS-URL: https://build.opensuse.org/request/show/1038940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=38
2022-11-30 15:07:50 +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
Dominique Leuenberger
bbd58d28f0 Accepting request 1002167 from network:time
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1002167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=37
2022-09-09 16:22:51 +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
Dominique Leuenberger
6144c68e66 Accepting request 978662 from network:time
OBS-URL: https://build.opensuse.org/request/show/978662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=36
2022-05-24 18:30:49 +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
Dominique Leuenberger
b2f27e4b5f Accepting request 947490 from network:time
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/947490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=35
2022-01-21 00:25:24 +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
Dominique Leuenberger
27965485e4 Accepting request 942274 from network:time
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/942274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=34
2021-12-24 19:23:04 +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
Dominique Leuenberger
454c19f05e Accepting request 925526 from network:time
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/925526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=33
2021-10-19 21:03:29 +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
Dominique Leuenberger
ed15b00ee5 Accepting request 916851 from network:time
OBS-URL: https://build.opensuse.org/request/show/916851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=32
2021-09-08 19:36:16 +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
Dominique Leuenberger
e6fb7e85d3 Accepting request 903544 from network:time
- boo#1187906: Consolidate all references to the helper script.
- 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/request/show/903544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=31
2021-07-04 20:10:30 +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
Dominique Leuenberger
a61b700b83 Accepting request 899880 from network:time
OBS-URL: https://build.opensuse.org/request/show/899880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=30
2021-07-01 05:05:25 +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
Dominique Leuenberger
39c375a34c Accepting request 898039 from network:time
OBS-URL: https://build.opensuse.org/request/show/898039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=29
2021-06-09 19:55:01 +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
Dominique Leuenberger
f9879981c1 Accepting request 896714 from network:time
- 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).

- Enable syscallfilter unconditionally [boo#1181826].

- 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.

- Update to 4.0
  - Enhancements

OBS-URL: https://build.opensuse.org/request/show/896714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=28
2021-06-05 21:31:06 +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
Dominique Leuenberger
6ffd53ee89 Accepting request 844909 from network:time
OBS-URL: https://build.opensuse.org/request/show/844909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=27
2020-11-02 08:40:43 +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
Dominique Leuenberger
51b266ba37 Accepting request 834313 from network:time
- Adjust and rename the sysconfig file, so that it matches the
  expectations of chronyd.service (bsc#1173277).

- Update to 3.5.1:
  * Create new file when writing pidfile (CVE-2020-14367, bsc#1174911)

OBS-URL: https://build.opensuse.org/request/show/834313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=26
2020-10-08 11:10:22 +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
Dominique Leuenberger
d83f5e95a7 Accepting request 825252 from network:time
OBS-URL: https://build.opensuse.org/request/show/825252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=25
2020-08-12 08:56:05 +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
Dominique Leuenberger
d7b81898f0 Accepting request 811536 from network:time
- 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/request/show/811536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=24
2020-06-07 19:33:39 +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
Dominique Leuenberger
b3e398a77f Accepting request 799425 from network:time
OBS-URL: https://build.opensuse.org/request/show/799425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=23
2020-05-02 20:13:02 +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
Dominique Leuenberger
1a0485a01b Accepting request 774160 from network:time
OBS-URL: https://build.opensuse.org/request/show/774160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=22
2020-02-15 21:21:54 +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
2bd3254192 Accepting request 773674 from home:marxin:branches:network:time
Use service to get tarball.

OBS-URL: https://build.opensuse.org/request/show/773674
OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=78
2020-02-12 11:49:58 +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
Dominique Leuenberger
e054148cde Accepting request 745175 from network:time
OBS-URL: https://build.opensuse.org/request/show/745175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=21
2019-11-08 14:22:06 +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
Dominique Leuenberger
56e9d9f2d9 Accepting request 742009 from network:time
OBS-URL: https://build.opensuse.org/request/show/742009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=20
2019-10-25 16:40:44 +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