Hello community,

here is the log from the commit of package yast2-audit-laf for openSUSE:Factory 
checked in at 2018-12-31 09:43:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-audit-laf (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-audit-laf.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-audit-laf"

Mon Dec 31 09:43:29 2018 rev:40 rq:657280 version:4.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-audit-laf/yast2-audit-laf.changes  
2018-04-16 12:47:11.941019428 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-audit-laf.new.28833/yast2-audit-laf.changes   
    2018-12-31 09:43:30.702358010 +0100
@@ -1,0 +2,19 @@
+Tue Dec 11 16:13:51 UTC 2018 - [email protected]
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.1
+
+-------------------------------------------------------------------
+Fri Nov 23 20:20:52 UTC 2018 - Stasiek Michalski <[email protected]>
+
+- Provide icon with module (boo#1109310)
+- 4.1.0
+
+-------------------------------------------------------------------
+Mon Aug 20 16:19:40 CEST 2018 - [email protected]
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+- Changed dir of COPYING file. 
+
+-------------------------------------------------------------------

Old:
----
  yast2-audit-laf-4.0.0.tar.bz2

New:
----
  yast2-audit-laf-4.1.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-audit-laf.spec ++++++
--- /var/tmp/diff_new_pack.B7lLqZ/_old  2018-12-31 09:43:31.074357706 +0100
+++ /var/tmp/diff_new_pack.B7lLqZ/_new  2018-12-31 09:43:31.074357706 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-audit-laf
-Version:        4.0.0
+Version:        4.1.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -36,7 +36,7 @@
 Requires:       yast2-ruby-bindings >= 1.0.0
 
 Summary:        YaST2 - Configuration of Linux Auditing (LAF)
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/YaST
 
 %description
@@ -66,7 +66,8 @@
 %dir %{yast_scrconfdir}
 %{yast_scrconfdir}/auditd.scr
 %doc %{yast_docdir}
-%doc COPYING
+%license COPYING
 %{yast_schemadir}/autoyast/rnc/audit-laf.rnc
+%{yast_icondir}
 
 %changelog

++++++ yast2-audit-laf-4.0.0.tar.bz2 -> yast2-audit-laf-4.1.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-audit-laf-4.0.0/package/yast2-audit-laf.changes 
new/yast2-audit-laf-4.1.1/package/yast2-audit-laf.changes
--- old/yast2-audit-laf-4.0.0/package/yast2-audit-laf.changes   2018-04-09 
10:59:35.000000000 +0200
+++ new/yast2-audit-laf-4.1.1/package/yast2-audit-laf.changes   2018-12-11 
18:12:10.000000000 +0100
@@ -1,4 +1,23 @@
 -------------------------------------------------------------------
+Tue Dec 11 16:13:51 UTC 2018 - [email protected]
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.1
+
+-------------------------------------------------------------------
+Fri Nov 23 20:20:52 UTC 2018 - Stasiek Michalski <[email protected]>
+
+- Provide icon with module (boo#1109310)
+- 4.1.0
+
+-------------------------------------------------------------------
+Mon Aug 20 16:19:40 CEST 2018 - [email protected]
+
+- Switched license in spec file from SPDX2 to SPDX3 format.
+- Changed dir of COPYING file. 
+
+-------------------------------------------------------------------
 Fri Apr  6 18:50:20 UTC 2018 - [email protected]
 
 - bnc#1087957 - version bump
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-audit-laf-4.0.0/package/yast2-audit-laf.spec 
new/yast2-audit-laf-4.1.1/package/yast2-audit-laf.spec
--- old/yast2-audit-laf-4.0.0/package/yast2-audit-laf.spec      2018-04-09 
10:59:35.000000000 +0200
+++ new/yast2-audit-laf-4.1.1/package/yast2-audit-laf.spec      2018-12-11 
18:12:10.000000000 +0100
@@ -17,14 +17,14 @@
 
 
 Name:           yast2-audit-laf
-Version:        4.0.0
+Version:        4.1.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        %{name}-%{version}.tar.bz2
 
 Group:         System/YaST
-License:        GPL-2.0
+License:        GPL-2.0-only
 # Wizard::SetDesktopTitleAndIcon
 Requires:      yast2 >= 2.21.22
 BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-testsuite
@@ -64,8 +64,9 @@
 %dir %{yast_scrconfdir}
 %{yast_scrconfdir}/auditd.scr
 %doc %{yast_docdir}
-%doc COPYING
+%license COPYING
 %{yast_schemadir}/autoyast/rnc/audit-laf.rnc
+%{yast_icondir}
 
 %changelog
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-audit-laf-4.0.0/src/Makefile.am 
new/yast2-audit-laf-4.1.1/src/Makefile.am
--- old/yast2-audit-laf-4.0.0/src/Makefile.am   2018-04-09 10:59:35.000000000 
+0200
+++ new/yast2-audit-laf-4.1.1/src/Makefile.am   2018-12-11 18:12:10.000000000 
+0100
@@ -26,6 +26,13 @@
 desktop_DATA = \
   desktop/audit-laf.desktop
 
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) 
$(schemafiles_DATA) $(desktop_DATA)
+symbolicdir = @icondir@/hicolor/symbolic/apps
+symbolic_DATA = \
+  icons/hicolor/symbolic/apps/yast-audit-laf-symbolic.svg
+scalabledir = @icondir@/hicolor/scalable/apps
+scalable_DATA = \
+  icons/hicolor/scalable/apps/yast-audit-laf.svg
 
-include $(top_srcdir)/Makefile.am.common
\ No newline at end of file
+EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) 
$(schemafiles_DATA) $(desktop_DATA) $(symbolic_DATA) $(scalable_DATA)
+
+include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-audit-laf-4.0.0/src/icons/hicolor/scalable/apps/yast-audit-laf.svg 
new/yast2-audit-laf-4.1.1/src/icons/hicolor/scalable/apps/yast-audit-laf.svg
--- 
old/yast2-audit-laf-4.0.0/src/icons/hicolor/scalable/apps/yast-audit-laf.svg    
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/yast2-audit-laf-4.1.1/src/icons/hicolor/scalable/apps/yast-audit-laf.svg    
    2018-12-11 18:12:10.000000000 +0100
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg version="1.0" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg";>
+<rect x="76" y="4" width="36" height="36" fill="#f6f5f4"/>
+<path d="m16 4v116h96v-80l-36-36z" fill="#fff"/>
+<path d="m16 4v36h96l-36-36h-60z" fill="#deddda"/>
+<path d="m112 40-36-36v38z" opacity=".2"/>
+<rect x="76" y="16" width="20" height="8" fill="#77767b"/>
+<path d="m112 40-36-36v36z" fill="#fff"/>
+<rect x="20" y="44" width="12" height="4" fill="#c0bfbc"/>
+<rect x="36" y="44" width="22" height="4" fill="#deddda"/>
+<rect x="62" y="44" width="16" height="4" fill="#c0bfbc"/>
+<rect x="82" y="44" width="26" height="4" fill="#deddda"/>
+<rect x="20" y="52" width="8" height="4" fill="#c0bfbc"/>
+<rect x="32" y="52" width="14" height="4" fill="#deddda"/>
+<rect x="50" y="52" width="16" height="4" fill="#c0bfbc"/>
+<rect x="70" y="52" width="16" height="4" fill="#deddda"/>
+<rect x="90" y="52" width="18" height="4" fill="#deddda"/>
+<rect x="20" y="60" width="16" height="4" fill="#c0bfbc"/>
+<rect x="20" y="68" width="88" height="12" fill="#deddda"/>
+<rect x="20" y="84" width="12" height="4" fill="#c0bfbc"/>
+<rect x="20" y="92" width="88" height="12" fill="#deddda"/>
+<rect x="56" y="16" width="20" height="8" fill="#77767b"/>
+<rect x="56" y="28" width="20" height="4" fill="#c0bfbc"/>
+<rect x="20" y="8" width="4" height="2" fill="#9a9996"/>
+<path d="m34 8a14 14 0 0 0 -14 14 14 14 0 0 0 14 14 14 14 0 0 0 14 -14 14 14 0 
0 0 -14 -14zm0 8a6 6 0 0 1 6 6 6 6 0 0 1 -6 6 6 6 0 0 1 -6 -6 6 6 0 0 1 6 -6z" 
fill="#3584e4"/>
+<rect x="28" y="8" width="4" height="2" fill="#9a9996"/>
+<rect x="16" y="120" width="96" height="4" fill="#f6f5f4"/>
+</svg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-audit-laf-4.0.0/src/icons/hicolor/symbolic/apps/yast-audit-laf-symbolic.svg
 
new/yast2-audit-laf-4.1.1/src/icons/hicolor/symbolic/apps/yast-audit-laf-symbolic.svg
--- 
old/yast2-audit-laf-4.0.0/src/icons/hicolor/symbolic/apps/yast-audit-laf-symbolic.svg
       1970-01-01 01:00:00.000000000 +0100
+++ 
new/yast2-audit-laf-4.1.1/src/icons/hicolor/symbolic/apps/yast-audit-laf-symbolic.svg
       2018-12-11 18:12:10.000000000 +0100
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg"; width="16" height="16">
+  <path d="M 2 0 L 2 16 L 10 16 L 10 15 L 3 15 L 3 5 L 13 5 L 13 10 L 14 10 L 
14 4 L 10 0 L 2 0 z M 4.5 1 A 1.5 1.5 0 0 1 6 2.5 A 1.5 1.5 0 0 1 4.5 4 A 1.5 
1.5 0 0 1 3 2.5 A 1.5 1.5 0 0 1 4.5 1 z M 10 1 L 13 4 L 10 4 L 10 1 z M 4.5 2 A 
0.5 0.5 0 0 0 4 2.5 A 0.5 0.5 0 0 0 4.5 3 A 0.5 0.5 0 0 0 5 2.5 A 0.5 0.5 0 0 0 
4.5 2 z M 4 6 L 4 7 L 12 7 L 12 6 L 4 6 z M 4 8 L 4 9 L 12 9 L 12 8 L 4 8 z M 4 
10 L 4 11 L 10 11 L 10 10 L 4 10 z M 11 11 L 11 16 L 16 16 L 16 11 L 11 11 z M 
4 12 L 4 13 L 10 13 L 10 12 L 4 12 z M 12 12 L 13 12 L 13 13 L 14 13 L 14 12 L 
15 12 L 15 14 L 14 14 L 14 15 L 13 15 L 13 14 L 12 14 L 12 12 z " 
fill="#c0bfbc" />
+</svg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-audit-laf-4.0.0/src/include/audit-laf/complex.rb 
new/yast2-audit-laf-4.1.1/src/include/audit-laf/complex.rb
--- old/yast2-audit-laf-4.0.0/src/include/audit-laf/complex.rb  2018-04-09 
10:59:35.000000000 +0200
+++ new/yast2-audit-laf-4.1.1/src/include/audit-laf/complex.rb  2018-12-11 
18:12:10.000000000 +0100
@@ -24,6 +24,9 @@
 # Summary:     Dialogs definitions
 # Authors:     Gabriele Mohr <[email protected]>
 #
+
+require "shellwords"
+
 module Yast
   module AuditLafComplexInclude
     def initialize_audit_laf_complex(include_target)
@@ -357,11 +360,9 @@
         ret = false
       else
         # check permissions
-        output = Convert.to_map(
-          SCR.Execute(
-            path(".target.bash_output"),
-            Builtins.sformat("ls -al %1", file)
-          )
+        output = SCR.Execute(
+          path(".target.bash_output"),
+          "/usr/bin/ls -al ${file.shellescape}"
         )
 
         if Builtins.substring(Ops.get_string(output, "stdout", ""), 0, 10) != 
"-rwxr-x---"
@@ -468,18 +469,14 @@
       else
         Builtins.y2milestone("Calling auditctl -D")
 
-        exit_code = Convert.to_integer(
-          SCR.Execute(path(".target.bash"), "auditctl -D")
-        )
+        exit_code = SCR.Execute(path(".target.bash"), "/usr/sbin/auditctl -D")
 
         Builtins.y2milestone("Calling auditctl -R /etc/audit/audit.rules")
 
         if exit_code == 0
-          exit_code = Convert.to_integer(
-            SCR.Execute(
-              path(".target.bash"),
-              "auditctl -R /etc/audit/audit.rules"
-            )
+          exit_code = SCR.Execute(
+            path(".target.bash"),
+            "/usr/sbin/auditctl -R /etc/audit/audit.rules"
           )
         end
 
@@ -591,11 +588,9 @@
           if success
             Builtins.y2milestone("Calling auditctl -R %1", tmpfile)
 
-            output = Convert.to_map(
-              SCR.Execute(
-                path(".target.bash_output"),
-                Builtins.sformat("auditctl -R %1", tmpfile)
-              )
+            output = SCR.Execute(
+              path(".target.bash_output"),
+              "/usr/sbin/auditctl -R #{tmpfile.shellescape}"
             )
 
             AuditLaf.SetRulesChanged(true)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-audit-laf-4.0.0/src/modules/AuditLaf.rb 
new/yast2-audit-laf-4.1.1/src/modules/AuditLaf.rb
--- old/yast2-audit-laf-4.0.0/src/modules/AuditLaf.rb   2018-04-09 
10:59:35.000000000 +0200
+++ new/yast2-audit-laf-4.1.1/src/modules/AuditLaf.rb   2018-12-11 
18:12:10.000000000 +0100
@@ -205,9 +205,7 @@
     end
 
     def RulesAlreadyLocked
-      output = Convert.to_map(
-        SCR.Execute(path(".target.bash_output"), "LANG=POSIX auditctl -s")
-      )
+      output = SCR.Execute(path(".target.bash_output"), "LANG=POSIX 
/usr/sbin/auditctl -s")
       Builtins.y2milestone("auditctl: %1", output)
 
       audit_status = Ops.get_string(output, "stdout", "")
@@ -220,9 +218,7 @@
     end
 
     def AuditStatus
-      output = Convert.to_map(
-        SCR.Execute(path(".target.bash_output"), "LANG=POSIX auditctl -s")
-      )
+      output = SCR.Execute(path(".target.bash_output"), "LANG=POSIX 
/usr/sbin/auditctl -s")
       Builtins.y2milestone("auditctl: %1", output)
 
       audit_status = Ops.get_string(output, "stdout", "")
@@ -425,9 +421,7 @@
       success = ReadAuditdSettings()
 
       # Log the status of the audit system
-      output = Convert.to_map(
-        SCR.Execute(path(".target.bash_output"), "auditctl -s")
-      )
+      output = SCR.Execute(path(".target.bash_output"), "/usr/sbin/auditctl 
-s")
       Builtins.y2milestone("auditctl: %1", output)
 
       # Report error
@@ -633,11 +627,9 @@
           # call auditctl -R audit.rules
           Builtins.y2milestone("Calling auditctl -R /etc/audit/audit.rules")
 
-          output = Convert.to_map(
-            SCR.Execute(
-              path(".target.bash_output"),
-              "auditctl -R /etc/audit/audit.rules"
-            )
+          output = SCR.Execute(
+            path(".target.bash_output"),
+            "/usr/sbin/auditctl -R /etc/audit/audit.rules"
           )
 
           if Ops.get_integer(output, "exit", 0) != 0


Reply via email to