Hello community,
here is the log from the commit of package nagios-nrpe for openSUSE:Factory
checked in at Tue May 31 17:17:04 CEST 2011.
--- nagios-nrpe/nagios-nrpe.changes 2011-02-10 01:03:54.0 +0100
+++ /mounts/work_src_done/STABLE/nagios-nrpe/nagios-nrpe.changes
2011-05-30 17:38:06.0 +0200
@@ -1,0 +2,5 @@
+Mon May 30 14:43:59 UTC 2011 - lr...@suse.de
+
+- specfile cleanup using spec-cleaner (add comments to patches)
+
+---
calling whatdependson for head-i586
Other differences:
--
++ nagios-nrpe.spec ++
--- /var/tmp/diff_new_pack.Kk4W0o/_old 2011-05-31 17:12:41.0 +0200
+++ /var/tmp/diff_new_pack.Kk4W0o/_new 2011-05-31 17:12:41.0 +0200
@@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
# default
%define nagios3only 0
@@ -27,38 +26,56 @@
%define _libexecdir %{_prefix}/lib/nagios/plugins
Name: nagios-nrpe
-Summary:Nagios Remote Plug-In Executor
Version:2.12
-Release:18
+Release:25
License:GPLv2+
-Group: System/Monitoring
+Summary:Nagios Remote Plug-In Executor
Url:http://www.nagios.org/
-Source0:nrpe-%version.tar.bz2
+Group: System/Monitoring
+Source0:nrpe-%{version}.tar.bz2
Source1:nrpe.init
Source2:nagios-nrpe-rpmlintrc
Source3:nagios-nrpe-SuSEfirewall2
Source4:nrpe.8
Source10: README.SuSE
+# PATCH-FIX-openSUSE change the installation order
Patch0: nrpe-2.12-Makefile.patch
+# PATCH-FIX-openSUSE place the service disabled in the directory
Patch1: nrpe-2.12-xinetd.patch
+# PATCH-FIX-openSUSE adapts NRPE to support the standard buffersize of Nagios
3.x
Patch2: nagios-nrpe-buffersize.patch
+# PATCH-FIX-UPSTREAM produce more randomness and do not reduce entropy on
Linux kernels
Patch3: nrpe-more_random.patch
+# PATCH-FIX-UPSTREAM improve help output of nrpe and check_nrpe
Patch4: nrpe-improved_help.patch
+# PATCH-FIX-UPSTREAM null buffer before using it
Patch5: nrpe-weird_output.patch
+# PATCH-FIX-UPSTREAM drop privileges before writing the pidfile for more safety
Patch6: nrpe-drop_privileges_before_writing_pidfile.patch
+# PATCH-FIX-UPSTREAM compiler complains about this unused variable
Patch7: nrpe-unused_variable.patch
+# PATCH-FIX-UPSTREAM fix compiler warnings
Patch8: nrpe-return_value.patch
+# PATCH-FIX-UPSTREAM fix compiler warnings
Patch9: nrpe-uninitialized_variable.patch
+# PATCH-FIX-openSUSE fix pathnames for nrpe_check_control command
Patch10:nrpe_check_control.diff
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-PreReq: %insserv_prereq %fillup_prereq
-PreReq: coreutils grep pwdutils sed netcfg
+PreReq: %fillup_prereq
+PreReq: %insserv_prereq
PreReq: /bin/logger
+PreReq: coreutils
+PreReq: grep
+PreReq: netcfg
+PreReq: pwdutils
+PreReq: sed
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1130
-PreReq: sysvinit(network) sysvinit(syslog)
+PreReq: sysvinit(network)
+PreReq: sysvinit(syslog)
%endif
#
-BuildRequires: nagios-plugins tcpd-devel
+BuildRequires: nagios-plugins
+BuildRequires: tcpd-devel
#
%if 0%{?suse_version} > 1000
BuildRequires: krb5-devel
@@ -67,7 +84,8 @@
%endif
#
%if 0%{?suse_version} > 1020
-BuildRequires: libopenssl-devel openssl
+BuildRequires: libopenssl-devel
+BuildRequires: openssl
%else
BuildRequires: openssl-devel
%endif
@@ -89,12 +107,6 @@
This package contains the software for NRPE server.
It could be run by inet-daemon or as stand-alone daemon
-
-
-Authors:
-
-Ethan Galstad
-
%package doc
License:GPLv2+
Summary:Nagios Remote Plug-In Executor documentation
@@ -104,12 +116,6 @@
This package contains the README files, OpenOffice and PDF
documentation for the remote plugin executor (NRPE) for nagios.
-
-
-Authors:
-
-Ethan Galstad
-
%package -n nagios-plugins-nrpe
License:GPLv2+
Summary:Nagios NRPE plugin
@@ -131,14 +137,8 @@
The plugin then uses the output and return code from the plugin
execution on the remote host for its own output and return code.
-
-
-Authors:
-
-Ethan Galstad
-
%prep
-%setup -n nrpe-%version
+%setup -n nrpe-%{version}
%patch0 -p1
%patch1 -p1
%if %{nagios3only}
@@ -152,20 +152,20 @@
%patch8 -p0
%patch9 -p0
%patch10 -p0
-%{__cp} -a %{S:10} .
+cp -a %{SOURCE10} .
%build
-%configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -D_GNU_SOURCE" \
- --sbindir=%_prefix/lib/nagios/cgi \
- --libexecdir=%_libexecdir \
- --datadir=%_datadir/nagios \
-