Hello community,

here is the log from the commit of package nagios-plugins for openSUSE:Factory 
checked in at 2012-09-11 09:13:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nagios-plugins (Old)
 and      /work/SRC/openSUSE:Factory/.nagios-plugins.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nagios-plugins", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nagios-plugins/nagios-plugins.changes    
2012-05-25 16:16:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nagios-plugins.new/nagios-plugins.changes       
2012-09-11 09:13:20.000000000 +0200
@@ -1,0 +2,87 @@
+Sat Jul 28 14:30:46 UTC 2012 - [email protected]
+
+- Fix build with missing gets declaration (glibc 2.16)
+
+-------------------------------------------------------------------
+Thu Jul 12 22:08:08 UTC 2012 - [email protected]
+
+- update to 1.4.16:
+  + applied patch that adds both critical and warning thresholds 
+    to certificate expiration checks of check_tcp, check_http, check_smtp 
+  + check_tcp: Print performance data even with -D
+  + check_snmp: * use single quotes for perf data labels
+                * Fix performance data label containing spaces in 
+                  check_snmp
+                * Add --perf-oids option for check_snmp to retain 
+                  optional 1.4.14 compatibility
+                * Accept multiple labels specified with "-l"
+  + check_disk_smb: Add performance data 
+  + check_dhcp: * Don't misinterpret the "siaddr" field
+                * Fix handling of "pad" options
+  + check_ping: * Improve parsing of ping6(1) output 
+                * fix check_ping where output of ping6 when unreachable
+                * add missing newline to die() calls
+  + check_users: * Whitespace fixes, etc.
+                 * improve performance
+  + utils.sh: Added check_range shell function
+  + check_http: * Don't ignore SSL initialization errors
+                * Add support for specifying SSL protocol version 
+                * check for and print the certificate cn
+                * use standard threshold functions
+                * improved tests for check_http
+  + check_by_ssh: added -F config file to specify alternative ssh config
+  + check_sensors: * Use symbolic exit codes
+                   * Minor whitespace fixes
+                   * Detect FAULT status. This can be suppressed 
+                     with the new "--ignore-fault" option.
+  + check_ldap: * now correctly handles the long option --hostname
+                * Fix check_ldap overriding the port when --ssl was 
+                  specified after -p
+  + check_smtp: * fix where duplicate messages were displayed for 
+                  certificate errors
+                * New option to check_smtp to ignore failures when 
+                  sending QUIT 
+                * Abort on missing/unexpected greeting
+  + check_ssh:  * Add perfdata to check_ssh
+  + check_procs: * Fix for regex input of '|', being output causing 
+                   problems with Nagios' parsing of performance data. 
+                   Now replaced with ','  
+- removed upstreamed patches:
+  + nagios-plugins.ctypes.patch
+  + nagios-plugins.check_dhcp-char.patch
+  + nagios-plugins.asprintf.patch
+  + nagios-plugins.check_by_ssh.warncrit.patch
+  + 05_check_linux_raid_fix_striped.dpatch
+  + 10_check_disk_smb_spaces.dpatch
+  + 11_check_disk_smb_NT_STATUS_ACCESS_DENIED.dpatch
+  + 13_check_smtp_greeting.dpatch
+  + 14_check_icmp_multiple_ips.dpatch
+  + 15_check_sensors_fault.dpatch
+  + nagios-plugins-enhance_check_sensors.patch
+- suggest instead of recommending the following sub packages in the 
+  former nagios-plugins package: 
+  + nagios-plugins-nagios
+  + nagios-plugins-xenvm
+  + nagios-plugins-game
+
+-------------------------------------------------------------------
+Sun Jun 10 18:57:35 UTC 2012 - [email protected]
+
+- fix permissions of apparmor profile files
+
+-------------------------------------------------------------------
+Mon Jun  4 12:48:57 UTC 2012 - [email protected]
+
+- add Apparmor profile for check_dhcp
+- add Apparmor profile for check_ntp_time
+- soften the nagios-plugins-nagios dependency to avoid an 
+  installed Nagios after an upgrade
+- point users to the README.SuSE files for check_dhcp, check_icmp
+  and check_ide_smart
+
+-------------------------------------------------------------------
+Fri Jun  1 12:10:27 CEST 2012 - [email protected]
+
+- teach check_by_ssh old options -w and -c again
+
+-------------------------------------------------------------------

