commit chrony for openSUSE:Factory

2020-11-02 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2020-11-02 09:40:43

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.3463 (New)


Package is "chrony"

Mon Nov  2 09:40:43 2020 rev:27 rq:844909 version:3.5.1

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2020-10-08 
13:11:28.447133861 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new.3463/chrony.changes  2020-11-02 
09:40:50.681635909 +0100
@@ -1,0 +2,6 @@
+Wed Oct 28 07:49:37 UTC 2020 - Thorsten Kukuk 
+
+- By default we don't write log files but log to journald, so
+  only recommend logrotate.
+
+---



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.WUxZ8x/_old  2020-11-02 09:40:51.781636964 +0100
+++ /var/tmp/diff_new_pack.WUxZ8x/_new  2020-11-02 09:40:51.785636968 +0100
@@ -63,7 +63,7 @@
 BuildRequires:  timezone
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  rubygem(asciidoctor)
-Requires:   logrotate
+Recommends: logrotate
 Requires(post): %fillup_prereq
 Requires(pre):  %{_sbindir}/groupadd
 Requires(pre):  %{_sbindir}/useradd






commit chrony for openSUSE:Factory

2020-10-08 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2020-10-08 13:10:22

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.4249 (New)


Package is "chrony"

Thu Oct  8 13:10:22 2020 rev:26 rq:834313 version:3.5.1

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2020-08-12 
10:56:09.536733250 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new.4249/chrony.changes  2020-10-08 
13:11:28.447133861 +0200
@@ -1,0 +2,12 @@
+Mon Sep 14 10:41:58 UTC 2020 - Reinhard Max 
+
+- Adjust and rename the sysconfig file, so that it matches the
+  expectations of chronyd.service (bsc#1173277).
+
+---
+Sun Sep 13 20:22:46 UTC 2020 - Matthias Eliasson 
+
+- Update to 3.5.1:
+  * Create new file when writing pidfile (CVE-2020-14367, bsc#1174911)
+
+---

Old:

  chrony-3.5.tar.gz
  chrony-3.5.tar.gz.sig
  chrony.sysconfig

New:

  chrony-3.5.1.tar.gz
  chrony-3.5.1.tar.gz.sig
  chronyd.sysconfig



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.rnubM3/_old  2020-10-08 13:11:29.795135081 +0200
+++ /var/tmp/diff_new_pack.rnubM3/_new  2020-10-08 13:11:29.795135081 +0200
@@ -23,14 +23,14 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:   chrony
-Version:3.5
+Version:3.5.1
 Release:0
 Summary:System Clock Synchronization Client and Server
 License:GPL-2.0-only
 Group:  Productivity/Networking/Other
 URL:https://chrony.tuxfamily.org/
 Source: https://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
-Source2:chrony.sysconfig
+Source2:chronyd.sysconfig
 Source3:chrony.dhclient
 Source4:chrony.helper
 Source5:chrony-dnssrv@.service
@@ -218,7 +218,7 @@
 %{buildroot}%{_systemdutildir}/ntp-units.d/50-chronyd.list
 
 install -Dpm 0644 %{SOURCE2} \
-  %{buildroot}%{_fillupdir}/sysconfig.chrony
+  %{buildroot}%{_fillupdir}/sysconfig.chronyd
 install -Dpm 755 %{SOURCE4} \
   %{buildroot}%{_libexecdir}/%name/helper
 
@@ -277,7 +277,7 @@
 %{_unitdir}/chrony*.timer
 %{_sbindir}/rcchrony*
 %{_tmpfilesdir}/%{name}.conf
-%{_fillupdir}/sysconfig.chrony
+%{_fillupdir}/sysconfig.chronyd
 %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

++ chrony-3.5.tar.gz -> chrony-3.5.1.tar.gz ++
 1840 lines of diff (skipped)


++ chronyd.sysconfig ++
## Path:Network/Chrony
## Description: Chrony time synchronization settings
## Type:string
## Default: ""
## ServiceRestart: chronyd
#
# Command line options for chronyd
#
OPTIONS=""



commit chrony for openSUSE:Factory

2020-08-12 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2020-08-12 10:56:05

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.3399 (New)


Package is "chrony"

Wed Aug 12 10:56:05 2020 rev:25 rq:825252 version:3.5

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2020-06-07 
21:33:43.436576258 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new.3399/chrony.changes  2020-08-12 
10:56:09.536733250 +0200
@@ -1,0 +2,5 @@
+Sun Aug  2 21:27:45 UTC 2020 - Callum Farmer 
+
+- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075)
+
+---



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.qKk80S/_old  2020-08-12 10:56:10.584733772 +0200
+++ /var/tmp/diff_new_pack.qKk80S/_new  2020-08-12 10:56:10.584733772 +0200
@@ -143,6 +143,7 @@
 %prep
 %setup -q -a 10
 %patch0 -p1
+sed -e 's-@LIBEXECDIR@-%{_libexecdir}-g' -i %{PATCH1}
 %patch1 -p1
 %patch2 -p1
 %patch3
@@ -200,6 +201,7 @@
   %{buildroot}%{_unitdir}/chronyd.service
 install -Dpm 0644 examples/chrony-wait.service \
   %{buildroot}%{_unitdir}/chrony-wait.service
+sed -e 's-@LIBEXECDIR@-%{_libexecdir}-g' -i %{SOURCE5}
 install -Dpm 0644 %{SOURCE5} \
   %{buildroot}%{_unitdir}/chrony-dnssrv@.service
 install -Dpm 0644 %{SOURCE6} \


++ chrony-dnssrv@.service ++
--- /var/tmp/diff_new_pack.qKk80S/_old  2020-08-12 10:56:10.632733796 +0200
+++ /var/tmp/diff_new_pack.qKk80S/_new  2020-08-12 10:56:10.636733798 +0200
@@ -5,4 +5,4 @@
 
 [Service]
 Type=oneshot
-ExecStart=/usr/lib/chrony/helper update-dnssrv-servers %I
+ExecStart=@LIBEXECDIR@/chrony/helper update-dnssrv-servers %I

++ chrony-service-helper.patch ++
--- /var/tmp/diff_new_pack.qKk80S/_old  2020-08-12 10:56:10.660733810 +0200
+++ /var/tmp/diff_new_pack.qKk80S/_new  2020-08-12 10:56:10.660733810 +0200
@@ -5,7 +5,7 @@
  PIDFile=/run/chrony/chronyd.pid
  EnvironmentFile=-/etc/sysconfig/chronyd
  ExecStart=/usr/sbin/chronyd $OPTIONS
-+ExecStartPost=/usr/lib/chrony/helper update-daemon
++ExecStartPost=@LIBEXECDIR@/chrony/helper update-daemon
  PrivateTmp=yes
  ProtectHome=yes
  ProtectSystem=full





commit chrony for openSUSE:Factory

2020-06-07 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2020-06-07 21:33:39

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.3606 (New)


Package is "chrony"

Sun Jun  7 21:33:39 2020 rev:24 rq:811536 version:3.5

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2020-05-02 
22:13:07.756007104 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new.3606/chrony.changes  2020-06-07 
21:33:43.436576258 +0200
@@ -1,0 +2,11 @@
+Thu Jun  4 15:23:17 UTC 2020 - Reinhard Max 
+
+- 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).
+
+---

New:

  pool.conf.opensuse
  pool.conf.suse



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.7kQwCK/_old  2020-06-07 21:33:44.748580417 +0200
+++ /var/tmp/diff_new_pack.7kQwCK/_new  2020-06-07 21:33:44.752580430 +0200
@@ -16,7 +16,6 @@
 #
 
 
-%define vendorzone opensuse.
 %define _systemdutildir %(pkg-config --variable systemdutildir systemd)
 %global clknetsim_ver 79ffe44
 #Compat macro for new _fillupdir macro introduced in Nov 2017
@@ -41,6 +40,8 @@
 # Simulator for test suite
 Source10:   
https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/clknetsim-%{clknetsim_ver}.tar.gz
 Source11:   chrony-tmpfiles
+Source12:   pool.conf.suse
+Source13:   pool.conf.opensuse
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch0: chrony-config.patch
 # Add NTP servers from DHCP when starting service
@@ -66,6 +67,8 @@
 Requires(post): %fillup_prereq
 Requires(pre):  %{_sbindir}/groupadd
 Requires(pre):  %{_sbindir}/useradd
+Requires:   %name-pool
+Recommends: %name-pool-nonempty
 Provides:   ntp-daemon
 %ifarch s390 s390x ppc64le
 BuildRequires:  libseccomp-devel >= 2.2.0
@@ -95,6 +98,48 @@
 running on the same computer as the chronyd instance it is controlling
 or a different computer.
 
+%package pool-suse
+Summary:Chrony preconfiguration for SUSE
+Group:  Productivity/Networking/Other
+Provides:   %name-pool = %version
+Provides:   %name-pool-nonempty
+Conflicts:  otherproviders(%name-pool)
+Requires:   %name = %version
+BuildArch:  noarch
+RemovePathPostfixes: .suse
+
+%description pool-suse
+This package configures chrony to use the SUSE NTP server pool by
+default.
+
+%package pool-openSUSE
+Summary:Chrony preconfiguration for openSUSE
+Group:  Productivity/Networking/Other
+Provides:   %name-pool = %version
+Provides:   %name-pool-nonempty
+Conflicts:  otherproviders(%name-pool)
+Requires:   %name = %version
+BuildArch:  noarch
+RemovePathPostfixes: .opensuse
+
+%description pool-openSUSE
+This package configures chrony to use the openSUSE NTP server pool by
+default.
+
+%package pool-empty
+Summary:Empty pool preconfiguration for chrony
+Group:  Productivity/Networking/Other
+Provides:   %name-pool = %version
+Conflicts:  otherproviders(%name-pool)
+Requires:   %name = %version
+BuildArch:  noarch
+RemovePathPostfixes: .empty
+
+%description pool-empty
+This package provides an empty /etc/chrony.d/pool.conf file for
+situations when having servers preconfigured in chrony is undesirable,
+e.g. because the servers will be set via DHCP.
+
 %prep
 %setup -q -a 10
 %patch0 -p1
@@ -104,16 +149,11 @@
 %patch4 -p1
 %patch5 -p1
 
-# If this is an openSUSE build, use our vendor zone
-# (2.*pool.ntp.org names include IPv6 addresses). If not
-# an openSUSE build, comment out the pool statement
-%if 0%{?is_opensuse}
-sed -e 's|^\(pool \)\(pool.ntp.org\)|\12.%{vendorzone}\2|' \
-< examples/chrony.conf.example2 > chrony.conf
-%else
+# Remove pool statements from the default /etc/chrony.conf. They will
+# be provided by branding packages in /etc/chrony.d/pool.conf .
+
 sed -e 's|^\pool|! pool|' \
 < examples/chrony.conf.example2 > chrony.conf
