Hello community,
here is the log from the commit of package yast2-users
checked in at Thu Nov 8 22:56:24 CET 2007.
--------
--- yast2-users/yast2-users.changes 2007-11-01 15:34:59.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes 2007-11-08 11:15:00.766894000 +0100
@@ -1,0 +2,7 @@
+Thu Nov 8 11:01:39 CET 2007 - jsuchome@suse.cz
+
+- allow '\' in root's password (#337606)
+- removed dependency on yast2-network via DSL module (#339027)
+- 2.16.2
+
+-------------------------------------------------------------------
Old:
----
yast2-users-2.16.1.tar.bz2
New:
----
yast2-users-2.16.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.aa5159/_old 2007-11-08 22:55:59.000000000 +0100
+++ /var/tmp/diff_new_pack.aa5159/_new 2007-11-08 22:55:59.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-users (Version 2.16.1)
+# spec file for package yast2-users (Version 2.16.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,19 +11,21 @@
# norootforbuild
Name: yast2-users
-Version: 2.16.1
+Version: 2.16.2
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-users-2.16.1.tar.bz2
+Source0: yast2-users-2.16.2.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 yast2-perl-bindings yast2-country yast2-pam yast2-security cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext
+Requires: yast2-perl-bindings yast2-country yast2-pam yast2-security cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext
Obsoletes: yast2-config-users y2c_users yast2-trans-users y2t_users yast2-trans-inst-user yast2-trans-users y2t_inst-user
Provides: yast2-config-users y2c_users yast2-trans-users y2t_users yast2-trans-inst-user yast2-trans-users y2t_inst-user
# LDAPInitWithTLSCheck
Requires: yast2-ldap-client >= 2.15.8
+# NetworkDevices::ListDevicesExcept
+Requires: yast2 >= 2.16.9
Summary: YaST2 - User and Group Configuration
%description
@@ -43,7 +45,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-users-2.16.1
+%setup -n yast2-users-2.16.2
%build
%{prefix}/bin/y2tool y2autoconf
@@ -86,6 +88,10 @@
%{_libdir}/YaST2/plugin/libpy2ag_crack.la
%doc %{prefix}/share/doc/packages/yast2-users
%changelog
+* Thu Nov 08 2007 - jsuchome@suse.cz
+- allow '\' in root's password (#337606)
+- removed dependency on yast2-network via DSL module (#339027)
+- 2.16.2
* Thu Nov 01 2007 - jsuchome@suse.cz
- do not include default 'lxuser' name in the list of suggestions
- 2.16.1
++++++ yast2-users-2.16.1.tar.bz2 -> yast2-users-2.16.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.16.1/src/inst_auth.ycp new/yast2-users-2.16.2/src/inst_auth.ycp
--- old/yast2-users-2.16.1/src/inst_auth.ycp 2007-02-26 13:59:29.000000000 +0100
+++ new/yast2-users-2.16.2/src/inst_auth.ycp 2007-11-08 11:06:01.000000000 +0100
@@ -13,7 +13,6 @@
textdomain "users";
import "Directory";
-import "DSL";
import "FileUtils";
import "Label";
import "Ldap";
@@ -83,22 +82,10 @@
// Check if lan is configured
-list<string> net_devices = NetworkDevices::List("");
+list<string> net_devices = NetworkDevices::ListDevicesExcept("dialup");
y2debug("net_devices: %1", net_devices);
-if (size(net_devices) == 0 && !NetworkService::IsManaged () &&
- size (Ldap::initial_defaults) == 0)
-{
- Users::SetAfterAuth ("users");
- y2milestone ("network not available: no network based authentization");
- return `auto;
-}
-boolean found = false || NetworkService::IsManaged ();
-maplist(string dev, net_devices, ``{
- if(!DSL::UsesDevice(dev))
- found = true;
-});
-y2debug("found=%1", found);
+boolean found = (size (net_devices) > 0) || NetworkService::IsManaged ();
if (!found && size (Ldap::initial_defaults) == 0) {
y2milestone ("network not available: no network based authentization");
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.16.1/src/inst_root.ycp new/yast2-users-2.16.2/src/inst_root.ycp
--- old/yast2-users-2.16.1/src/inst_root.ycp 2007-08-09 16:33:42.000000000 +0200
+++ new/yast2-users-2.16.2/src/inst_root.ycp 2007-11-07 20:53:12.000000000 +0100
@@ -181,7 +181,7 @@
continue;
}
- if (findfirstnotof (pw1, valid_password_chars) != nil)
+ if (findfirstnotof (pw1, valid_password_chars + "\\") != nil)
{
Popup::Message (Users::ValidPasswordMessage ());
// Invalidate old password
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.16.1/src/Users.pm new/yast2-users-2.16.2/src/Users.pm
--- old/yast2-users-2.16.1/src/Users.pm 2007-10-02 15:10:53.000000000 +0200
+++ new/yast2-users-2.16.2/src/Users.pm 2007-11-08 09:49:20.000000000 +0100
@@ -2290,7 +2290,9 @@
next;
}
if ($key eq "userpassword" && (defined $data{$key}) &&
- $data{$key} ne $user_in_work{$key}) {
+ (!defined $user_in_work{$key} || $data{$key} ne $user_in_work{$key})
+ )
+ {
# crypt password only once (when changed)
if (!defined $data{"encrypted"} || !bool ($data{"encrypted"})) {
$user_in_work{$key} = $self->CryptPassword ($data{$key}, $type);
@@ -3344,7 +3346,9 @@
}
next;
}
- if (!defined $user{$key} || $user{$key} ne $value)
+ if (!defined $user{$key} ||
+ ((!defined $value) && (defined $user{$key})) ||
+ ((defined $value) && ($user{$key} ne $value)))
{
$ret = 1;
y2debug ("old value: ", $value || "(not defined)");
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.16.1/VERSION new/yast2-users-2.16.2/VERSION
--- old/yast2-users-2.16.1/VERSION 2007-11-01 15:21:00.000000000 +0100
+++ new/yast2-users-2.16.2/VERSION 2007-11-08 11:03:30.000000000 +0100
@@ -1 +1 @@
-2.16.1
+2.16.2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org