Old:
----
  05_check_linux_raid_fix_striped.dpatch
  10_check_disk_smb_spaces.dpatch
  11_check_disk_smb_NT_STATUS_ACCESS_DENIED.dpatch
  13_check_smtp_greeting.dpatch
  14_check_icmp_multiple_ips.dpatch
  15_check_sensors_fault.dpatch
  nagios-plugins-1.4.15.tar.bz2
  nagios-plugins-enhance_check_sensors.patch
  nagios-plugins.asprintf.patch
  nagios-plugins.check_dhcp-char.patch
  nagios-plugins.ctypes.patch

New:
----
  nagios-plugins-1.4.16.tar.bz2
  nagios-plugins-stdio.h.patch
  usr.lib.nagios.plugins.check_dhcp
  usr.lib.nagios.plugins.check_ntp_time

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

Other differences:
------------------
++++++ nagios-plugins.spec ++++++
--- /var/tmp/diff_new_pack.0RtS20/_old  2012-09-11 09:13:26.000000000 +0200
+++ /var/tmp/diff_new_pack.0RtS20/_new  2012-09-11 09:13:26.000000000 +0200
@@ -20,7 +20,7 @@
 Summary:        The Nagios Plug-Ins
 License:        GPL-2.0+ and GPL-3.0
 Group:          System/Monitoring
-Version:        1.4.15
+Version:        1.4.16
 Release:        0
 Url:            http://nagiosplugins.org/
 PreReq:         permissions
@@ -33,26 +33,19 @@
 Source13:       nagios-plugins-README.SuSE-check_dhcp
 Source14:       nagios-plugins-README.SuSE-check_icmp
 Source15:       nagios-plugins-README.SuSE-check_ide_smart
+Source16:       usr.lib.nagios.plugins.check_dhcp
+Source17:       usr.lib.nagios.plugins.check_ntp_time
 Patch1:         nagios-plugins-1.4.14-ntpd.patch
 Patch2:         nagios-plugins-1.4.14-check_log.patch
 Patch3:         nagios-plugins-1.4.14-command_cfg.patch
 Patch4:         nagios-plugins-1.4.14-nmap.patch
 Patch5:         nagios-plugins-1.4.14-check_inodes.patch
 Patch6:         nagios-plugins-1.4.6-no_chown.patch
-Patch8:         nagios-plugins.ctypes.patch
-Patch9:         nagios-plugins.check_dhcp-char.patch
-Patch10:        nagios-plugins.asprintf.patch
 Patch11:        nagios-plugins.check_snmp.arrayaddress.patch
 Patch12:        nagios-plugins-postgresql.patch
 Patch13:        nagios-plugins.negate.validate_arguments.patch
-Patch105:       05_check_linux_raid_fix_striped.dpatch
-Patch110:       10_check_disk_smb_spaces.dpatch
-Patch111:       11_check_disk_smb_NT_STATUS_ACCESS_DENIED.dpatch
-Patch113:       13_check_smtp_greeting.dpatch
-Patch114:       14_check_icmp_multiple_ips.dpatch
-Patch115:       15_check_sensors_fault.dpatch
+Patch14:        nagios-plugins-stdio.h.patch
 Patch116:       nagios-plugins-wrong_return_in_check_swap.patch
-Patch117:       nagios-plugins-enhance_check_sensors.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bind-utils
 BuildRequires:  dhcp-devel
@@ -118,7 +111,7 @@
 Requires:       %{name}-mailq
 Requires:       %{name}-mrtg
 Requires:       %{name}-mrtgtraf
-Requires:       %{name}-nagios
+Suggests:       %{name}-nagios
 Requires:       %{name}-netapp
 Requires:       %{name}-nt
 Requires:       %{name}-ntp_peer
@@ -142,7 +135,7 @@
 Requires:       %{name}-users
 Requires:       %{name}-wave
 %ifarch x86_64
-Recommends:     %{name}-xenvm
+Suggests:       %{name}-xenvm
 %endif
 %define         apt_get_command %{_bindir}/apt-get
 %define         qstat_command   %{_bindir}/qstat
@@ -163,7 +156,7 @@
 Group:          System/Monitoring
 Requires:       %{name}-apt
 Requires:       %{name}-fping
-Recommends:     %{name}-game
+Suggests:       %{name}-game
 Requires:       %{name}-common = %{version}
 Requires:       %{name}-hpjd
 Requires:       %{name}-ldap
@@ -179,61 +172,61 @@
 %package all
 Summary:        All Nagios-Plugin checks
 Group:          System/Monitoring
