Hello community,
here is the log from the commit of package yast2-users
checked in at Mon Oct 6 16:13:25 CEST 2008.
--------
--- yast2-users/yast2-users.changes 2008-09-19 14:45:00.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes 2008-10-06 16:03:27.193154000 +0200
@@ -1,0 +2,14 @@
+Mon Oct 6 13:01:38 CEST 2008 - jsuchome@suse.cz
+
+- better message when loading package into inst-sys (bnc#432298)
+- fingerprint-reader: thinkfinger replaced by fp (fate#300416)
+- 2.17.15
+
+-------------------------------------------------------------------
+Fri Oct 3 12:26:07 CEST 2008 - jsuchome@suse.cz
+
+- added autoYaST support for autologin (bnc#430111)
+- UsersSimple: import Stage module before using it (bnc#431890)
+- 2.17.14
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-users-2.17.13.tar.bz2
New:
----
yast2-users-2.17.15.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.Bv4703/_old 2008-10-06 16:10:41.000000000 +0200
+++ /var/tmp/diff_new_pack.Bv4703/_new 2008-10-06 16:10:41.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-users (Version 2.17.13)
+# spec file for package yast2-users (Version 2.17.15)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-users
-Version: 2.17.13
+Version: 2.17.15
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-users-2.17.13.tar.bz2
+Source0: yast2-users-2.17.15.tar.bz2
Prefix: /usr
BuildRequires: cracklib-devel doxygen gcc-c++ perl-Digest-SHA1 perl-XML-Writer update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-ldap-client yast2-perl-bindings yast2-security yast2-testsuite
Requires: yast2-perl-bindings yast2-country yast2-pam yast2-security cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext
@@ -52,7 +52,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-users-2.17.13
+%setup -n yast2-users-2.17.15
%build
%{prefix}/bin/y2tool y2autoconf
@@ -95,6 +95,14 @@
%{_libdir}/YaST2/plugin/libpy2ag_crack.la
%doc %{prefix}/share/doc/packages/yast2-users
%changelog
+* Mon Oct 06 2008 jsuchome@suse.cz
+- better message when loading package into inst-sys (bnc#432298)
+- fingerprint-reader: thinkfinger replaced by fp (fate#300416)
+- 2.17.15
+* Fri Oct 03 2008 jsuchome@suse.cz
+- added autoYaST support for autologin (bnc#430111)
+- UsersSimple: import Stage module before using it (bnc#431890)
+- 2.17.14
* Fri Sep 19 2008 jsuchome@suse.cz
- detect authentication methods also in 2nd stage (bnc#427256)
- 2.17.13
++++++ yast2-users-2.17.13.tar.bz2 -> yast2-users-2.17.15.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.13/src/inst_auth.ycp new/yast2-users-2.17.15/src/inst_auth.ycp
--- old/yast2-users-2.17.13/src/inst_auth.ycp 2008-09-18 11:32:41.000000000 +0200
+++ new/yast2-users-2.17.15/src/inst_auth.ycp 2008-09-19 14:44:54.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Arvin Schnell
* Michal Svec
*
- * $Id: inst_auth.ycp 48413 2008-06-19 08:16:54Z jsuchome $
+ * $Id: inst_auth.ycp 51319 2008-09-19 12:45:13Z jsuchome $
*/
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.13/src/Users.pm new/yast2-users-2.17.15/src/Users.pm
--- old/yast2-users-2.17.13/src/Users.pm 2008-09-16 15:51:16.000000000 +0200
+++ new/yast2-users-2.17.15/src/Users.pm 2008-10-03 12:31:47.000000000 +0200
@@ -4,7 +4,7 @@
# Package: Configuration of users and groups
# Summary: I/O routines + main data structures
#
-# $Id: Users.pm 51181 2008-09-16 13:51:24Z jsuchome $
+# $Id: Users.pm 51827 2008-10-03 10:33:02Z jsuchome $
#
package Users;
@@ -6085,12 +6085,30 @@
%useradd_defaults = %{$settings{"user_defaults"}};
$defaults_modified = 1;
}
+ if (defined $settings{"login_settings"} &&
+ ref ($settings{"login_settings"}) eq "HASH")
+ {
+ my $autologin = $settings{"login_settings"};
+ my $auto_user = $autologin->{"autologin_user"} || "";
+ if ($auto_user) {
+ Autologin->Use (1);
+ Autologin->user ($auto_user);
+ }
+ if (defined $autologin->{"password_less_login"}) {
+ Autologin->pw_less ($autologin->{"password_less_login"});
+ }
+ }
$self->ReadSystemDefaults(1);
# remove cache entries (#50265)
UsersCache->ResetCache ();
+ # do not replace possible sysconfig value of autologin (bnc#430111)
+ if (Mode->autoinst ()) {
+ Autologin->Read ();
+ }
+
my $error_msg = Mode->test () ? "" : $self->ReadLocal ();
if ($error_msg) {
return 0;
@@ -6402,7 +6420,7 @@
foreach my $key (keys %exported_user) {
if (defined $keys_to_export{$key}) {
my $new_key = $keys_to_export{$key};
- $ret{$new_key} = $exported_user{$key};
+ $ret{$new_key} = $exported_user{$key} if defined ($exported_user{$key});
}
}
@@ -6501,11 +6519,20 @@
}
}
- return {
+ my %ret = (
"users" => \@exported_users,
"groups" => \@exported_groups,
"user_defaults" => \%useradd_defaults
- };
+ );
+ if (Autologin->used ()) {
+ my %autologin = ();
+ if (Autologin->pw_less ()) {
+ $autologin{"password_less_login"} = YaST::YCP::Boolean (1);
+ }
+ $autologin{"autologin_user"} = Autologin->user ();
+ $ret{"login_settings"} = \%autologin;
+ }
+ return \%ret;
}
##------------------------------------
@@ -6537,6 +6564,13 @@
}
}
}
+ if (Autologin->used ()) {
+ # summary label
+ $ret .= __("<h3>Login Settings</h3>");
+ # summary item, %1 is user name
+ $ret .= sformat (__("User %1 configured for automatic login"),
+ Autologin->user ());
+ }
return $ret;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.13/src/UsersRoutines.pm new/yast2-users-2.17.15/src/UsersRoutines.pm
--- old/yast2-users-2.17.13/src/UsersRoutines.pm 2008-09-01 10:15:35.000000000 +0200
+++ new/yast2-users-2.17.15/src/UsersRoutines.pm 2008-10-06 13:52:44.000000000 +0200
@@ -32,7 +32,7 @@
# 'volume' information from pam_mount (info about crypted homes)
my $pam_mount = undef;
-# could we use pam_mount? currntly not if thinkfinger is in use (bnc#390810)
+# could we use pam_mount? currntly not if fingerprint dev is in use (bnc#390810)
my $crypted_homes_enabled = undef;
##-------------------------------------------------------------------------
@@ -562,7 +562,7 @@
sub CryptedHomesEnabled {
if (!defined $crypted_homes_enabled) {
- $crypted_homes_enabled = !Pam->Enabled ("thinkfinger");
+ $crypted_homes_enabled = !Pam->Enabled ("fp");
}
return $crypted_homes_enabled;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.13/src/UsersSimple.pm new/yast2-users-2.17.15/src/UsersSimple.pm
--- old/yast2-users-2.17.13/src/UsersSimple.pm 2008-09-18 11:30:41.000000000 +0200
+++ new/yast2-users-2.17.15/src/UsersSimple.pm 2008-10-06 13:01:12.000000000 +0200
@@ -114,6 +114,7 @@
YaST::YCP::Import ("InstExtensionImage");
YaST::YCP::Import ("ProductControl");
YaST::YCP::Import ("SCR");
+YaST::YCP::Import ("Stage");
YaST::YCP::Import ("SystemFilesCopy");
YaST::YCP::Import ("UsersUI");
@@ -1209,8 +1210,8 @@
return $network_methods_checked if $network_methods_checked;
if (Stage->initial () && !InstExtensionImage->LoadExtension ("bind.rpm",
- # busy popup message
- sformat (__("Downloading %1 extension..."), "bind.rpm")))
+ # busy popup message, %1 is package name
+ sformat (__("Retrieving %1 extension..."), "bind.rpm")))
{
y2error ("loading bind.rpm failed, check for network methods skipped");
return 0;
@@ -1291,7 +1292,7 @@
if (Stage->initial ())
{
InstExtensionImage->UnLoadExtension ("bind.rpm",
- # busy popup message
+ # busy popup message, %1 is package name
sformat (__("Releasing %1 extension..."), "bind.rpm"));
}
@@ -1305,7 +1306,7 @@
return InstExtensionImage->LoadExtension ("cracklib-dict-full.rpm",
# busy popup message
- sformat (__("Downloading %1 extension..."), "cracklib-dict-full.rpm"));
+ sformat (__("Retrieving %1 extension..."), "cracklib-dict-full.rpm"));
}
##------------------------------------
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.13/src/widgets.ycp new/yast2-users-2.17.15/src/widgets.ycp
--- old/yast2-users-2.17.13/src/widgets.ycp 2008-07-21 16:08:42.000000000 +0200
+++ new/yast2-users-2.17.15/src/widgets.ycp 2008-10-03 12:31:47.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Widgets definitions and helper functions
* Authors: Jiri Suchomel
*
- * $Id: widgets.ycp 49295 2008-07-21 14:10:36Z jsuchome $
+ * $Id: widgets.ycp 51827 2008-10-03 10:33:02Z jsuchome $
*/
{
@@ -996,18 +996,18 @@
define list GetExpertList () ``{
list expert_list = [];
+ if (Autologin::available)
+ {
+ expert_list = add (expert_list,
+ // menubutton label
+ `item(`id(`autologinconf), _("&Login Settings")));
+ }
if (!Mode::config ())
{
- expert_list = merge (expert_list, [
+ expert_list = prepend (expert_list,
// menubutton label
- `item(`id(`enc), _("Password &Encryption")),
- ]);
- if (Autologin::available)
- {
- expert_list = add (expert_list,
- // menubutton label
- `item(`id(`autologinconf), _("&Login Settings")));
- }
+ `item (`id(`enc), _("Password &Encryption"))
+ );
if (!Stage::cont ())
{
expert_list = add (expert_list,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.17.13/VERSION new/yast2-users-2.17.15/VERSION
--- old/yast2-users-2.17.13/VERSION 2008-09-19 14:29:10.000000000 +0200
+++ new/yast2-users-2.17.15/VERSION 2008-10-06 13:02:35.000000000 +0200
@@ -1 +1 @@
-2.17.13
+2.17.15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org