Hello community, here is the log from the commit of package ntp for openSUSE:Factory checked in at 2014-02-15 17:17:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2014-01-23 15:50:08.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ntp.new/ntp.changes 2014-02-15 17:17:28.000000000 +0100 @@ -1,0 +2,12 @@ +Fri Feb 14 10:53:14 UTC 2014 - m...@suse.com + +- bnc#863815, ntp-sntp-recverr.patch: Get sntp to recognize socket + errors, so that it skips unreachable destinations immediately + instead of trying to reach them for more than five minutes + before finally timing out. + + This patch will probably be obsoleted by the next major upgrade, + because the current development release takes a different + approach to get a quick answer from one of the specified servers. + +------------------------------------------------------------------- New: ---- ntp-sntp-recverr.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ntp.spec ++++++ --- /var/tmp/diff_new_pack.ddJp77/_old 2014-02-15 17:17:29.000000000 +0100 +++ /var/tmp/diff_new_pack.ddJp77/_new 2014-02-15 17:17:29.000000000 +0100 @@ -60,6 +60,7 @@ Patch16: MOD_NANO.diff Patch18: bnc#574885.diff Patch19: ntp-4.2.6p2-ntpq-speedup-782060.patch +Patch20: ntp-sntp-recverr.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: ntp-daemon Provides: xntp <= 4.2.4p6 @@ -203,6 +204,7 @@ %patch16 %patch18 %patch19 +%patch20 # fix DOS line breaks sed -i 's/\r//g' html/scripts/{footer.txt,style.css} ++++++ ntp-sntp-recverr.patch ++++++ Index: sntp/networking.c =================================================================== --- sntp/networking.c.orig 2010-11-28 05:31:26.000000000 +0100 +++ sntp/networking.c 2014-02-14 12:33:07.844985648 +0100 @@ -85,6 +85,17 @@ if (-1 == *rsock && ENABLED_OPT(NORMALVERBOSE)) printf("Failed to create UDP socket with family %d\n", AF(dest)); +#ifdef IP_RECVERR + else { + int btrue = 1; +#ifdef IP6_RECVERR + if (AF(dest) == AF_INET6) + setsockopt(*rsock, IPPROTO_IPV6, IPV6_RECVERR, &btrue, sizeof(btrue)); + else +#endif + setsockopt(*rsock, IPPROTO_IP, IP_RECVERR, &btrue, sizeof(btrue)); + } +#endif } /* Send a packet */ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org