Hello community,
here is the log from the commit of package yast2-audit-laf for openSUSE:Factory
checked in at Thu Apr 1 16:13:44 CEST 2010.
--------
--- yast2-audit-laf/yast2-audit-laf.changes 2009-08-27 13:03:49.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-audit-laf/yast2-audit-laf.changes 2010-04-01 14:20:48.000000000 +0200
@@ -1,0 +2,18 @@
+Mon Mar 22 12:55:01 CET 2010 - gs@suse.de
+
+- Bug-fix for typo in error message (bnc #574663)
+- 2.19.0
+
+-------------------------------------------------------------------
+Wed Jan 13 18:56:03 CET 2010 - kmachalkova@suse.cz
+
+- Adjusted .desktop file(s) to wrap /sbin/yast2/ calls in xdg-su
+ where root privileges are needed, removed X-KDE-SubstituteUID key
+ (bnc#540627)
+
+-------------------------------------------------------------------
+Thu Nov 5 09:28:14 CET 2009 - gs@suse.de
+
+- Bug-fix for typo in help text (bnc #532137)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-audit-laf-2.18.5.tar.bz2
New:
----
yast2-audit-laf-2.19.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-audit-laf.spec ++++++
--- /var/tmp/diff_new_pack.pL8h92/_old 2010-04-01 16:13:36.000000000 +0200
+++ /var/tmp/diff_new_pack.pL8h92/_new 2010-04-01 16:13:36.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package yast2-audit-laf (Version 2.18.5)
+# spec file for package yast2-audit-laf (Version 2.19.0)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,21 @@
Name: yast2-audit-laf
-Version: 2.18.5
+Version: 2.19.0
Release: 1
+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-audit-laf-2.18.5.tar.bz2
+Source0: yast2-audit-laf-2.19.0.tar.bz2
+
Prefix: /usr
+
Group: System/YaST
-License: GPL v2 or later
+License: GPLv2+
Requires: yast2
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
+
BuildArch: noarch
+
Summary: YaST2 - Configuration of Linux Auditing (LAF)
%description
@@ -36,14 +41,16 @@
add rules for the audit subsystem.
%prep
-%setup -n yast2-audit-laf-2.18.5
+%setup -n yast2-audit-laf-2.19.0
%build
%{prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake
autoreconf --force --install
+
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
+
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
# V=1: verbose build in case we used AM_SILENT_RULES(yes)
++++++ yast2-audit-laf-2.18.5.tar.bz2 -> yast2-audit-laf-2.19.0.tar.bz2 ++++++
++++ 3236 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-audit-laf-2.18.5/VERSION new/yast2-audit-laf-2.19.0/VERSION
--- old/yast2-audit-laf-2.18.5/VERSION 2009-08-27 13:00:10.000000000 +0200
+++ new/yast2-audit-laf-2.19.0/VERSION 2010-04-01 14:17:39.000000000 +0200
@@ -1 +1 @@
-2.18.5
+2.19.0
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-audit-laf-2.18.5/configure.in new/yast2-audit-laf-2.19.0/configure.in
--- old/yast2-audit-laf-2.18.5/configure.in 2009-08-27 13:02:46.000000000 +0200
+++ new/yast2-audit-laf-2.19.0/configure.in 2010-04-01 14:19:20.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-audit-laf
dnl
-dnl -- This file is generated by y2autoconf 2.18.5 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-audit-laf, 2.18.5, http://bugs.opensuse.org/, yast2-audit-laf)
+AC_INIT(yast2-audit-laf, 2.19.0, http://bugs.opensuse.org/, yast2-audit-laf)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.18.5"
+VERSION="2.19.0"
RPMNAME="yast2-audit-laf"
MAINTAINER="Gabriele Mohr "
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-audit-laf-2.18.5/missing new/yast2-audit-laf-2.19.0/missing
--- old/yast2-audit-laf-2.18.5/missing 2009-08-27 13:02:53.000000000 +0200
+++ new/yast2-audit-laf-2.19.0/missing 2010-04-01 14:19:26.000000000 +0200
@@ -1,10 +1,10 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2006-05-10.23
+scriptversion=2009-04-28.21; # UTC
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
+# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard , 1996.
# This program is free software; you can redistribute it and/or modify
@@ -18,9 +18,7 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program. If not, see http://www.gnu.org/licenses/.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -89,6 +87,9 @@
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
+\`g' are ignored when checking the name.
+
Send bug reports to ."
exit $?
;;
@@ -106,15 +107,22 @@
esac
+# normalize program name to check for.
+program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect
-# the program).
+# the program). This is about non-GNU programs, so use $1 not
+# $program.
case $1 in
- lex|yacc)
+ lex*|yacc*)
# Not GNU programs, they don't have --version.
;;
- tar)
+ tar*)
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
@@ -138,7 +146,7 @@
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
-case $1 in
+case $program in
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
@@ -148,7 +156,7 @@
touch aclocal.m4
;;
- autoconf)
+ autoconf*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`${configure_ac}'. You might want to install the
@@ -157,7 +165,7 @@
touch configure
;;
- autoheader)
+ autoheader*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
@@ -187,7 +195,7 @@
while read f; do touch "$f"; done
;;
- autom4te)
+ autom4te*)
echo 1>&2 "\
WARNING: \`$1' is needed, but is $msg.
You might have modified some files without having the
@@ -210,7 +218,7 @@
fi
;;
- bison|yacc)
+ bison*|yacc*)
echo 1>&2 "\
WARNING: \`$1' $msg. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
@@ -240,7 +248,7 @@
fi
;;
- lex|flex)
+ lex*|flex*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
@@ -263,7 +271,7 @@
fi
;;
- help2man)
+ help2man*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a dependency of a manual page. You may need the
@@ -277,11 +285,11 @@
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
- exit 1
+ exit $?
fi
;;
- makeinfo)
+ makeinfo*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
@@ -310,7 +318,7 @@
touch $file
;;
- tar)
+ tar*)
shift
# We have already tried tar in the generic part.
@@ -363,5 +371,6 @@
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
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-audit-laf-2.18.5/src/AuditLaf.ycp new/yast2-audit-laf-2.19.0/src/AuditLaf.ycp
--- old/yast2-audit-laf-2.18.5/src/AuditLaf.ycp 2009-08-21 10:01:34.000000000 +0200
+++ new/yast2-audit-laf-2.19.0/src/AuditLaf.ycp 2009-11-19 11:51:16.000000000 +0100
@@ -627,6 +627,8 @@
if( write_success)
{
// call auditctl -R audit.rules
+ y2milestone( "Calling auditctl -R /etc/audit/audit.rules" );
+
map output = (map)SCR::Execute( .target.bash_output, "auditctl -R /etc/audit/audit.rules" );
if ( output["exit"]:0 != 0 )
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-audit-laf-2.18.5/src/audit-laf.desktop new/yast2-audit-laf-2.19.0/src/audit-laf.desktop
--- old/yast2-audit-laf-2.18.5/src/audit-laf.desktop 2009-08-05 10:23:06.000000000 +0200
+++ new/yast2-audit-laf-2.19.0/src/audit-laf.desktop 2010-03-22 12:51:39.000000000 +0100
@@ -20,9 +20,8 @@
X-SuSE-YaST-Keywords=audit,auditd,auditctl,auditing,dispatcher,LAF
Icon=yast-audit-laf
-Exec=/sbin/yast2 audit-laf
+Exec=xdg-su -c "/sbin/yast2 audit-laf"
Name=Linux Audit Framework (LAF)
GenericName=audit-laf
-X-KDE-SubstituteUID=true
StartupNotify=true
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-audit-laf-2.18.5/src/complex.ycp new/yast2-audit-laf-2.19.0/src/complex.ycp
--- old/yast2-audit-laf-2.18.5/src/complex.ycp 2009-06-23 14:28:14.000000000 +0200
+++ new/yast2-audit-laf-2.19.0/src/complex.ycp 2010-03-22 12:53:00.000000000 +0100
@@ -323,7 +323,7 @@
if ( substring ( output["stdout"]:"", 0, 10 ) != "-rwxr-x---" )
{
- Report::Error( sformat(_("File permissiones of %1 NOT set to -rwxr-x---.\n"), file ) + message );
+ Report::Error( sformat(_("File permissions of %1 NOT set to -rwxr-x---.\n"), file ) + message );
ret = false;
}
}
@@ -420,11 +420,15 @@
}
else
{
+ y2milestone( "Calling auditctl -D" );
+
integer exit_code = (integer)SCR::Execute( .target.bash, "auditctl -D" );
+ y2milestone( "Calling auditctl -R /etc/audit/audit.rules" );
+
if ( exit_code == 0 )
exit_code = (integer)SCR::Execute( .target.bash, "auditctl -R /etc/audit/audit.rules" );
-
+
if ( exit_code == 0 )
{
// Report success
@@ -442,7 +446,7 @@
*/
symbol HandleRulesDialog(string id, map event) {
any action = event["ID"]:nil;
- y2milestone( "HandleDiskspaceSettingsDialog got action: %1", action );
+ y2milestone( "HandleRulesDialog got action: %1", action );
if ( action == "audit_enabled" )
{
@@ -541,7 +545,10 @@
boolean success = (boolean)SCR::Write(.target.string, tmpfile, rules );
if ( success )
{
+ y2milestone( "Calling auditctl -R %1", tmpfile );
+
map output = (map)SCR::Execute(.target.bash_output, sformat( "auditctl -R %1", tmpfile ) );
+
AuditLaf::SetRulesChanged( true );
if ( output["exit"]:0 != 0 )
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-audit-laf-2.18.5/src/helps.ycp new/yast2-audit-laf-2.19.0/src/helps.ycp
--- old/yast2-audit-laf-2.18.5/src/helps.ycp 2009-08-21 10:34:23.000000000 +0200
+++ new/yast2-audit-laf-2.19.0/src/helps.ycp 2009-11-05 09:23:39.000000000 +0100
@@ -87,8 +87,8 @@
/* logfile_settings dialog help 8/8 */
_("<p><b>Computer Name Format</b> describes how to write the computer name to the log file.
If <i>USER</i> is set the <b>User Defined Name</b> is used. <i>NONE</i> means: no computer name
-is inserted, <b>HOSTNAME</b>: name returned by the 'gethostname' syscall,
-<b>FQD</b>: fully qualified domain name</p>") ,
+is inserted, <i>HOSTNAME</i>: name returned by the 'gethostname' syscall,
+<i>FQD</i>: fully qualified domain name</p>") ,
/* dispatcher dialog help 1/5 */
"dispatcher" : _("<p><b><big>Auditd Dispatcher Configuration</big></b><br>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org