Hello community,

here is the log from the commit of package monitoring-plugins-zypper for 
openSUSE:Factory checked in at 2018-03-06 10:48:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-zypper (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins-zypper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins-zypper"

Tue Mar  6 10:48:49 2018 rev:13 rq:583216 version:1.95

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/monitoring-plugins-zypper/monitoring-plugins-zypper.changes
      2017-12-09 20:31:01.775427805 +0100
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins-zypper.new/monitoring-plugins-zypper.changes
 2018-03-06 10:49:27.963563198 +0100
@@ -1,0 +2,24 @@
+Tue Mar  6 08:23:54 UTC 2018 - l...@linux-schulserver.de
+
+- update to 1.95:
+  + remove openSUSE 42.2; add 15.1
+  + remove old Tumbleweed and only support 2019 for now
+
+-------------------------------------------------------------------
+Mon Mar  5 16:16:36 UTC 2018 - l...@linux-schulserver.de
+
+- Reload just the specific AppArmor profile instead of restarting 
+  AppArmor completely (bsc#1006387)
+
+-------------------------------------------------------------------
+Mon Mar  5 15:17:31 CET 2018 - r...@suse.de
+
+- use "with systemd" instead of "with_systemd" 
+
+-------------------------------------------------------------------
+Mon Mar  5 14:52:48 CET 2018 - r...@suse.de
+
+- add SLE-15.0 as release 
+- adapt pathes in apparmor config for sle15/tumbleweed
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ monitoring-plugins-zypper.spec ++++++
--- /var/tmp/diff_new_pack.qHI5wW/_old  2018-03-06 10:49:28.551541957 +0100
+++ /var/tmp/diff_new_pack.qHI5wW/_new  2018-03-06 10:49:28.555541813 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package monitoring-plugins-zypper
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 Summary:        Check for software updates via zypper
 License:        BSD-3-Clause
 Group:          System/Monitoring
-Version:        1.94
+Version:        1.95
 Release:        0
 Url:            http://en.opensuse.org/Monitoring-plugins-zypper
 Source0:        check_zypper.pl
@@ -112,11 +112,21 @@
 rm -rf %buildroot
 
 %postun
-%if %{with_systemd}
-%service_del_postun apparmor.service
-%else
-%{restart_on_update boot.apparmor}
-%endif
+if [ "$YAST_IS_RUNNING" != "instsys" ]; then
+     if [ -x /sbin/apparmor_parser ]; then
+       %if %{with systemd}
+         if /usr/bin/systemctl is-active --quiet apparmor.service; then
+             /sbin/apparmor_parser -r -T -W  
%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_zypper &> /dev/null || :
+         fi
+       %else
+         if /etc/init.d/boot.apparmor status >/dev/null ; then 
+             /sbin/apparmor_parser -r -T -W  
%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_zypper &> /dev/null || :
+         fi
+       %endif
+     else
+         echo "Could not reload the Apparmor profile: /sbin/apparmor_parser is 
missing or not executable."
+     fi
+fi
 
 %files 
 %defattr(-,root,root)

++++++ apparmor-abstractions-rpm ++++++
--- /var/tmp/diff_new_pack.qHI5wW/_old  2018-03-06 10:49:28.587540657 +0100
+++ /var/tmp/diff_new_pack.qHI5wW/_new  2018-03-06 10:49:28.587540657 +0100
@@ -9,4 +9,5 @@
     /etc/rpm/ r,
     /etc/rpm/macros* r,
     /var/lib/rpm/** rlk,
+    /usr/lib/sysimage/rpm/** rlk,
 

++++++ check_zypper.pl ++++++
--- /var/tmp/diff_new_pack.qHI5wW/_old  2018-03-06 10:49:28.643538634 +0100
+++ /var/tmp/diff_new_pack.qHI5wW/_new  2018-03-06 10:49:28.647538490 +0100
@@ -51,7 +51,7 @@
 
 # constants
 $PROGNAME = "check_zypper";
-$VERSION  = '1.94';
+$VERSION  = '1.95';
 $DEBUG    = 0;
 
 # variables
@@ -93,9 +93,9 @@
     0 => 'OK',
 );
 our %supported_release = (
-    'openSUSE'   => [ '42.2', '42.3', '15.0' ],
-    'SLE'        => [ '11.4', '12.2', '12.3' ],
-    'Tumbleweed' => ['2017*', '2018*'],
+    'openSUSE'   => [ '42.3', '15.0', '15.1' ],
+    'SLE'        => [ '11.4', '12.2', '12.3', '15.0' ],
+    'Tumbleweed' => [ '2019*'],
 );
 $opt_w = 'recommended,optional,unsupported,local_package';
 $opt_c = 'security';

++++++ usr.lib.nagios.plugins.check_zypper ++++++
--- /var/tmp/diff_new_pack.qHI5wW/_old  2018-03-06 10:49:28.671537622 +0100
+++ /var/tmp/diff_new_pack.qHI5wW/_new  2018-03-06 10:49:28.675537478 +0100
@@ -14,7 +14,7 @@
   /{,usr/}bin/grep  rix,
   /{,usr/}bin/awk   rix,
   /{,usr/}bin/gawk  rix,
-  /bin/rpm px -> /usr/lib/nagios/plugins/check_zypper//rpm,
+  /{,usr/}bin/rpm px -> /usr/lib/nagios/plugins/check_zypper//rpm,
   /bin/bash rix,
   /{,usr/}bin/sudo Ux,
 
@@ -137,7 +137,7 @@
     # if you have additional changes, please add them in the file
     # /etc/apparmor.d/local/usr.lib.nagios.plugins.check_zypper
     #include <local/usr.lib.nagios.plugins.check_zypper.zypp_refresh>
-    /bin/rpm rmix,
+    /{,usr/}bin/rpm rmix,
   }
 
   # Site-specific additions and overrides. See local/README for details.


Reply via email to