-Recommends:     apt
-Recommends:     bgpstate
-Recommends:     breeze
-Recommends:     by_ssh
-Recommends:     cluster
-Recommends:     dhcp
-Recommends:     dig
-Recommends:     disk
-Recommends:     disk_smb
-Recommends:     dns
-Recommends:     dummy
-Recommends:     file_age
-Recommends:     flexlm
-Recommends:     fping
-Recommends:     game
-Recommends:     hpjd
-Recommends:     http
-Recommends:     icmp
-Recommends:     ide_smart
-Recommends:     ifoperstatus
-Recommends:     ifstatus
-Recommends:     ircd
-Recommends:     ldap
-Recommends:     linux_raid
-Recommends:     load
-Recommends:     log
-Recommends:     mailq
-Recommends:     mrtg
-Recommends:     mrtgtraf
-Recommends:     mysql
-Recommends:     nagios
-Recommends:     netapp
-Recommends:     nt
-Recommends:     ntp_peer
-Recommends:     ntp_time
-Recommends:     nwstat
-Recommends:     oracle
-Recommends:     overcr
-Recommends:     pgsql
-Recommends:     ping
-Recommends:     procs
-Recommends:     radius
-Recommends:     real
-Recommends:     rpc
-Recommends:     sensors
-Recommends:     smtp
-Recommends:     snmp
-Recommends:     ssh
-Recommends:     swap
-Recommends:     tcp
-Recommends:     time
-Recommends:     ups
-Recommends:     users
-Recommends:     wave
-Recommends:     xenvm
+Recommends:     %{name}-apt
+Recommends:     %{name}-bgpstate
+Recommends:     %{name}-breeze
+Recommends:     %{name}-by_ssh
+Recommends:     %{name}-cluster
+Recommends:     %{name}-dhcp
+Recommends:     %{name}-dig
+Recommends:     %{name}-disk
+Recommends:     %{name}-disk_smb
+Recommends:     %{name}-dns
+Recommends:     %{name}-dummy
+Recommends:     %{name}-file_age
+Recommends:     %{name}-flexlm
+Recommends:     %{name}-fping
+Recommends:     %{name}-game
+Recommends:     %{name}-hpjd
+Recommends:     %{name}-http
+Recommends:     %{name}-icmp
+Recommends:     %{name}-ide_smart
+Recommends:     %{name}-ifoperstatus
+Recommends:     %{name}-ifstatus
+Recommends:     %{name}-ircd
+Recommends:     %{name}-ldap
+Recommends:     %{name}-linux_raid
+Recommends:     %{name}-load
+Recommends:     %{name}-log
+Recommends:     %{name}-mailq
+Recommends:     %{name}-mrtg
+Recommends:     %{name}-mrtgtraf
+Recommends:     %{name}-mysql
+Recommends:     %{name}-nagios
+Recommends:     %{name}-netapp
+Recommends:     %{name}-nt
+Recommends:     %{name}-ntp_peer
+Recommends:     %{name}-ntp_time
+Recommends:     %{name}-nwstat
+Recommends:     %{name}-oracle
+Recommends:     %{name}-overcr
+Recommends:     %{name}-pgsql
+Recommends:     %{name}-ping
+Recommends:     %{name}-procs
+Recommends:     %{name}-radius
+Recommends:     %{name}-real
+Recommends:     %{name}-rpc
+Recommends:     %{name}-sensors
+Recommends:     %{name}-smtp
+Recommends:     %{name}-snmp
+Recommends:     %{name}-ssh
+Recommends:     %{name}-swap
+Recommends:     %{name}-tcp
+Recommends:     %{name}-time
+Recommends:     %{name}-ups
+Recommends:     %{name}-users
+Recommends:     %{name}-wave
+Recommends:     %{name}-xenvm
 
 %description all
 This virtual package recommends all currently available, official 
@@ -305,7 +298,7 @@
 Summary:        Libraries for Nagios plugins
 Group:          System/Monitoring
 Provides:       nagios-plugins-libs = %{version}-%{release}
-Obsoletes:      nagios-plugins-libs <= %{version}
+Obsoletes:      nagios-plugins-libs < %{version}
 
 %description common
 This package includes the libraries (scripts) that are included by many
@@ -315,12 +308,18 @@
 %package dhcp
 Summary:        Check DHCP servers
 Group:          System/Monitoring
+%if 0%{?suse_version}
+Recommends:     apparmor-parser
+%else
+Requires:       apparmor-parser
+%endif
 
 %description dhcp
 This plugin tests the availability of DHCP servers on a network.
 
-Please read /usr/share/doc/nagios-plugins/README.SuSE for details how to 
-setup this check.
+Please read 
+/usr/share/doc/packages/nagios-plugins-dhcp/README.SuSE-check_dhcp
+for details how to setup this check.
 
 
 %package dig
