Hello community,
here is the log from the commit of package yast2-users for openSUSE:Factory
checked in at Fri Feb 27 16:51:32 CET 2009.
--------
--- yast2-users/yast2-users.changes 2009-02-09 14:41:04.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes 2009-02-27 14:08:02.438698000 +0100
@@ -1,0 +2,12 @@
+Fri Feb 27 13:41:16 CET 2009 - jsuchome@suse.cz
+
+- transliteration of UTF-8 accented characters to ASCII during
+ name generation (bnc#442225)
+- 2.18.3
+
+-------------------------------------------------------------------
+Wed Feb 18 16:01:03 CET 2009 - jsuchome@suse.cz
+
+- ask for disabling autologin only when adding 2nd user(bnc#332729)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-users-2.18.2.tar.bz2
New:
----
yast2-users-2.18.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.X27632/_old 2009-02-27 16:51:12.000000000 +0100
+++ /var/tmp/diff_new_pack.X27632/_new 2009-02-27 16:51:12.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-users (Version 2.18.2)
+# spec file for package yast2-users (Version 2.18.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-users
-Version: 2.18.2
+Version: 2.18.3
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-users-2.18.2.tar.bz2
+Source0: yast2-users-2.18.3.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-country yast2-pam yast2-security cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext
@@ -54,7 +54,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-users-2.18.2
+%setup -n yast2-users-2.18.3
%build
%{prefix}/bin/y2tool y2autoconf
@@ -97,6 +97,12 @@
%{_libdir}/YaST2/plugin/libpy2ag_crack.la
%doc %{prefix}/share/doc/packages/yast2-users
%changelog
+* Fri Feb 27 2009 jsuchome@suse.cz
+- transliteration of UTF-8 accented characters to ASCII during
+ name generation (bnc#442225)
+- 2.18.3
+* Wed Feb 18 2009 jsuchome@suse.cz
+- ask for disabling autologin only when adding 2nd user(bnc#332729)
* Mon Feb 09 2009 jsuchome@suse.cz
- added new logging functions which should produce human readable
log file (fate#100386)
++++++ yast2-users-2.18.2.tar.bz2 -> yast2-users-2.18.3.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.18.2/src/dialogs.ycp new/yast2-users-2.18.3/src/dialogs.ycp
--- old/yast2-users-2.18.2/src/dialogs.ycp 2008-11-14 15:21:59.000000000 +0100
+++ new/yast2-users-2.18.3/src/dialogs.ycp 2009-02-27 13:40:58.000000000 +0100
@@ -5,7 +5,7 @@
* Authors: Johannes Buchhold ,
* Jiri Suchomel
*
- * $Id: dialogs.ycp 53307 2008-11-14 09:56:35Z jsuchome $
+ * $Id: dialogs.ycp 55594 2009-02-18 15:01:32Z jsuchome $
*/
{
@@ -966,6 +966,7 @@
{
string full = (string)UI::QueryWidget (`id (ret), `Value);
full = splitstring (full, " ")[0]:"";
+ full = UsersSimple::Transliterate (full);
UI::ChangeWidget (`id (`username), `Value, tolower (
filterchars (full, UsersSimple::ValidLognameChars ()))
);
@@ -1762,7 +1763,9 @@
continue;
}
// check if autologin is not set for some user
- if (what == "add_user" && !complex_layout)
+ if (what == "add_user" && !complex_layout &&
+ // ask only when there is still one user (bnc#332729)
+ size (UsersCache::GetUsernames ("local")) == 1)
{
Autologin::AskForDisabling (
// popup text
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.18.2/src/groups.ycp new/yast2-users-2.18.3/src/groups.ycp
--- old/yast2-users-2.18.2/src/groups.ycp 2009-02-05 09:39:18.000000000 +0100
+++ new/yast2-users-2.18.3/src/groups.ycp 2009-02-09 14:41:15.000000000 +0100
@@ -10,7 +10,7 @@
* Authors:
* Jiri Suchomel
*
- * $Id: groups.ycp 52149 2008-10-13 14:56:39Z jsuchome $
+ * $Id: groups.ycp 55355 2009-02-09 13:41:14Z jsuchome $
*
* Just a shortcut to invoke groups management
*/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.18.2/src/inst_auth.ycp new/yast2-users-2.18.3/src/inst_auth.ycp
--- old/yast2-users-2.18.2/src/inst_auth.ycp 2008-10-29 14:42:26.000000000 +0100
+++ new/yast2-users-2.18.3/src/inst_auth.ycp 2009-02-27 14:06:52.000000000 +0100
@@ -5,7 +5,7 @@
* Authors: Arvin Schnell
* Michal Svec
*
- * $Id: inst_auth.ycp 51319 2008-09-19 12:45:13Z jsuchome $
+ * $Id: inst_auth.ycp 55812 2009-02-27 13:06:52Z jsuchome $
*/
{
@@ -189,7 +189,7 @@
"samba" : "yast2-samba-client", "edir_ldap" : "yast2-linux-user-mgmt" ], {
if (available == nil)
return;
- available = Package::Available (package);
+ available = Package::Installed (package) || Package::Available (package);
if (available == true)
available_clients = add (available_clients, client);
});
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.18.2/src/inst_user_first.ycp new/yast2-users-2.18.3/src/inst_user_first.ycp
--- old/yast2-users-2.18.2/src/inst_user_first.ycp 2008-12-18 11:29:38.000000000 +0100
+++ new/yast2-users-2.18.3/src/inst_user_first.ycp 2009-02-27 13:41:05.000000000 +0100
@@ -612,6 +612,7 @@
{
string full = (string)UI::QueryWidget (`id (`cn), `Value);
full = splitstring (full, " ")[0]:"";
+ full = UsersSimple::Transliterate (full);
UI::ChangeWidget (`id (`username), `Value, tolower (
filterchars (full, UsersSimple::ValidLognameChars ()))
);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.18.2/src/Users.pm new/yast2-users-2.18.3/src/Users.pm
--- old/yast2-users-2.18.2/src/Users.pm 2009-02-09 12:19:14.000000000 +0100
+++ new/yast2-users-2.18.3/src/Users.pm 2009-02-09 14:41:15.000000000 +0100
@@ -4,7 +4,7 @@
# Package: Configuration of users and groups
# Summary: I/O routines + main data structures
#
-# $Id: Users.pm 52801 2008-10-31 14:22:48Z jsuchome $
+# $Id: Users.pm 55355 2009-02-09 13:41:14Z jsuchome $
#
package Users;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.18.2/src/UsersSimple.pm new/yast2-users-2.18.3/src/UsersSimple.pm
--- old/yast2-users-2.18.2/src/UsersSimple.pm 2008-12-18 11:29:38.000000000 +0100
+++ new/yast2-users-2.18.3/src/UsersSimple.pm 2009-02-27 14:04:24.000000000 +0100
@@ -115,6 +115,7 @@
YaST::YCP::Import ("FileUtils");
YaST::YCP::Import ("Hostname");
YaST::YCP::Import ("InstExtensionImage");
+YaST::YCP::Import ("Language");
YaST::YCP::Import ("Mode");
YaST::YCP::Import ("NetworkService");
YaST::YCP::Import ("ProductControl");
@@ -1373,5 +1374,22 @@
sformat (__("Releasing %1 extension..."), "cracklib-dict-full.rpm"));
}
+##------------------------------------
+# use iconv transliteration feature to convert special characters to similar
+# ASCII ones (bnc#442225)
+BEGIN { $TYPEINFO{Transliterate} = ["function", "string", "string"]; }
+sub Transliterate {
+
+ my ($self, $text) = @_;
+
+ return "" if ! $text;
+ my $language = Language->language ();
+ my $out = SCR->Execute (".target.bash_output",
+ "echo '$text' | iconv -f utf-8 -t ascii//translit",
+ { "LANG" => $language });
+ my $stdout = $out->{"stdout"} || "";
+ return $stdout;
+}
+
42
# EOF
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.18.2/src/users.ycp new/yast2-users-2.18.3/src/users.ycp
--- old/yast2-users-2.18.2/src/users.ycp 2009-02-05 09:36:17.000000000 +0100
+++ new/yast2-users-2.18.3/src/users.ycp 2009-02-09 14:41:15.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Main file
* Authors: Jiri Suchomel
*
- * $Id: users.ycp 52149 2008-10-13 14:56:39Z jsuchome $
+ * $Id: users.ycp 55355 2009-02-09 13:41:14Z jsuchome $
*
* Main file for users and groups configuration. Uses all other files.
*/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.18.2/VERSION new/yast2-users-2.18.3/VERSION
--- old/yast2-users-2.18.2/VERSION 2009-02-09 12:47:35.000000000 +0100
+++ new/yast2-users-2.18.3/VERSION 2009-02-27 13:41:32.000000000 +0100
@@ -1 +1 @@
-2.18.2
+2.18.3
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org