Hello community,

here is the log from the commit of package yast2-ntp-client for 
openSUSE:Factory checked in at 2015-07-23 15:21:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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        
2015-07-05 17:53:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-ntp-client.new/yast2-ntp-client.changes   
2015-07-23 15:21:37.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Jul 20 10:38:30 UTC 2015 - an...@suse.com
+
+- Calls to sntp adjusted to the syntax of ntp 4.2.8
+  (bnc#937837, bnc#916617)
+- 3.1.16
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-ntp-client.spec ++++++
--- /var/tmp/diff_new_pack.hM9pvY/_old  2015-07-23 15:21:37.000000000 +0200
+++ /var/tmp/diff_new_pack.hM9pvY/_new  2015-07-23 15:21:37.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-ntp-client
-Version:        3.1.15
+Version:        3.1.16
 Release:        0
 Summary:        YaST2 - NTP Client Configuration
 License:        GPL-2.0+

++++++ yast2-ntp-client-3.1.15.tar.bz2 -> yast2-ntp-client-3.1.16.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ntp-client-3.1.15/package/yast2-ntp-client.changes 
new/yast2-ntp-client-3.1.16/package/yast2-ntp-client.changes
--- old/yast2-ntp-client-3.1.15/package/yast2-ntp-client.changes        
2015-07-03 11:30:36.000000000 +0200
+++ new/yast2-ntp-client-3.1.16/package/yast2-ntp-client.changes        
2015-07-20 15:35:39.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Mon Jul 20 10:38:30 UTC 2015 - an...@suse.com
+
+- Calls to sntp adjusted to the syntax of ntp 4.2.8
+  (bnc#937837, bnc#916617)
+- 3.1.16
+
+-------------------------------------------------------------------
 Fri Jun 26 11:34:00 UTC 2015 - jreidin...@suse.com
 
 - do not crash if ntp is not installed to target system during
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ntp-client-3.1.15/package/yast2-ntp-client.spec 
new/yast2-ntp-client-3.1.16/package/yast2-ntp-client.spec
--- old/yast2-ntp-client-3.1.15/package/yast2-ntp-client.spec   2015-07-03 
11:30:36.000000000 +0200
+++ new/yast2-ntp-client-3.1.16/package/yast2-ntp-client.spec   2015-07-20 
15:35:39.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-ntp-client
-Version:        3.1.15
+Version:        3.1.16
 Release:        0
 Summary:        YaST2 - NTP Client Configuration
 License:        GPL-2.0+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ntp-client-3.1.15/src/clients/ntp-client_proposal.rb 
new/yast2-ntp-client-3.1.16/src/clients/ntp-client_proposal.rb
--- old/yast2-ntp-client-3.1.15/src/clients/ntp-client_proposal.rb      
2015-07-03 11:30:36.000000000 +0200
+++ new/yast2-ntp-client-3.1.16/src/clients/ntp-client_proposal.rb      
2015-07-20 15:35:39.000000000 +0200
@@ -399,12 +399,13 @@
 
         Builtins.y2milestone("Running sntp to sync with %1", ntp_server)
 
-        # -s: do set the system time
+        # -S: do set the system time
         # -t 5: timeout of 5 seconds
         # -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 -l /var/log/YaST2/sntp.log -t 5 -s 
'#{String.Quote(ntp_server)}'"
+                "/usr/sbin/sntp -S -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.15/src/modules/NtpClient.rb 
new/yast2-ntp-client-3.1.16/src/modules/NtpClient.rb
--- old/yast2-ntp-client-3.1.15/src/modules/NtpClient.rb        2015-07-03 
11:30:36.000000000 +0200
+++ new/yast2-ntp-client-3.1.16/src/modules/NtpClient.rb        2015-07-20 
15:35:39.000000000 +0200
@@ -1078,20 +1078,11 @@
 
       # testing the server using IPv4 and then using IPv6 protocol
       # bug #74076, Firewall could have been blocked IPv6
-      ret_IPv4 = Convert.to_integer(
-        SCR.Execute(
-          path(".target.bash"),
-          Builtins.sformat("/usr/sbin/sntp -4 -t 5 %1", server)
-        )
-      )
+      # -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_IPv6 = 0
       if ret_IPv4 != 0
-        ret_IPv6 = Convert.to_integer(
-          SCR.Execute(
-            path(".target.bash"),
-            Builtins.sformat("/usr/sbin/sntp -6 -t 5 %1", server)
-          )
-        )
+        ret_IPv6 = SCR.Execute(path(".target.bash"), "/usr/sbin/sntp -6 -t 5 
-c #{server}")
       end
 
       UI.CloseDialog if verbosity != :no_ui


Reply via email to