@@ -445,8 +444,9 @@
 This plugin sends ICMP (ping) packets to the specified host. You can 
 specify different RTA factors and acceptable packet loss.
 
-Please read /usr/share/doc/nagios-plugins/README.SuSE for details how to
-setup this check.
+Please read 
+/usr/share/doc/packages/nagios-plugins-icmp/README.SuSE-check_icmp
+for details how to setup this check.
 
 
 %package ide_smart
@@ -457,8 +457,9 @@
 This plugin checks a local hard drive with the (Linux specific) SMART
 interface.
 
-Please read /usr/share/doc/nagios-plugins/README.SuSE for details how to
-setup this check.
+Please read 
+/usr/share/doc/packages/nagios-plugins-ide_smart/README.SuSE-check_ide_smart
+for details how to setup this check.
 
 
 %package ifoperstatus
@@ -627,6 +628,11 @@
 Summary:        Check clock offset with the ntp server
 Group:          System/Monitoring
 Provides:       %{name}-ntp = %{version}-%{release}
+%if 0%{?suse_version}
+Recommends:     apparmor-parser
+%else
+Requires:       apparmor-parser
+%endif
 
 %description ntp_time
 This plugin checks the clock offset between the local host and a remote NTP
@@ -880,21 +886,12 @@
 %patch4 -p0
 %patch5 -p0
 %patch6
-%patch8
-%patch9
-%patch10
 %patch11
 %patch12
 %patch13
+%patch14 -p1
 # Debian patches
-%patch105 -p1
-%patch110 -p1
-%patch111 -p1
-%patch113 -p1
-%patch114 -p1
-%patch115 -p1
 %patch116 -p1
-%patch117 -p0
 pushd contrib
 %{__rm} -r aix
 find -type f -exec %{__chmod} 644 {} \;
@@ -962,6 +959,11 @@
 %ifarch ppc ppc64 sparc sparc64
 %{__rm} -f %{buildroot}%{nagios_plugindir}/check_sensors
 %endif
+# install Apparmor profiles
+mkdir -p %{buildroot}/%{_sysconfdir}/apparmor.d/
+install -m 644 %{SOURCE16} %{buildroot}/%{_sysconfdir}/apparmor.d/
+install -m 644 %{SOURCE17} %{buildroot}/%{_sysconfdir}/apparmor.d/
+
 # inform the users about the deprecated nagios-plugins-extras package
 cat >> README.SuSE-deprecated << EOF
 The nagios-plugins-extras package is deprecated.
@@ -1067,7 +1069,9 @@
 %defattr(-,root,root)
 %doc README.SuSE-check_dhcp
 %dir %{nagios_plugindir}
+%dir %{_sysconfdir}/apparmor.d
 %attr(0755,root,root) %{nagios_plugindir}/check_dhcp
+%attr(0644,root,root) %config(noreplace) 
%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_dhcp
 
 %files dig
 %defattr(0755,root,root)
@@ -1222,6 +1226,7 @@
 %dir %{nagios_plugindir}
 %{nagios_plugindir}/check_ntp
 %{nagios_plugindir}/check_ntp_time
+%attr(0644,root,root) %config(noreplace) 
%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_ntp_time
 
 %files nwstat
 %defattr(0755,root,root)

++++++ nagios-plugins-1.4.15.tar.bz2 -> nagios-plugins-1.4.16.tar.bz2 ++++++
++++ 74407 lines of diff (skipped)

++++++ nagios-plugins-stdio.h.patch ++++++
Index: nagios-plugins-1.4.16/gl/stdio.in.h
===================================================================
--- nagios-plugins-1.4.16.orig/gl/stdio.in.h
+++ nagios-plugins-1.4.16/gl/stdio.in.h
@@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
 #undef gets
+#if HAVE_RAW_DECL_GETS
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
 
 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@
++++++ usr.lib.nagios.plugins.check_dhcp ++++++
#include <tunables/global>
/usr/lib/nagios/plugins/check_dhcp {
    #include <abstractions/base>
    #include <abstractions/nameservice>
    capability net_raw,
}
++++++ usr.lib.nagios.plugins.check_ntp_time ++++++
#include <tunables/global>

/usr/lib/nagios/plugins/check_ntp_time {
  #include <abstractions/base> 
  #include <abstractions/consoles>
  #include <abstractions/xad>

  network inet dgram,
  capability ipc_lock,
  capability net_bind_service,
  capability sys_time,
  capability sys_resource,

  /usr/lib/nagios/plugins/check_ntp_time rm,
}
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to