Hello community,
here is the log from the commit of package yast2-ntp-client
checked in at Tue Apr 11 13:16:44 CEST 2006.
--------
--- yast2-ntp-client/yast2-ntp-client.changes 2006-03-23 08:46:09.000000000 +0100
+++ NOARCH/yast2-ntp-client/yast2-ntp-client.changes 2006-04-11 11:54:34.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Apr 11 11:53:06 CEST 2006 - locilka@suse.cz
+
+- Switching from simple to complex configuration was eating server
+ entries (#165149).
+- 2.13.6
+
+-------------------------------------------------------------------
Old:
----
yast2-ntp-client-2.13.5.tar.bz2
New:
----
yast2-ntp-client-2.13.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ntp-client.spec ++++++
--- /var/tmp/diff_new_pack.ebHbyM/_old 2006-04-11 13:16:36.000000000 +0200
+++ /var/tmp/diff_new_pack.ebHbyM/_new 2006-04-11 13:16:36.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ntp-client (Version 2.13.5)
+# spec file for package yast2-ntp-client (Version 2.13.6)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-ntp-client
-Version: 2.13.5
+Version: 2.13.6
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ntp-client-2.13.5.tar.bz2
+Source0: yast2-ntp-client-2.13.6.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-slp yast2-testsuite
Requires: yast2 yast2-slp yast2-country
@@ -33,7 +33,7 @@
Jiri Srain
%prep
-%setup -n yast2-ntp-client-2.13.5
+%setup -n yast2-ntp-client-2.13.6
%build
%{prefix}/bin/y2tool y2autoconf
@@ -70,6 +70,10 @@
%doc %{prefix}/share/doc/packages/yast2-ntp-client
%changelog -n yast2-ntp-client
+* Tue Apr 11 2006 - locilka@suse.cz
+- Switching from simple to complex configuration was eating server
+ entries (#165149).
+- 2.13.6
* Thu Mar 23 2006 - locilka@suse.cz
- Added checking for root permissions into the module startup
process (#158483)
++++++ yast2-ntp-client-2.13.5.tar.bz2 -> yast2-ntp-client-2.13.6.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ntp-client-2.13.5/Makefile.am new/yast2-ntp-client-2.13.6/Makefile.am
--- old/yast2-ntp-client-2.13.5/Makefile.am 2006-03-23 08:47:01.000000000 +0100
+++ new/yast2-ntp-client-2.13.6/Makefile.am 2006-04-11 11:55:50.000000000 +0200
@@ -154,7 +154,7 @@
$(PREFIX)/bin/y2tool create-spec < $$i > $$here/package/$${newname} ; \
done
-package: check-up-to-date check-tagversion check-all-packages package-local
+package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
TAGVERSION = $(PREFIX)/bin/y2tool tagversion
@@ -199,6 +199,9 @@
false; \
fi
+check-textdomain:
+ $(PREFIX)/bin/y2tool check-textdomain $(srcdir)
+
stable: checkin-stable
checkin-stable: package
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ntp-client-2.13.5/Makefile.in new/yast2-ntp-client-2.13.6/Makefile.in
--- old/yast2-ntp-client-2.13.5/Makefile.in 2006-03-23 08:47:07.000000000 +0100
+++ new/yast2-ntp-client-2.13.6/Makefile.in 2006-04-11 11:55:57.000000000 +0200
@@ -783,7 +783,7 @@
$(PREFIX)/bin/y2tool create-spec < $$i > $$here/package/$${newname} ; \
done
-package: check-up-to-date check-tagversion check-all-packages package-local
+package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
check-up-to-date check-cvs-up-to-date check-svn-up-to-date:
if [ -d $(srcdir)/CVS ]; then \
@@ -826,6 +826,9 @@
false; \
fi
+check-textdomain:
+ $(PREFIX)/bin/y2tool check-textdomain $(srcdir)
+
stable: checkin-stable
checkin-stable: package
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ntp-client-2.13.5/VERSION new/yast2-ntp-client-2.13.6/VERSION
--- old/yast2-ntp-client-2.13.5/VERSION 2006-03-23 08:45:30.000000000 +0100
+++ new/yast2-ntp-client-2.13.6/VERSION 2006-04-11 11:52:37.000000000 +0200
@@ -1 +1 @@
-2.13.5
+2.13.6
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ntp-client-2.13.5/configure new/yast2-ntp-client-2.13.6/configure
--- old/yast2-ntp-client-2.13.5/configure 2006-03-23 08:47:06.000000000 +0100
+++ new/yast2-ntp-client-2.13.6/configure 2006-04-11 11:55:54.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for yast2-ntp-client 2.13.5.
+# Generated by GNU Autoconf 2.59 for yast2-ntp-client 2.13.6.
#
# Report bugs to http://www.suse.de/feedback.
#
@@ -269,8 +269,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-ntp-client'
PACKAGE_TARNAME='yast2-ntp-client'
-PACKAGE_VERSION='2.13.5'
-PACKAGE_STRING='yast2-ntp-client 2.13.5'
+PACKAGE_VERSION='2.13.6'
+PACKAGE_STRING='yast2-ntp-client 2.13.6'
PACKAGE_BUGREPORT='http://www.suse.de/feedback'
ac_unique_file="RPMNAME"
@@ -728,7 +728,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-ntp-client 2.13.5 to adapt to many kinds of systems.
+\`configure' configures yast2-ntp-client 2.13.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -795,7 +795,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-ntp-client 2.13.5:";;
+ short | recursive ) echo "Configuration of yast2-ntp-client 2.13.6:";;
esac
cat <<\_ACEOF
@@ -908,7 +908,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-ntp-client configure 2.13.5
+yast2-ntp-client configure 2.13.6
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -922,7 +922,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-ntp-client $as_me 2.13.5, which was
+It was created by yast2-ntp-client $as_me 2.13.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1652,7 +1652,7 @@
# Define the identity of the package.
PACKAGE='yast2-ntp-client'
- VERSION='2.13.5'
+ VERSION='2.13.6'
cat >>confdefs.h <<_ACEOF
@@ -1863,7 +1863,7 @@
-VERSION="2.13.5"
+VERSION="2.13.6"
RPMNAME="yast2-ntp-client"
MAINTAINER="Lukas Ocilka "
@@ -2693,7 +2693,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-ntp-client $as_me 2.13.5, which was
+This file was extended by yast2-ntp-client $as_me 2.13.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -2748,7 +2748,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-ntp-client config.status 2.13.5
+yast2-ntp-client config.status 2.13.6
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ntp-client-2.13.5/configure.in new/yast2-ntp-client-2.13.6/configure.in
--- old/yast2-ntp-client-2.13.5/configure.in 2006-03-23 08:47:01.000000000 +0100
+++ new/yast2-ntp-client-2.13.6/configure.in 2006-04-11 11:55:50.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-ntp-client, 2.13.5, http://www.suse.de/feedback, yast2-ntp-client)
+AC_INIT(yast2-ntp-client, 2.13.6, http://www.suse.de/feedback, yast2-ntp-client)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.13.5"
+VERSION="2.13.6"
RPMNAME="yast2-ntp-client"
MAINTAINER="Lukas Ocilka "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ntp-client-2.13.5/src/NtpClient.ycp new/yast2-ntp-client-2.13.6/src/NtpClient.ycp
--- old/yast2-ntp-client-2.13.5/src/NtpClient.ycp 2006-03-13 09:29:46.000000000 +0100
+++ new/yast2-ntp-client-2.13.6/src/NtpClient.ycp 2006-04-11 11:55:01.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Data for configuration of ntp-client, input and output functions.
* Authors: Jiri Srain
*
- * $Id: NtpClient.ycp 26068 2005-11-03 08:23:57Z locilka $
+ * $Id: NtpClient.ycp 29971 2006-04-11 09:54:58Z locilka $
*
* Representation of the configuration of ntp-client.
* Input and output routines.
@@ -441,13 +441,15 @@
* from the current configuration.
*/
global define void DeActivateRandomPoolServersFunction () {
- ntp_records = filter (map one_record, ntp_records, {
- return (
- // filter out servers
- one_record["type"]:"" != "server"
- // contained in the random_pool_servers list
- && !contains(random_pool_servers, one_record["address"]:"")
- );
+ foreach (string random_pool_server, random_pool_servers, {
+ ntp_records = filter (map one_record, ntp_records, {
+ return (
+ // do not filter out not-servers
+ one_record["type"]:"" != "server"
+ // do not filter out serces that are not random_pool_servers
+ || one_record["address"]:"" != random_pool_server
+ );
+ });
});
}
@@ -459,6 +461,13 @@
// remove all old ones
DeActivateRandomPoolServersFunction();
+ ntp_records = filter (map one_record, ntp_records, {
+ return (
+ // filter out all servers
+ one_record["type"]:"" != "server"
+ );
+ });
+
foreach (string one_server, random_pool_servers, {
ntp_records = add (ntp_records, $[
"address":one_server,
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...