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
This commit is contained in:
Martin Pluskal 2018-09-26 11:51:43 +00:00 committed by Git OBS Bridge
parent c022e41858
commit ea91575fb2
10 changed files with 51 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d1fb2d5875032f2d5a86f3770374c87ee4c941916f64171e81f7684f2a73128
size 443571

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iEYEABECAAYFAlrEnuoACgkQX/BvKboeATuMFQCfdu4xtf+APWbPOs3xGi0hSiaH
okQAnA/in5HE5qsRQoZQ8yi4MhOX4++X
=OZtM
-----END PGP SIGNATURE-----

3
chrony-3.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af77e47c2610a7e55c8af5b89a8aeff52d9a867dd5983d848b52d374bc0e6b9f
size 453056

6
chrony-3.4.tar.gz.sig Normal file
View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iEYEABECAAYFAluiX4wACgkQX/BvKboeATukKwCgiOP+vit+FJmLF35yA1Fv+/ZG
2TIAnRKuUmsMZN7lz/95pl1ex+hWMPqd
=/3Fe
-----END PGP SIGNATURE-----

View File

@ -1,7 +1,7 @@
--- chrony-3.1/examples/chronyd.service 2017-01-31 05:22:11.000000000 -0500
+++ chrony-3.1/examples/chronyd.service 2017-01-31 12:00:01.000000000 -0500
--- chrony-3.4/examples/chronyd.service 2018-09-19 16:38:15.000000000 +0200
+++ chrony-3.4/examples/chronyd.service 2018-09-19 20:49:29.444128690 +0200
@@ -10,6 +10,7 @@
PIDFile=/var/run/chronyd.pid
PIDFile=/var/run/chrony/chronyd.pid
EnvironmentFile=-/etc/sysconfig/chronyd
ExecStart=/usr/sbin/chronyd $OPTIONS
+ExecStartPost=/usr/share/chrony-helper update-daemon

1
chrony-tmpfiles Normal file
View File

@ -0,0 +1 @@
d /run/chrony 0755 chrony chrony

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Wed Sep 19 18:21:19 UTC 2018 - Michael Ströder <michael@stroeder.com>
- Added %{_tmpfilesdir}/%{name}.conf
- Updated clknetsim
- Update to version 3.4
* Enhancements
+ Add filter option to server/pool/peer directive
+ Add minsamples and maxsamples options to hwtimestamp directive
+ Add support for faster frequency adjustments in Linux 4.19
+ Change default pidfile to /var/run/chrony/chronyd.pid to allow chronyd
without root privileges to remove it on exit
+ Disable sub-second polling intervals for distant NTP sources
+ Extend range of supported sub-second polling intervals
+ Get/set IPv4 destination/source address of NTP packets on FreeBSD
+ Make burst options and command useful with short polling intervals
+ Modify auto_offline option to activate when sending request failed
+ Respond from interface that received NTP request if possible
+ Add onoffline command to switch between online and offline state
according to current system network configuration
+ Improve example NetworkManager dispatcher script
* Bug fixes
+ Avoid waiting in Linux getrandom system call
+ Fix PPS support on FreeBSD and NetBSD
-------------------------------------------------------------------
Fri Aug 3 07:56:06 UTC 2018 - mpluskal@suse.com

View File

@ -12,18 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define vendorzone opensuse.
%global clknetsim_ver 42b693b
%global clknetsim_ver cdf5e85
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: chrony
Version: 3.3
Version: 3.4
Release: 0
Summary: System Clock Synchronization Client and Server
License: GPL-2.0-only
@ -39,6 +39,7 @@ Source7: https://download.tuxfamily.org/chrony/chrony-3.3-tar-gz-asc.txt#
Source8: chrony.keyring
# Simulator for test suite
Source10: https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/clknetsim-%{clknetsim_ver}.tar.gz
Source11: chrony-tmpfiles
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch0: chrony-config.patch
# Add NTP servers from DHCP when starting service
@ -155,6 +156,8 @@ install -Dpm 0644 %{SOURCE5} \
%{buildroot}%{_unitdir}/chrony-dnssrv@.service
install -Dpm 0644 %{SOURCE6} \
%{buildroot}%{_unitdir}/chrony-dnssrv@.timer
install -Dpm 0644 %{SOURCE11} \
%{buildroot}%{_tmpfilesdir}/%{name}.conf
install -d %{buildroot}%{sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcchronyd
@ -191,6 +194,7 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d "%{_localstatedir}/
%post
%fillup_only %{name}
%tmpfiles_create %{name}.conf
%service_add_post chronyd.service chrony-wait.service
%postun
@ -218,10 +222,12 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d "%{_localstatedir}/
%{_unitdir}/chrony*.service
%{_unitdir}/chrony*.timer
%{_sbindir}/rcchrony*
%{_tmpfilesdir}/%{name}.conf
%{_fillupdir}/sysconfig.chrony
%dir %attr(750,chrony,chrony) %{_localstatedir}/lib/chrony
%ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/drift
%ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/rtc
%dir %attr(750,chrony,chrony) %{_localstatedir}/log/chrony
%ghost %attr(0750, %{name}, %{name}) %{_rundir}/%{name}
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2cc12343114ebb9fc96e62404fac4be7fca5d5cb2a8bdc65fdc41948ea0ee449
size 41933

3
clknetsim-cdf5e85.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:780aff25c66537ee30e2b3c5a3fa10afeda5b8b55dc6c326bcd193e0a210bccc
size 42027