-%endif
 
 cat << EOF >> chrony.conf
 
@@ -183,6 +223,10 @@
 install -d %{buildroot}%{_localstatedir}/log/chrony
 touch %{buildroot}%{_localstatedir}/lib/chrony/{drift,rtc}
 
+# Install the NTP pool files
+install -Dpm 644 %{SOURCE12} %{SOURCE13} %{buildroot}/etc/chrony.d
+touch %{buildroot}/etc/chrony.d/pool.conf.empty
+
 %ifnarch %ix86
 %check
 # Set random seed to get deterministic results
@@ -23

commit chrony for openSUSE:Factory

2020-05-02 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2020-05-02 22:13:02

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.2738 (New)


Package is "chrony"

Sat May  2 22:13:02 2020 rev:23 rq:799425 version:3.5

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2020-02-15 
22:21:56.459196853 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new.2738/chrony.changes  2020-05-02 
22:13:07.756007104 +0200
@@ -1,0 +2,6 @@
+Thu Apr 30 16:03:16 UTC 2020 - Dominique Leuenberger 
+
+- Use _systemdutildir instead of _libexecdir/systemd: systemd does
+  not actually live below libexecdir.
+
+---



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.7GqqZE/_old  2020-05-02 22:13:08.852009400 +0200
+++ /var/tmp/diff_new_pack.7GqqZE/_new  2020-05-02 22:13:08.856009408 +0200
@@ -17,6 +17,7 @@
 
 
 %define vendorzone opensuse.
+%define _systemdutildir %(pkg-config --variable systemdutildir systemd)
 %global clknetsim_ver 79ffe44
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
@@ -170,9 +171,9 @@
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcchronyd
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcchrony-wait
 
-install -d %{buildroot}%{_libexecdir}/systemd/ntp-units.d
+install -d %{buildroot}%{_systemdutildir}/ntp-units.d
 echo 'chronyd.service' > \
-%{buildroot}%{_libexecdir}/systemd/ntp-units.d/50-chronyd.list
+%{buildroot}%{_systemdutildir}/ntp-units.d/50-chronyd.list
 
 install -Dpm 0644 %{SOURCE2} \
   %{buildroot}%{_fillupdir}/sysconfig.chrony
@@ -225,7 +226,7 @@
 %{_mandir}/man1/chronyc.1%{?ext_man}
 %{_mandir}/man5/chrony.conf.5%{?ext_man}
 %{_mandir}/man8/chronyd.8%{?ext_man}
