Hello community,
here is the log from the commit of package ntp for openSUSE:Factory
checked in at Sat Jul 4 13:39:28 CEST 2009.
--------
--- ntp/ntp.changes 2009-05-06 10:28:45.000000000 +0200
+++ /mounts/work_src_done/STABLE/ntp/ntp.changes 2009-06-19 10:49:31.000000000 +0200
@@ -1,0 +2,42 @@
+Fri Jun 19 10:21:08 CEST 2009 - varkoly@suse.de
+
+- bnc#506908 - ntptrace doesn't work as non root user
+- update to 4.2.4p7:
+ * [Sec 1151] Remote exploit if autokey is enabled - CVE-2009-1252.
+ * [Bug 1187] Update the copyright date.
+ * [Bug 1191] ntpd fails on Win2000 - "Address already in use" after fix for [Sec 1149].
+ * ntp.isc.org -> ntp.org cleanup.
+ * [Bug 1178] Use prior FORCE_DNSRETRY behavior as needed at runtime,
+ add configure --enable-ignore-dns-errors to be even more stubborn
+ * [Bug 784] Make --enable-linuxcaps the default when available
+ * [Bug 1179] error messages for -u/--user and -i lacking droproot
+ * Updated JJY reference clock driver from Takao Abe
+ * [Bug 1071] Log a message and exit before trying to use FD_SET with a
+ descriptor larger than FD_SETSIZE, which will corrupt memory
+ * On corruption of the iface list head in add_interface, log and exit
+ * [Bug 1172] 4.2.4p7-RC{3,4} fail to build on linux.
+ * flock-build script unportable 'set -m' use removed
+ * [Bug 1167] use gcc -Winit-self only if it is understood
+ * [Bug 787] Bug fixes for 64-bit time_t on Windows
+ * [Bug 813] Conditional naming of Event
+ * [Bug 1147] System errors should be logged to msyslog()
+ * [Bug 1155] Fix compile problem on Windows with VS2005
+ * [Bug 1156] lock_thread_to_processor() should be declared in header
+ * [Bug 1157] quiet OpenSSL warnings, clean up configure.ac
+ * [Bug 1158] support for aix6.1
+ * [Bug 1160] MacOS X is like BSD regarding F_SETOWN
+ * [Sec 1144] limited buffer overflow in ntpq. CVE-2009-0159
+ * [Sec 1149] use SO_EXCLUSIVEADDRUSE on Windows
+ * [Bug 1131] UDP sockets should not use SIGPOLL on Solaris.
+ * build system email address cleanup
+ * [Bug 774] parsesolaris.c does not compile under the new Solaris
+ * [Bug 873] Windows serial refclock proper TTY line discipline emulation
+ * [Bug 1014] Enable building with VC9 (in Visual Studio 2008,
+ Visual C++ 2008, or SDK)
+ * [Bug 1117] Deferred interface binding under Windows works only correctly
+ if FORCE_DNSRETRY is defined
+ * [BUG 1124] Lock QueryPerformanceCounter() client threads to same CPU
+ * DPRINTF macro made safer, always evaluates to a statement and will not
+ misassociate an else which follows the macro.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
ntp-4.2.4p6.tar.bz
New:
----
bnc#506908.diff
MOD_NANO.diff
ntp-4.2.4p7.tar.bz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ntp.spec ++++++
--- /var/tmp/diff_new_pack.k24308/_old 2009-07-04 13:39:09.000000000 +0200
+++ /var/tmp/diff_new_pack.k24308/_new 2009-07-04 13:39:09.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package ntp (Version 4.2.4p6)
+# spec file for package ntp (Version 4.2.4p7)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -24,10 +24,10 @@
BuildRequires: pwdutils
%define ntpfaqversion 3.4
Url: http://www.ntp.org/
-License: BSD 3-Clause
+License: BSD 3-clause (or similar)
Group: Productivity/Networking/Other
-Version: 4.2.4p6
-Release: 3
+Version: 4.2.4p7
+Release: 1
Summary: Network Time Protocol daemon (version 4)
# main source
Source0: ntp-%{version}.tar.bz
@@ -61,6 +61,8 @@
Patch12: ntp-kernel-time-sync-message.patch
Patch13: ntp-code-cleanup.patch
Patch14: ntp-sntp.patch
+Patch15: bnc#506908.diff
+Patch16: MOD_NANO.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Provides: ntp-daemon xntp3 xntp <= 4.2.4p6
@@ -122,7 +124,7 @@
Ulrich Windl
%package doc
-License: X11/MIT
+License: MIT License (or similar)
Group: Documentation/Other
AutoReqProv: on
Provides: ntpdoc xntpdoc xntp-doc = 4.2.4
@@ -206,6 +208,8 @@
%patch12
%patch13
%patch14
+%patch15
+%patch16
%build
rm -rf acconfig.h
++++++ bnc#506908.diff ++++++
--- scripts/ntptrace.in-orig 2009-06-18 10:10:33.000000000 +0200
+++ scripts/ntptrace.in 2009-06-18 10:10:49.000000000 +0200
@@ -6,7 +6,7 @@
use Getopt::Std;
use vars qw($opt_n $opt_m);
-$ntpq = "ntpq";
+$ntpq = "/usr/sbin/ntpq";
getopts('nm:');
++++++ MOD_NANO.diff ++++++
--- ntpd/ntp_loopfilter.c 2009-06-19 10:14:13.000000000 +0200
+++ ntpd/ntp_loopfilter.c 2009-06-19 10:16:30.000000000 +0200
@@ -567,7 +567,7 @@
struct tm *tm = NULL;
time_t tstamp;
-#ifdef STA_NANO
+#if defined(STA_NANO) && defined(MOD_NANO)
ntv.modes = MOD_BITS | MOD_NANO;
#else /* STA_NANO */
ntv.modes = MOD_BITS;
--- ntpd/ntp_loopfilter.c 2009-06-19 10:30:45.000000000 +0200
+++ ntpd/ntp_loopfilter.c 2009-06-19 10:25:59.000000000 +0200
@@ -893,7 +893,7 @@
pll_control = 1;
memset(&ntv, 0, sizeof(ntv));
-#ifdef STA_NANO
+#if defined(STA_NANO) && defined(MOD_NANO)
ntv.modes = MOD_BITS | MOD_NANO;
#else /* STA_NANO */
ntv.modes = MOD_BITS;
++++++ ntp-config.patch ++++++
--- /var/tmp/diff_new_pack.k24308/_old 2009-07-04 13:39:09.000000000 +0200
+++ /var/tmp/diff_new_pack.k24308/_new 2009-07-04 13:39:09.000000000 +0200
@@ -1,15 +1,3 @@
-diff -N -ur ntp-stable-4.2.0a-20050816-loconly//configure.ac ntp-config//configure.ac
---- ntp-stable-4.2.0a-20050816-loconly//configure.ac 2008-09-25 17:18:45.000000000 +0200
-+++ ntp-config//configure.ac 2008-09-25 17:24:47.000000000 +0200
-@@ -4129,7 +4129,7 @@
- [struct sockaddr_in6 xyzzy; xyzzy.sin6_scope_id = 0; return (0);],
- [AC_MSG_RESULT(yes)
- AC_DEFINE(ISC_PLATFORM_HAVESCOPEID, ,
-- [ISC: Have sin6_scope_id?])],
-+ [ISC: Have sin6_scope_id?])
- result="#define LWRES_HAVE_SIN6_SCOPE_ID 1"],
- [AC_MSG_RESULT(no)
- ISC_PLATFORM_HAVESCOPEID="#undef ISC_PLATFORM_HAVESCOPEID"
diff -N -ur ntp-stable-4.2.0a-20050816-loconly//Makefile.am ntp-config//Makefile.am
--- ntp-stable-4.2.0a-20050816-loconly//Makefile.am 2007-01-30 12:02:36.000000000 +0100
+++ ntp-config//Makefile.am 2008-10-08 11:54:16.000000000 +0200
++++++ ntp-lib64.patch ++++++
--- /var/tmp/diff_new_pack.k24308/_old 2009-07-04 13:39:09.000000000 +0200
+++ /var/tmp/diff_new_pack.k24308/_new 2009-07-04 13:39:09.000000000 +0200
@@ -1,6 +1,6 @@
---- configure.ac
-+++ configure.ac
-@@ -2814,7 +2814,7 @@
+--- configure.ac.orig 2009-06-18 11:07:32.000000000 +0200
++++ configure.ac 2009-06-18 11:08:51.000000000 +0200
+@@ -3144,7 +3144,7 @@
case "$ans" in
no) ;;
yes) # Look in:
@@ -9,19 +9,19 @@
;;
*) # Look where they said
;;
-@@ -3811,11 +3811,11 @@
- AC_MSG_RESULT(no)
- ;;
- *)
-- if test -f $kame_path/lib/libinet6.a; then
-- AC_MSG_RESULT($kame_path/lib/libinet6.a)
-- LIBS="-L$kame_path/lib -linet6 $LIBS"
-+ if test -f $kame_path/lib64/libinet6.a; then
-+ AC_MSG_RESULT($kame_path/lib64/libinet6.a)
-+ LIBS="-L$kame_path/lib64 -linet6 $LIBS"
- else
-- AC_MSG_ERROR([$kame_path/lib/libinet6.a not found.
-+ AC_MSG_ERROR([$kame_path/lib64/libinet6.a not found.
+@@ -4407,11 +4407,11 @@
+ AC_MSG_RESULT(no)
+ ;;
+ *)
+- if test -f $kame_path/lib/libinet6.a; then
+- AC_MSG_RESULT($kame_path/lib/libinet6.a)
+- LIBS="-L$kame_path/lib -linet6 $LIBS"
++ if test -f $kame_path/lib64/libinet6.a; then
++ AC_MSG_RESULT($kame_path/lib64/libinet6.a)
++ LIBS="-L$kame_path/lib64 -linet6 $LIBS"
+ else
+- AC_MSG_ERROR([$kame_path/lib/libinet6.a not found.
++ AC_MSG_ERROR([$kame_path/lib64/libinet6.a not found.
Please choose the proper path with the following command:
++++++ ntp-linuxcaps.patch ++++++
--- /var/tmp/diff_new_pack.k24308/_old 2009-07-04 13:39:09.000000000 +0200
+++ /var/tmp/diff_new_pack.k24308/_new 2009-07-04 13:39:09.000000000 +0200
@@ -15,17 +15,3 @@
esac
AMU_OS_CFLAGS
-@@ -186,11 +193,7 @@
- esac
-
- AC_CACHE_CHECK(if we have linux capabilities (libcap), ac_linuxcaps,
--[AC_ARG_ENABLE(linuxcaps,
-- AC_HELP_STRING([--enable-linuxcaps], [s Use Linux capabilities for non-root clock control]),
-- [ans=$enableval],
-- [ans=no])
--ac_linuxcaps=$ans])
-+[ac_linuxcaps=$want_linuxcaps])
- # End of AC_CACHE_CHECK for linuxcaps
- AC_CHECK_HEADERS(sys/capability.h)
- AC_CHECK_HEADERS(sys/prctl.h)
-Nur in ntp-linuxcaps/: configure.ac.orig.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org