Hello community,
here is the log from the commit of package yast2-sudo
checked in at Fri Mar 2 10:41:16 CET 2007.
--------
--- yast2-sudo/yast2-sudo.changes 2007-02-26 15:29:59.000000000 +0100
+++ /mounts/work_src_done/NOARCH/yast2-sudo/yast2-sudo.changes 2007-03-02 10:33:09.332261000 +0100
@@ -1,0 +2,6 @@
+Thu Mar 1 10:42:26 CET 2007 - kmachalkova@suse.cz
+
+- Added checking for root permissions into the module startup
+- 2.15.2
+
+-------------------------------------------------------------------
Old:
----
yast2-sudo-2.15.1.tar.bz2
New:
----
yast2-sudo-2.15.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-sudo.spec ++++++
--- /var/tmp/diff_new_pack.lz6564/_old 2007-03-02 10:41:10.000000000 +0100
+++ /var/tmp/diff_new_pack.lz6564/_new 2007-03-02 10:41:10.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-sudo (Version 2.15.1)
+# spec file for package yast2-sudo (Version 2.15.2)
#
# 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-sudo
-Version: 2.15.1
+Version: 2.15.2
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-sudo-2.15.1.tar.bz2
+Source0: yast2-sudo-2.15.2.tar.bz2
prefix: /usr
Requires: yast2 yast2-users
#ycp::PathComponents
@@ -38,7 +38,7 @@
Katarina Machalkova
%prep
-%setup -n yast2-sudo-2.15.1
+%setup -n yast2-sudo-2.15.2
%build
%{prefix}/bin/y2tool y2autoconf
@@ -73,6 +73,9 @@
%doc %{prefix}/share/doc/packages/yast2-sudo
%changelog
+* Thu Mar 01 2007 - kmachalkova@suse.cz
+- Added checking for root permissions into the module startup
+- 2.15.2
* Mon Feb 26 2007 - kmachalkova@suse.cz
- Added syntax checking of created file (#227397)
- Save /etc/sudoers as 0440 (FaTE #300934)
++++++ yast2-sudo-2.15.1.tar.bz2 -> yast2-sudo-2.15.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-sudo-2.15.1/configure new/yast2-sudo-2.15.2/configure
--- old/yast2-sudo-2.15.1/configure 2007-02-26 15:10:13.000000000 +0100
+++ new/yast2-sudo-2.15.2/configure 2007-03-01 11:06:21.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2-sudo 2.15.1.
+# Generated by GNU Autoconf 2.60 for yast2-sudo 2.15.2.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-sudo'
PACKAGE_TARNAME='yast2-sudo'
-PACKAGE_VERSION='2.15.1'
-PACKAGE_STRING='yast2-sudo 2.15.1'
+PACKAGE_VERSION='2.15.2'
+PACKAGE_STRING='yast2-sudo 2.15.2'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1181,7 +1181,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-sudo 2.15.1 to adapt to many kinds of systems.
+\`configure' configures yast2-sudo 2.15.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1252,7 +1252,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-sudo 2.15.1:";;
+ short | recursive ) echo "Configuration of yast2-sudo 2.15.2:";;
esac
cat <<\_ACEOF
@@ -1330,7 +1330,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-sudo configure 2.15.1
+yast2-sudo configure 2.15.2
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1344,7 +1344,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-sudo $as_me 2.15.1, which was
+It was created by yast2-sudo $as_me 2.15.2, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2145,7 +2145,7 @@
# Define the identity of the package.
PACKAGE='yast2-sudo'
- VERSION='2.15.1'
+ VERSION='2.15.2'
cat >>confdefs.h <<_ACEOF
@@ -2372,7 +2372,7 @@
-VERSION="2.15.1"
+VERSION="2.15.2"
RPMNAME="yast2-sudo"
MAINTAINER="Katarina Machalkova "
@@ -3258,7 +3258,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-sudo $as_me 2.15.1, which was
+This file was extended by yast2-sudo $as_me 2.15.2, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3301,7 +3301,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-sudo config.status 2.15.1
+yast2-sudo config.status 2.15.2
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-sudo-2.15.1/configure.in new/yast2-sudo-2.15.2/configure.in
--- old/yast2-sudo-2.15.1/configure.in 2007-02-26 15:10:07.000000000 +0100
+++ new/yast2-sudo-2.15.2/configure.in 2007-03-01 11:06:16.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-sudo, 2.15.1, http://bugs.opensuse.org/, yast2-sudo)
+AC_INIT(yast2-sudo, 2.15.2, http://bugs.opensuse.org/, yast2-sudo)
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.15.1"
+VERSION="2.15.2"
RPMNAME="yast2-sudo"
MAINTAINER="Katarina Machalkova "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-sudo-2.15.1/src/complex.ycp new/yast2-sudo-2.15.2/src/complex.ycp
--- old/yast2-sudo-2.15.1/src/complex.ycp 2007-02-26 15:28:07.000000000 +0100
+++ new/yast2-sudo-2.15.2/src/complex.ycp 2007-03-01 10:41:27.000000000 +0100
@@ -208,6 +208,11 @@
*/
symbol ReadDialog() {
Wizard::RestoreHelp(HELPS["read"]:"");
+
+ //Check if user is root
+ if (!Confirm::MustBeRoot())
+ return `abort;
+
boolean ret = Sudo::Read();
return ret ? `next : `abort;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-sudo-2.15.1/VERSION new/yast2-sudo-2.15.2/VERSION
--- old/yast2-sudo-2.15.1/VERSION 2007-02-26 15:10:01.000000000 +0100
+++ new/yast2-sudo-2.15.2/VERSION 2007-03-01 11:02:53.000000000 +0100
@@ -1 +1 @@
-2.15.1
+2.15.2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org