Hello community,
here is the log from the commit of package yast2-kerberos-client
checked in at Thu Oct 16 02:07:52 CEST 2008.
--------
--- yast2-kerberos-client/yast2-kerberos-client.changes 2008-10-09 11:18:47.000000000 +0200
+++ /d/STABLE/yast2-kerberos-client/yast2-kerberos-client.changes 2008-10-15 12:53:40.037579000 +0200
@@ -1,0 +2,6 @@
+Wed Oct 15 12:46:25 CEST 2008 - jsuchome@suse.cz
+
+- use domainname to get the domain name (workaround for bnc#393951)
+- 2.17.4
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-kerberos-client-2.17.3.tar.bz2
New:
----
yast2-kerberos-client-2.17.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-kerberos-client.spec ++++++
--- /var/tmp/diff_new_pack.i22504/_old 2008-10-16 02:06:11.000000000 +0200
+++ /var/tmp/diff_new_pack.i22504/_new 2008-10-16 02:06:11.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-kerberos-client (Version 2.17.3)
+# spec file for package yast2-kerberos-client (Version 2.17.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-kerberos-client
-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-kerberos-client-2.17.3.tar.bz2
+Source0: yast2-kerberos-client-2.17.4.tar.bz2
Prefix: /usr
BuildRequires: doxygen perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-pam yast2-testsuite
# new Pam.ycp API
@@ -45,7 +45,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-kerberos-client-2.17.3
+%setup -n yast2-kerberos-client-2.17.4
%build
%{prefix}/bin/y2tool y2autoconf
@@ -83,6 +83,9 @@
/usr/share/YaST2/include/kerberos-client/wizards.ycp
%doc %{prefix}/share/doc/packages/yast2-kerberos-client
%changelog
+* Wed Oct 15 2008 jsuchome@suse.cz
+- use domainname to get the domain name (workaround for bnc#393951)
+- 2.17.4
* Thu Oct 09 2008 jsuchome@suse.cz
- fixed failing testsuite (Hostname.ycp)
- 2.17.3
++++++ yast2-kerberos-client-2.17.3.tar.bz2 -> yast2-kerberos-client-2.17.4.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kerberos-client-2.17.3/src/Kerberos.ycp new/yast2-kerberos-client-2.17.4/src/Kerberos.ycp
--- old/yast2-kerberos-client-2.17.3/src/Kerberos.ycp 2008-08-26 13:03:11.000000000 +0200
+++ new/yast2-kerberos-client-2.17.4/src/Kerberos.ycp 2008-10-15 11:52:28.000000000 +0200
@@ -26,6 +26,7 @@
import "Progress";
import "Report";
import "Service";
+import "Stage";
import "Summary";
/**
@@ -338,6 +339,13 @@
if (default_domain == "")
{
default_domain = Hostname::CurrentDomain ();
+ // workaround for bug#393951
+ if (default_domain == "" && Stage::cont ())
+ {
+ map out = (map) SCR::Execute (.target.bash_output, "domainname");
+ if (out["exit"]:0 == 0)
+ default_domain = deletechars (out["stdout"]:"", "\n");
+ }
}
// now, check DNS status (Fate 301812)
@@ -524,7 +532,8 @@
string domain = default_domain;
if ( findfirstof (domain, ".") != 0)
domain = "." + domain;
- WriteFile (add(.etc.krb5_conf.v.domain_realm,domain),default_realm);
+ WriteKrb5ConfValue (add(.etc.krb5_conf.v.domain_realm,domain),
+ default_realm);
}
WriteKrb5ConfValue (.etc.krb5_conf.v.libdefaults.clockskew, clockskew);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kerberos-client-2.17.3/testsuite/tests/Read.ycp new/yast2-kerberos-client-2.17.4/testsuite/tests/Read.ycp
--- old/yast2-kerberos-client-2.17.3/testsuite/tests/Read.ycp 2008-10-09 11:08:50.000000000 +0200
+++ new/yast2-kerberos-client-2.17.4/testsuite/tests/Read.ycp 2008-10-09 11:19:09.000000000 +0200
@@ -2,7 +2,7 @@
* Read.ycp
* Test of Kerberos::Read function (whole read process, many config files)
* Author: Jiri Suchomel
- * $Id: Read.ycp 44585 2008-02-18 14:38:03Z jsuchome $
+ * $Id: Read.ycp 52004 2008-10-09 09:19:07Z jsuchome $
*/
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-kerberos-client-2.17.3/VERSION new/yast2-kerberos-client-2.17.4/VERSION
--- old/yast2-kerberos-client-2.17.3/VERSION 2008-10-09 11:09:16.000000000 +0200
+++ new/yast2-kerberos-client-2.17.4/VERSION 2008-10-15 12:47:44.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