[yast-commit] [ci_new_pac] JFYI yast2-auth-client -> 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-auth-client -> sle12 ## BNC# 868695 : "Saving autoinstallation configuration gets internal error: undefined method `GetModified' for #<Yast::AuthClientClass:0x0000000986bb00>" (NEW/) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-auth-client/yast2-auth-client.changes 2014-03-07 17:42:44.000000000 +0100 +++ /mounts/work_src_done/SLE12/yast2-auth-client/yast2-auth-client.changes 2014-03-20 12:31:54.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Mar 18 10:34:46 UTC 2014 - ckornacker@suse.com + +- Add missing autoyast methods (bnc#868695) +- Fix some typos +- 3.1.9 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2-auth-client - yast2-schema ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2-auth-client (Old) and /mounts/work_src_done/SLE12/yast2-auth-client (BS:build ID:34640 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-auth-client", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-auth-client-3.1.8.tar.bz2 New: ---- yast2-auth-client-3.1.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-auth-client.spec ++++++ --- /var/tmp/diff_new_pack.8M87vW/_old 2014-03-21 15:20:54.000000000 +0100 +++ /var/tmp/diff_new_pack.8M87vW/_new 2014-03-21 15:20:54.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-auth-client -Version: 3.1.8 +Version: 3.1.9 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-auth-client-3.1.8.tar.bz2 -> yast2-auth-client-3.1.9.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-3.1.8/package/yast2-auth-client.changes new/yast2-auth-client-3.1.9/package/yast2-auth-client.changes --- old/yast2-auth-client-3.1.8/package/yast2-auth-client.changes 2014-03-07 15:04:37.000000000 +0100 +++ new/yast2-auth-client-3.1.9/package/yast2-auth-client.changes 2014-03-20 12:29:11.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Mar 18 10:34:46 UTC 2014 - ckornacker@suse.com + +- Add missing autoyast methods (bnc#868695) +- Fix some typos +- 3.1.9 + +------------------------------------------------------------------- Fri Mar 7 12:57:03 UTC 2014 - varkoly@suse.com - Install needed sssd subpackages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-3.1.8/package/yast2-auth-client.spec new/yast2-auth-client-3.1.9/package/yast2-auth-client.spec --- old/yast2-auth-client-3.1.8/package/yast2-auth-client.spec 2014-03-07 15:04:37.000000000 +0100 +++ new/yast2-auth-client-3.1.9/package/yast2-auth-client.spec 2014-03-20 12:29:11.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-auth-client -Version: 3.1.8 +Version: 3.1.9 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-3.1.8/src/modules/AuthClient.rb new/yast2-auth-client-3.1.9/src/modules/AuthClient.rb --- old/yast2-auth-client-3.1.8/src/modules/AuthClient.rb 2014-03-07 15:04:37.000000000 +0100 +++ new/yast2-auth-client-3.1.9/src/modules/AuthClient.rb 2014-03-20 12:29:11.000000000 +0100 @@ -41,6 +41,9 @@ Yast.import "Pam" Yast.import "Service" + # configuration modification switch + @modified = false + # stored values of /etc/nsswitch.conf @nsswitch = { "passwd" => [], @@ -55,16 +58,17 @@ # the auth configuration - make_hash = proc do |hash,key| - hash[key] = Hash.new(&make_hash) + @make_hash = proc do |hash,key| + hash[key] = Hash.new(&@make_hash) end - @auth = Hash.new(&make_hash) + + @auth = Hash.new(&@make_hash) end # Check if current machine runs OES def CheckOES - @oes = Package.Installed("NOVLam") + return Package.Installed("NOVLam") end ################################################################# @@ -231,7 +235,8 @@ # # @return true or false def Import(settings) - @auth = {} + @auth = Hash.new(&@make_hash) + #Read the basic settings of auth client settings.each_key { |s| next if s == "sssd_conf" @@ -241,15 +246,15 @@ #Evaluate if the settings are valid if settings.has_key?('sssd') if settings['sssd'] && !settings.has_key?('sssd_conf') - Builtin.y2milestone("There are no sssd configuration provided but sssd is enabled.") + Builtins.y2milestone("There are no sssd configuration provided but sssd is enabled.") return false end else if settings.has_key?('sssd_conf') - Builtin.y2milestone("There are sssd configuration provided but sssd is not enabled.") + Builtins.y2milestone("There are sssd configuration provided but sssd is not enabled.") return false end - Builtin.y2milestone("Authentication will not made via sssd.") + Builtins.y2milestone("Authentication will not made via sssd.") @auth['sssd'] = false return true end @@ -260,14 +265,14 @@ @auth['sssd_conf'][s] = settings['sssd_conf'][s] } if !settings['sssd_conf'].has_key?('auth_domains') - Builtin.y2milestone("There are no authentication domain defined") + Builtins.y2milestone("There are no authentication domain defined") return false end #Read authentication domains settings['sssd_conf']['auth_domains'].each { |d| if !d.has_key?('domain_name') - Builtin.y2milestone("Domain has no domain_name: %1",d) + Builtins.y2milestone("Domain has no domain_name: %1",d) end name = 'domain/' + d['domain_name'] d.each_key { |k| @@ -290,7 +295,7 @@ #Write basic settings @auth.each_key { |s| - next if k == "sssd_conf" + next if s == "sssd_conf" settings[s] = @auth[s] } return settings if ! @auth.has_key?("sssd_conf") @@ -301,7 +306,7 @@ @auth["sssd_conf"].each_key { |s| if s =~ /^domain\// domain = @auth["sssd_conf"][s] - domain["domain_name"] = s.sub!("domain/","") + domain["domain_name"] = s.sub("domain/","") settings["sssd_conf"]["auth_domains"].push(domain) else settings[s] = @auth["sssd_conf"][s] @@ -347,17 +352,39 @@ @auth["nssldap"] = false @auth["sssd_conf"]["sssd"]["config_file_version"] = 2 @auth["sssd_conf"]["sssd"]["services"] = "nss, pam" + + @modified = true end # ################################################################# + ################################################################# + # SetModified() + # Sets configuration modification switch + def SetModified(value) + @modified = value + end + # + ################################################################# + ################################################################# + # GetModified() + # Returns configuration modification switch + # @return modified + def GetModified + return @modified + end + # + ################################################################# + publish :variable => :auth, :type => "map" publish :function => :Read, :type => "boolean ()" publish :function => :Write, :type => "boolean ()" publish :function => :Import, :type => "boolean ()" publish :function => :Export, :type => "map ()" publish :function => :Summary, :type => "string ()" + publish :function => :SetModified, :type => "boolean ()" + publish :function => :GetModified, :type => "boolean ()" publish :function => :CreateBasicSSSD, :type => "map ()" end continue with "q"... Checked in at Fri Mar 21 15:21:07 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