[yast-commit] [ci_new_pac] JFYI yast2-users -> sle12
Script 'mail_helper' called by ro Hello packager, This is just FYI. Your package was checked in in distribution "sle12" by autobuild-member: ro. Here comes the log... ---------------------------%<------------------------------ Hi, here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-users -> sle12 ## BNC# 865812 : "can't configure ldap login" (ASSIGNED/) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-users/yast2-users.changes 2014-02-28 16:06:06.000000000 +0100 +++ /mounts/work_src_done/SLE12/yast2-users/yast2-users.changes 2014-03-12 13:44:22.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Mar 3 10:31:26 UTC 2014 - ckornacker@suse.com + +- migrate ldap/kerberos-client to auth-client (bnc#865812) +- 3.1.14 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2-auth-server - yast2-ftp-server - yast2-inetd - yast2-mail - yast2-samba-server - yast2-schema - yast2-sudo - yast2-users ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2-users (Old) and /mounts/work_src_done/SLE12/yast2-users (BS:build ID:34252 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-users", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-users-3.1.13.tar.bz2 New: ---- yast2-users-3.1.14.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.jYwWmc/_old 2014-03-12 17:04:24.000000000 +0100 +++ /var/tmp/diff_new_pack.jYwWmc/_new 2014-03-12 17:04:24.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-users -Version: 3.1.13 +Version: 3.1.14 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-users-3.1.13.tar.bz2 -> yast2-users-3.1.14.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.13/package/yast2-users.changes new/yast2-users-3.1.14/package/yast2-users.changes --- old/yast2-users-3.1.13/package/yast2-users.changes 2014-02-28 15:06:11.000000000 +0100 +++ new/yast2-users-3.1.14/package/yast2-users.changes 2014-03-12 13:39:35.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Mar 3 10:31:26 UTC 2014 - ckornacker@suse.com + +- migrate ldap/kerberos-client to auth-client (bnc#865812) +- 3.1.14 + +------------------------------------------------------------------- Fri Feb 28 13:41:12 CET 2014 - jsuchome@suse.cz - skip username checks if there's user for import (bnc#866089) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.13/package/yast2-users.spec new/yast2-users-3.1.14/package/yast2-users.spec --- old/yast2-users-3.1.13/package/yast2-users.spec 2014-02-28 15:06:11.000000000 +0100 +++ new/yast2-users-3.1.14/package/yast2-users.spec 2014-03-12 13:39:35.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-users -Version: 3.1.13 +Version: 3.1.14 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.13/src/include/users/widgets.rb new/yast2-users-3.1.14/src/include/users/widgets.rb --- old/yast2-users-3.1.13/src/include/users/widgets.rb 2014-02-28 15:06:11.000000000 +0100 +++ new/yast2-users-3.1.14/src/include/users/widgets.rb 2014-03-12 13:39:35.000000000 +0100 @@ -34,6 +34,7 @@ Yast.import "CWMTab" Yast.import "Label" Yast.import "Ldap" + Yast.import "AuthClient" Yast.import "Message" Yast.import "Mode" Yast.import "Package" @@ -126,7 +127,7 @@ # list of installed clients @installed_clients = [] - @configurable_clients = ["nis", "ldap", "kerberos", "samba"] + @configurable_clients = ["nis", "sssd", "samba"] # save if no more Available calls should be done (bug #225484) @check_available = true @@ -135,16 +136,32 @@ # richtext label "nis" => _("NIS"), # richtext label - "ldap" => _("LDAP"), - # richtext label - "kerberos" => _("Kerberos"), + "sssd" => _("SSSD"), # richtext label "samba" => _("Samba") } - # name of module to call - @call_module = { "samba" => "samba-client" } - + # auth methods and respective module calls + @auth_methods = { + "nis" => { + # menubutton label + "label" => _("&NIS"), + "package" => "yast2-nis-client", + "call" => "nis-client" + }, + "sssd" => { + # menubutton label + "label" => _("&SSSD"), + "package" => "yast2-auth-client", + "call" => "auth-client" + }, + "samba" => { + # menubutton label + "label" => _("&Samba"), + "package" => "yast2-samba-client", + "call" => "samba-client" + }, + } @tabs_description = { "users" => { @@ -429,7 +446,7 @@ MenuButton(Opt(:key_F4), _("&Configure..."), []) ) ), - "handle_events" => ["ldap", "nis", "kerberos", "samba"] + "handle_events" => ["sssd", "nis", "samba"] } } end @@ -2308,17 +2325,13 @@ progress_orig = Progress.set(false) if !Builtins.contains(@installed_clients, client) ret = Summary.NotConfigured - elsif client == "ldap" - Ldap.Read - ret = Ldap.ShortSummary + elsif client == "sssd" + AuthClient.Read + ret = AuthClient.Summary elsif client == "nis" WFM.CallFunction("nis_auto", ["Read"]) a = WFM.CallFunction("nis_auto", ["ShortSummary"]) ret = Convert.to_string(a) if Ops.is_string?(a) - elsif client == "kerberos" - WFM.CallFunction("kerberos-client_auto", ["Read"]) - a = WFM.CallFunction("kerberos-client_auto", ["ShortSummary"]) - ret = Convert.to_string(a) if Ops.is_string?(a) elsif client == "samba" WFM.CallFunction("samba-client_auto", ["Read"]) a = WFM.CallFunction("samba-client_auto", ["ShortSummary"]) @@ -2356,37 +2369,14 @@ def InitAuthData(key) mb = [] - auth_methods = { - "nis" => { - # menubutton label - "label" => _("&NIS"), - "package" => "yast2-nis-client", - }, - "ldap" => { - # menubutton label - "label" => _("&LDAP"), - "package" => "yast2-auth-client", - }, - "kerberos" => { - # menubutton label - "label" => _("&Kerberos"), - "package" => "yast2-auth-client", - }, - "samba" => { - # menubutton label - "label" => _("&Samba"), - "package" => "yast2-samba-client", - }, - } - # check availability of authentication packages, # update the RichText summary and menubutton labels accordingly Builtins.foreach(@configurable_clients) do |client| - package = auth_methods[client]["package"] or raise "Unknown auth client #{client}" + package = @auth_methods[client]["package"] or raise "Unknown auth client #{client}" client_item = Item( Id(client), - auth_methods[client]["label"] + @auth_methods[client]["label"] ) if Package.Installed(package) @@ -2426,7 +2416,7 @@ return nil if !Builtins.contains(@configurable_clients, button) if !Builtins.contains(@installed_clients, button) - package = Builtins.sformat("yast2-%1-client", button) + package = @auth_methods[client]["package"] if @check_available avai = Package.Available(package) if avai == nil @@ -2462,7 +2452,7 @@ end end param = installation ? ["from_users"] : [] - if WFM.CallFunction(Ops.get_string(@call_module, button, button), param) == :next + if WFM.CallFunction(@auth_methods[button]["call"], param) == :next UI.ChangeWidget(Id("auth_summary"), :Value, reload_config([])) end nil continue with "q"... Checked in at Wed Mar 12 17:04:55 CET 2014 by ro Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ro