Hello community,
here is the log from the commit of package yast2-users
checked in at Tue Mar 13 01:07:11 CET 2007.
--------
--- yast2-users/yast2-users.changes 2007-02-28 14:38:56.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes 2007-03-12 13:38:01.123950000 +0100
@@ -1,0 +2,6 @@
+Mon Mar 12 11:50:01 CET 2007 - jsuchome@suse.cz
+
+- call cryptconfig again when home directory was renamed (#252325)
+- 2.15.17
+
+-------------------------------------------------------------------
Old:
----
yast2-users-2.15.16.tar.bz2
New:
----
yast2-users-2.15.17.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.OR2701/_old 2007-03-13 01:04:46.000000000 +0100
+++ /var/tmp/diff_new_pack.OR2701/_new 2007-03-13 01:04:46.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-users (Version 2.15.16)
+# spec file for package yast2-users (Version 2.15.17)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-users
-Version: 2.15.16
+Version: 2.15.17
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-users-2.15.16.tar.bz2
+Source0: yast2-users-2.15.17.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-mail-aliases yast2-perl-bindings yast2-security yast2-testsuite
Requires: yast2 yast2-perl-bindings yast2-country yast2-pam yast2-security yast2-mail-aliases cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext yast2-ldap-client
@@ -42,7 +42,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-users-2.15.16
+%setup -n yast2-users-2.15.17
%build
%{prefix}/bin/y2tool y2autoconf
@@ -86,6 +86,9 @@
%doc %{prefix}/share/doc/packages/yast2-users
%changelog
+* Mon Mar 12 2007 - jsuchome@suse.cz
+- call cryptconfig again when home directory was renamed (#252325)
+- 2.15.17
* Wed Feb 28 2007 - jsuchome@suse.cz
- ask for current user password for any change with crypted
directory (#242531)
++++++ yast2-users-2.15.16.tar.bz2 -> yast2-users-2.15.17.tar.bz2 ++++++
++++ 23801 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.15.16/config.h.in new/yast2-users-2.15.17/config.h.in
--- old/yast2-users-2.15.16/config.h.in 2006-02-06 15:19:15.000000000 +0100
+++ new/yast2-users-2.15.17/config.h.in 2007-03-12 12:28:30.000000000 +0100
@@ -65,7 +65,7 @@
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
+ automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
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.15.16/configure.in new/yast2-users-2.15.17/configure.in
--- old/yast2-users-2.15.16/configure.in 2006-01-27 08:42:11.000000000 +0100
+++ new/yast2-users-2.15.17/configure.in 2007-03-12 12:28:06.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2-users
dnl
-dnl -- This file is generated by y2autoconf - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-users, 2.13.11, http://www.suse.de/feedback, yast2-users)
+AC_INIT(yast2-users, 2.15.17, http://bugs.opensuse.org/, yast2-users)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.13.11"
+VERSION="2.15.17"
RPMNAME="yast2-users"
MAINTAINER="Jiri Suchomel "
@@ -111,6 +111,8 @@
AC_MSG_ERROR(xgettext is missing; please install gettext-devel.)
fi
+Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools`
+AC_SUBST(Y2DEVTOOLS_PREFIX)
devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools`
devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools`
@@ -143,6 +145,9 @@
if test "$YCPC" = "false"; then
AC_MSG_ERROR([ycpc is not installed])
fi
+AC_CHECK_FILE($devtools_yast2dir/data/testsuite/Makefile.testsuite, [], [
+ AC_MSG_WARN([yast2-testsuite.rpm is not installed])
+])
dnl Check packages expect and dejagnu
AC_PATH_PROG(MYEXPECT, expect, false)
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.15.16/Makefile.am new/yast2-users-2.15.17/Makefile.am
--- old/yast2-users-2.15.16/Makefile.am 2006-01-27 08:42:11.000000000 +0100
+++ new/yast2-users-2.15.17/Makefile.am 2007-03-12 12:28:06.000000000 +0100
@@ -7,7 +7,7 @@
#
#where devtools are
-PREFIX := $(shell pkg-config --print-errors --variable=prefix yast2-devtools)
+Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool
VERSION = $(shell cat $(srcdir)/VERSION)
RPMNAME = $(shell cat $(srcdir)/RPMNAME)
@@ -19,7 +19,7 @@
# do we do Makefile.am for devtools? It is a little special...
IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
-DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(PREFIX)/share/YaST2/data/devtools)
+DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
ALL_PACKAGES = $(DEVTOOLS_DIR)/admin/all-packages
LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
@@ -33,7 +33,7 @@
AUTOMAKE_OPTIONS = foreign dist-bzip2
# where devtools instal m4 snippets
# argh, executed literally
-#ACLOCAL_AMFLAGS = -I $(PREFIX)/share/aclocal
+#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
ACLOCAL_AMFLAGS = -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
@@ -66,7 +66,7 @@
# because the prerequisite is made here (not anymore!)
# and we don't want any paths in y2autoconf
# info '(autoconf)config.status Invocation'
-$(RPMNAME).pc: $(RPMNAME).pc.in
+$(RPMNAME).pc: $(RPMNAME).pc.in config.status
./config.status --file=$@:$<
if CREATE_PKGCONFIG_NOARCH
@@ -95,7 +95,7 @@
done
pot:
- y2tool y2makepot -s $(srcdir)
+ $(Y2TOOL) y2makepot -s $(srcdir)
install-pot: pot
@POT_DST=`find -type d -name testsuite -prune , \
@@ -116,7 +116,7 @@
fi
spellcheck: pot
- y2tool pot-spellcheck
+ $(Y2TOOL) pot-spellcheck
# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
@@ -143,20 +143,20 @@
rm -f package/*.bak
rm -f package/*.auto
mv $(RPMNAME)-$(VERSION).tar.bz2 package/
- if ! test -x $(PREFIX)/bin/y2tool; then \
- echo "$(PREFIX)/bin/y2tool: not found."; \
+ if ! test -x $(Y2TOOL); then \
+ echo "$(Y2TOOL): not found."; \
echo "You have to install yast2-devtools to making a package"; \
false; \
fi
here=`pwd`; \
cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
- $(PREFIX)/bin/y2tool create-spec < $$i > $$here/package/$${newname} ; \
+ $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
done
-package: check-up-to-date check-tagversion check-all-packages package-local
+package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
-TAGVERSION = $(PREFIX)/bin/y2tool tagversion
+TAGVERSION = $(Y2TOOL) tagversion
check-up-to-date check-cvs-up-to-date check-svn-up-to-date:
if [ -d $(srcdir)/CVS ]; then \
@@ -199,10 +199,13 @@
false; \
fi
+check-textdomain:
+ $(Y2TOOL) check-textdomain $(srcdir)
+
stable: checkin-stable
checkin-stable: package
- $(PREFIX)/bin/y2tool checkin-stable
+ $(Y2TOOL) checkin-stable
# For po/ modules
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.15.16/Makefile.am.common new/yast2-users-2.15.17/Makefile.am.common
--- old/yast2-users-2.15.16/Makefile.am.common 2006-01-27 08:42:11.000000000 +0100
+++ new/yast2-users-2.15.17/Makefile.am.common 2007-03-12 12:28:06.000000000 +0100
@@ -29,7 +29,19 @@
dist-hook: check-syntax
+CHECK_SYNTAX = true
check-syntax: $(client_DATA) $(ycpchook)
- if test "$(client_DATA)"; then $(bindir)/ycpc -qE -M. -I. $(YCPCFLAGS) $(filter %.ycp,$^) || exit 1; fi
+ @if test "$(client_DATA)"; then \
+ if $(CHECK_SYNTAX); then \
+ TO_CHECK="$(filter %.ycp,$^)"; \
+ echo "Checking syntax of $${TO_CHECK}"; \
+ if ! $(YCPC) -qE -M. -I. $(YCPCFLAGS) $${TO_CHECK}; then \
+ echo "Failed. Disable by 'make ... CHECK_SYNTAX=false' at your own risk"; \
+ exit 1; \
+ fi; \
+ else \
+ echo "Syntax check disabled"; \
+ fi; \
+ fi
-include .dep
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.15.16/src/dialogs.ycp new/yast2-users-2.15.17/src/dialogs.ycp
--- old/yast2-users-2.15.16/src/dialogs.ycp 2007-02-28 13:34:59.000000000 +0100
+++ new/yast2-users-2.15.17/src/dialogs.ycp 2007-03-08 18:20:45.000000000 +0100
@@ -5,7 +5,7 @@
* Authors: Johannes Buchhold ,
* Jiri Suchomel
*
- * $Id: dialogs.ycp 36402 2007-02-22 14:35:16Z jsuchome $
+ * $Id: dialogs.ycp 36578 2007-02-28 13:39:16Z jsuchome $
*/
{
@@ -1580,6 +1580,8 @@
||
org_username != username
||
+ org_home != home
+ ||
// only password was changed
(crypted_home_size > 0 && user["encrypted"]:false == false)
)
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.15.16/src/UsersRoutines.pm new/yast2-users-2.15.17/src/UsersRoutines.pm
--- old/yast2-users-2.15.16/src/UsersRoutines.pm 2007-02-28 13:43:32.000000000 +0100
+++ new/yast2-users-2.15.17/src/UsersRoutines.pm 2007-03-12 12:11:37.000000000 +0100
@@ -338,6 +338,7 @@
SCR->Execute (".target.bash", "/bin/rm -rf $mnt_dir") if (FileUtils->Exists ($mnt_dir));
SCR->Execute (".target.mkdir", $mnt_dir);
$command = "mount -o loop $image_path $mnt_dir";
+ y2debug ("cmd: $command");
$out = SCR->Execute (".target.bash_output", $command);
if ($out->{"exit"} ne 0 && $out->{"stderr"}) {
y2error ("error calling $command: ", $out->{"stderr"});
@@ -347,13 +348,21 @@
SCR->Execute (".target.bash", "/bin/rm -rf $home");
# copy the directory content
$command = "/bin/cp -ar $mnt_dir $home";
+ y2debug ("cmd: $command");
$out = SCR->Execute (".target.bash_output", $command);
if ($out->{"exit"} ne 0 && $out->{"stderr"}) {
y2error ("error calling $command: ", $out->{"stderr"});
return 0;
}
- SCR->Execute (".target.bash", "umount $mnt_dir");
+ $command = "umount $mnt_dir";
+ y2debug ("cmd: $command");
+ $out = SCR->Execute (".target.bash_output", $command);
+ if ($out->{"exit"} ne 0 && $out->{"stderr"}) {
+ y2error ("error calling $command: ", $out->{"stderr"});
+ return 0;
+ }
$command = "$cryptconfig pm-disable $username";
+ y2debug ("cmd: $command");
$out = SCR->Execute (".target.bash_output", $command);
if ($out->{"exit"} ne 0 && $out->{"stderr"}) {
y2error ("error calling $command: ", $out->{"stderr"});
@@ -361,6 +370,7 @@
return 0;
}
$command = "$cryptconfig close $org_img";
+ y2debug ("cmd: $command");
$out = SCR->Execute (".target.bash_output", $command);
if ($out->{"exit"} ne 0 && $out->{"stderr"}) {
y2error ("error calling $command: ", $out->{"stderr"});
@@ -395,6 +405,11 @@
$key_file = "$hp/$username.key";
}
}
+ elsif ($home ne $org_home && $modified eq "edited") {
+ $image_file = "$hp/$username.img";
+ $key_file = "$hp/$username.key";
+
+ }
SCR->Write (".target.string", $pw_path, $pw);
if (defined $key_file || defined $image_file) {
@@ -402,6 +417,7 @@
$cmd = $cmd."--key-file=$key_file " if defined $key_file;
$cmd = $cmd."--image-file=$image_file " if defined $image_file;
$cmd = $cmd."$username";
+ y2debug ("cmd: $cmd");
my $out = SCR->Execute (".target.bash_output", $cmd);
if ($out->{"exit"} ne 0 && $out->{"stderr"}) {
Report->Error ($out->{"stderr"});
@@ -420,6 +436,7 @@
if ($modified eq "edited" && defined $key_file && defined $new_pw && $new_pw ne $pw) {
SCR->Write (".target.string", $pw_path, "$pw\n$new_pw");
my $command = "$cryptconfig passwd --no-verify $key_file < $pw_path";
+ y2debug ("cmd: $command");
my $out = SCR->Execute (".target.bash_output", $command);
if ($out->{"exit"} ne 0) {
y2error ("error calling $command");
@@ -442,10 +459,12 @@
}
# ok, only password change was needed
else {
+ y2debug ("nothing to do");
SCR->Execute (".target.remove", $pw_path);
return 1;
}
+ y2debug ("cmd: $cmd");
my $out = SCR->Execute (".target.bash_output", $cmd);
if ($out->{"exit"} ne 0 && $out->{"stderr"}) {
Report->Error ($out->{"stderr"});
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.15.16/VERSION new/yast2-users-2.15.17/VERSION
--- old/yast2-users-2.15.16/VERSION 2007-02-28 13:46:35.000000000 +0100
+++ new/yast2-users-2.15.17/VERSION 2007-03-12 11:50:18.000000000 +0100
@@ -1 +1 @@
-2.15.16
+2.15.17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org