Hello community,

here is the log from the commit of package yast2-users for openSUSE:Factory 
checked in at 2019-12-14 12:02:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-users (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-users.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-users"

Sat Dec 14 12:02:24 2019 rev:225 rq:751247 version:4.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-users/yast2-users.changes  2019-08-30 
14:38:37.237448740 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-users.new.4691/yast2-users.changes        
2019-12-14 12:02:32.431411149 +0100
@@ -1,0 +2,8 @@
+Mon Nov 25 15:37:16 UTC 2019 - Imobach Gonzalez Sosa <[email protected]>
+
+- bsc#1155735, bsc#1157541:
+  - Read /usr/etc/login.defs.
+  - Write login.defs configuration to /etc/login.defs.d/.
+- 4.2.6
+
+-------------------------------------------------------------------

Old:
----
  yast2-users-4.2.5.tar.bz2

New:
----
  yast2-users-4.2.6.tar.bz2

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

Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.dUDfjH/_old  2019-12-14 12:02:33.251411027 +0100
+++ /var/tmp/diff_new_pack.dUDfjH/_new  2019-12-14 12:02:33.259411026 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        4.2.5
+Version:        4.2.6
 Release:        0
 Summary:        YaST2 - User and Group Configuration
 License:        GPL-2.0-only
@@ -33,8 +33,8 @@
 BuildRequires:  perl-Digest-SHA1
 BuildRequires:  perl-XML-Writer
 BuildRequires:  update-desktop-files
-# UI::Widgets
-BuildRequires:  yast2 >= 3.2.8
+# CFA::ShadowConfig
+BuildRequires:  yast2 >= 4.2.39
 BuildRequires:  yast2-core-devel
 BuildRequires:  yast2-devtools >= 4.2.2
 BuildRequires:  yast2-perl-bindings
@@ -59,8 +59,8 @@
 # this forces using yast2-ldap with correct LDAP object names (fate#303596)
 Requires:       yast2-ldap >= 3.1.2
 
-# ProductFeatures::GetBooleanFeatureWithFallback
-Requires:       yast2 >= 4.1.35
+# CFA::ShadowConfig
+Requires:       yast2 >= 4.2.39
 # cryptsha256, cryptsha516
 Requires:       yast2-core >= 2.21.0
 

++++++ yast2-users-4.2.5.tar.bz2 -> yast2-users-4.2.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.2.5/package/yast2-users.changes 
new/yast2-users-4.2.6/package/yast2-users.changes
--- old/yast2-users-4.2.5/package/yast2-users.changes   2019-08-27 
19:41:17.000000000 +0200
+++ new/yast2-users-4.2.6/package/yast2-users.changes   2019-11-27 
10:45:26.000000000 +0100
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Mon Nov 25 15:37:16 UTC 2019 - Imobach Gonzalez Sosa <[email protected]>
+
+- bsc#1155735, bsc#1157541:
+  - Read /usr/etc/login.defs.
+  - Write login.defs configuration to /etc/login.defs.d/.
+- 4.2.6
+
+-------------------------------------------------------------------
 Tue Aug 27 18:47:28 CEST 2019 - [email protected]
 
 - Set X-SuSE-YaST-AutoInstResource in desktop file (bsc#144894).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.2.5/package/yast2-users.spec 
new/yast2-users-4.2.6/package/yast2-users.spec
--- old/yast2-users-4.2.5/package/yast2-users.spec      2019-08-27 
19:41:17.000000000 +0200
+++ new/yast2-users-4.2.6/package/yast2-users.spec      2019-11-27 
10:45:26.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        4.2.5
+Version:        4.2.6
 Release:        0
 Summary:        YaST2 - User and Group Configuration
 License:        GPL-2.0-only
@@ -33,8 +33,8 @@
 BuildRequires:  perl-Digest-SHA1
 BuildRequires:  perl-XML-Writer
 BuildRequires:  update-desktop-files
-# UI::Widgets
-BuildRequires:  yast2 >= 3.2.8
+# CFA::ShadowConfig
+BuildRequires:  yast2 >= 4.2.39
 BuildRequires:  yast2-core-devel
 BuildRequires:  yast2-devtools >= 4.2.2
 BuildRequires:  yast2-perl-bindings
@@ -59,8 +59,8 @@
 # this forces using yast2-ldap with correct LDAP object names (fate#303596)
 Requires:       yast2-ldap >= 3.1.2
 
-# ProductFeatures::GetBooleanFeatureWithFallback
-Requires:       yast2 >= 4.1.35
+# CFA::ShadowConfig
+Requires:       yast2 >= 4.2.39
 # cryptsha256, cryptsha516
 Requires:       yast2-core >= 2.21.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.2.5/src/modules/Users.pm 
new/yast2-users-4.2.6/src/modules/Users.pm
--- old/yast2-users-4.2.5/src/modules/Users.pm  2019-08-27 19:41:17.000000000 
+0200
+++ new/yast2-users-4.2.6/src/modules/Users.pm  2019-11-27 10:45:26.000000000 
+0100
@@ -237,6 +237,7 @@
 YaST::YCP::Import ("ProductFeatures");
 YaST::YCP::Import ("Progress");
 YaST::YCP::Import ("Report");
+YaST::YCP::Import ("ShadowConfig");
 YaST::YCP::Import ("Security");
 YaST::YCP::Import ("Service");
 YaST::YCP::Import ("Stage");
@@ -1339,7 +1340,7 @@
     $userdel_postcmd   = $security{"USERDEL_POSTCMD"};
 
     # command to call after adding group
-    $groupadd_cmd      = SCR->Read (".etc.login_defs.GROUPADD_CMD") || "";
+    $groupadd_cmd       = ShadowConfig->fetch("GROUPADD_CMD") || "";
 
     $encryption_method = $security{"PASSWD_ENCRYPTION"} || $encryption_method;
     UsersSimple->SetEncryptionMethod ($encryption_method);
@@ -1354,9 +1355,8 @@
        UsersSimple->SetMinPasswordLength ("system", $security{"PASS_MIN_LEN"});
     }
 
-    my $login_defs     = SCR->Dir (".etc.login_defs");
-    if (contains ($login_defs, "CHARACTER_CLASS")) {
-       $character_class= SCR->Read (".etc.login_defs.CHARACTER_CLASS");
+    $character_class = ShadowConfig->fetch("CHARACTER_CLASS");
+    if ($character_class) {
         UsersSimple->SetCharacterClass ($character_class);
     }
 


Reply via email to