-%{_libexecdir}/systemd/ntp-units.d/*.list
+%{_systemdutildir}/ntp-units.d/*.list
 %{_unitdir}/chrony*.service
 %{_unitdir}/chrony*.timer
 %{_sbindir}/rcchrony*






commit chrony for openSUSE:Factory

2020-02-15 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2020-02-15 22:21:54

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.26092 (New)


Package is "chrony"

Sat Feb 15 22:21:54 2020 rev:22 rq:774160 version:3.5

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2019-11-08 
15:22:06.470765136 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new.26092/chrony.changes 2020-02-15 
22:21:56.459196853 +0100
@@ -1,0 +2,12 @@
+Thu Feb 13 12:45:44 UTC 2020 - Martin Liška 
+
+- Add chrony-test-update-processing-of-packet-log.patch in order
+  to fix test-suite failure.
+
+---
+Wed Feb 12 09:24:24 UTC 2020 - Martin Liška 
+
+- Update clknetsim to version 79ffe44 (fixes boo#1162964).
+- Backport chrony-test-fix-util-unit-test-for-NTP-era-split.patch.
+
+---

Old:

  clknetsim-58c5e8b.tar.gz

New:

  chrony-test-fix-util-unit-test-for-NTP-era-split.patch
  chrony-test-update-processing-of-packet-log.patch
  clknetsim-79ffe44.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.hEGU6o/_old  2020-02-15 22:21:57.779197567 +0100
+++ /var/tmp/diff_new_pack.hEGU6o/_new  2020-02-15 22:21:57.783197569 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package chrony
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 %define vendorzone opensuse.
-%global clknetsim_ver 58c5e8b
+%global clknetsim_ver 79ffe44
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
@@ -46,6 +46,8 @@
 Patch1: chrony-service-helper.patch
 Patch2: chrony-logrotate.patch
 Patch3: chrony-service-ordering.patch
+Patch4: chrony-test-fix-util-unit-test-for-NTP-era-split.patch
+Patch5: chrony-test-update-processing-of-packet-log.patch
 BuildRequires:  NetworkManager-devel
 BuildRequires:  bison
 BuildRequires:  gcc-c++
@@ -98,6 +100,8 @@
 %patch1 -p1
 %patch2 -p1
 %patch3
+%patch4 -p1
+%patch5 -p1
 
 # If this is an openSUSE build, use our vendor zone
 # (2.*pool.ntp.org names include IPv6 addresses). If not


++ chrony-test-fix-util-unit-test-for-NTP-era-split.patch ++
>From 2d9eb5b6fa5225a7300c8eed95712969249900fb Mon Sep 17 00:00:00 2001
From: Miroslav Lichvar 
Date: Fri, 3 Jan 2020 11:25:55 +0100
Subject: [PATCH] test: fix util unit test for NTP era split

The current default NTP era split passed the Unix epoch (~50 years ago),
which means the epoch converted to an NTP timestamp and back ends up in
the next NTP era (year 2106).

Fix the test to take into account the era split.
---
 test/unit/util.c | 8 
 1 file changed, 8 insertions(+)

diff --git a/test/unit/util.c b/test/unit/util.c
index f4d9f33..af9e90c 100644
--- a/test/unit/util.c
+++ b/test/unit/util.c
@@ -100,11 +100,19 @@ void test_unit(void) {
   ntp_ts.hi = htonl(JAN_1970);
   ntp_ts.lo = 0x;
   UTI_Ntp64ToTimespec(&ntp_ts, &ts);
+#if defined(HAVE_LONG_TIME_T) && NTP_ERA_SPLIT > 0
+  TEST_CHECK(ts.tv_sec == 0x1LL * (1 + (NTP_ERA_SPLIT - 1) / 
0x1LL));
+#else
   TEST_CHECK(ts.tv_sec == 0);
+#endif
   TEST_CHECK(ts.tv_nsec == 9);
 
   UTI_AddDoubleToTimespec(&ts, 1e-9, &ts);
+#if defined(HAVE_LONG_TIME_T) && NTP_ERA_SPLIT > 0
+  TEST_CHECK(ts.tv_sec == 1 + 0x1LL * (1 + (NTP_ERA_SPLIT - 1) / 
0x1LL));
+#else
   TEST_CHECK(ts.tv_sec == 1);
+#endif
   TEST_CHECK(ts.tv_nsec == 0);
 
   ntp_fuzz.hi = 0;
-- 
2.25.0

++ chrony-test-update-processing-of-packet-log.patch ++
>From 62d6aed6a64b887c9e3b7f03d9e0db1deaa2696a Mon Sep 17 00:00:00 2001
From: Miroslav Lichvar 
Date: Tue, 18 Jun 2019 15:41:50 +0200
Subject: [PATCH] test: update processing of packet log

Two new fields have been added to the packet log, which broke some
of the simulation tests.
---
 test/simulation/test.common | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/simulation/test.common b/test/simulation/test.common
index 951a794..8ed6ad9 100644
--- a/test/simulation/test.common
+++ b/test/simulation/test.common
@@ -391,9 +391,9 @@ check_packet_port() {
for i in $(seq 1 $(get_chronyd_nodes)); do
test_message 3 0 "node $i:"
 
-   grep -E -q "$port   [0-9]+\$" tmp/log.packets && \
+   grep -E -q "^([0-9e.+-]+){5}$port   " 
tmp/

commit chrony for openSUSE:Factory

2019-11-08 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2019-11-08 15:22:06

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.2990 (New)


Package is "chrony"

Fri Nov  8 15:22:06 2019 rev:21 rq:745175 version:3.5

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2019-10-25 
18:40:46.263819906 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new.2990/chrony.changes  2019-11-08 
15:22:06.470765136 +0100
@@ -1,0 +2,7 @@
+Sat Oct 26 10:39:29 UTC 2019 - Arjen de Korte 
+
+- Change to BuildRequires: rubygem(asciidoctor) and remove conditional
+  (is available in SLE12-SP4 and SLE15* as well)
+- Fix typo in %install
+
+---



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.flhxAs/_old  2019-11-08 15:22:07.238765948 +0100
+++ /var/tmp/diff_new_pack.flhxAs/_new  2019-11-08 15:22:07.242765952 +0100
@@ -58,18 +58,12 @@
 # removed if the call to make check is ever deleted.
 BuildRequires:  timezone
 BuildRequires:  pkgconfig(systemd)
+BuildRequires:  rubygem(asciidoctor)
 Requires:   logrotate
 Requires(post): %fillup_prereq
 Requires(pre):  %{_sbindir}/groupadd
 Requires(pre):  %{_sbindir}/useradd
 Provides:   ntp-daemon
-# asciidoctor to create html docs, only available on Leap 15.0 ++
-%if 0%{?suse_version} == 1500 && 0%{?is_opensuse} && !0%{?is_backports}
-BuildRequires:  ruby2.5-rubygem-asciidoctor
-%endif
-%if %{?suse_version} >= 1550
-BuildRequires:  ruby2.6-rubygem-asciidoctor
-%endif
 %ifarch s390 s390x ppc64le
 BuildRequires:  libseccomp-devel >= 2.2.0
 %else
@@ -168,7 +162,7 @@
 install -Dpm 0644 %{SOURCE11} \
   %{buildroot}%{_tmpfilesdir}/%{name}.conf
 
-install -d %{buildroot}%{sbindir}
+install -d %{buildroot}%{_sbindir}
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcchronyd
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcchrony-wait
 






commit chrony for openSUSE:Factory

2019-10-25 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2019-10-25 18:40:44

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.2990 (New)


Package is "chrony"

Fri Oct 25 18:40:44 2019 rev:20 rq:742009 version:3.5

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2019-03-22 
14:55:45.290011378 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new.2990/chrony.changes  2019-10-25 
18:40:46.263819906 +0200
@@ -1,0 +2,35 @@
+Tue Oct 22 21:18:58 UTC 2019 - Arjen de Korte 
+
+- Fix asciidoc in Tumbleweed
+- Revert clknetsim to version 58c5e8b
+
+---
+Tue Oct 22 15:25:18 UTC 2019 - Arjen de Korte 
+
+- Fix incorrect download link for package signature
+
+---
+Mon Oct 21 07:57:44 UTC 2019 - Martin Pluskal 
+
+- Temporarily disable signature usage as its expired
+- Update clknetsim to version ac3c832
+
+---
+Sat Oct 19 08:27:17 UTC 2019 - Mathias Homann 
+
+- fix chrony-service-helper.patch
+
+---
+Sat Oct 19 07:22:58 UTC 2019 - Mathias Homann 
+
+- 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
+
+---

Old:

  chrony-3.4.tar.gz
  chrony-3.4.tar.gz.sig

New:

  chrony-3.5.tar.gz
  chrony-3.5.tar.gz.sig



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.UMo1Vx/_old  2019-10-25 18:40:47.379820966 +0200
+++ /var/tmp/diff_new_pack.UMo1Vx/_new  2019-10-25 18:40:47.395820982 +0200
@@ -23,7 +23,7 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:   chrony
-Version:3.4
+Version:3.5
 Release:0
 Summary:System Clock Synchronization Client and Server
 License:GPL-2.0-only
@@ -35,7 +35,7 @@
 Source4:chrony.helper
 Source5:chrony-dnssrv@.service
 Source6:chrony-dnssrv@.timer
-Source7:
https://download.tuxfamily.org/chrony/chrony-3.4-tar-gz-asc.txt#/chrony-%{version}.tar.gz.sig
+Source7:
https://download.tuxfamily.org/chrony/chrony-%{version}-tar-gz-asc.txt#/chrony-%{version}.tar.gz.sig
 Source8:chrony.keyring
 # Simulator for test suite
 Source10:   
https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/clknetsim-%{clknetsim_ver}.tar.gz
@@ -63,6 +63,13 @@
 Requires(pre):  %{_sbindir}/groupadd
 Requires(pre):  %{_sbindir}/useradd
 Provides:   ntp-daemon
+# asciidoctor to create html docs, only available on Leap 15.0 ++
+%if 0%{?suse_version} == 1500 && 0%{?is_opensuse} && !0%{?is_backports}
+BuildRequires:  ruby2.5-rubygem-asciidoctor
+%endif
+%if %{?suse_version} >= 1550
+BuildRequires:  ruby2.6-rubygem-asciidoctor
+%endif
 %ifarch s390 s390x ppc64le
 BuildRequires:  libseccomp-devel >= 2.2.0
 %else

++ chrony-3.4.tar.gz -> chrony-3.5.tar.gz ++
 2767 lines of diff (skipped)

++ chrony-service-helper.patch ++
--- /var/tmp/diff_new_pack.UMo1Vx/_old  2019-10-25 18:40:47.731821301 +0200
+++ /var/tmp/diff_new_pack.UMo1Vx/_new  2019-10-25 18:40:47.731821301 +0200
@@ -1,10 +1,12 @@
 chrony-3.4/examples/chronyd.service2018-09-19 16:38:15.0 
+0200
-+++ chrony-3.4/examples/chronyd.service2018-09-19 20:49:29.444128690 
+0200
+diff -burNE chrony-3.5_orig/examples/chronyd.service 
chrony-3.5/examples/chronyd.service
+--- chrony-3.5_orig/examples/chronyd.service   2019-10-19 10:20:18.421076350 
+0200
 chrony-3.5/examples/chronyd.service2019-10-19 10:23:20.521233091 
+0200
 @@ -10,6 +10,7 @@
- PIDFile=/var/run/chrony/chronyd.pid
+ PIDFile=/run/chrony/chronyd.pid
  EnvironmentFile=-/etc/sysconfig/chronyd
  ExecStart=/usr/sbin/chronyd $OPTIONS
 +ExecStartPost=/usr/lib/chrony/helper update-daemon
  PrivateTmp=yes
  ProtectHome=yes
  ProtectSystem=full
+





commit chrony for openSUSE:Factory

2019-03-22 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2019-03-22 14:55:39

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.25356 (New)


Package is "chrony"

Fri Mar 22 14:55:39 2019 rev:19 rq:687330 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2019-03-13 
09:06:57.503437964 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new.25356/chrony.changes 2019-03-22 
14:55:45.290011378 +0100
@@ -1,0 +2,9 @@
+Thu Mar 21 13:35:20 UTC 2019 - Reinhard Max 
+
+- Fix ordering and dependencies of chronyd.service, so that it is
+  started after name resolution is up (bsc#1129914).
+- Add chrony-service-ordering.patch
+- Fix location of helper script in chrony-dnssrv@.service
+  (bsc#1128846).
+
+---

New:

  chrony-service-ordering.patch



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.a7MVG2/_old  2019-03-22 14:55:47.634010002 +0100
+++ /var/tmp/diff_new_pack.a7MVG2/_new  2019-03-22 14:55:47.678009976 +0100
@@ -45,6 +45,7 @@
 # Add NTP servers from DHCP when starting service
 Patch1: chrony-service-helper.patch
 Patch2: chrony-logrotate.patch
+Patch3: chrony-service-ordering.patch
 BuildRequires:  NetworkManager-devel
 BuildRequires:  bison
 BuildRequires:  gcc-c++
@@ -95,6 +96,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3
 
 # If this is an openSUSE build, use our vendor zone
 # (2.*pool.ntp.org names include IPv6 addresses). If not


++ chrony-dnssrv@.service ++
--- /var/tmp/diff_new_pack.a7MVG2/_old  2019-03-22 14:55:48.258009636 +0100
+++ /var/tmp/diff_new_pack.a7MVG2/_new  2019-03-22 14:55:48.274009627 +0100
@@ -5,4 +5,4 @@
 
 [Service]
 Type=oneshot
-ExecStart=/usr/share/chrony-helper update-dnssrv-servers %I
+ExecStart=/usr/lib/chrony/helper update-dnssrv-servers %I

++ chrony-service-ordering.patch ++
--- examples/chronyd.service.orig
+++ examples/chronyd.service
@@ -1,7 +1,11 @@
 [Unit]
 Description=NTP client/server
 Documentation=man:chronyd(8) man:chrony.conf(5)
-After=ntpdate.service sntp.service ntpd.service
+After=nss-lookup.target
+Wants=network.target
+After=network.target
+Wants=time-sync.target
+Before=time-sync.target
 Conflicts=ntpd.service systemd-timesyncd.service
 ConditionCapability=CAP_SYS_TIME
 




commit chrony for openSUSE:Factory

2019-03-13 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2019-03-13 09:06:56

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.28833 (New)


Package is "chrony"

Wed Mar 13 09:06:56 2019 rev:18 rq:682198 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2018-12-27 
00:25:48.403838980 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new.28833/chrony.changes 2019-03-13 
09:06:57.503437964 +0100
@@ -1,0 +2,5 @@
+Wed Mar  6 13:40:04 UTC 2019 - Martin Pluskal 
+
+- Update testsuite to version 58c5e8b
+
+---

Old:

  clknetsim-8b48422.tar.gz

New:

  clknetsim-58c5e8b.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.bdzwsC/_old  2019-03-13 09:06:58.167437897 +0100
+++ /var/tmp/diff_new_pack.bdzwsC/_new  2019-03-13 09:06:58.167437897 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package chrony
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 %define vendorzone opensuse.
-%global clknetsim_ver 8b48422
+%global clknetsim_ver 58c5e8b
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates



++ clknetsim-8b48422.tar.gz -> clknetsim-58c5e8b.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/clknetsim-8b484227848a0b9a71caecbf3e19166f1ee9b0a6/client.c 
new/clknetsim-58c5e8bd6d041ff30e9c7dbe45162a73e99f3d24/client.c
--- old/clknetsim-8b484227848a0b9a71caecbf3e19166f1ee9b0a6/client.c 
2018-09-26 17:01:57.0 +0200
+++ new/clknetsim-58c5e8bd6d041ff30e9c7dbe45162a73e99f3d24/client.c 
2019-01-28 10:35:17.0 +0100
@@ -1550,7 +1550,7 @@
} else
make_request(REQ_RECV, NULL, 0, &rep, sizeof (rep));
 
-   if (rep.len == 0) {
+   if (rep.len == 0 && rep.from == -1) {
errno = EWOULDBLOCK;
return -1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/clknetsim-8b484227848a0b9a71caecbf3e19166f1ee9b0a6/client_fuzz.c 
new/clknetsim-58c5e8bd6d041ff30e9c7dbe45162a73e99f3d24/client_fuzz.c
--- old/clknetsim-8b484227848a0b9a71caecbf3e19166f1ee9b0a6/client_fuzz.c
2018-09-26 17:01:57.0 +0200
+++ new/clknetsim-58c5e8bd6d041ff30e9c7dbe45162a73e99f3d24/client_fuzz.c
2019-01-28 10:35:17.0 +0100
@@ -29,8 +29,14 @@
FUZZ_MODE_NONE = 4,
 };
 
+#define FUZZ_FLAG_TIMEOUT 1024
+
+#define MAX_FUZZ_PORTS 16
+
 static int fuzz_mode;
-static int fuzz_port;
+static int fuzz_ports[MAX_FUZZ_PORTS];
+static int fuzz_port_index, fuzz_ports_n;
+static int fuzz_timeout;
 static double fuzz_start;
 
 static int fuzz_init(void) {
@@ -42,6 +48,11 @@
 
fuzz_mode = atoi(env);
 
+   if (fuzz_mode & FUZZ_FLAG_TIMEOUT) {
+   fuzz_timeout = 1;
+   fuzz_mode &= ~FUZZ_FLAG_TIMEOUT;
+   }
+
if (fuzz_mode == FUZZ_MODE_DISABLED)
return 0;
 
@@ -51,12 +62,21 @@
}
 
env = getenv("CLKNETSIM_FUZZ_PORT");
-   if (!env) {
-   fprintf(stderr, "clknetsim: CLKNETSIM_FUZZ_PORT variable not 
set.\n");
-   exit(1);
+
+   for (fuzz_ports_n = 0; env && fuzz_ports_n < MAX_FUZZ_PORTS; 
fuzz_ports_n++) {
+   fuzz_ports[fuzz_ports_n] = atoi(env);
+   if (!fuzz_ports[fuzz_ports_n])
+   break;
+   env = strchr(env, ',');
+   if (env)
+   env++;
}
 
-   fuzz_port = atoi(env);
+   if (!fuzz_ports_n) {
+   fprintf(stderr, "clknetsim: CLKNETSIM_FUZZ_PORT variable not 
set or invalid.\n");
+   exit(1);
+   }
+   fuzz_port_index = 0;
 
env = getenv("CLKNETSIM_FUZZ_START");
fuzz_start = env ? atof(env) : 0.1;
@@ -64,7 +84,24 @@
return 1;
 }
 
-static int fuzz_read_packet(char *data, int maxlen) {
+static int fuzz_is_fuzz_port(int port) {
+   int i;
+
+   for (i = 0; i < fuzz_ports_n; i++)
+   if (fuzz_ports[i] == port)
+   return 1;
+   return 0;
+}
+
+static int fuzz_get_fuzz_port(void) {
+   return fuzz_ports[fuzz_port_index];
+}
+
+static void fuzz_switch_fuzz_port(void) {
+   fuzz_port_index = (fuzz_port_index + 1) % fuzz_ports_n;
+}
+
+static int fuz

commit chrony for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2018-12-27 00:25:18

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.28833 (New)


Package is "chrony"

Thu Dec 27 00:25:18 2018 rev:17 rq:660562 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2018-12-10 
12:27:46.202561045 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new.28833/chrony.changes 2018-12-27 
00:25:48.403838980 +0100
@@ -1,0 +2,14 @@
+Thu Dec 20 16:48:14 UTC 2018 - Reinhard Max 
+
+- 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.
+
+---
+Fri Dec 14 08:05:35 UTC 2018 - Martin Pluskal 
+
+- Make sure to generate correct sysconfig file (boo#1117147)
+- Update clknetsim to revision 8b48422
+
+---

Old:

  clknetsim-cdf5e85.tar.gz

New:

  clknetsim-8b48422.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.RORF25/_old  2018-12-27 00:25:49.047838454 +0100
+++ /var/tmp/diff_new_pack.RORF25/_new  2018-12-27 00:25:49.047838454 +0100
@@ -17,7 +17,7 @@
 
 
 %define vendorzone opensuse.
-%global clknetsim_ver cdf5e85
+%global clknetsim_ver 8b48422
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
@@ -170,7 +170,7 @@
 install -Dpm 0644 %{SOURCE2} \
   %{buildroot}%{_fillupdir}/sysconfig.chrony
 install -Dpm 755 %{SOURCE4} \
-  %{buildroot}%{_datadir}/chrony-helper
+  %{buildroot}%{_libexecdir}/%name/helper
 
 install -d %{buildroot}%{_localstatedir}/log/chrony
 touch %{buildroot}%{_localstatedir}/lib/chrony/{drift,rtc}
@@ -193,7 +193,7 @@
 %service_del_preun chronyd.service chrony-wait.service
 
 %post
-%fillup_only %{name}
+%fillup_only -n chronyd
 %tmpfiles_create %{name}.conf
 %service_add_post chronyd.service chrony-wait.service
 
@@ -214,7 +214,7 @@
 %{_sysconfdir}/dhcp/dhclient.d/chrony.sh
 %{_bindir}/chronyc
 %{_sbindir}/chronyd
-%{_datadir}/chrony-helper
+%{_libexecdir}/%name
 %{_mandir}/man1/chronyc.1%{?ext_man}
 %{_mandir}/man5/chrony.conf.5%{?ext_man}
 %{_mandir}/man8/chronyd.8%{?ext_man}


++ chrony-service-helper.patch ++
--- /var/tmp/diff_new_pack.RORF25/_old  2018-12-27 00:25:49.111838402 +0100
+++ /var/tmp/diff_new_pack.RORF25/_new  2018-12-27 00:25:49.111838402 +0100
@@ -4,7 +4,7 @@
  PIDFile=/var/run/chrony/chronyd.pid
  EnvironmentFile=-/etc/sysconfig/chronyd
  ExecStart=/usr/sbin/chronyd $OPTIONS
-+ExecStartPost=/usr/share/chrony-helper update-daemon
++ExecStartPost=/usr/lib/chrony/helper update-daemon
  PrivateTmp=yes
  ProtectHome=yes
  ProtectSystem=full

++ chrony.helper ++
--- /var/tmp/diff_new_pack.RORF25/_old  2018-12-27 00:25:49.135838382 +0100
+++ /var/tmp/diff_new_pack.RORF25/_new  2018-12-27 00:25:49.135838382 +0100
@@ -9,7 +9,7 @@
 added_servers_file=$helper_dir/added_servers
 
 network_sysconfig_file=/etc/sysconfig/network
-dhclient_servers_files=/var/lib/dhclient/chrony.servers.*
+dhclient_servers_files=/var/run/netconfig/chrony.servers
 dnssrv_servers_files=$helper_dir/dnssrv@*
 dnssrv_timer_prefix=chrony-dnssrv@
 


++ clknetsim-cdf5e85.tar.gz -> clknetsim-8b48422.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/clknetsim-cdf5e859d55fe22721429a11af7631e519a8570f/client.c 
new/clknetsim-8b484227848a0b9a71caecbf3e19166f1ee9b0a6/client.c
--- old/clknetsim-cdf5e859d55fe22721429a11af7631e519a8570f/client.c 
2018-09-25 17:05:10.0 +0200
+++ new/clknetsim-8b484227848a0b9a71caecbf3e19166f1ee9b0a6/client.c 
2018-09-26 17:01:57.0 +0200
@@ -981,13 +981,19 @@
 }
 
 size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream) {
-
if (stream == URANDOM_FILE) {
size_t i, l = size * nmemb;
+   long r;
+
+   assert(RAND_MAX >= 0xff);
+   for (i = r = 0; i < l; i++) {
+   if (i % 3)
+   r >>= 8;
+   else
+   r = random();
+   ((unsigned char *)ptr)[i] = r;
+   }
 
-   assert(!(l % 2));
-   for (i = 0; i < l / 2; i++)
-   ((uint16_t *)ptr)[i] = random();
return nmemb;
}
 
@@ -1280,6 +1286,27 @@
/* maximum frequency in 32-bit timex.freq */
caps->max_adj = 32767999;
 #endif

