Hello community,

here is the log from the commit of package yast2-nis-client for 
openSUSE:Factory checked in at 2020-07-30 09:59:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-nis-client (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-nis-client.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-nis-client"

Thu Jul 30 09:59:50 2020 rev:74 rq:823184 version:4.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-nis-client/yast2-nis-client.changes        
2020-06-14 18:14:58.326775645 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-nis-client.new.3592/yast2-nis-client.changes  
    2020-07-30 10:00:14.511226280 +0200
@@ -1,0 +2,13 @@
+Tue Jul 28 12:49:27 UTC 2020 - Ancor Gonzalez Sosa <[email protected]>
+
+- Fixed the mechanism used to ensure the usage of "compat" for
+  certain databases (bsc#1174603).
+- 4.3.3
+
+-------------------------------------------------------------------
+Fri Jul 24 14:19:42 UTC 2020 - David Diaz <[email protected]>
+
+- Properly save the NSS configuration (related to bsc#1173119).
+- 4.3.2
+
+-------------------------------------------------------------------

Old:
----
  yast2-nis-client-4.3.1.tar.bz2

New:
----
  yast2-nis-client-4.3.3.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-nis-client.spec ++++++
--- /var/tmp/diff_new_pack.SXkxaT/_old  2020-07-30 10:00:15.875227095 +0200
+++ /var/tmp/diff_new_pack.SXkxaT/_new  2020-07-30 10:00:15.879227097 +0200
@@ -20,7 +20,7 @@
 Summary:        YaST2 - Network Information Services (NIS, YP) Configuration
 License:        GPL-2.0-only
 Group:          System/YaST
-Version:        4.3.1
+Version:        4.3.3
 Release:        0
 Url:            https://github.com/yast/yast-nis-client
 
@@ -29,20 +29,22 @@
 # SuSEfirewall2_* services merged into one service yast2-2.23.17
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
-BuildRequires:  libnsl-devel
-BuildRequires:  libtirpc-devel
 BuildRequires:  libtool
 BuildRequires:  update-desktop-files
 BuildRequires:  yast2 >= 2.23.17
 BuildRequires:  yast2-core-devel
+# Nsswitch#Write
+BuildRequires:  libnsl-devel
+BuildRequires:  libtirpc-devel
 BuildRequires:  yast2-devtools >= 4.2.2
-BuildRequires:  yast2-pam
+BuildRequires:  yast2-pam >= 4.3.0
 BuildRequires:  rubygem(%rb_default_ruby_abi:rspec)
 
 # Wizard::SetDesktopTitleAndIcon
 Requires:       yast2 >= 2.21.22
 Requires:       yast2-network
-Requires:       yast2-pam
+# Fixed Nsswitch#WriteDb
+Requires:       yast2-pam >= 4.3.2
 Requires:       yast2-ruby-bindings >= 1.0.0
 Requires:       yp-tools
 

++++++ yast2-nis-client-4.3.1.tar.bz2 -> yast2-nis-client-4.3.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-nis-client-4.3.1/package/yast2-nis-client.changes 
new/yast2-nis-client-4.3.3/package/yast2-nis-client.changes
--- old/yast2-nis-client-4.3.1/package/yast2-nis-client.changes 2020-06-11 
16:14:48.000000000 +0200
+++ new/yast2-nis-client-4.3.3/package/yast2-nis-client.changes 2020-07-28 
16:32:29.000000000 +0200
@@ -1,4 +1,17 @@
 -------------------------------------------------------------------
+Tue Jul 28 12:49:27 UTC 2020 - Ancor Gonzalez Sosa <[email protected]>
+
+- Fixed the mechanism used to ensure the usage of "compat" for
+  certain databases (bsc#1174603).
+- 4.3.3
+
+-------------------------------------------------------------------
+Fri Jul 24 14:19:42 UTC 2020 - David Diaz <[email protected]>
+
+- Properly save the NSS configuration (related to bsc#1173119).
+- 4.3.2
+
+-------------------------------------------------------------------
 Thu Jun 11 11:29:59 UTC 2020 - Imobach Gonzalez Sosa <[email protected]>
 
 - Do not export any setting if ypbind is not installed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nis-client-4.3.1/package/yast2-nis-client.spec 
new/yast2-nis-client-4.3.3/package/yast2-nis-client.spec
--- old/yast2-nis-client-4.3.1/package/yast2-nis-client.spec    2020-06-11 
16:14:48.000000000 +0200
+++ new/yast2-nis-client-4.3.3/package/yast2-nis-client.spec    2020-07-28 
16:32:29.000000000 +0200
@@ -18,7 +18,7 @@
 
 Name:           yast2-nis-client
 Summary:        YaST2 - Network Information Services (NIS, YP) Configuration
-Version:        4.3.1
+Version:        4.3.3
 Release:        0
 Url:            https://github.com/yast/yast-nis-client
 Group:          System/YaST
@@ -28,7 +28,9 @@
 
 # SuSEfirewall2_* services merged into one service yast2-2.23.17
 BuildRequires:  yast2 >= 2.23.17
-BuildRequires:  gcc-c++ doxygen yast2-core-devel yast2-pam 
update-desktop-files libtool
+BuildRequires:  gcc-c++ doxygen yast2-core-devel update-desktop-files libtool
+# Nsswitch#Write
+BuildRequires:  yast2-pam >= 4.3.0
 BuildRequires:  libnsl-devel
 BuildRequires:  libtirpc-devel
 BuildRequires:  yast2-devtools >= 4.2.2
@@ -36,7 +38,9 @@
 
 # Wizard::SetDesktopTitleAndIcon
 Requires:       yast2 >= 2.21.22
-Requires:       yast2-pam yast2-network
+Requires:       yast2-network
+# Fixed Nsswitch#WriteDb
+Requires:       yast2-pam >= 4.3.2
 Requires:       yast2-ruby-bindings >= 1.0.0
 Requires:       yp-tools
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nis-client-4.3.1/src/modules/Nis.rb 
new/yast2-nis-client-4.3.3/src/modules/Nis.rb
--- old/yast2-nis-client-4.3.1/src/modules/Nis.rb       2020-06-11 
16:14:48.000000000 +0200
+++ new/yast2-nis-client-4.3.3/src/modules/Nis.rb       2020-07-28 
16:32:29.000000000 +0200
@@ -1048,7 +1048,7 @@
           # We get [] meaning compat, so it's ok to make it explicit
           db_l = Nsswitch.ReadDb(db)
 
-          if db_l.include?("compat")
+          if !db_l.include?("compat")
             # remove "files" and "nis", if there;
             db_l -= ["files", "nis"]
 
@@ -1107,11 +1107,7 @@
         end
       end
 
-      return true if SCR.Write(path(".etc.nsswitch_conf"), nil)
-
-      Report.Error(Message.ErrorWritingFile("/etc/nsswitch.conf"))
-
-      false
+      Nsswitch.Write
     end
 
     # Only write new configuration w/o starting any scripts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-nis-client-4.3.1/test/nis_test.rb 
new/yast2-nis-client-4.3.3/test/nis_test.rb
--- old/yast2-nis-client-4.3.1/test/nis_test.rb 2020-06-11 16:14:48.000000000 
+0200
+++ new/yast2-nis-client-4.3.3/test/nis_test.rb 2020-07-28 16:32:29.000000000 
+0200
@@ -19,6 +19,7 @@
     allow(Yast::Service).to receive(:Status).and_return(0)
     allow(Y2Firewall::Firewalld.instance).to receive(:read)
     allow(Yast::Autologin).to receive(:Read)
+    allow(Yast::Nsswitch).to receive(:Write).and_return(true)
     allow(Yast::Nsswitch).to receive(:ReadDb).and_return([])
     allow(Yast::Package).to receive(:Installed).and_return(true)
 


Reply via email to