Hello community,

here is the log from the commit of package ntp for openSUSE:Factory checked in 
at 2015-07-25 07:43:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ntp (Old)
 and      /work/SRC/openSUSE:Factory/.ntp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ntp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ntp/ntp.changes  2015-04-22 01:16:27.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.ntp.new/ntp.changes     2015-07-25 
07:43:47.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Jul 16 12:30:16 UTC 2015 - [email protected]
+
+- Update to version 4.2.8p3 which incorporates all security fixes
+  and most other patches we have so far (fate#319040).
+  More information on:
+  http://archive.ntp.org/ntp4/ChangeLog-stable
+- Disable chroot by default (bnc#926510).
+- Enable ntpdc for backwards compatibility (bnc#920238).
+
+-------------------------------------------------------------------

Old:
----
  ntp-4.2.8p2.tar.gz

New:
----
  ntp-4.2.8p3.tar.gz

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

Other differences:
------------------
++++++ ntp.spec ++++++
--- /var/tmp/diff_new_pack.sfNPyz/_old  2015-07-25 07:43:48.000000000 +0200
+++ /var/tmp/diff_new_pack.sfNPyz/_new  2015-07-25 07:43:48.000000000 +0200
@@ -21,7 +21,7 @@
 %global _ntpunitsdir %{_libexecdir}/systemd/ntp-units.d
 %endif
 Name:           ntp
-Version:        4.2.8p2
+Version:        4.2.8p3
 Release:        0
 Summary:        Network Time Protocol daemon (version 4)
 License:        (MIT and BSD-3-Clause and BSD-4-Clause) and GPL-2.0

++++++ conf.ntp.conf ++++++
--- /var/tmp/diff_new_pack.sfNPyz/_old  2015-07-25 07:43:49.000000000 +0200
+++ /var/tmp/diff_new_pack.sfNPyz/_new  2015-07-25 07:43:49.000000000 +0200
@@ -59,6 +59,9 @@
 restrict 127.0.0.1
 restrict ::1
 
+# Allow ntpdc
+enable mode7
+
 # Clients from this (example!) subnet have unlimited access, but only if
 # cryptographically authenticated.
 #restrict 192.168.123.0 mask 255.255.255.0 notrust

++++++ conf.start-ntpd ++++++
--- /var/tmp/diff_new_pack.sfNPyz/_old  2015-07-25 07:43:49.000000000 +0200
+++ /var/tmp/diff_new_pack.sfNPyz/_new  2015-07-25 07:43:49.000000000 +0200
@@ -138,7 +138,7 @@
 }
 
 function add_runtime_server() {
-  [ "$NTPD_FORCE_SYNC_HWCLOCK_ON_STARTUP" = "yes" ] && /usr/sbin/sntp -s $@
+  [ "$NTPD_FORCE_SYNC_HWCLOCK_ON_STARTUP" = "yes" ] && /usr/sbin/sntp -S -c $@
   NTPC_CMD="keyid $NTP_KEYID\npasswd $NTP_PASSWD\naddserver $@\n"
   NTPDC_LOG=$(echo -e "${NTPC_CMD}quit" | $NTPDC_BIN)
   logger -t $0 "runtime configuration: $NTPDC_LOG"
@@ -203,24 +203,29 @@
   ;;
   ntptimeset)
     NTPD_PROTO="$( get_ntpd_ip_proto )"
-    for i in $(gawk '/^server/ { if( $2 !~ "^127.127." ) print $2","$3 }' 
$NTP_CONF)
-    do 
-        IFS=',' read -ra SERVER <<< "$i"
-        if [ ${SERVER[0]} = "-4" ] || [ ${SERVER[0]} = "-6" ]
+    while read arg1 arg2 arg3 dummy
+    do
+        test "$arg1" = "server" || continue
+        if [ "$arg2" = "-4" -o "$arg2" = "-6" ]
         then
-            if [ -z "${NTPD_PROTO}" ] || [ "${NTPD_PROTO}" = "${SERVER[0]}" ]
-            then
-                SNTP_OPT="${SERVER[0]} ${SERVER[1]}"
-            else
-                # ignore servers with conflicting proto
-                continue
-            fi
+            srv="$arg3"
+           proto="$arg2"
+            args="$arg2 $arg3"
         else
-            # here the usual case with empty NTPD_PROTO (default/yast config)
-            SNTP_OPT="$NTPD_PROTO ${SERVER[0]}"
+            srv="$arg2"
+           proto=""
+            args="$arg2"
         fi
-        /usr/sbin/sntp -t 2 -l /dev/null -s $SNTP_OPT 2> /dev/null && { 
SYNCHRONISED=$SNTP_OPT; break; };
-    done
+       # ignore servers with conflicting IP version
+       test -n "$NTP_PROTO" -a "NTPD_PROTO" != "$proto" && continue
+       # ignore hardware clock drivers
+        test "${srv#127.127.}" != "$srv" && continue
+        if sntp -S -c $args &> /dev/null
+        then
+            SYNCHRONISED=$srv
+            break
+        fi
+    done < /etc/ntp.conf
     if [ "$SYNCHRONISED" ]
     then
            echo "Time synchronized with $SYNCHRONISED"

++++++ conf.sysconfig.ntp ++++++
--- /var/tmp/diff_new_pack.sfNPyz/_old  2015-07-25 07:43:49.000000000 +0200
+++ /var/tmp/diff_new_pack.sfNPyz/_new  2015-07-25 07:43:49.000000000 +0200
@@ -20,7 +20,7 @@
 # 
 # The pid file will be in /var/lib/ntp/var/run/ntpd.pid. 
 #
-NTPD_RUN_CHROOTED="yes"
+NTPD_RUN_CHROOTED="no"
 
 ## Type:           string
 ## Default:        ""

++++++ ntp-4.2.8p2.tar.gz -> ntp-4.2.8p3.tar.gz ++++++
/work/SRC/openSUSE:Factory/ntp/ntp-4.2.8p2.tar.gz 
/work/SRC/openSUSE:Factory/.ntp.new/ntp-4.2.8p3.tar.gz differ: char 5, line 1




Reply via email to