commit chrony for openSUSE:Factory

2018-12-10 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2018-12-10 12:27:40

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new.19453 (New)


Package is "chrony"

Mon Dec 10 12:27:40 2018 rev:16 rq:655501 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2018-10-25 
08:09:28.524300719 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new.19453/chrony.changes 2018-12-10 
12:27:46.202561045 +0100
@@ -1,0 +2,5 @@
+Thu Nov 22 09:27:58 UTC 2018 - Martin Pluskal 
+
+- Remove discrepancies between spec file and chrony-tmpfiles (boo#1115529) 
+
+---



Other differences:
--

++ chrony-tmpfiles ++
--- /var/tmp/diff_new_pack.OGgaVL/_old  2018-12-10 12:27:46.886560362 +0100
+++ /var/tmp/diff_new_pack.OGgaVL/_new  2018-12-10 12:27:46.890560358 +0100
@@ -1 +1 @@
-d /run/chrony 0755 chrony chrony
\ No newline at end of file
+d /run/chrony 0750 chrony chrony





commit chrony for openSUSE:Factory

2018-10-24 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2018-10-25 08:09:24

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Thu Oct 25 08:09:24 2018 rev:15 rq:642837 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2018-08-07 
10:50:10.608592995 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2018-10-25 
08:09:28.524300719 +0200
@@ -1,0 +2,35 @@
+Thu Oct 18 10:14:08 UTC 2018 - Ismail Dönmez 
+
+- Update the keyring and uncomment it in the spec file 
+
+---
+Thu Oct 18 07:43:44 UTC 2018 - Martin Pluskal 
+
+- Comment out bad signature
+
+---
+Wed Sep 19 18:21:19 UTC 2018 - Michael Ströder 
+
+- 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
+
+---

Old:

  chrony-3.3.tar.gz
  chrony-3.3.tar.gz.sig
  clknetsim-42b693b.tar.gz

New:

  chrony-3.4.tar.gz
  chrony-3.4.tar.gz.sig
  chrony-tmpfiles
  clknetsim-cdf5e85.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.tJWrzU/_old  2018-10-25 08:09:29.532300058 +0200
+++ /var/tmp/diff_new_pack.tJWrzU/_new  2018-10-25 08:09:29.536300055 +0200
@@ -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
@@ -35,10 +35,11 @@
 Source4:chrony.helper
 Source5:chrony-dnssrv@.service
 Source6:chrony-dnssrv@.timer
-Source7:
https://download.tuxfamily.org/chrony/chrony-3.3-tar-gz-asc.txt#/chrony-%{version}.tar.gz.sig
+Source7:
https://download.tuxfamily.org/chrony/chrony-3.4-tar-gz-asc.txt#/chrony-%{version}.tar.gz.sig
 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 @@
   %{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 @@
 
 %post
 %fillup_only %{name}
+%tmpfiles_create %{name}.conf
 %service_add_post chronyd.service chrony-wait.service
 
 %postun
@@ -218,10 +222,12 @@
 %{_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) %{_loc

commit chrony for openSUSE:Factory

2018-08-07 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2018-08-07 10:50:06

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Tue Aug  7 10:50:06 2018 rev:14 rq:627295 version:3.3

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2018-04-20 
17:23:52.186723723 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2018-08-07 
10:50:10.608592995 +0200
@@ -1,0 +2,39 @@
+Fri Aug  3 07:56:06 UTC 2018 - mplus...@suse.com
+
+- 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
+
+---
+Thu Aug  2 07:52:58 UTC 2018 - mplus...@suse.com
+
+- Mention all sources as such in spec file
+- Fix formatting of changelog
+- Drop reference to change is not present
+
+---
+Wed Aug  1 16:36:17 UTC 2018 - bwiedem...@suse.com
+
+- Update to version 3.3
+  * Enhancements:
++ Add burst option to server/pool directive
++ Add stratum and tai options to refclock directive
++ Add support for Nettle crypto library
++ Add workaround for missing kernel receive timestamps on Linux
++ Wait for late hardware transmit timestamps
++ Improve source selection with unreachable sources
++ Improve protection against replay attacks on symmetric mode
++ Allow PHC refclock to use socket in /var/run/chrony
++ Add shutdown command to stop chronyd
++ Simplify format of response to manual list command
++ Improve handling of unknown responses in chronyc
+  * Bug fixes:
++ Respond to NTPv1 client requests with zero mode
++ Fix -x option to not require CAP_SYS_TIME under non-root user
++ Fix acquisitionport directive to work with privilege separation
++ Fix handling of socket errors on Linux to avoid high CPU usage
++ Fix chronyc to not get stuck in infinite loop after clock step
+
+---

Old:

  chrony-3.2.tar.gz
  chrony-fix-open.patch
  clknetsim-71dbbc5.tar.gz

New:

  chrony-3.3.tar.gz
  chrony-3.3.tar.gz.sig
  chrony.keyring
  clknetsim-42b693b.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.1SfhXL/_old  2018-08-07 10:50:11.868595250 +0200
+++ /var/tmp/diff_new_pack.1SfhXL/_new  2018-08-07 10:50:11.880595271 +0200
@@ -17,24 +17,26 @@
 
 
 %define vendorzone opensuse.
-%global clknetsim_ver 71dbbc5
+%global clknetsim_ver 42b693b
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:   chrony
-Version:3.2
+Version:3.3
 Release:0
 Summary:System Clock Synchronization Client and Server
 License:GPL-2.0-only
 Group:  Productivity/Networking/Other
-Url:http://chrony.tuxfamily.org/
-Source: http://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
+URL:https://chrony.tuxfamily.org/
+Source: https://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
 Source2:chrony.sysconfig
 Source3:chrony.dhclient
 Source4:chrony.helper
 Source5:chrony-dnssrv@.service
 Source6:chrony-dnssrv@.timer
+Source7:
https://download.tuxfamily.org/chrony/chrony-3.3-tar-gz-asc.txt#/chrony-%{version}.tar.gz.sig
+Source8:chrony.keyring
 # Simulator for test suite
 Source10:   
https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/clknetsim-%{clknetsim_ver}.tar.gz
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
@@ -42,7 +44,6 @@
 # Add NTP servers from DHCP when starting service
 Patch1: chrony-service-helper.patch
 Patch2: chrony-logrotate.patch
-Patch5: chrony-fix-open.patch
 BuildRequires:  NetworkManager-devel
 BuildRequires:  bison
 BuildRequires:  gcc-c++
@@ -93,7 +94,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch5 -p1
 
 # If this is an openSUSE build, use our vendor zone
 # (2.*pool.ntp.org names include IPv6 addresses). If not
@@ -109,7 +109,7 @@
 cat << EOF >> chrony.conf
 
 # Also include any directives found in configuration files in /etc/chrony.d
-include /etc/chrony.d/*.conf
+include %{_sysconfdir}/chrony.d/*.conf
 EOF
 
 touch -r examples/chrony.conf.example2 chrony.conf
@@ -130,7 +130,8 @@
   %endif
   --with-user=chrony\
   --with-hwclockfile=%{_sysconfdir}/adjtime \
-  --with-sendmail=%{_sbindir}/sendm

commit chrony for openSUSE:Factory

2018-04-20 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2018-04-20 17:23:47

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Fri Apr 20 17:23:47 2018 rev:13 rq:597689 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2018-04-01 
17:25:28.569800603 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2018-04-20 
17:23:52.186723723 +0200
@@ -1,0 +2,6 @@
+Wed Apr 18 02:55:54 UTC 2018 - mp...@suse.com
+
+- Added /etc/chrony.d/ directory to the package (bsc#1083597)
+  Modifed default chrony.conf to add "include /etc/chrony.d/*"
+
+---



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.SsY0pR/_old  2018-04-20 17:23:52.834700228 +0200
+++ /var/tmp/diff_new_pack.SsY0pR/_new  2018-04-20 17:23:52.834700228 +0200
@@ -28,7 +28,7 @@
 Summary:System Clock Synchronization Client and Server
 License:GPL-2.0-only
 Group:  Productivity/Networking/Other
-URL:http://chrony.tuxfamily.org/
+Url:http://chrony.tuxfamily.org/
 Source: http://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
 Source2:chrony.sysconfig
 Source3:chrony.dhclient
@@ -106,6 +106,12 @@
 < examples/chrony.conf.example2 > chrony.conf
 %endif
 
+cat << EOF >> chrony.conf
+
+# Also include any directives found in configuration files in /etc/chrony.d
+include /etc/chrony.d/*.conf
+EOF
+
 touch -r examples/chrony.conf.example2 chrony.conf
 
 # regenerate the file from getdate.y
@@ -131,6 +137,7 @@
 %make_install
 install -Dpm 0644 chrony.conf \
   %{buildroot}%{_sysconfdir}/chrony.conf
+mkdir %{buildroot}%{_sysconfdir}/chrony.d
 install -Dpm 0640 examples/chrony.keys.example \
   %{buildroot}%{_sysconfdir}/chrony.keys
 install -Dpm 0755 examples/chrony.nm-dispatcher \
@@ -193,6 +200,7 @@
 %config(noreplace) %attr(0640,root,%{name}) %verify(not md5 size mtime) 
%{_sysconfdir}/chrony.keys
 %config(noreplace) %{_sysconfdir}/logrotate.d/chrony
 %{_sysconfdir}/NetworkManager/dispatcher.d/20-chrony
+%dir %{_sysconfdir}/chrony.d/
 %dir %{_sysconfdir}/dhcp/
 %dir %{_sysconfdir}/dhcp/dhclient.d/
 %{_sysconfdir}/dhcp/dhclient.d/chrony.sh




commit chrony for openSUSE:Factory

2018-04-01 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2018-04-01 17:25:27

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Sun Apr  1 17:25:27 2018 rev:12 rq:592539 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2018-03-19 
23:31:46.639640755 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2018-04-01 
17:25:28.569800603 +0200
@@ -1,0 +2,5 @@
+Mon Mar 26 17:30:07 CEST 2018 - ku...@suse.de
+
+- Use %license instead of %doc [bsc#1082318]
+
+---



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.xlll54/_old  2018-04-01 17:25:29.453768607 +0200
+++ /var/tmp/diff_new_pack.xlll54/_new  2018-04-01 17:25:29.457768462 +0200
@@ -186,7 +186,8 @@
 %service_del_postun chronyd.service chrony-wait.service
 
 %files
-%doc FAQ NEWS README COPYING
+%license COPYING
+%doc FAQ NEWS README
 %doc examples
 %config(noreplace) %attr(0640,root,%{name}) %{_sysconfdir}/chrony.conf
 %config(noreplace) %attr(0640,root,%{name}) %verify(not md5 size mtime) 
%{_sysconfdir}/chrony.keys




commit chrony for openSUSE:Factory

2018-03-19 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2018-03-19 23:31:45

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Mon Mar 19 23:31:45 2018 rev:11 rq:587008 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2018-02-12 
10:12:06.756213238 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2018-03-19 
23:31:46.639640755 +0100
@@ -1,0 +2,6 @@
+Wed Mar 14 15:11:56 CET 2018 - ku...@suse.de
+
+- Fix name of fillup template (was never installed before)
+- Fix Requires for fillup, it's used in post, not pre.
+
+---



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.ispLdA/_old  2018-03-19 23:31:48.227583471 +0100
+++ /var/tmp/diff_new_pack.ispLdA/_new  2018-03-19 23:31:48.231583326 +0100
@@ -26,7 +26,7 @@
 Version:3.2
 Release:0
 Summary:System Clock Synchronization Client and Server
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Productivity/Networking/Other
 URL:http://chrony.tuxfamily.org/
 Source: http://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
@@ -56,7 +56,7 @@
 BuildRequires:  timezone
 BuildRequires:  pkgconfig(systemd)
 Requires:   logrotate
-Requires(pre):  %fillup_prereq
+Requires(post): %fillup_prereq
 Requires(pre):  %{_sbindir}/groupadd
 Requires(pre):  %{_sbindir}/useradd
 Provides:   ntp-daemon
@@ -157,7 +157,7 @@
 %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/50-chronyd.list
 
 install -Dpm 0644 %{SOURCE2} \
-  %{buildroot}%{_fillupdir}/sysconfig.chronyd
+  %{buildroot}%{_fillupdir}/sysconfig.chrony
 install -Dpm 755 %{SOURCE4} \
   %{buildroot}%{_datadir}/chrony-helper
 
@@ -205,7 +205,7 @@
 %{_unitdir}/chrony*.service
 %{_unitdir}/chrony*.timer
 %{_sbindir}/rcchrony*
-%{_fillupdir}/sysconfig.chronyd
+%{_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




commit chrony for openSUSE:Factory

2018-02-12 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2018-02-12 10:12:04

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Mon Feb 12 10:12:04 2018 rev:10 rq:574551 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2017-11-25 
08:42:20.502951314 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2018-02-12 
10:12:06.756213238 +0100
@@ -1,0 +2,5 @@
+Fri Feb  9 10:21:09 UTC 2018 - mplus...@suse.com
+
+- Enable pps support
+
+---



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.D9kh3r/_old  2018-02-12 10:12:09.560112192 +0100
+++ /var/tmp/diff_new_pack.D9kh3r/_new  2018-02-12 10:12:09.564112048 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package chrony
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,19 @@
 #
 
 
+%define vendorzone opensuse.
+%global clknetsim_ver 71dbbc5
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
-  %define _fillupdir /var/adm/fillup-templates
+  %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-
-%define vendorzone opensuse.
-%global clknetsim_ver 71dbbc5
 Name:   chrony
 Version:3.2
 Release:0
 Summary:System Clock Synchronization Client and Server
 License:GPL-2.0
 Group:  Productivity/Networking/Other
-Url:http://chrony.tuxfamily.org/
+URL:http://chrony.tuxfamily.org/
 Source: http://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
 Source2:chrony.sysconfig
 Source3:chrony.dhclient
@@ -51,6 +50,7 @@
 BuildRequires:  libedit-devel
 BuildRequires:  mozilla-nss-devel
 BuildRequires:  pkgconfig
+BuildRequires:  pps-tools-devel
 # The timezone package is needed for the "make check" tests. It can be
 # removed if the call to make check is ever deleted.
 BuildRequires:  timezone




commit chrony for openSUSE:Factory

2017-11-24 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2017-11-25 08:42:18

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Sat Nov 25 08:42:18 2017 rev:9 rq:544872 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2017-10-30 
21:18:23.419403323 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2017-11-25 
08:42:20.502951314 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:47:05 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.NWl5Bk/_old  2017-11-25 08:42:21.130928434 +0100
+++ /var/tmp/diff_new_pack.NWl5Bk/_new  2017-11-25 08:42:21.130928434 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %define vendorzone opensuse.
 %global clknetsim_ver 71dbbc5
 Name:   chrony
@@ -152,7 +157,7 @@
 %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/50-chronyd.list
 
 install -Dpm 0644 %{SOURCE2} \
-  %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.chronyd
+  %{buildroot}%{_fillupdir}/sysconfig.chronyd
 install -Dpm 755 %{SOURCE4} \
   %{buildroot}%{_datadir}/chrony-helper
 
@@ -200,7 +205,7 @@
 %{_unitdir}/chrony*.service
 %{_unitdir}/chrony*.timer
 %{_sbindir}/rcchrony*
-%{_localstatedir}/adm/fillup-templates/sysconfig.chronyd
+%{_fillupdir}/sysconfig.chronyd
 %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




commit chrony for openSUSE:Factory

2017-10-30 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2017-10-30 21:18:20

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Mon Oct 30 21:18:20 2017 rev:8 rq:536990 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2017-10-02 
16:54:57.903979788 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2017-10-30 
21:18:23.419403323 +0100
@@ -1,0 +2,13 @@
+Thu Oct 26 10:39:11 UTC 2017 - mplus...@suse.com
+
+- Cleanup spec file:
+  * Drop pre systemd support
+  * Run spec-cleaner
+
+---
+Tue Oct 24 18:23:56 UTC 2017 - mp...@suse.com
+
+- Modified the spec file to comment out the pool statement
+  in chrony.conf if _not_ building for openSUSE. (bsc#1063704).
+
+---

Old:

  chrony.init



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.6CoA53/_old  2017-10-30 21:18:24.307371038 +0100
+++ /var/tmp/diff_new_pack.6CoA53/_new  2017-10-30 21:18:24.311370892 +0100
@@ -18,13 +18,6 @@
 
 %define vendorzone opensuse.
 %global clknetsim_ver 71dbbc5
-%if 0%{?suse_version} > 1230
-%bcond_without  systemd
-%bcond_without  syscallfilter
-%else
-%bcond_with systemd
-%bcond_with syscallfilter
-%endif
 Name:   chrony
 Version:3.2
 Release:0
@@ -33,7 +26,6 @@
 Group:  Productivity/Networking/Other
 Url:http://chrony.tuxfamily.org/
 Source: http://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
-Source1:chrony.init
 Source2:chrony.sysconfig
 Source3:chrony.dhclient
 Source4:chrony.helper
@@ -47,7 +39,6 @@
 Patch1: chrony-service-helper.patch
 Patch2: chrony-logrotate.patch
 Patch5: chrony-fix-open.patch
-#
 BuildRequires:  NetworkManager-devel
 BuildRequires:  bison
 BuildRequires:  gcc-c++
@@ -58,25 +49,17 @@
 # The timezone package is needed for the "make check" tests. It can be
 # removed if the call to make check is ever deleted.
 BuildRequires:  timezone
+BuildRequires:  pkgconfig(systemd)
 Requires:   logrotate
 Requires(pre):  %fillup_prereq
 Requires(pre):  %{_sbindir}/groupadd
 Requires(pre):  %{_sbindir}/useradd
 Provides:   ntp-daemon
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if %{with syscallfilter}
 %ifarch s390 s390x ppc64le
 BuildRequires:  libseccomp-devel >= 2.2.0
 %else
 BuildRequires:  libseccomp-devel
 %endif
-%endif
-%if %{with systemd}
-BuildRequires:  pkgconfig(systemd)
-%{?systemd_requires}
-%else
-Requires(pre):  %insserv_prereq
-%endif
 
 %description
 Chrony is an implementation of the Network Time Protocol (NTP). It can
@@ -107,9 +90,16 @@
 %patch2 -p1
 %patch5 -p1
 
-# use our vendor zone (2.*pool.ntp.org names include IPv6 addresses)
+# If this is an openSUSE build, use our vendor zone
+# (2.*pool.ntp.org names include IPv6 addresses). If not
+# an openSUSE build, comment out the pool statement
+%if 0%{?is_opensuse}
 sed -e 's|^\(pool \)\(pool.ntp.org\)|\12.%{vendorzone}\2|' \
 < examples/chrony.conf.example2 > chrony.conf
+%else
+sed -e 's|^\pool|! pool|' \
+< examples/chrony.conf.example2 > chrony.conf
+%endif
 
 touch -r examples/chrony.conf.example2 chrony.conf
 
@@ -130,90 +120,67 @@
   --with-user=chrony\
   --with-hwclockfile=%{_sysconfdir}/adjtime \
   --with-sendmail=%{_sbindir}/sendmail
-
 make %{?_smp_mflags} all docs
 
 %install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
-
-mkdir -p %{buildroot}%{_sysconfdir}/{sysconfig,logrotate.d}
-mkdir -p %{buildroot}%{_localstatedir}/{lib,log}/chrony
-mkdir -p %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d
-mkdir -p %{buildroot}%{_sysconfdir}/dhcp/dhclient.d
-mkdir -p %{buildroot}%{_datadir}
-mkdir -p %{buildroot}{%{_unitdir},%{_prefix}/lib/systemd/ntp-units.d}
-
-install -m 644 -p chrony.conf %{buildroot}%{_sysconfdir}/chrony.conf
-
-install -m 640 -p examples/chrony.keys.example \
+%make_install
+install -Dpm 0644 chrony.conf \
+  %{buildroot}%{_sysconfdir}/chrony.conf
+install -Dpm 0640 examples/chrony.keys.example \
 %{buildroot}%{_sysconfdir}/chrony.keys
-install -m 755 -p examples/chrony.nm-dispatcher \
+install -Dpm 0755 examples/chrony.nm-dispatcher \
 %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/20-chrony
-install -m 755 -p %{SOURCE3} \
+install -Dpm 0755 %{SOURCE3} \
 %{buildroot}%{_sysconfdir}/dhcp/dhclient.d/chrony.sh
-install -m 644 -p examples/chrony.logrotate \
+install -Dpm 0644 examples/chrony.logrotate \
 %{buildroot}%{_sysconfdir}/l

commit chrony for openSUSE:Factory

2017-10-02 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2017-10-02 16:54:50

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Mon Oct  2 16:54:50 2017 rev:7 rq:530357 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2017-09-23 
21:36:10.057943360 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2017-10-02 
16:54:57.903979788 +0200
@@ -1,0 +2,7 @@
+Thu Sep 28 16:17:08 UTC 2017 - mrueck...@suse.de
+
+- refresh patches to apply cleanly again
+  - chrony-config.patch
+  - chrony-fix-open.patch
+
+---



Other differences:
--
++ chrony-config.patch ++
--- /var/tmp/diff_new_pack.tq3oRW/_old  2017-10-02 16:54:58.607880986 +0200
+++ /var/tmp/diff_new_pack.tq3oRW/_new  2017-10-02 16:54:58.607880986 +0200
@@ -1,5 +1,7 @@
 chrony-3.1/examples/chrony.conf.example3   2017-01-31 05:22:11.0 
-0500
-+++ chrony-3.1/examples/chrony.conf.example3   2017-01-31 11:53:04.0 
-0500
+Index: chrony-3.2/examples/chrony.conf.example3
+===
+--- chrony-3.2.orig/examples/chrony.conf.example3
 chrony-3.2/examples/chrony.conf.example3
 @@ -27,12 +27,38 @@
  # you can access at http://support.ntp.org/bin/view/Servers/WebHome or
  # you can use servers from the pool.ntp.org project.
@@ -52,7 +54,7 @@
  
  # If you want to enable NTP authentication with symmetric keys, you will need
  # to uncomment the following line and edit the file to set up the keys.
-@@ -118,8 +144,8 @@
+@@ -124,8 +150,8 @@ driftfile /var/lib/chrony/drift
  # produce some graphs of your system's timekeeping performance, or you
  # need help in debugging a problem.
  

++ chrony-fix-open.patch ++
--- /var/tmp/diff_new_pack.tq3oRW/_old  2017-10-02 16:54:58.655874250 +0200
+++ /var/tmp/diff_new_pack.tq3oRW/_new  2017-10-02 16:54:58.655874250 +0200
@@ -1,8 +1,8 @@
 Index: chrony-3.2/clknetsim-71dbbc509eee05cb29e33468be93d5ba52b79429/client.c
 ===
 chrony-3.2/clknetsim-71dbbc509eee05cb29e33468be93d5ba52b79429/client.c
+--- chrony-3.2.orig/clknetsim-71dbbc509eee05cb29e33468be93d5ba52b79429/client.c
 +++ chrony-3.2/clknetsim-71dbbc509eee05cb29e33468be93d5ba52b79429/client.c
-@@ -1000,6 +1000,8 @@ int open(const char *pathname, int flags
+@@ -1008,6 +1008,8 @@ int open(const char *pathname, int flags
else if (!strcmp(pathname, "/dev/ptp1"))
return SYSCLK_FD;
  
@@ -11,7 +11,7 @@
r = _open(pathname, flags);
assert(r < 0 || (r < BASE_SOCKET_FD && r < BASE_TIMER_FD));
  
-@@ -1018,6 +1020,8 @@ int close(int fd) {
+@@ -1026,6 +1028,8 @@ int close(int fd) {
return 0;
}
  




commit chrony for openSUSE:Factory

2017-09-23 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2017-09-23 21:35:56

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Sat Sep 23 21:35:56 2017 rev:6 rq:528217 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2017-02-03 
17:34:37.310851211 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2017-09-23 
21:36:10.057943360 +0200
@@ -1,0 +2,36 @@
+Wed Sep 20 23:57:53 UTC 2017 - mp...@suse.com
+
+- Upgraded to version 3.2:
+  Enhancements
+  * Improve stability with NTP sources and reference clocks
+  * Improve stability with hardware timestamping
+  * Improve support for NTP interleaved modes
+  * Control frequency of system clock on macOS 10.13 and later
+  * Set TAI-UTC offset of system clock with leapsectz directive
+  * Minimise data in client requests to improve privacy
+  * Allow transmit-only hardware timestamping
+  * Add support for new timestamping options introduced in Linux 4.13
+  * Add root delay, root dispersion and maximum error to tracking log
+  * Add mindelay and asymmetry options to server/peer/pool directive
+  * Add extpps option to PHC refclock to timestamp external PPS signal
+  * Add pps option to refclock directive to treat any refclock as PPS
+  * Add width option to refclock directive to filter wrong pulse edges
+  * Add rxfilter option to hwtimestamp directive
+  * Add -x option to disable control of system clock
+  * Add -l option to log to specified file instead of syslog
+  * Allow multiple command-line options to be specified together
+  * Allow starting without root privileges with -Q option
+  * Update seccomp filter for new glibc versions
+  * Dump history on exit by default with dumpdir directive
+  * Use hardening compiler options by default
+  Bug fixes
+  * Don't drop PHC samples with low-resolution system clock
+  * Ignore outliers in PHC tracking, RTC tracking, manual input
+  * Increase polling interval when peer is not responding
+  * Exit with error message when include directive fails
+  * Don't allow slash after hostname in allow/deny directive/command
+  * Try to connect to all addresses in chronyc before giving up
+- Upgraded clknetsim to version 71dbbc5.
+- Reworked chrony-fix-open.patch to fit the new version
+
+---

Old:

  chrony-3.1.tar.gz
  clknetsim-ce89a1b.tar.gz

New:

  chrony-3.2.tar.gz
  clknetsim-71dbbc5.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.hjxZV2/_old  2017-09-23 21:36:11.521737498 +0200
+++ /var/tmp/diff_new_pack.hjxZV2/_new  2017-09-23 21:36:11.525736936 +0200
@@ -17,7 +17,7 @@
 
 
 %define vendorzone opensuse.
-%global clknetsim_ver ce89a1b
+%global clknetsim_ver 71dbbc5
 %if 0%{?suse_version} > 1230
 %bcond_without  systemd
 %bcond_without  syscallfilter
@@ -26,7 +26,7 @@
 %bcond_with syscallfilter
 %endif
 Name:   chrony
-Version:3.1
+Version:3.2
 Release:0
 Summary:System Clock Synchronization Client and Server
 License:GPL-2.0

++ chrony-3.1.tar.gz -> chrony-3.2.tar.gz ++
 10812 lines of diff (skipped)

++ chrony-fix-open.patch ++
--- /var/tmp/diff_new_pack.hjxZV2/_old  2017-09-23 21:36:11.757704313 +0200
+++ /var/tmp/diff_new_pack.hjxZV2/_new  2017-09-23 21:36:11.757704313 +0200
@@ -1,7 +1,7 @@
-Index: chrony-3.1/clknetsim-ce89a1b4e361c432ba3541548008ef0a87bd7fdb/client.c
+Index: chrony-3.2/clknetsim-71dbbc509eee05cb29e33468be93d5ba52b79429/client.c
 ===
 chrony-3.1/clknetsim-ce89a1b4e361c432ba3541548008ef0a87bd7fdb/client.c
-+++ chrony-3.1/clknetsim-ce89a1b4e361c432ba3541548008ef0a87bd7fdb/client.c
+--- chrony-3.2/clknetsim-71dbbc509eee05cb29e33468be93d5ba52b79429/client.c
 chrony-3.2/clknetsim-71dbbc509eee05cb29e33468be93d5ba52b79429/client.c
 @@ -1000,6 +1000,8 @@ int open(const char *pathname, int flags
else if (!strcmp(pathname, "/dev/ptp1"))
return SYSCLK_FD;

++ clknetsim-ce89a1b.tar.gz -> clknetsim-71dbbc5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/clknetsim-ce89a1b4e361c432ba3541548008ef0a87bd7fdb/client.c 
new/clknetsim-71dbbc509eee05cb29e33468be93d5ba52b79429/client.c
--- old/clknetsim-ce89a1b4e361c432ba3541548008ef0a87bd7fdb/client.c 
2017-01-24 14:49:02.0 +0100
+++ new/clknetsim-71dbbc509eee05cb29e33468be93d5ba52b79429/client.c 
2017-07-25 09:46:32.0 +0200
@@ -191,7 +191,8 @@
const char *env;
unsigned int connect_retries =

commit chrony for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2017-02-02 15:42:30

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2017-01-23 
11:37:04.328581562 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2017-02-03 
17:34:37.310851211 +0100
@@ -1,0 +2,18 @@
+Tue Jan 31 16:38:05 UTC 2017 - mp...@suse.com
+
+- Upgraded to version 3.1:
+  - Enhancements
+- Add support for precise cross timestamping of PHC on Linux
+- Add minpoll, precision, nocrossts options to hwtimestamp directive
+- Add rawmeasurements option to log directive and modify measurements
+  option to log only valid measurements from synchronised sources
+- Allow sub-second polling interval with NTP sources
+  - Bug fixes
+- Fix time smoothing in interleaved mode
+- Upgraded clknetsim to version ce89a1b.
+- Reworked the following patches to fit the new versions
+  - chrony-config.patch
+  - chrony-service-helper.patch
+  - chrony-fix-open.patch
+
+---

Old:

  chrony-3.0.tar.gz
  clknetsim-6bb6519.tar.gz

New:

  chrony-3.1.tar.gz
  clknetsim-ce89a1b.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.WJPlHp/_old  2017-02-03 17:34:37.918765169 +0100
+++ /var/tmp/diff_new_pack.WJPlHp/_new  2017-02-03 17:34:37.922764603 +0100
@@ -17,6 +17,7 @@
 
 
 %define vendorzone opensuse.
+%global clknetsim_ver ce89a1b
 %if 0%{?suse_version} > 1230
 %bcond_without  systemd
 %bcond_without  syscallfilter
@@ -24,10 +25,8 @@
 %bcond_with systemd
 %bcond_with syscallfilter
 %endif
-%global clknetsim_ver 6bb6519
-
 Name:   chrony
-Version:3.0
+Version:3.1
 Release:0
 Summary:System Clock Synchronization Client and Server
 License:GPL-2.0
@@ -42,7 +41,6 @@
 Source6:chrony-dnssrv@.timer
 # Simulator for test suite
 Source10:   
https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/clknetsim-%{clknetsim_ver}.tar.gz
-
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch0: chrony-config.patch
 # Add NTP servers from DHCP when starting service
@@ -56,11 +54,16 @@
 BuildRequires:  libcap-devel
 BuildRequires:  libedit-devel
 BuildRequires:  mozilla-nss-devel
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 # The timezone package is needed for the "make check" tests. It can be
 # removed if the call to make check is ever deleted.
 BuildRequires:  timezone
-
+Requires:   logrotate
+Requires(pre):  %fillup_prereq
+Requires(pre):  %{_sbindir}/groupadd
+Requires(pre):  %{_sbindir}/useradd
+Provides:   ntp-daemon
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with syscallfilter}
 %ifarch s390 s390x ppc64le
 BuildRequires:  libseccomp-devel >= 2.2.0
@@ -74,12 +77,6 @@
 %else
 Requires(pre):  %insserv_prereq
 %endif
-Requires:   logrotate
-Requires(pre):  %fillup_prereq
-Requires(pre):  %{_sbindir}/groupadd
-Requires(pre):  %{_sbindir}/useradd
-Provides:   ntp-daemon
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Chrony is an implementation of the Network Time Protocol (NTP). It can
@@ -164,8 +161,8 @@
 %{buildroot}%{_unitdir}/chrony-wait.service
 install -m 644 -p %{SOURCE5} %{buildroot}%{_unitdir}/chrony-dnssrv@.service
 install -m 644 -p %{SOURCE6} %{buildroot}%{_unitdir}/chrony-dnssrv@.timer
-ln -s /usr/sbin/service "%{buildroot}%{_sbindir}/rcchronyd"
-ln -s /usr/sbin/service "%{buildroot}%{_sbindir}/rcchrony-wait"
+ln -s %{_sbindir}/service "%{buildroot}%{_sbindir}/rcchronyd"
+ln -s %{_sbindir}/service "%{buildroot}%{_sbindir}/rcchrony-wait"
 
 echo 'chronyd.service' > \
 %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/50-chronyd.list

++ chrony-3.0.tar.gz -> chrony-3.1.tar.gz ++
 2647 lines of diff (skipped)

++ chrony-config.patch ++
--- /var/tmp/diff_new_pack.WJPlHp/_old  2017-02-03 17:34:38.070743658 +0100
+++ /var/tmp/diff_new_pack.WJPlHp/_new  2017-02-03 17:34:38.074743092 +0100
@@ -1,7 +1,5 @@
-Index: chrony-2.3/examples/chrony.conf.example3
-===
 chrony-2.3.orig/examples/chrony.conf.example3
-+++ chrony-2.3/examples/chrony.conf.example3
+--- chrony-3.1/examples/chrony.conf.example3   2017-01-31 05:22:11.0 
-0500
 chrony-3.1/examples/chrony.conf.example3   2017-01-31 11:53:04.0 
-0500
 @@ -27,12 +27,38 @@
  # you can access at http://support.ntp.org/bin/view/Servers/WebHome or
  # you

commit chrony for openSUSE:Factory

2017-01-23 Thread root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2017-01-23 11:37:03

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2016-12-01 
10:28:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2017-01-23 
11:37:04.328581562 +0100
@@ -1,0 +2,29 @@
+Mon Jan 16 22:36:09 UTC 2017 - mp...@suse.com
+
+- Upgraded to version 3.0:
+  - Enhancements
+- Add support for software and hardware timestamping on Linux
+- Add support for client/server and symmetric interleaved modes
+- Add support for MS-SNTP authentication in Samba
+- Add support for truncated MACs in NTPv4 packets
+- Estimate and correct for asymmetric network jitter
+- Increase default minsamples and polltarget to improve stability with 
very low jitter
+- Add maxjitter directive to limit source selection by jitter
+- Add offset option to server/pool/peer directive
+- Add maxlockage option to refclock directive
+- Add -t option to chronyd to exit after specified time
+- Add partial protection against replay attacks on symmetric mode
+- Don't reset polling interval when switching sources to online state
+- Allow rate limiting with very short intervals
+- Improve maximum server throughput on Linux and NetBSD
+- Remove dump files after start
+- Add tab-completion to chronyc with libedit/readline
+- Add ntpdata command to print details about NTP measurements
+- Allow all source options to be set in add server/peer command
+- Indicate truncated addresses/hostnames in chronyc output
+- Print reference IDs as hexadecimal numbers to avoid confusion with IPv4 
addresses
+  - Bug fixes
+- Fix crash with disabled asynchronous name resolving
+- Upgraded clknetsim to version 6bb6519.
+
+---

Old:

  chrony-2.4.1.tar.gz
  clknetsim-a5949fe.tar.gz

New:

  chrony-3.0.tar.gz
  clknetsim-6bb6519.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.EwrJIu/_old  2017-01-23 11:37:05.088473795 +0100
+++ /var/tmp/diff_new_pack.EwrJIu/_new  2017-01-23 11:37:05.088473795 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package chrony
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,10 +24,10 @@
 %bcond_with systemd
 %bcond_with syscallfilter
 %endif
-%global clknetsim_ver a5949fe
+%global clknetsim_ver 6bb6519
 
 Name:   chrony
-Version:2.4.1
+Version:3.0
 Release:0
 Summary:System Clock Synchronization Client and Server
 License:GPL-2.0

++ chrony-2.4.1.tar.gz -> chrony-3.0.tar.gz ++
 15247 lines of diff (skipped)

++ chrony-fix-open.patch ++
--- /var/tmp/diff_new_pack.EwrJIu/_old  2017-01-23 11:37:05.332439196 +0100
+++ /var/tmp/diff_new_pack.EwrJIu/_new  2017-01-23 11:37:05.332439196 +0100
@@ -1,7 +1,7 @@
-Index: chrony-2.4/clknetsim-a5949fedf7e0f78a756bd29fe93fa1e4f72cdc42/client.c
+Index: chrony-3.0/clknetsim-6bb6519590ebf43a61f2c11442da525a1950b7df/client.c
 ===
 chrony-2.4.orig/clknetsim-a5949fedf7e0f78a756bd29fe93fa1e4f72cdc42/client.c
-+++ chrony-2.4/clknetsim-a5949fedf7e0f78a756bd29fe93fa1e4f72cdc42/client.c
+--- chrony-3.0/clknetsim-6bb6519590ebf43a61f2c11442da525a1950b7df/client.c
 chrony-3.0/clknetsim-6bb6519590ebf43a61f2c11442da525a1950b7df/client.c
 @@ -954,6 +954,8 @@ int open(const char *pathname, int flags
else if (!strcmp(pathname, "/dev/ptp1"))
return SYSCLK_FD;

++ clknetsim-a5949fe.tar.gz -> clknetsim-6bb6519.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/clknetsim-a5949fedf7e0f78a756bd29fe93fa1e4f72cdc42/client.c 
new/clknetsim-6bb6519590ebf43a61f2c11442da525a1950b7df/client.c
--- old/clknetsim-a5949fedf7e0f78a756bd29fe93fa1e4f72cdc42/client.c 
2016-06-08 11:20:13.0 +0200
+++ new/clknetsim-6bb6519590ebf43a61f2c11442da525a1950b7df/client.c 
2016-12-13 17:25:43.0 +0100
@@ -83,6 +83,7 @@
 
 static FILE *(*_fopen)(const char *path, const char *mode);
 static size_t (*_fread)(void *ptr, size_t size, size_t nmemb, FILE *stream);
+static int (*_fileno)(FILE *stream);
 static int (*_fclose)(FILE *fp);
 static int (*_open)(const char *pathname,

commit chrony for openSUSE:Factory

2016-12-01 Thread h_root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2016-12-01 10:28:45

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2016-06-12 
18:54:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2016-12-01 
10:28:48.0 +0100
@@ -1,0 +2,10 @@
+Tue Nov 29 16:54:52 UTC 2016 - mp...@suse.com
+
+- Upgraded to version 2.4.1:
+  - Bug fixes
+- Fix processing of kernel timestamps on non-Linux systems
+- Fix crash with smoothtime directive
+- Fix validation of refclock sample times
+- Fix parsing of refclock directive
+
+---

Old:

  chrony-2.4.tar.gz

New:

  chrony-2.4.1.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.QzBevW/_old  2016-12-01 10:28:49.0 +0100
+++ /var/tmp/diff_new_pack.QzBevW/_new  2016-12-01 10:28:49.0 +0100
@@ -11,10 +11,11 @@
 # case the license is the MIT License). An "Open Source License" is a
 # 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/
 #
 
+
 %define vendorzone opensuse.
 %if 0%{?suse_version} > 1230
 %bcond_without  systemd
@@ -26,10 +27,10 @@
 %global clknetsim_ver a5949fe
 
 Name:   chrony
-Version:2.4
+Version:2.4.1
 Release:0
-License:GPL-2.0
 Summary:System Clock Synchronization Client and Server
+License:GPL-2.0
 Group:  Productivity/Networking/Other
 Url:http://chrony.tuxfamily.org/
 Source: http://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
@@ -51,11 +52,11 @@
 #
 BuildRequires:  NetworkManager-devel
 BuildRequires:  bison
+BuildRequires:  gcc-c++
 BuildRequires:  libcap-devel
 BuildRequires:  libedit-devel
 BuildRequires:  mozilla-nss-devel
 BuildRequires:  pkg-config
-BuildRequires:  gcc-c++
 # The timezone package is needed for the "make check" tests. It can be
 # removed if the call to make check is ever deleted.
 BuildRequires:  timezone

++ chrony-2.4.tar.gz -> chrony-2.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/chrony-2.4/FAQ new/chrony-2.4.1/FAQ
--- old/chrony-2.4/FAQ  2016-06-07 11:27:25.0 +0200
+++ new/chrony-2.4.1/FAQ2016-11-21 12:10:57.0 +0100
@@ -406,4 +406,4 @@
 We have no plans to do this. Anyone is welcome to pick this work up and
 contribute it back to the project.
 
-Last updated 2016-06-07 11:20:59 CEST
+Last updated 2016-11-21 12:03:45 CET
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/chrony-2.4/INSTALL new/chrony-2.4.1/INSTALL
--- old/chrony-2.4/INSTALL  2016-06-07 11:27:25.0 +0200
+++ new/chrony-2.4.1/INSTALL2016-11-21 12:10:57.0 +0100
@@ -147,4 +147,4 @@
 to build a package. When untarred within the root directory, this will install
 the files to the intended final locations.
 
-Last updated 2016-06-07 11:20:59 CEST
+Last updated 2016-11-21 12:03:45 CET
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/chrony-2.4/NEWS new/chrony-2.4.1/NEWS
--- old/chrony-2.4/NEWS 2016-06-07 11:20:59.0 +0200
+++ new/chrony-2.4.1/NEWS   2016-11-21 12:03:45.0 +0100
@@ -1,3 +1,13 @@
+New in version 2.4.1
+
+
+Bug fixes
+-
+* Fix processing of kernel timestamps on non-Linux systems
+* Fix crash with smoothtime directive
+* Fix validation of refclock sample times
+* Fix parsing of refclock directive
+
 New in version 2.4
 ==
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/chrony-2.4/client.c new/chrony-2.4.1/client.c
--- old/chrony-2.4/client.c 2016-06-07 11:20:59.0 +0200
+++ new/chrony-2.4.1/client.c   2016-11-21 12:03:45.0 +0100
@@ -125,6 +125,7 @@
 return( line );
 #else
 printf("%s", prompt);
+fflush(stdout);
 #endif
   }
   if (fgets(line, sizeof(line), stdin)) {
@@ -2007,7 +2008,7 @@
 print_report("%c%c %-27s  %2d  %2d   %3o  %I  %+S[%+S] +/- %S\n",
  mode_ch, state_ch, name,
  ntohs(reply.data.source_data.stratum),
- ntohs(reply.data.source_data.poll),
+ (int16_t)ntohs(reply.data.source_data.poll),
  ntohs(reply.data.source_data.reachability),
  (unsigned long)ntohl(reply.data.source_data.sinc

commit chrony for openSUSE:Factory

2016-06-12 Thread h_root
Hello community,

here is the log from the commit of package chrony for openSUSE:Factory checked 
in at 2016-06-12 18:54:53

Comparing /work/SRC/openSUSE:Factory/chrony (Old)
 and  /work/SRC/openSUSE:Factory/.chrony.new (New)


Package is "chrony"

Changes:

--- /work/SRC/openSUSE:Factory/chrony/chrony.changes2016-04-28 
16:56:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.chrony.new/chrony.changes   2016-06-12 
18:54:56.0 +0200
@@ -1,0 +2,49 @@
+Wed Jun  8 10:02:51 UTC 2016 - mrueck...@suse.de
+
+- update to 2.4:
+  - Enhancements
+- Add orphan option to local directive for orphan mode
+  compatible with ntpd
+- Add distance option to local directive to set activation
+  threshold (1 second by default)
+- Add maxdrift directive to set maximum allowed drift of system
+  clock
+- Try to replace NTP sources exceeding maximum distance
+- Randomise source replacement to avoid getting stuck with bad
+  sources
+- Randomise selection of sources from pools on start
+- Ignore reference timestamp as ntpd doesn't always set it
+  correctly
+- Modify tracking report to use same values as seen by NTP
+  clients
+- Add -c option to chronyc to write reports in CSV format
+- Provide detailed manual pages
+  - Bug fixes
+- Fix SOCK refclock to work correctly when not specified as
+  last refclock
+- Fix initstepslew and -q/-Q options to accept time from own
+  NTP clients
+- Fix authentication with keys using 512-bit hash functions
+- Fix crash on exit when multiple signals are received
+- Fix conversion of very small floating-point numbers in
+  command packets
+  - Removed features
+- Drop documentation in Texinfo format
+- update clknetsim to a5949fe for fixing a testsuite failure:
+  - add IP_PKTINFO socket option
+  - accept environment variables in make
+  - fix building with FORTIFY_SOURCE
+  - fix compiler warning
+  - support multiple SHM refclocks
+  - fix recv functions with new glibc headers
+- refreshed chrony-fix-open.patch: to apply cleanly after clknetsim
+  update
+- drop patches:
+  - chrony-include-termios.patch
+  - make-105-ntpauth-more-reliable.patch
+- drop buildrequires for texinfo and pre requires on the install
+  info packages
+- no longer use make install-docs: it only installed 0 byte html
+  files.
+
+---

Old:

  chrony-2.3.tar.gz
  chrony-include-termios.patch
  clknetsim-96416d5.tar.gz
  make-105-ntpauth-more-reliable.patch

New:

  chrony-2.4.tar.gz
  clknetsim-a5949fe.tar.gz



Other differences:
--
++ chrony.spec ++
--- /var/tmp/diff_new_pack.gSYLlJ/_old  2016-06-12 18:54:57.0 +0200
+++ /var/tmp/diff_new_pack.gSYLlJ/_new  2016-06-12 18:54:57.0 +0200
@@ -23,10 +23,10 @@
 %bcond_with systemd
 %bcond_with syscallfilter
 %endif
-%global clknetsim_ver 96416d5
+%global clknetsim_ver a5949fe
 
 Name:   chrony
-Version:2.3
+Version:2.4
 Release:0
 License:GPL-2.0
 Summary:System Clock Synchronization Client and Server
@@ -47,8 +47,6 @@
 # Add NTP servers from DHCP when starting service
 Patch1: chrony-service-helper.patch
 Patch2: chrony-logrotate.patch
-Patch3: chrony-include-termios.patch
-Patch4: make-105-ntpauth-more-reliable.patch
 Patch5: chrony-fix-open.patch
 #
 BuildRequires:  NetworkManager-devel
@@ -57,7 +55,6 @@
 BuildRequires:  libedit-devel
 BuildRequires:  mozilla-nss-devel
 BuildRequires:  pkg-config
-BuildRequires:  texinfo
 BuildRequires:  gcc-c++
 # The timezone package is needed for the "make check" tests. It can be
 # removed if the call to make check is ever deleted.
@@ -80,7 +77,6 @@
 Requires(pre):  %fillup_prereq
 Requires(pre):  %{_sbindir}/groupadd
 Requires(pre):  %{_sbindir}/useradd
-Requires(pre):  %{install_info_prereq}
 Provides:   ntp-daemon
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -111,8 +107,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
 %patch5 -p1
 
 # use our vendor zone (2.*pool.ntp.org names include IPv6 addresses)
@@ -140,11 +134,9 @@
   --with-sendmail=%{_sbindir}/sendmail
 
 make %{?_smp_mflags} all docs
-gzip -9 -f -n chrony.txt
 
 %install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install install-docs
-rm "%{buildroot}%{_docdir}/%{name}/%{name}.html"
+make %{?_smp_mflags} DESTDIR=%{buildroot} install
 
 mkdir -p %{buildroot}%{_sysconfdir}/{sysconfig,logrotate.d}
 mkdir -p %{buildroot}%{_localstatedir}/{lib,log}/chrony
@@ -210,13 +202,11 @@
 
 %post
 %fillup_only %{name}
-%install_info --info-dir="%{_infodir}" "%{_infodir}/chrony.info%{ext_info}"
 %if %{with s