Hello community,
here is the log from the commit of package yast2-dns-server
checked in at Fri Feb 9 19:33:34 CET 2007.
--------
--- yast2-dns-server/yast2-dns-server.changes 2007-01-11 15:24:16.000000000 +0100
+++ /mounts/work_src_done/NOARCH/yast2-dns-server/yast2-dns-server.changes 2007-02-08 17:25:14.000000000 +0100
@@ -1,0 +2,13 @@
+Mon Feb 5 16:42:37 CET 2007 - locilka@suse.cz
+
+- Reusing zone file when zone is removed and created again in one
+ module run (#199926).
+- 2.15.1
+
+-------------------------------------------------------------------
+Tue Jan 16 13:05:02 CET 2007 - locilka@suse.cz
+
+- Adding X-SuSE-YaST-AutoInstSchema entry into the application
+ desktop file (#235339).
+
+-------------------------------------------------------------------
Old:
----
yast2-dns-server-2.15.0.tar.bz2
New:
----
yast2-dns-server-2.15.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-dns-server.spec ++++++
--- /var/tmp/diff_new_pack.i24538/_old 2007-02-09 19:33:13.000000000 +0100
+++ /var/tmp/diff_new_pack.i24538/_new 2007-02-09 19:33:13.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-dns-server (Version 2.15.0)
+# spec file for package yast2-dns-server (Version 2.15.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-dns-server
-Version: 2.15.0
+Version: 2.15.1
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-dns-server-2.15.0.tar.bz2
+Source0: yast2-dns-server-2.15.1.tar.bz2
prefix: /usr
BuildRequires: perl-Digest-SHA1 perl-X500-DN perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-ldap-client yast2-perl-bindings yast2-testsuite
Requires: yast2 /usr/bin/host perl-gettext yast2-perl-bindings bind-utils yast2-ldap perl-X500-DN perl-Digest-SHA1 perl-Parse-RecDescent yast2-ldap-client
@@ -36,7 +36,7 @@
Lukas Ocilka
%prep
-%setup -n yast2-dns-server-2.15.0
+%setup -n yast2-dns-server-2.15.1
%build
%{prefix}/bin/y2tool y2autoconf
@@ -80,6 +80,13 @@
%doc %{prefix}/share/doc/packages/yast2-dns-server
%changelog -n yast2-dns-server
+* Mon Feb 05 2007 - locilka@suse.cz
+- Reusing zone file when zone is removed and created again in one
+ module run (#199926).
+- 2.15.1
+* Tue Jan 16 2007 - locilka@suse.cz
+- Adding X-SuSE-YaST-AutoInstSchema entry into the application
+ desktop file (#235339).
* Thu Jan 11 2007 - locilka@suse.cz
- New possibility to add @ as a DNS record key that actually means
$zone_name. "@" is immediately transformed to the $zone_name.
++++++ yast2-dns-server-2.15.0.tar.bz2 -> yast2-dns-server-2.15.1.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.15.0/src/dns-server.desktop new/yast2-dns-server-2.15.1/src/dns-server.desktop
--- old/yast2-dns-server-2.15.0/src/dns-server.desktop 2006-10-09 15:51:05.000000000 +0200
+++ new/yast2-dns-server-2.15.1/src/dns-server.desktop 2007-01-16 12:55:16.000000000 +0100
@@ -17,6 +17,7 @@
X-SuSE-YaST-SortKey=
X-SuSE-YaST-AutoInstResource=dns-server
X-SuSE-YaST-AutoInstRequires=lan,ldap,ldap-server,ldap-client
+X-SuSE-YaST-AutoInstSchema=dns-server.rnc
Icon=yast-dns-server
Exec=/sbin/yast2 dns-server
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.15.0/src/DnsServer.pm new/yast2-dns-server-2.15.1/src/DnsServer.pm
--- old/yast2-dns-server-2.15.0/src/DnsServer.pm 2006-10-31 11:13:46.000000000 +0100
+++ new/yast2-dns-server-2.15.1/src/DnsServer.pm 2007-02-05 16:34:51.000000000 +0100
@@ -78,6 +78,8 @@
my $configfile = '/etc/named.conf';
+my %zonename_to_filename = ();
+
##-------------------------------------------------------------------------
##----------------- various routines --------------------------------------
@@ -170,9 +172,15 @@
}
elsif ($zone_map{"is_new"})
{
- while (SCR->Read (".target.size", "/var/lib/named/$zone_file") > 0)
- {
- $zone_file = "$zone_file" . "X";
+ # deleted and created again, bugzilla #199926
+ if (defined $zonename_to_filename{$zone_name} && $zonename_to_filename{$zone_name} ne "") {
+ $zone_file = $zonename_to_filename{$zone_name};
+ y2milestone ("Reusing zone file $zone_file");
+ } else {
+ while (SCR->Read (".target.size", "/var/lib/named/$zone_file") > 0)
+ {
+ $zone_file = "$zone_file" . "X";
+ }
}
y2milestone ("Zone $zone_name is new, zone file set to $zone_file");
}
@@ -1190,6 +1198,9 @@
# ZONE TYPE 'master'
if ($zonetype eq "master")
{
+ # bugzilla #199926
+ $zonename_to_filename{$zonename} = $filename;
+
if ($use_ldap)
{
%zd = %{DnsZones->ZoneReadLdap ($zonename, $filename)};
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.15.0/VERSION new/yast2-dns-server-2.15.1/VERSION
--- old/yast2-dns-server-2.15.0/VERSION 2007-01-11 15:11:54.000000000 +0100
+++ new/yast2-dns-server-2.15.1/VERSION 2007-02-09 09:22:24.000000000 +0100
@@ -1 +1 @@
-2.15.0
+2.15.1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org