Hello community, here is the log from the commit of package yast2-users for openSUSE:Factory checked in at Fri Sep 23 10:39:05 CEST 2011.
-------- --- yast2-users/yast2-users.changes 2011-07-15 12:48:54.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes 2011-09-22 11:05:03.000000000 +0200 @@ -1,0 +2,18 @@ +Thu Sep 22 11:04:05 CEST 2011 - [email protected] + +- use first stage saved data only in second stage (bnc#712900) +- 2.21.7 + +------------------------------------------------------------------- +Fri Aug 5 12:35:46 CEST 2011 - [email protected] + +- fixed .desktop file (bnc #681249) + +------------------------------------------------------------------- +Wed Jul 20 11:10:22 CEST 2011 - [email protected] + +- remove blowfish hash from selections, make sha512 the default + (fate#312321) +- 2.21.6 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-users-2.21.5.tar.bz2 New: ---- yast2-users-2.21.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.oJiDAK/_old 2011-09-23 10:38:55.000000000 +0200 +++ /var/tmp/diff_new_pack.oJiDAK/_new 2011-09-23 10:38:55.000000000 +0200 @@ -19,11 +19,11 @@ Name: yast2-users -Version: 2.21.5 -Release: 1 +Version: 2.21.7 +Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-users-2.21.5.tar.bz2 +Source0: yast2-users-2.21.7.tar.bz2 Prefix: /usr @@ -53,7 +53,7 @@ This package provides GUI for maintenance of linux users and groups. %prep -%setup -n yast2-users-2.21.5 +%setup -n yast2-users-2.21.7 %build %{prefix}/bin/y2tool y2autoconf @@ -99,4 +99,5 @@ %{_libdir}/YaST2/plugin/libpy2ag_crack.so %{_libdir}/YaST2/plugin/libpy2ag_crack.la %doc %{prefix}/share/doc/packages/yast2-users + %changelog ++++++ yast2-users-2.21.5.tar.bz2 -> yast2-users-2.21.7.tar.bz2 ++++++ ++++ 2008 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-users-2.21.5/VERSION new/yast2-users-2.21.7/VERSION --- old/yast2-users-2.21.5/VERSION 2011-07-15 12:45:40.000000000 +0200 +++ new/yast2-users-2.21.7/VERSION 2011-09-22 11:04:14.000000000 +0200 @@ -1 +1 @@ -2.21.5 +2.21.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-users-2.21.5/src/UsersSimple.pm new/yast2-users-2.21.7/src/UsersSimple.pm --- old/yast2-users-2.21.5/src/UsersSimple.pm 2011-07-15 12:43:34.000000000 +0200 +++ new/yast2-users-2.21.7/src/UsersSimple.pm 2011-09-19 13:24:41.000000000 +0200 @@ -4,7 +4,7 @@ # Package: Configuration of users and groups # Summary: module for first stage user configuration # -# $Id: UsersSimple.pm 64852 2011-07-15 10:43:33Z jsuchome $ +# $Id: UsersSimple.pm 64911 2011-07-20 09:13:45Z jsuchome $ # package UsersSimple; @@ -47,7 +47,7 @@ # password encryption method -my $encryption_method = "blowfish"; +my $encryption_method = "sha512"; # mail alias for root my $root_alias = ""; @@ -951,7 +951,9 @@ my $file = Directory->vardir()."/users_first_stage.ycp"; my $ret = 0; - if (FileUtils->Exists ($file) && ($force || $first_stage_data_not_read)) { + if (Stage->cont () && FileUtils->Exists ($file) && + ($force || $first_stage_data_not_read)) + { my $data = SCR->Read (".target.ycp", $file); $first_stage_data_not_read = 0; if (defined $data && ref ($data) eq "HASH") { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-users-2.21.5/src/helps.ycp new/yast2-users-2.21.7/src/helps.ycp --- old/yast2-users-2.21.5/src/helps.ycp 2008-12-18 14:47:14.000000000 +0100 +++ new/yast2-users-2.21.7/src/helps.ycp 2011-07-20 11:13:46.000000000 +0200 @@ -6,7 +6,7 @@ * Authors: Johannes Buchhold <[email protected]>, * Jiri Suchomel <[email protected]> * - * $Id: helps.ycp 50508 2008-09-01 08:23:27Z jsuchome $ + * $Id: helps.ycp 64911 2011-07-20 09:13:45Z jsuchome $ * */ { @@ -35,8 +35,6 @@ "crypt" :_("DES"), // encryption type "md5" : _("MD5"), - // encryption type - "blowfish" : _("Blowfish") ]; string method = Users::EncryptionMethod (); if (type == "ldap") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-users-2.21.5/src/inst_user_first.ycp new/yast2-users-2.21.7/src/inst_user_first.ycp --- old/yast2-users-2.21.5/src/inst_user_first.ycp 2011-04-05 11:05:54.000000000 +0200 +++ new/yast2-users-2.21.7/src/inst_user_first.ycp 2011-07-20 11:13:46.000000000 +0200 @@ -4,7 +4,7 @@ * Summary: Dialog for creating the first user during installation * Authors: Jiri Suchomel <[email protected]> * - * $Id: inst_user_first.ycp 63712 2011-04-05 09:05:53Z jsuchome $ + * $Id: inst_user_first.ycp 64911 2011-07-20 09:13:45Z jsuchome $ */ { import "Directory"; @@ -99,8 +99,6 @@ // encryption type "md5" : _("MD5"), // encryption type - "blowfish" : _("Blowfish"), - // encryption type "sha256" : _("SHA-256"), // encryption type "sha512" : _("SHA-512"), @@ -161,12 +159,10 @@ `RadioButtonGroup (`id (`encryption_method), `VBox ( `VSpacing (0.5), // Radio button label: password encryption type - `Left (`RadioButton (`id ("des"), _("&DES (Linux default)"))), + `Left (`RadioButton (`id ("des"), _("&DES"))), // Radio button label: password encryption type `Left (`RadioButton (`id ("md5"), _("&MD5"))), // Radio button label: password encryption type - `Left (`RadioButton (`id ("blowfish"), _("&Blowfish"))), - // Radio button label: password encryption type `Left (`RadioButton (`id ("sha256"), _("SHA-&256"))), // Radio button label: password encryption type `Left (`RadioButton (`id ("sha512"), _("SHA-&512"))), @@ -205,11 +201,7 @@ </p>") + // Help text for password expert dialog - _("<p> -<b>Blowfish</b> is similar to MD5, but uses a different algorithm -to encrypt passwords. -</P>"); - + _("<p><b>SHA-512</b> is the current standard hash method, using other algorithms is not recommended unless needed for compatibility purpose.</p>"); // help text for main add user dialog string main_help () { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-users-2.21.5/src/users.desktop new/yast2-users-2.21.7/src/users.desktop --- old/yast2-users-2.21.5/src/users.desktop 2010-01-15 09:17:34.000000000 +0100 +++ new/yast2-users-2.21.7/src/users.desktop 2011-08-05 15:41:03.000000000 +0200 @@ -3,7 +3,6 @@ Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Security; X-KDE-ModuleType=Library -X-KDE-RootOnly=true X-KDE-HasReadOnlyMode=true X-KDE-Library=yast2 X-SuSE-YaST-Call=users diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-users-2.21.5/src/users_proposal.ycp new/yast2-users-2.21.7/src/users_proposal.ycp --- old/yast2-users-2.21.5/src/users_proposal.ycp 2011-04-05 11:05:54.000000000 +0200 +++ new/yast2-users-2.21.7/src/users_proposal.ycp 2011-07-20 11:13:46.000000000 +0200 @@ -3,7 +3,7 @@ * Author: Jiri Suchomel <[email protected]> * Purpose: Proposal for user and root setting * - * $Id: users_proposal.ycp 63712 2011-04-05 09:05:53Z jsuchome $ + * $Id: users_proposal.ycp 64911 2011-07-20 09:13:45Z jsuchome $ */ { textdomain "users"; @@ -33,8 +33,6 @@ // encryption type "md5" : _("MD5"), // encryption type - "blowfish" : _("Blowfish"), - // encryption type "sha256" : _("SHA-256"), // encryption type "sha512" : _("SHA-512"), @@ -95,7 +93,8 @@ ahref, "/a", user["cn"]:"", user["uid"]:""); } string rest = ""; - if (UsersSimple::EncryptionMethod () != "blowfish") + // only show in summary if non-default method is used + if (UsersSimple::EncryptionMethod () != "sha512") { // summary line rest = sformat (_("Password Encryption Method: %1"), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-users-2.21.5/src/widgets.ycp new/yast2-users-2.21.7/src/widgets.ycp --- old/yast2-users-2.21.5/src/widgets.ycp 2011-07-15 12:43:34.000000000 +0200 +++ new/yast2-users-2.21.7/src/widgets.ycp 2011-07-20 11:13:46.000000000 +0200 @@ -4,7 +4,7 @@ * Summary: Widgets definitions and helper functions * Authors: Jiri Suchomel <[email protected]> * - * $Id: widgets.ycp 64852 2011-07-15 10:43:33Z jsuchome $ + * $Id: widgets.ycp 64911 2011-07-20 09:13:45Z jsuchome $ */ { @@ -157,14 +157,7 @@ </p>"); // Help text for password expert dialog 4/5 - help_text = help_text + _("<p> -<b>Blowfish</b> is similar to MD5, but uses a different algorithm -to encrypt passwords. -</P>"); - // Help text for password expert dialog 5/5 - help_text = help_text + _("<p> -As a general rule of thumb, use DES if you are unsure. -</p>"); + help_text = help_text + _("<p><b>SHA-512</b> is the current standard hash method, using other algorithms is not recommended unless needed for compatibility purpose.</p>"); UI::OpenDialog( `VBox( @@ -174,26 +167,22 @@ `HBox( `HSpacing( 2 ), // frame label - `RadioButtonGroup(`id (`methods), `Frame( _("Encryption Type"), - `VBox( + `RadioButtonGroup(`id (`methods), `Frame( _("Encryption Type"), `HBox (`HSpacing (), `VBox( `VSpacing( 0.5 ), // Radio buttons for password encryption: DES-crypt - `Left(`RadioButton(`id("des"), _("&DES (Linux default)"), + `Left(`RadioButton(`id("des"), _("&DES"), method == "des" ) ), // Radio buttons for password encryption: MD5-crypt `Left(`RadioButton(`id("md5"), _("&MD5"), method == "md5" ) ), - // Radio buttons for password encryption: blowfish-crypt - `Left(`RadioButton(`id("blowfish"), _("&Blowfish"), - method == "blowfish" ) ), // Radio buttons for password encryption: sha256 crypt `Left(`RadioButton(`id("sha256"), _("SHA-&256"), method == "sha256" ) ), // Radio buttons for password encryption: sha512 crypt `Left(`RadioButton(`id("sha512"), _("SHA-&512"), - method == "sha512" ) ) - ) - )), + method == "sha512" ) ), + `VSpacing( 0.5 ) + )))), `HSpacing( 2 ) ), `VSpacing( 0.5 ), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-users-2.21.5/testsuite/tests/ReadLDAPAvailable.out new/yast2-users-2.21.7/testsuite/tests/ReadLDAPAvailable.out --- old/yast2-users-2.21.5/testsuite/tests/ReadLDAPAvailable.out 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-users-2.21.7/testsuite/tests/ReadLDAPAvailable.out 2011-07-27 13:56:41.000000000 +0200 @@ -0,0 +1,6 @@ +Read .etc.nsswitch_conf.passwd "ldap files" +Return true +Read .etc.nsswitch_conf.passwd "files" +Return false +Read .etc.nsswitch_conf.passwd "sss" +Return true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-users-2.21.5/testsuite/tests/ReadLDAPAvailable.ycp new/yast2-users-2.21.7/testsuite/tests/ReadLDAPAvailable.ycp --- old/yast2-users-2.21.5/testsuite/tests/ReadLDAPAvailable.ycp 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-users-2.21.7/testsuite/tests/ReadLDAPAvailable.ycp 2011-07-27 13:56:41.000000000 +0200 @@ -0,0 +1,32 @@ +/** + * File : ReadLDAPAvailable.ycp + * Module : Users configurator + * Summary : Test of UsersLDAP::ReadAvailable + * Authors : Jiri Suchomel <[email protected]> + */ + +{ + // testedfiles: UsersLDAP.pm + + map READ = $[ + "etc" : $[ + "nsswitch_conf" : $[ + "passwd" : "ldap files" + ], + ], + ]; + + import "Testsuite"; + import "UsersLDAP"; + + Testsuite::Test (``(UsersLDAP::ReadAvailable ()), [READ, $[], $[]], 0); + + READ["etc","nsswitch_conf","passwd"] = "files"; + + Testsuite::Test (``(UsersLDAP::ReadAvailable ()), [READ, $[], $[]], 0); + + READ["etc","nsswitch_conf","passwd"] = "sss"; + + Testsuite::Test (``(UsersLDAP::ReadAvailable ()), [READ, $[], $[]], 0); + +} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
