Hello community, here is the log from the commit of package yast2-auth-client for openSUSE:Factory checked in at 2014-03-09 20:28:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-auth-client (Old) and /work/SRC/openSUSE:Factory/.yast2-auth-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-auth-client" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-auth-client/yast2-auth-client.changes 2014-02-25 16:41:43.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-auth-client.new/yast2-auth-client.changes 2014-03-09 20:28:54.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 7 12:57:03 UTC 2014 - varkoly@suse.com + +- Install needed sssd subpackages +- 3.1.8 + +------------------------------------------------------------------- Old: ---- yast2-auth-client-3.1.7.tar.bz2 New: ---- yast2-auth-client-3.1.8.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-auth-client.spec ++++++ --- /var/tmp/diff_new_pack.sQoSfO/_old 2014-03-09 20:28:55.000000000 +0100 +++ /var/tmp/diff_new_pack.sQoSfO/_new 2014-03-09 20:28:55.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-auth-client -Version: 3.1.7 +Version: 3.1.8 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -34,7 +34,7 @@ PreReq: %fillup_prereq -Requires: perl-Config-IniFiles +Requires: sssd Requires: yast2 >= 2.21.22 Requires: yast2-pam >= 2.20.0 Obsoletes: yast2-kerberos-client ++++++ yast2-auth-client-3.1.7.tar.bz2 -> yast2-auth-client-3.1.8.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-3.1.7/package/yast2-auth-client.changes new/yast2-auth-client-3.1.8/package/yast2-auth-client.changes --- old/yast2-auth-client-3.1.7/package/yast2-auth-client.changes 2014-02-24 17:48:51.000000000 +0100 +++ new/yast2-auth-client-3.1.8/package/yast2-auth-client.changes 2014-03-07 15:03:42.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Mar 7 12:57:03 UTC 2014 - varkoly@suse.com + +- Install needed sssd subpackages +- 3.1.8 + +------------------------------------------------------------------- Mon Feb 24 16:16:52 UTC 2014 - varkoly@suse.com - bnc##865328 yast2 clone_system throws internal error for undefined diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-3.1.7/package/yast2-auth-client.spec new/yast2-auth-client-3.1.8/package/yast2-auth-client.spec --- old/yast2-auth-client-3.1.7/package/yast2-auth-client.spec 2014-02-24 17:48:51.000000000 +0100 +++ new/yast2-auth-client-3.1.8/package/yast2-auth-client.spec 2014-03-07 15:03:42.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-auth-client -Version: 3.1.7 +Version: 3.1.8 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -32,7 +32,7 @@ Requires: yast2 >= 2.21.22 Requires: yast2-pam >= 2.20.0 -Requires: perl-Config-IniFiles +Requires: sssd Obsoletes: yast2-ldap-client yast2-kerberos-client BuildArchitectures: noarch diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-3.1.7/src/modules/AuthClient.rb new/yast2-auth-client-3.1.8/src/modules/AuthClient.rb --- old/yast2-auth-client-3.1.7/src/modules/AuthClient.rb 2014-02-19 14:00:34.000000000 +0100 +++ new/yast2-auth-client-3.1.8/src/modules/AuthClient.rb 2014-03-07 15:03:42.000000000 +0100 @@ -115,6 +115,15 @@ services = [] filter_groups = [] filter_users = [] + to_install = [] + + need_sssd = { + "ldap" => false, + "ipa" => false, + "ad" => false, + "krb5" => false, + "proxy" => false + } #Add sss to pam Pam.Add("sss") @@ -176,10 +185,22 @@ else SCR.Write(path(".etc.sssd_conf.value."+s+"."+k),@auth["sssd_conf"][s][k]) end + if k == "id_provider" or k == "auth_provider" + need_sssd[@auth["sssd_conf"][s][k]] = true; + end } } SCR.Write(path(".etc.sssd_conf"),nil) + need_sssd.each_pair do |key, needed| + pkg = "sssd-#{key}" + if needed && !Package.Installed(pkg) && Package.Available(pkg) + to_install << pkg + end + end + + Package.DoInstall(to_install) unless to_install.empty? + #Enable autofs only if there is min one domain activated and autofs service is enabled if services.include?("autofs") Service.Enable("autofs") @@ -331,7 +352,7 @@ ################################################################# - publish :variable => :auth, :type => "map" + publish :variable => :auth, :type => "map" publish :function => :Read, :type => "boolean ()" publish :function => :Write, :type => "boolean ()" publish :function => :Import, :type => "boolean ()" -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org