Hello community,

here is the log from the commit of package nsca for openSUSE:Factory checked in 
at 2014-03-20 07:31:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nsca (Old)
 and      /work/SRC/openSUSE:Factory/.nsca.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nsca"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nsca/nsca.changes        2013-02-15 
18:48:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.nsca.new/nsca.changes   2014-03-20 
07:31:45.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Mar 18 15:14:24 UTC 2014 - l...@linux-schulserver.de
+
+- add apparmor profile in /etc/apparmor.d/usr.bin.nsca
+- do not self obsolete nagios-nsca* itself, use lower version 
+
+-------------------------------------------------------------------

New:
----
  usr.bin.nsca

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

Other differences:
------------------
++++++ nsca.spec ++++++
--- /var/tmp/diff_new_pack.qAuHNh/_old  2014-03-20 07:31:46.000000000 +0100
+++ /var/tmp/diff_new_pack.qAuHNh/_new  2014-03-20 07:31:46.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nsca
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -29,6 +29,7 @@
 Source3:        nsca-SuSEfirewall2
 Source4:        send_nsca.1
 Source5:        nsca.1
+Source6:        usr.bin.nsca
 # PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
 Patch1:         nsca.abuild.patch
 # PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
@@ -38,9 +39,10 @@
 BuildRequires:  libmcrypt-devel
 BuildRequires:  nagios-rpm-macros
 BuildRequires:  tcpd-devel
+Recommends:     apparmor-parser
 Recommends:     monitoring_daemon
 Provides:       nagios-nsca = %{version}
-Obsoletes:      nagios-nsca < 2.9.2
+Obsoletes:      nagios-nsca < 2.9.0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -53,7 +55,7 @@
 Summary:        The Nagios Service Check Acceptor Client
 Group:          System/Monitoring
 Provides:       nagios-nsca-client = %{version}
-Obsoletes:      nagios-nsca-client < 2.9.2
+Obsoletes:      nagios-nsca-client < 2.9.0
 
 %description client
 The purpose of this add-on is to allow the execution of NetSaint and
@@ -100,6 +102,8 @@
 # install man pages
 install -Dm644 %{SOURCE4} %{buildroot}%{_mandir}/man1/send_nsca.1
 install -m644  %{SOURCE5} %{buildroot}%{_mandir}/man1/nsca.1
+# install apparmor profile
+install -Dm644 %{SOURCE6} %{buildroot}%{_sysconfdir}/apparmor.d/usr.bin.nsca
 
 %preun
 %stop_on_removal nsca
@@ -160,9 +164,11 @@
 
 %files
 %defattr(-,root,root)
+%dir %{_sysconfdir}/apparmor.d
 %{_bindir}/nsca
 %{_sysconfdir}/init.d/nsca
 %{_sbindir}/rcnsca
+%config(noreplace) %{_sysconfdir}/apparmor.d/usr.bin.nsca
 %config(noreplace) %{_sysconfdir}/nsca.cfg
 %config(noreplace) %{_sysconfdir}/xinetd.d/nsca
 %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}

++++++ usr.bin.nsca ++++++
# Last Modified: Tue Mar 18 11:12:55 2014
#include <tunables/global>

/usr/bin/nsca {
  #include <abstractions/base>
  #include <abstractions/nameservice>

  capability chown,
  capability dac_override,
  capability setgid,
  capability setuid,

  /etc/hosts.allow r,
  /etc/hosts.deny r,
  /etc/nsca.cfg r,
  /etc/nagios/nsca.cfg r,

  /var/run/icinga/icinga.cmd w,
  /var/run/nagios/nagios.cmd w,
  /var/run/nsca.pid w,

  /var/spool/icinga/** w,
  /var/spool/nagios/** w,
}
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to