Author: jsuchome Date: Wed May 21 14:37:23 2008 New Revision: 47757 URL: http://svn.opensuse.org/viewcvs/yast?rev=47757&view=rev Log: - install architecture dependent cryptconfig (bnc#392028) - 2.16.32 Modified: trunk/users/VERSION trunk/users/package/yast2-users.changes trunk/users/src/Users.pm Modified: trunk/users/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/VERSION?rev=47757&r1=47756&r2=47757&view=diff ============================================================================== --- trunk/users/VERSION (original) +++ trunk/users/VERSION Wed May 21 14:37:23 2008 @@ -1 +1 @@ -2.16.31 +2.16.32 Modified: trunk/users/package/yast2-users.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/package/yast2-users.changes?rev=47757&r1=47756&r2=47757&view=diff ============================================================================== --- trunk/users/package/yast2-users.changes (original) +++ trunk/users/package/yast2-users.changes Wed May 21 14:37:23 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed May 21 14:26:55 CEST 2008 - jsuchome@suse.cz + +- install architecture dependent cryptconfig (bnc#392028) +- 2.16.32 + +------------------------------------------------------------------- Tue May 20 10:34:59 CEST 2008 - jsuchome@suse.cz - do not allow encrypting directories when pam_thinkfinger is used Modified: trunk/users/src/Users.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/Users.pm?rev=47757&r1=47756&r2=47757&view=diff ============================================================================== --- trunk/users/src/Users.pm (original) +++ trunk/users/src/Users.pm Wed May 21 14:37:23 2008 @@ -195,6 +195,7 @@ ##------------------- global imports YaST::YCP::Import ("SCR"); +YaST::YCP::Import ("Arch"); YaST::YCP::Import ("Autologin"); YaST::YCP::Import ("Call"); YaST::YCP::Import ("Directory"); @@ -4203,6 +4204,21 @@ return $result; } +# return the list of packages needed for crypted home directories +# (+ architecture specific, see bnc#392028) +sub cryptconfig_packages { + + my $arch = Arch->architecture (); + my @ret = ("cryptconfig"); + my %dependency = ( + "ia64" => "-x86", + "ppc64" => "-64bit", + "s390_64" => "-32bit", + "x86_64" => "-32bit" + ); + push @ret, "cryptconfig".$dependency{$arch}; + return \@ret; +} ##------------------------------------ BEGIN { $TYPEINFO{Write} = ["function", "string"]; } @@ -4489,7 +4505,7 @@ } } if (%users_with_crypted_dir) { - Package->Install ("cryptconfig"); + Package->InstallAll (cryptconfig_packages ()); } # remove the crypted directories now -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org