Hello community, here is the log from the commit of package yast2-rmt for openSUSE:Leap:15.2 checked in at 2020-03-06 12:40:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/yast2-rmt (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2-rmt.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-rmt" Fri Mar 6 12:40:47 2020 rev:33 rq:781756 version:1.3.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/yast2-rmt/yast2-rmt.changes 2020-01-15 16:32:20.536882915 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2-rmt.new.26092/yast2-rmt.changes 2020-03-06 12:44:19.154868151 +0100 @@ -1,0 +2,13 @@ +Wed Jan 15 14:50:09 UTC 2020 - Ivan Kapelyukhin <ikapelyuk...@suse.com> + +- Version 1.3.0 +- Add support for forwarding registration data from RMT to SCC + +------------------------------------------------------------------- +Thu Aug 22 11:54:47 CEST 2019 - sch...@suse.de + +- Using rb_default_ruby_abi tag in the spec file in order to + handle several ruby versions (bsc#1146403). +- 1.2.3 + +------------------------------------------------------------------- @@ -5 +18 @@ -- Pass SSL password to Cheetah CLI interface securely (bsc#1119835) +- Pass SSL password to Cheetah CLI interface securely (CVE-2018-20105: bsc#1119835) Old: ---- yast2-rmt-1.2.2.tar.bz2 New: ---- yast2-rmt-1.3.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-rmt.spec ++++++ --- /var/tmp/diff_new_pack.pACHqr/_old 2020-03-06 12:44:19.722868496 +0100 +++ /var/tmp/diff_new_pack.pACHqr/_new 2020-03-06 12:44:19.722868496 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-rmt # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: yast2-rmt -Version: 1.2.2 +Version: 1.3.0 Release: 0 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 -Requires: rmt-server >= 1.0.6 +Requires: rmt-server >= 2.5.0 Requires: yast2 Requires: yast2-ruby-bindings @@ -33,9 +33,9 @@ BuildRequires: yast2-devtools BuildRequires: yast2-ruby-bindings #for install task -BuildRequires: rubygem(yast-rake) +BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake) # for tests -BuildRequires: rubygem(rspec) +BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) Summary: YaST2 - Module to configure RMT License: GPL-2.0-only ++++++ yast2-rmt-1.2.2.tar.bz2 -> yast2-rmt-1.3.0.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.2.2/package/yast2-rmt.changes new/yast2-rmt-1.3.0/package/yast2-rmt.changes --- old/yast2-rmt-1.2.2/package/yast2-rmt.changes 2019-02-18 16:29:51.000000000 +0100 +++ new/yast2-rmt-1.3.0/package/yast2-rmt.changes 2020-02-27 15:06:10.000000000 +0100 @@ -1,8 +1,21 @@ ------------------------------------------------------------------- +Wed Jan 15 14:50:09 UTC 2020 - Ivan Kapelyukhin <ikapelyuk...@suse.com> + +- Version 1.3.0 +- Add support for forwarding registration data from RMT to SCC + +------------------------------------------------------------------- +Thu Aug 22 11:54:47 CEST 2019 - sch...@suse.de + +- Using rb_default_ruby_abi tag in the spec file in order to + handle several ruby versions (bsc#1146403). +- 1.2.3 + +------------------------------------------------------------------- Tue Feb 12 15:51:18 UTC 2019 - sko...@suse.com - Release version 1.2.2 -- Pass SSL password to Cheetah CLI interface securely (bsc#1119835) +- Pass SSL password to Cheetah CLI interface securely (CVE-2018-20105: bsc#1119835) ------------------------------------------------------------------- Fri Feb 1 10:58:34 UTC 2019 - fschuel...@suse.com diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.2.2/package/yast2-rmt.spec new/yast2-rmt-1.3.0/package/yast2-rmt.spec --- old/yast2-rmt-1.2.2/package/yast2-rmt.spec 2019-02-18 16:29:51.000000000 +0100 +++ new/yast2-rmt-1.3.0/package/yast2-rmt.spec 2020-02-27 15:06:10.000000000 +0100 @@ -17,14 +17,14 @@ Name: yast2-rmt -Version: 1.2.2 +Version: 1.3.0 Release: 0 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 -Requires: rmt-server >= 1.0.6 +Requires: rmt-server >= 2.5.0 Requires: yast2 Requires: yast2-ruby-bindings @@ -33,9 +33,9 @@ BuildRequires: yast2-devtools BuildRequires: yast2-ruby-bindings #for install task -BuildRequires: rubygem(yast-rake) +BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake) # for tests -BuildRequires: rubygem(rspec) +BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) Summary: YaST2 - Module to configure RMT License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.2.2/spec/rmt/utils_spec.rb new/yast2-rmt-1.3.0/spec/rmt/utils_spec.rb --- old/yast2-rmt-1.2.2/spec/rmt/utils_spec.rb 2019-02-18 16:29:51.000000000 +0100 +++ new/yast2-rmt-1.3.0/spec/rmt/utils_spec.rb 2020-02-27 15:06:10.000000000 +0100 @@ -92,7 +92,8 @@ { 'scc' => { 'username' => 'user_mcuserface', - 'password' => 'password_mcpasswordface' + 'password' => 'password_mcpasswordface', + 'sync_systems' => true } } end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.2.2/spec/rmt/wizard_rmt_service_page_spec.rb new/yast2-rmt-1.3.0/spec/rmt/wizard_rmt_service_page_spec.rb --- old/yast2-rmt-1.2.2/spec/rmt/wizard_rmt_service_page_spec.rb 2019-02-18 16:29:51.000000000 +0100 +++ new/yast2-rmt-1.3.0/spec/rmt/wizard_rmt_service_page_spec.rb 2020-02-27 15:06:10.000000000 +0100 @@ -115,7 +115,7 @@ it 'shows confirmation' do expect(Yast::Service).to receive(:Enable).with('rmt-server').and_return(true) expect(Yast::Service).to receive(:Restart).with('rmt-server').and_return(true) - %w[rmt-server-sync.timer rmt-server-mirror.timer].each do |unit| + %w[rmt-server-sync.timer rmt-server-mirror.timer rmt-server-systems-scc-sync.timer].each do |unit| expect(RMT::Execute).to receive(:on_target!).with('systemctl', 'enable', unit).and_return(true) expect(RMT::Execute).to receive(:on_target!).with('systemctl', 'start', unit).and_return(true) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.2.2/spec/rmt/wizard_scc_page_spec.rb new/yast2-rmt-1.3.0/spec/rmt/wizard_scc_page_spec.rb --- old/yast2-rmt-1.2.2/spec/rmt/wizard_scc_page_spec.rb 2019-02-18 16:29:51.000000000 +0100 +++ new/yast2-rmt-1.3.0/spec/rmt/wizard_scc_page_spec.rb 2020-02-27 15:06:10.000000000 +0100 @@ -23,7 +23,7 @@ describe RMT::WizardSCCPage do subject(:scc_page) { described_class.new(config) } - let(:config) { { 'scc' => { 'username' => 'user_mcuserface', 'password' => 'test' } } } + let(:config) { { 'scc' => { 'username' => 'user_mcuserface', 'password' => 'test', 'sync_systems' => true } } } describe '#render_content' do it 'renders UI elements' do @@ -34,6 +34,7 @@ expect(Yast::UI).to receive(:ChangeWidget).with(Id(:scc_username), :Value, config['scc']['username']) expect(Yast::UI).to receive(:ChangeWidget).with(Id(:scc_password), :Value, config['scc']['password']) + expect(Yast::UI).to receive(:ChangeWidget).with(Id(:scc_sync_systems), :Value, config['scc']['sync_systems']) scc_page.render_content end @@ -78,6 +79,7 @@ before do expect(Yast::UI).to receive(:QueryWidget).with(Id(:scc_username), :Value) expect(Yast::UI).to receive(:QueryWidget).with(Id(:scc_password), :Value) + expect(Yast::UI).to receive(:QueryWidget).with(Id(:scc_sync_systems), :Value) end context "when SCC credentials aren't valid and the error is not ignored" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.2.2/src/lib/rmt/utils.rb new/yast2-rmt-1.3.0/src/lib/rmt/utils.rb --- old/yast2-rmt-1.2.2/src/lib/rmt/utils.rb 2019-02-18 16:29:51.000000000 +0100 +++ new/yast2-rmt-1.3.0/src/lib/rmt/utils.rb 2020-02-27 15:06:10.000000000 +0100 @@ -33,7 +33,8 @@ DEFAULT_CONFIG = { 'scc' => { 'username' => '', - 'password' => '' + 'password' => '', + 'sync_systems' => true }, 'database' => { 'host' => 'localhost', @@ -97,7 +98,7 @@ if v1.is_a?(Hash) v1.merge(v2, &method(:merge_hashes)) else - v1 ? v1 : v2 + v1.nil? ? v2 : v1 end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.2.2/src/lib/rmt/wizard_rmt_service_page.rb new/yast2-rmt-1.3.0/src/lib/rmt/wizard_rmt_service_page.rb --- old/yast2-rmt-1.2.2/src/lib/rmt/wizard_rmt_service_page.rb 2019-02-18 16:29:51.000000000 +0100 +++ new/yast2-rmt-1.3.0/src/lib/rmt/wizard_rmt_service_page.rb 2020-02-27 15:06:10.000000000 +0100 @@ -105,7 +105,7 @@ end def rmt_enable_timers - %w[rmt-server-sync.timer rmt-server-mirror.timer].each do |timer| + %w[rmt-server-sync.timer rmt-server-mirror.timer rmt-server-systems-scc-sync.timer].each do |timer| RMT::Execute.on_target!('systemctl', 'enable', timer) RMT::Execute.on_target!('systemctl', 'start', timer) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-rmt-1.2.2/src/lib/rmt/wizard_scc_page.rb new/yast2-rmt-1.3.0/src/lib/rmt/wizard_scc_page.rb --- old/yast2-rmt-1.2.2/src/lib/rmt/wizard_scc_page.rb 2019-02-18 16:29:51.000000000 +0100 +++ new/yast2-rmt-1.3.0/src/lib/rmt/wizard_scc_page.rb 2020-02-27 15:06:10.000000000 +0100 @@ -49,6 +49,8 @@ HSquash( MinWidth(30, Password(Id(:scc_password), _('Organization &Password'))) ), + VSpacing(1), + CheckBox(Id(:scc_sync_systems), _('Forward systems to SCC')), VSpacing(1) ), HSpacing(1) @@ -65,6 +67,7 @@ UI.ChangeWidget(Id(:scc_username), :Value, @config['scc']['username']) UI.ChangeWidget(Id(:scc_password), :Value, @config['scc']['password']) + UI.ChangeWidget(Id(:scc_sync_systems), :Value, @config['scc']['sync_systems']) end def abort_handler @@ -74,6 +77,7 @@ def skip_handler @config['scc']['username'] = UI.QueryWidget(Id(:scc_username), :Value) @config['scc']['password'] = UI.QueryWidget(Id(:scc_password), :Value) + @config['scc']['sync_systems'] = UI.QueryWidget(Id(:scc_sync_systems), :Value) return unless Popup.AnyQuestion( _('Skip SCC registration?'), @@ -90,6 +94,7 @@ def next_handler @config['scc']['username'] = UI.QueryWidget(Id(:scc_username), :Value) @config['scc']['password'] = UI.QueryWidget(Id(:scc_password), :Value) + @config['scc']['sync_systems'] = UI.QueryWidget(Id(:scc_sync_systems), :Value) return unless scc_credentials_valid? || Popup.AnyQuestion( _('Continue with invalid credentials?'),