commit ntp for openSUSE:Factory
Hello community, here is the log from the commit of package ntp for openSUSE:Factory checked in at Wed Dec 1 17:43:09 CET 2010. -------- --- ntp/ntp.changes 2010-09-28 12:56:36.000000000 +0200 +++ ntp/ntp.changes 2010-12-01 12:20:03.000000000 +0100 @@ -1,0 +2,22 @@ +Tue Nov 30 12:07:50 UTC 2010 - varkoly@novell.com + +- update to 4.2.6p2 + * Major code clean up. + 1. The protostats statistics files have been very useful in exposing + little twitches and turns when something hiccups, like a broken PPS + signal. Most of what used to be syslog messages are now repackaged as + protostats messages with optional syslog as well. + 2. Close inspection of the clock discipline behavior at long poll + intervals (36 h) showed it not doing as well as it should. + 3. Autokey. The enhanced error checking was becoming a major pain. A way was found + to toss out gobs of ugly fat code and replace the function with a much simpler + and more comprehensive scheme. + 4. The interface code for the kernel PPS signal was not in sync with the + kernel code itself. Some error checks were duplicated and some ineffective. + 5. The flake restrict bit turned out to be really interesting, especially + with symmtric modes and of those especially those using Autokey. + * Documentation updates +- New old feature: sync time on startup. If not needed NTPD_FORCE_SYNC_ON_STARTUP must + be set to no in /etc/sysconfig/ntp + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- ntp-4.2.0a-seed_file.patch ntp-4.2.4p7-autoconf.patch ntp-4.2.4p8.tar.bz ntp-config.patch ntp-kernel-time-sync-message.patch ntp-lib64.patch ntp-linuxcaps.patch ntp-manpages.patch ntp-ntptrace_doc.patch ntp-sntp.patch ntp-stable-4.2.0a-20050816-loconly.patch ntpd-using_wrong_group.patch New: ---- ntp-4.2.6p2-seed_file.patch ntp-4.2.6p2.tar.bz remove-ntpdate.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ntp.spec ++++++ --- /var/tmp/diff_new_pack.7Zo38H/_old 2010-12-01 17:39:29.000000000 +0100 +++ /var/tmp/diff_new_pack.7Zo38H/_new 2010-12-01 17:39:29.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package ntp (Version 4.2.4p8) +# spec file for package ntp (Version 4.2.6p2) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -26,8 +26,8 @@ Url: http://www.ntp.org/ License: BSD3c(or similar) Group: Productivity/Networking/Other -Version: 4.2.4p8 -Release: 10 +Version: 4.2.6p2 +Release: 1 Summary: Network Time Protocol daemon (version 4) # main source Source0: ntp-%{version}.tar.bz @@ -48,22 +48,13 @@ Source15: ntpdate Source16: ntp-wait Patch1: ntp-segfault_on_invalid_device.patch -Patch2: ntp-linuxcaps.patch -Patch3: ntp-ntptrace_doc.patch Patch4: ntpd-maxmonmen.patch -Patch5: ntpd-using_wrong_group.patch -Patch6: ntp-lib64.patch -Patch7: ntp-stable-4.2.0a-20050816-loconly.patch -Patch8: ntp-manpages.patch -Patch9: ntp-config.patch +Patch9: remove-ntpdate.diff Patch10: ntp-strcat.patch -Patch11: ntp-4.2.0a-seed_file.patch -Patch12: ntp-kernel-time-sync-message.patch +Patch11: ntp-4.2.6p2-seed_file.patch Patch13: ntp-code-cleanup.patch -Patch14: ntp-sntp.patch Patch15: bnc#506908.diff Patch16: MOD_NANO.diff -Patch17: ntp-4.2.4p7-autoconf.patch Patch18: bnc#574885.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on @@ -192,27 +183,16 @@ # unpack ntp-faq tar -x -C html -j -f %{S:10} %patch1 -%patch2 -%patch3 %patch4 -p1 -%patch5 -%patch7 -p1 -%if %_lib == lib64 -%patch6 -%endif # copy README.SUSE cp %{S:12} . tar xzf %{S:13} -%patch8 -p1 -%patch9 -p1 +%patch9 %patch10 -p1 -%patch11 -p1 -%patch12 +%patch11 %patch13 -%patch14 %patch15 %patch16 -%patch17 %patch18 %build ++++++ bnc#506908.diff ++++++ --- /var/tmp/diff_new_pack.7Zo38H/_old 2010-12-01 17:39:29.000000000 +0100 +++ /var/tmp/diff_new_pack.7Zo38H/_new 2010-12-01 17:39:29.000000000 +0100 @@ -1,5 +1,5 @@ ---- scripts/ntptrace.in-orig 2009-06-18 10:10:33.000000000 +0200 -+++ scripts/ntptrace.in 2009-06-18 10:10:49.000000000 +0200 +--- scripts/ntptrace.in.orig 2010-10-21 21:26:13.000000000 +0200 ++++ scripts/ntptrace.in 2010-10-21 21:26:29.000000000 +0200 @@ -6,7 +6,7 @@ use Getopt::Std; use vars qw($opt_n $opt_m); @@ -7,5 +7,5 @@ -$ntpq = "ntpq"; +$ntpq = "/usr/sbin/ntpq"; + $Getopt::Std::STANDARD_HELP_VERSION=1; getopts('nm:'); - ++++++ bnc#574885.diff ++++++ --- /var/tmp/diff_new_pack.7Zo38H/_old 2010-12-01 17:39:29.000000000 +0100 +++ /var/tmp/diff_new_pack.7Zo38H/_new 2010-12-01 17:39:29.000000000 +0100 @@ -1,11 +1,11 @@ ---- libisc/ifiter_ioctl.c 2010-02-08 15:47:14.000000000 +0100 -+++ libisc/ifiter_ioctl.c 2010-02-08 15:47:34.000000000 +0100 -@@ -52,7 +52,7 @@ - #define VALID_IFITER(t) ISC_MAGIC_VALID(t, IFITER_MAGIC) +--- lib/isc/unix/interfaceiter.c.orig 2010-10-21 21:36:10.000000000 +0200 ++++ lib/isc/unix/interfaceiter.c 2010-10-21 21:36:34.000000000 +0200 +@@ -147,7 +147,7 @@ + #ifdef __linux #define ISC_IF_INET6_SZ \ - sizeof("00000000000000000000000000000001 01 80 10 80 XXXXXXloXXXXXXXX\n") + sizeof("00000000000000000000000000000001 00001 80 10 80 XXXXXXloXXXXXXXX\n") - - struct isc_interfaceiter { - unsigned int magic; /* Magic number. */ + static isc_result_t linux_if_inet6_next(isc_interfaceiter_t *); + static isc_result_t linux_if_inet6_current(isc_interfaceiter_t *); + static void linux_if_inet6_first(isc_interfaceiter_t *iter); ++++++ conf.ntp.init ++++++ --- /var/tmp/diff_new_pack.7Zo38H/_old 2010-12-01 17:39:29.000000000 +0100 +++ /var/tmp/diff_new_pack.7Zo38H/_new 2010-12-01 17:39:29.000000000 +0100 @@ -149,8 +149,10 @@ case "$1" in start) - ntpd_is_running || $0 ntptimeset - # get the initial date from the timeservers configured in ntp.conf + if [ "$NTPD_FORCE_SYNC_ON_STARTUP" = "yes" ]; then + # get the initial date from the timeservers configured in ntp.conf + ntpd_is_running || $0 ntptimeset + fi echo -n "Starting network time protocol daemon (NTPD)" # do we need a refclock symlink? parse_symlink ++++++ conf.sysconfig.ntp ++++++ --- /var/tmp/diff_new_pack.7Zo38H/_old 2010-12-01 17:39:29.000000000 +0100 +++ /var/tmp/diff_new_pack.7Zo38H/_new 2010-12-01 17:39:29.000000000 +0100 @@ -50,3 +50,10 @@ # /usr/share/doc/packages/ntp-doc/drivers/driver8.html # NTP_PARSE_DEVICE="" + +## Type: boolean +## Default: "yes" +# +# Force time synchronization befor start ntpd +# +NTPD_FORCE_SYNC_ON_STARTUP="yes" ++++++ ntp-4.2.6p2-seed_file.patch ++++++ --- ntpd/ntp_crypto.c.orig 2010-10-21 20:55:20.000000000 +0200 +++ ntpd/ntp_crypto.c 2010-10-21 20:56:36.000000000 +0200 @@ -3698,10 +3698,12 @@ randfile = rand_file; if ((bytes = RAND_load_file(randfile, -1)) == 0) { + RAND_write_file(rand_file); msyslog(LOG_ERR, - "crypto_setup: random seed file %s missing", + "crypto_setup: random seed file %s missing - created one\n", randfile); - exit (-1); + crypto_setup(); + return ( 0 ); } get_systime(&seed); RAND_seed(&seed, sizeof(l_fp)); ++++++ ntp-code-cleanup.patch ++++++ ++++ 647 lines (skipped) ++++ between ntp/ntp-code-cleanup.patch ++++ and ntp/ntp-code-cleanup.patch ++++++ remove-ntpdate.diff ++++++ --- Makefile.in.orig 2010-10-21 20:45:04.000000000 +0200 +++ Makefile.in 2010-10-21 20:45:31.000000000 +0200 @@ -253,7 +253,7 @@ ACLOCAL_AMFLAGS = -I m4 -I libopts/m4 NULL = SUBDIRS = scripts include ElectricFence $(NULL) $(am__append_1) libntp \ - libparse ntpd ntpdate ntpdc ntpq ntpsnmpd parseutil adjtimed \ + libparse ntpd ntpdc ntpq ntpsnmpd parseutil adjtimed \ clockstuff kernel sntp util $(NULL) DIST_SUBDIRS = \ scripts \ @@ -263,7 +263,6 @@ libopts \ libparse \ ntpd \ - ntpdate \ ntpdc \ ntpq \ ntpsnmpd \ --- Makefile.am.orig 2010-10-21 20:45:13.000000000 +0200 +++ Makefile.am 2010-10-21 20:45:37.000000000 +0200 @@ -16,7 +16,6 @@ libntp \ libparse \ ntpd \ - ntpdate \ ntpdc \ ntpq \ ntpsnmpd \ @@ -36,7 +35,6 @@ libopts \ libparse \ ntpd \ - ntpdate \ ntpdc \ ntpq \ ntpsnmpd \ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de