Hello community,
here is the log from the commit of package yast2-dns-server
checked in at Wed Aug 6 02:00:09 CEST 2008.
--------
--- yast2-dns-server/yast2-dns-server.changes 2008-07-23 15:36:10.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-dns-server/yast2-dns-server.changes 2008-08-05 10:53:45.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Aug 5 10:53:13 CEST 2008 - locilka@suse.cz
+
+- Adjusted to the newest LDAP SCR agent (patch written by jsuchome)
+ (FATE #303596).
+- 2.17.4
+
+-------------------------------------------------------------------
Old:
----
yast2-dns-server-2.17.3.tar.bz2
New:
----
yast2-dns-server-2.17.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-dns-server.spec ++++++
--- /var/tmp/diff_new_pack.Q20062/_old 2008-08-06 02:00:01.000000000 +0200
+++ /var/tmp/diff_new_pack.Q20062/_new 2008-08-06 02:00:01.000000000 +0200
@@ -1,10 +1,17 @@
#
-# spec file for package yast2-dns-server (Version 2.17.3)
+# spec file for package yast2-dns-server (Version 2.17.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -12,12 +19,12 @@
Name: yast2-dns-server
-Version: 2.17.3
+Version: 2.17.4
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-dns-server-2.17.3.tar.bz2
+Source0: yast2-dns-server-2.17.4.tar.bz2
Prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-ldap-client yast2-perl-bindings yast2-testsuite
# requires DnsServerAPI::GetReverseIPforIPv6
@@ -49,7 +56,7 @@
Lukas Ocilka
%prep
-%setup -n yast2-dns-server-2.17.3
+%setup -n yast2-dns-server-2.17.4
%build
%{prefix}/bin/y2tool y2autoconf
@@ -92,6 +99,10 @@
/usr/share/YaST2/schema/autoyast/rnc/dns-server.rnc
%doc %{prefix}/share/doc/packages/yast2-dns-server
%changelog
+* Tue Aug 05 2008 locilka@suse.cz
+- Adjusted to the newest LDAP SCR agent (patch written by jsuchome)
+ (FATE #303596).
+- 2.17.4
* Wed Jul 23 2008 locilka@suse.cz
- Added support for dynamic updates initiated also out of the
dns-server module.
++++++ yast2-dns-server-2.17.3.tar.bz2 -> yast2-dns-server-2.17.4.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.17.3/src/DnsServer.pm new/yast2-dns-server-2.17.4/src/DnsServer.pm
--- old/yast2-dns-server-2.17.3/src/DnsServer.pm 2008-07-23 13:15:17.000000000 +0200
+++ new/yast2-dns-server-2.17.4/src/DnsServer.pm 2008-08-05 10:49:57.000000000 +0200
@@ -1651,7 +1651,7 @@
%found = (
'objectclass' => [ 'top', 'suseDnsConfiguration' ],
'cn' => [ 'defaultDNS' ],
- 'susedefaultbase' => [ 'ou=DNS,'.$ldap_domain ],
+ 'suseDefaultBase' => [ 'ou=DNS,'.$ldap_domain ],
);
}
else
@@ -1662,7 +1662,7 @@
}
# check if base DN for zones is defined
- my @bases = @{ $found{"susedefaultbase"} || [] };
+ my @bases = @{ $found{"suseDefaultBase"} || [] };
if (@bases == 0)
{
@bases = ("ou=DNS,$ldap_domain");
@@ -1773,7 +1773,7 @@
my %ldap_object = (
'objectclass' => [ 'top', 'suseDnsConfiguration' ],
'cn' => [ 'defaultDNS' ],
- 'susedefaultbase' => [ 'ou=DNS,'.$ldap_domain ],
+ 'suseDefaultBase' => [ 'ou=DNS,'.$ldap_domain ],
);
my %ldap_request = (
"dn" => "cn=defaultDNS,$ldap_config_dn",
@@ -1796,11 +1796,11 @@
my $dns_conf_dn = $keys[0];
%found = %{$found{$dns_conf_dn}};
# check if base DN for zones is defined
- my @bases = @{ $found{"susedefaultbase"} || [] };
+ my @bases = @{ $found{"suseDefaultBase"} || [] };
if (@bases == 0)
{
my %ldap_object = %found;
- $ldap_object{"susedefaultbase"} = ["ou=DNS,$ldap_domain"];
+ $ldap_object{"suseDefaultBase"} = ["ou=DNS,$ldap_domain"];
my %ldap_request = (
"dn" => "$dns_conf_dn",
);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.17.3/src/DnsZones.pm new/yast2-dns-server-2.17.4/src/DnsZones.pm
--- old/yast2-dns-server-2.17.3/src/DnsZones.pm 2008-07-23 15:16:25.000000000 +0200
+++ new/yast2-dns-server-2.17.4/src/DnsZones.pm 2008-08-05 10:54:02.000000000 +0200
@@ -5,7 +5,7 @@
# Authors: Jiri Srain
# Lukas Ocilka
#
-# $Id: DnsZones.pm 49340 2008-07-23 12:16:18Z locilka $
+# $Id: DnsZones.pm 49676 2008-08-05 08:54:01Z locilka $
#
# Contains routines for handling zone files (both directly and using nsupdate)
@@ -471,7 +471,7 @@
my %zonemap = %{$found[0] || {}};
my $serial = $self->UpdateSerial ("");
- my @soa_str_lst = @{$zonemap{"soarecord"}|| ["@ root $serial 3H 1H 1W 1D"]};
+ my @soa_str_lst = @{$zonemap{"sOARecord"}|| ["@ root $serial 3H 1H 1W 1D"]};
my $soa_str = $soa_str_lst[0];
my @soa_lst = split (" ", $soa_str);
@@ -479,7 +479,7 @@
$_ ne ""
} @soa_lst;
- my @rel_lst = @{$zonemap{"relativedomainname"}};
+ my @rel_lst = @{$zonemap{"relativeDomainName"}};
my %soa = (
"expiry" => $soa_lst[5],
@@ -517,7 +517,7 @@
foreach my $record_ref (@found)
{
my %record = %{$record_ref};
- my @rel_dn = @{$record{"relativedomainname"}};
+ my @rel_dn = @{$record{"relativeDomainName"}};
my $rel_dn = $rel_dn[0];
foreach my $rec_type (@all_rec_types)
@@ -571,12 +571,12 @@
my $soa_record = join (" ", @soa_lst);
my %ldap_record = (
- "objectclass" => ["dnszone"],
- "zonename" => [$zone],
- "relativedomainname" => ["@"],
- "dnsttl" => [DnsRoutines->NormalizeTime ($zone_map{"ttl"} || "2D")],
- "dnsclass" => ["IN"],
- "soarecord" => $soa_record,
+ "objectClass" => ["dNSZone"],
+ "zoneName" => [$zone],
+ "relativeDomainName" => ["@"],
+ "dNSTTL" => [DnsRoutines->NormalizeTime ($zone_map{"ttl"} || "2D")],
+ "dNSClass" => ["IN"],
+ "sOARecord" => $soa_record,
);
my @current_records = grep {
@@ -613,7 +613,7 @@
else
{
y2milestone ("Modifying existing record");
- delete $ldap_record{"objectclass"}; # objectclass can be changed by mail-server
+ delete $ldap_record{"objectClass"}; # objectclass can be changed by mail-server
SCR->Write (".ldap.modify", \%ldap_cmd, \%ldap_record);
}
@@ -635,7 +635,7 @@
my @found = @{$found_ref};
@found = map {
- my @l = @{$_->{"relativedomainname"}};
+ my @l = @{$_->{"relativeDomainName"}};
$l[0];
} @found;
@@ -651,7 +651,7 @@
foreach my $d (@deleted)
{
y2milestone ("Removing all records regarding $d");
- SCR->Write (".ldap.delete", {"dn" => "relativedomainname=$d,$zone_dn"});
+ SCR->Write (".ldap.delete", {"dn" => "relativeDomainName=$d,$zone_dn"});
}
# write all the other records
@@ -668,11 +668,11 @@
{
my $rec_dn = "relativeDomainName=$r,$zone_dn";
my %ldap_record = (
- "objectclass" => ["dnszone"],
- "zonename" => [$zone],
- "relativedomainname" => [$r],
- "dnsttl" => [DnsRoutines->NormalizeTime ($zone_map{"ttl"} || "2D")],
- "dnsclass" => ["IN"],
+ "objectClass" => ["dNSZone"],
+ "zoneName" => [$zone],
+ "relativeDomainName" => [$r],
+ "dNSTTL" => [DnsRoutines->NormalizeTime ($zone_map{"ttl"} || "2D")],
+ "dNSClass" => ["IN"],
);
@current_records = grep {
@@ -751,7 +751,7 @@
my $found = SCR->Read (".ldap.search", \%ldap_query);
my @found = @{$found || []};
@found = map {
- $_->{"zonename"}[0];
+ $_->{"zoneName"}[0];
} @found;
@found = grep {
defined ($_);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-dns-server-2.17.3/VERSION new/yast2-dns-server-2.17.4/VERSION
--- old/yast2-dns-server-2.17.3/VERSION 2008-07-23 12:39:27.000000000 +0200
+++ new/yast2-dns-server-2.17.4/VERSION 2008-08-05 10:53:52.000000000 +0200
@@ -1 +1 @@
-2.17.3
+2.17.4
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org