Hello community, here is the log from the commit of package ntp for openSUSE:Factory checked in at 2013-01-20 12:58:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ntp (Old) and /work/SRC/openSUSE:Factory/.ntp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ntp", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/ntp/ntp.changes 2012-10-25 12:11:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ntp.new/ntp.changes 2013-01-20 12:58:23.000000000 +0100 @@ -1,0 +2,19 @@ +Fri Jan 18 14:18:09 UTC 2013 - [email protected] + +- Speedup ntpq (bnc#782060) + +ntp-4.2.6p2-ntpq-speedup-782060.patch + +------------------------------------------------------------------- +Thu Jan 17 17:37:35 UTC 2013 - [email protected] + +- bnc#450196 - ext3 - recovering journal on / on first boot on new kernel/fresh system updates +- bnc#774553 - ntp initscript: hwclock: With --noadjfile, you must specify either --utc or --localtime + +------------------------------------------------------------------- +Fri Dec 14 10:14:41 UTC 2012 - [email protected] + +- logrotate is not strictly required for operation of ntp so change + it to Suggested. That way the minimal installation doesn't draw in + cron and postfix. + +------------------------------------------------------------------- New: ---- ntp-4.2.6p2-ntpq-speedup-782060.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ntp.spec ++++++ --- /var/tmp/diff_new_pack.bdK8pC/_old 2013-01-20 12:58:25.000000000 +0100 +++ /var/tmp/diff_new_pack.bdK8pC/_new 2013-01-20 12:58:25.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ntp # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -59,6 +59,7 @@ Patch15: bnc#506908.diff Patch16: MOD_NANO.diff Patch18: bnc#574885.diff +Patch19: ntp-4.2.6p2-ntpq-speedup-782060.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: ntp-daemon Provides: xntp <= 4.2.4p6 @@ -67,7 +68,7 @@ Obsoletes: xntp3 Conflicts: openntpd PreReq: pwdutils %insserv_prereq %fillup_prereq /usr/bin/diff /usr/bin/grep /sbin/chkconfig -Requires: logrotate +Suggests: logrotate Requires: timezone %description @@ -201,6 +202,7 @@ %patch15 %patch16 %patch18 +%patch19 # fix DOS line breaks sed -i 's/\r//g' html/scripts/{footer.txt,style.css} ++++++ conf.ntp.init ++++++ --- /var/tmp/diff_new_pack.bdK8pC/_old 2013-01-20 12:58:25.000000000 +0100 +++ /var/tmp/diff_new_pack.bdK8pC/_new 2013-01-20 12:58:25.000000000 +0100 @@ -90,11 +90,11 @@ if [ "$NTPD_FORCE_SYNC_HWCLOCK_ON_STARTUP" = yes ] ; then function update_cmos() { if test -e /dev/rtc ; then - /sbin/hwclock --systohc $HWCLOCK --noadjfile + /sbin/hwclock --systohc $HWCLOCK return $? fi if test -z "$(/sbin/modprobe -l rtc_cmos)" ; then - /sbin/hwclock --systohc $HWCLOCK --noadjfile + /sbin/hwclock --systohc $HWCLOCK return $? fi local temprules=/dev/.udev/rules.d @@ -102,7 +102,7 @@ local rule=$temprules/95-rtc-cmos.rules local -i start=0 end=0 /bin/mkdir -m 0755 -p $temprules - echo ACTION==\"add\", KERNEL==\"rtc0\", RUN=\"/sbin/hwclock --systohc $HWCLOCK --noadjfile --rtc=\$env{DEVNAME}\" > $rule + echo ACTION==\"add\", KERNEL==\"rtc0\", RUN=\"/sbin/hwclock --systohc $HWCLOCK --rtc=\$env{DEVNAME}\" > $rule test -e $uevseqnum && read -t 1 start < $uevseqnum if /sbin/modprobe -q rtc_cmos ; then test -e $uevseqnum && read -t 1 end < $uevseqnum @@ -113,7 +113,7 @@ fi else rm -f $rule - /sbin/hwclock --systohc $HWCLOCK --noadjfile + /sbin/hwclock --systohc $HWCLOCK fi } fi @@ -153,6 +153,7 @@ echo "Warning: ${configfile} not found or not readable" fi done + mkdir -p ${CHROOT_PREFIX}/var/log mkdir -p ${CHROOT_PREFIX}/proc mount -t proc none -o ro,nosuid,nodev "${CHROOT_PREFIX}/proc" 2>/dev/null NTPD_OPTIONS="${NTPD_OPTIONS} -i ${CHROOT_PREFIX}" ++++++ ntp-4.2.6p2-ntpq-speedup-782060.patch ++++++ From: Bernhard M. Wiedemann <bwiedemann suse de> do not ask for ntp service in all protocols which is very slow (bnc#782060) --- libntp/decodenetnum.c.orig 2012-11-12 15:12:02.000000000 +0100 +++ libntp/decodenetnum.c 2012-11-12 15:13:18.000000000 +0100 @@ -70,7 +70,7 @@ } ZERO(hints); hints.ai_flags = Z_AI_NUMERICHOST; - err = getaddrinfo(cp, "ntp", &hints, &ai); + err = getaddrinfo(cp, NULL, &hints, &ai); if (err != 0) return 0; NTP_INSIST(ai->ai_addrlen <= sizeof(*netnum)); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
