Hello community,

here is the log from the commit of package yast2-ntp-client for 
openSUSE:Factory checked in at 2016-04-28 16:49:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ntp-client (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-ntp-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-ntp-client"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-ntp-client/yast2-ntp-client.changes        
2016-01-16 11:56:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-ntp-client.new/yast2-ntp-client.changes   
2016-04-28 16:49:30.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Apr 14 09:16:37 CEST 2016 - [email protected]
+
+- Calls to sntp adjusted to the syntax of ntp 4.2.8
+  (bnc#937837, bnc#916617, FATE#320392)
+- 3.1.22
+
+-------------------------------------------------------------------

Old:
----
  yast2-ntp-client-3.1.21.tar.bz2

New:
----
  yast2-ntp-client-3.1.22.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-ntp-client.spec ++++++
--- /var/tmp/diff_new_pack.q5FZ9t/_old  2016-04-28 16:49:32.000000000 +0200
+++ /var/tmp/diff_new_pack.q5FZ9t/_new  2016-04-28 16:49:32.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-ntp-client
-Version:        3.1.21
+Version:        3.1.22
 Release:        0
 Summary:        YaST2 - NTP Client Configuration
 License:        GPL-2.0+
@@ -37,6 +37,8 @@
 Requires:       yast2-country-data
 Requires:       yast2-ruby-bindings >= 1.0.0
 BuildArch:      noarch
+# New sntp command line syntax
+Conflicts:      ntp < 4.2.8
 
 %description
 This package contains the YaST2 component for NTP client configuration.

++++++ yast2-ntp-client-3.1.21.tar.bz2 -> yast2-ntp-client-3.1.22.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ntp-client-3.1.21/package/yast2-ntp-client.changes 
new/yast2-ntp-client-3.1.22/package/yast2-ntp-client.changes
--- old/yast2-ntp-client-3.1.21/package/yast2-ntp-client.changes        
2016-01-14 12:56:45.000000000 +0100
+++ new/yast2-ntp-client-3.1.22/package/yast2-ntp-client.changes        
2016-04-18 15:55:36.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Thu Apr 14 09:16:37 CEST 2016 - [email protected]
+
+- Calls to sntp adjusted to the syntax of ntp 4.2.8
+  (bnc#937837, bnc#916617, FATE#320392)
+- 3.1.22
+
+-------------------------------------------------------------------
 Fri Nov 13 10:59:21 UTC 2015 - [email protected]
 
 - Fix validation of AutoYaST profiles (bsc#954412)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ntp-client-3.1.21/package/yast2-ntp-client.spec 
new/yast2-ntp-client-3.1.22/package/yast2-ntp-client.spec
--- old/yast2-ntp-client-3.1.21/package/yast2-ntp-client.spec   2016-01-14 
12:56:45.000000000 +0100
+++ new/yast2-ntp-client-3.1.22/package/yast2-ntp-client.spec   2016-04-18 
15:55:36.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-ntp-client
-Version:        3.1.21
+Version:        3.1.22
 Release:        0
 Summary:        YaST2 - NTP Client Configuration
 License:        GPL-2.0+
@@ -37,6 +37,8 @@
 Requires:       yast2-country-data
 Requires:       yast2-ruby-bindings >= 1.0.0
 BuildArch:      noarch
+# New sntp command line syntax
+Conflicts:      ntp < 4.2.8
 
 
 %description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ntp-client-3.1.21/src/clients/ntp-client_proposal.rb 
new/yast2-ntp-client-3.1.22/src/clients/ntp-client_proposal.rb
--- old/yast2-ntp-client-3.1.21/src/clients/ntp-client_proposal.rb      
2016-01-14 12:56:45.000000000 +0100
+++ new/yast2-ntp-client-3.1.22/src/clients/ntp-client_proposal.rb      
2016-04-18 15:55:36.000000000 +0200
@@ -396,11 +396,13 @@
 
         # -S: do set the system time
         # -t 5: timeout of 5 seconds
+        # -K /dev/null: use /dev/null as KoD history file (if not specified,
+        #               /var/db/ntp-kod will be used and it doesn't exist)
         # -l <file>: log to a file to not mess text mode installation
         # -c: causes all IP addresses to which ntp_server resolves to be 
queried in parallel
         ret = SCR.Execute(
                 path(".target.bash"),
-                "/usr/sbin/sntp -S -l /var/log/YaST2/sntp.log -t 5 -c 
'#{String.Quote(ntp_server)}'"
+                "/usr/sbin/sntp -S -K /dev/null -l /var/log/YaST2/sntp.log -t 
5 -c '#{String.Quote(ntp_server)}'"
               )
         Builtins.y2milestone("'sntp %1' returned %2", ntp_server, ret)
         Popup.ClearFeedback
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ntp-client-3.1.21/src/modules/NtpClient.rb 
new/yast2-ntp-client-3.1.22/src/modules/NtpClient.rb
--- old/yast2-ntp-client-3.1.21/src/modules/NtpClient.rb        2016-01-14 
12:56:45.000000000 +0100
+++ new/yast2-ntp-client-3.1.22/src/modules/NtpClient.rb        2016-04-18 
15:55:36.000000000 +0200
@@ -1087,11 +1087,13 @@
 
       # testing the server using IPv4 and then using IPv6 protocol
       # bug #74076, Firewall could have been blocked IPv6
+      # -K /dev/null: use /dev/null as KoD history file (if not specified,
+      #               /var/db/ntp-kod will be used and it doesn't exist)
       # -c: concurrently query all IPs; -t 5: five seconds of timeout
-      ret_IPv4 = SCR.Execute(path(".target.bash"), "/usr/sbin/sntp -4 -t 5 -c 
#{server}")
+      ret_IPv4 = SCR.Execute(path(".target.bash"), "/usr/sbin/sntp -4 -K 
/dev/null -t 5 -c #{server}")
       ret_IPv6 = 0
       if ret_IPv4 != 0
-        ret_IPv6 = SCR.Execute(path(".target.bash"), "/usr/sbin/sntp -6 -t 5 
-c #{server}")
+        ret_IPv6 = SCR.Execute(path(".target.bash"), "/usr/sbin/sntp -6 -K 
/dev/null -t 5 -c #{server}")
       end
 
       UI.CloseDialog if verbosity != :no_ui


Reply via email to