Hello community,
here is the log from the commit of package yast2-dns-server
checked in at Wed Nov 5 18:20:18 CET 2008.
--------
--- yast2-dns-server/yast2-dns-server.changes 2008-08-28 15:04:52.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-dns-server/yast2-dns-server.changes 2008-11-04 19:25:55.000000000 +0100
@@ -1,0 +2,9 @@
+Tue Nov 4 19:18:14 CET 2008 - locilka@suse.cz
+
+- However entries are stored in LDAP, .ldap.search returns them
+ in thisStrangeFormat. Moreover, DNS records entries are stored
+ in format tXTRecord for TXT record, cNAMERecord for CNAME, etc.
+ (bnc #433899)
+- 2.17.8
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-dns-server-2.17.7.tar.bz2
New:
----
yast2-dns-server-2.17.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-dns-server.spec ++++++
--- /var/tmp/diff_new_pack.BT5299/_old 2008-11-05 18:19:58.000000000 +0100
+++ /var/tmp/diff_new_pack.BT5299/_new 2008-11-05 18:19:58.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-dns-server (Version 2.17.7)
+# spec file for package yast2-dns-server (Version 2.17.8)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-dns-server
-Version: 2.17.7
+Version: 2.17.8
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-dns-server-2.17.7.tar.bz2
+Source0: yast2-dns-server-2.17.8.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
@@ -59,7 +59,7 @@
Lukas Ocilka
%prep
-%setup -n yast2-dns-server-2.17.7
+%setup -n yast2-dns-server-2.17.8
%build
%{prefix}/bin/y2tool y2autoconf
@@ -102,6 +102,12 @@
/usr/share/YaST2/schema/autoyast/rnc/dns-server.rnc
%doc %{prefix}/share/doc/packages/yast2-dns-server
%changelog
+* Tue Nov 04 2008 locilka@suse.cz
+- However entries are stored in LDAP, .ldap.search returns them
+ in thisStrangeFormat. Moreover, DNS records entries are stored
+ in format tXTRecord for TXT record, cNAMERecord for CNAME, etc.
+ (bnc #433899)
+- 2.17.8
* Thu Aug 28 2008 locilka@suse.cz
- Dropped dead code (widgets.ycp).
- 2.17.7
++++++ yast2-dns-server-2.17.7.tar.bz2 -> yast2-dns-server-2.17.8.tar.bz2 ++++++
++++ 3082 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.17.7/configure.in new/yast2-dns-server-2.17.8/configure.in
--- old/yast2-dns-server-2.17.7/configure.in 2008-08-11 13:18:28.000000000 +0200
+++ new/yast2-dns-server-2.17.8/configure.in 2008-11-04 19:23:29.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2-dns-server
dnl
-dnl -- This file is generated by y2autoconf 2.17.5 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-dns-server, 2.17.6, http://bugs.opensuse.org/, yast2-dns-server)
+AC_INIT(yast2-dns-server, 2.17.8, http://bugs.opensuse.org/, yast2-dns-server)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.17.6"
+VERSION="2.17.8"
RPMNAME="yast2-dns-server"
MAINTAINER="Lukas Ocilka "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.17.7/src/DnsZones.pm new/yast2-dns-server-2.17.8/src/DnsZones.pm
--- old/yast2-dns-server-2.17.7/src/DnsZones.pm 2008-08-06 16:14:27.000000000 +0200
+++ new/yast2-dns-server-2.17.8/src/DnsZones.pm 2008-11-04 19:22:09.000000000 +0100
@@ -5,7 +5,7 @@
# Authors: Jiri Srain
# Lukas Ocilka
#
-# $Id: DnsZones.pm 49781 2008-08-06 14:14:27Z locilka $
+# $Id: DnsZones.pm 52897 2008-11-04 18:22:26Z locilka $
#
# Contains routines for handling zone files (both directly and using nsupdate)
@@ -46,10 +46,26 @@
our @ISA = qw(Exporter);
our @EXPORT_OK = qw($zone_base_config_dn);
-my @all_rec_types = ("mx", "ns", "a", "aaaa", "md", "cname", "ptr", "hinfo",
+my @tmp_all_rec_types = ("mx", "ns", "a", "aaaa", "md", "cname", "ptr", "hinfo",
"minfo", "txt", "sig", "key", "aaa", "loc", "nxtr", "srv",
"naptr", "kx", "cert", "a6", "dname");
+my @all_rec_types = ();
+
+# See bnc #433899
+sub drunkCamelType {
+ my $rectype = shift;
+
+ if ($rectype =~ m/^(.)(.*)$/) {
+ $rectype = lc($1).uc($2);
+ }
+
+ return $rectype;
+}
+
+foreach my $one_rectype (@tmp_all_rec_types) {
+ push @all_rec_types, drunkCamelType ($one_rectype);
+}
##-------------------------------------------------------------------------
##----------------- various routines --------------------------------------
@@ -469,6 +485,8 @@
my $zone_dn = "zoneName=$zone,$zone_base_config_dn";
+ y2milestone ("Reading zone from LDAP: ".$zone_dn);
+
# the search config map
my %ldap_query = (
"base_dn" => $zone_dn,
@@ -509,7 +527,7 @@
"serial" => $self->UpdateSerial ($soa_lst[2]),
);
- my @ttl_lst = @{$zonemap{"dnsttl"} || []};
+ my @ttl_lst = @{$zonemap{"dNSTTL"} || []};
my $ttl = $ttl_lst[0];
my %ret = (
@@ -539,7 +557,7 @@
foreach my $rec_type (@all_rec_types)
{
- my $value_key = $rec_type . "record";
+ my $value_key = $rec_type."Record";
my @values = @{$record{$value_key} || []};
foreach my $value (@values)
{
@@ -698,7 +716,7 @@
} @records;
foreach my $rec_ref (@current_records) {
- my $type = lc ($rec_ref->{"type"}) . "record";
+ my $type = drunkCamelType ($rec_ref->{"type"})."Record";
my @cur_vals = @{$ldap_record{$type} || []};
push @cur_vals, $rec_ref->{"value"};
$ldap_record{$type} = \@cur_vals;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-dns-server-2.17.7/VERSION new/yast2-dns-server-2.17.8/VERSION
--- old/yast2-dns-server-2.17.7/VERSION 2008-08-28 15:04:57.000000000 +0200
+++ new/yast2-dns-server-2.17.8/VERSION 2008-11-04 19:22:01.000000000 +0100
@@ -1 +1 @@
-2.17.7
+2.17.8
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org