From 771ba529b12464342e44156cc1d066e610d6abe13a6730abbccbf90cd3856e51 Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Wed, 7 Mar 2018 11:23:36 +0000 Subject: [PATCH] - change cron config file name to suse-ntp_synchronize (bsc#1079122) - convert old file to new one during upgrade, ensure that ntpd is replaced by chrony (FATE#323432) - ghost that config file, so it is easy to find which package owns it - 4.0.9 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-ntp-client?expand=0&rev=244 --- yast2-ntp-client-4.0.8.tar.bz2 | 3 --- yast2-ntp-client-4.0.9.tar.bz2 | 3 +++ yast2-ntp-client.changes | 11 +++++++++++ yast2-ntp-client.spec | 10 +++++++++- 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 yast2-ntp-client-4.0.8.tar.bz2 create mode 100644 yast2-ntp-client-4.0.9.tar.bz2 diff --git a/yast2-ntp-client-4.0.8.tar.bz2 b/yast2-ntp-client-4.0.8.tar.bz2 deleted file mode 100644 index 6f1b9b1..0000000 --- a/yast2-ntp-client-4.0.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e718edde0203dde4885ba1fcba0085b68cd6ecc33d2fe112b4328d841bfa1e07 -size 60961 diff --git a/yast2-ntp-client-4.0.9.tar.bz2 b/yast2-ntp-client-4.0.9.tar.bz2 new file mode 100644 index 0000000..da02791 --- /dev/null +++ b/yast2-ntp-client-4.0.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58472137407ff7a691d3f3cc0f435d07cd64975f0d009482fefffc65bae502bd +size 61071 diff --git a/yast2-ntp-client.changes b/yast2-ntp-client.changes index be32053..1fd52ca 100644 --- a/yast2-ntp-client.changes +++ b/yast2-ntp-client.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Mar 7 10:57:36 UTC 2018 - jreidinger@suse.com + +- change cron config file name to suse-ntp_synchronize + (bsc#1079122) +- convert old file to new one during upgrade, ensure that ntpd is + replaced by chrony (FATE#323432) +- ghost that config file, so it is easy to find which package owns + it +- 4.0.9 + ------------------------------------------------------------------- Thu Feb 22 15:21:04 UTC 2018 - gsouza@suse.com diff --git a/yast2-ntp-client.spec b/yast2-ntp-client.spec index 501a6d8..2f72de5 100644 --- a/yast2-ntp-client.spec +++ b/yast2-ntp-client.spec @@ -17,7 +17,7 @@ Name: yast2-ntp-client -Version: 4.0.8 +Version: 4.0.9 Release: 0 Summary: YaST2 - NTP Client Configuration License: GPL-2.0+ @@ -61,6 +61,13 @@ rake test:unit %install rake install DESTDIR="%{buildroot}" +%post +# upgrade old name and convert it to chrony (bsc#1079122) +if [ -f /etc/cron.d/novell.ntp-synchronize ]; then + mv /etc/cron.d/novell.ntp-synchronize /etc/cron.d/suse-ntp_synchronize + sed -i 's:\* \* \* \* root .*:* * * * root /usr/sbin/chronyd -q \&>/dev/null:' /etc/cron.d/suse-ntp_synchronize +fi + %files %defattr(-,root,root) %dir %{yast_yncludedir}/ntp-client @@ -72,6 +79,7 @@ rake install DESTDIR="%{buildroot}" %{yast_ydatadir}/ntp_servers.yml %{yast_schemadir}/autoyast/rnc/ntpclient.rnc %{yast_dir}/lib +%ghost /etc/cron.d/suse-ntp_synchronize %dir %{yast_docdir} %doc %{yast_docdir}/COPYING