commit nrpe for openSUSE:Factory

2020-08-14 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2020-08-14 13:11:39

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new.3399 (New)


Package is "nrpe"

Fri Aug 14 13:11:39 2020 rev:12 rq:823539 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2020-02-29 
21:23:57.898451250 +0100
+++ /work/SRC/openSUSE:Factory/.nrpe.new.3399/nrpe.changes  2020-08-14 
13:11:42.445264560 +0200
@@ -1,0 +2,5 @@
+Tue Jul 28 15:05:57 UTC 2020 - Thorsten Kukuk 
+
+- Don't install SuSEfirewall2 service file, SuSEfirewall2 is gone
+
+---



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.tETC7I/_old  2020-08-14 13:11:43.009264775 +0200
+++ /var/tmp/diff_new_pack.tETC7I/_new  2020-08-14 13:11:43.013264776 +0200
@@ -235,12 +235,7 @@
   %endif
 %endif
 
-%if %{with firewalld}
-  # firewalld service file - handled by firewalld package now
-  # install -Dm 644 %{SOURCE13} 
%{buildroot}%{_libexecdir}/firewalld/services/%{name}.xml
-  # temporary: also install SuSEfirewall2 snipplet for a while
-  install -Dm644 %{SOURCE3} 
%{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/nrpe
-%else
+%if %{without firewalld}
   # install SuSEfirewall2 script
   install -Dm644 %{SOURCE3} 
%{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/nrpe
 %endif
@@ -355,7 +350,9 @@
 echo "include=%{_sysconfdir}/nrpe.cfg" >> %{nagios_sysconfdir}/nrpe.cfg
 fi
 sed -i "s|%{nagios_sysconfdir}/nrpe.cfg|%{_sysconfdir}/nrpe.cfg|g" 
%{_sysconfdir}/xinetd.d/nrpe || :
+%if %{without firewalld}
 sed -i "s|nrpe-service|%{name}|g" %{_sysconfdir}/sysconfig/SuSEfirewall2 || :
+%endif
 if [ -e %{_localstatedir}/adm/update-scripts/nrpe ]; then
 /bin/sh %{_localstatedir}/adm/update-scripts/nrpe
 rm %{_localstatedir}/adm/update-scripts/nrpe
@@ -387,7 +384,9 @@
 %dir %{_sysconfdir}/xinetd.d
 %endif
 %config(noreplace) %{_sysconfdir}/xinetd.d/nrpe
+%if %{without firewalld}
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/nrpe
+%endif
 %if 0%{?suse_version} <= 1230
 %ghost %{_rundir}/%{name}/nrpe.pid
 %endif




commit nrpe for openSUSE:Factory

2020-02-29 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2020-02-29 21:23:40

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new.26092 (New)


Package is "nrpe"

Sat Feb 29 21:23:40 2020 rev:11 rq:780480 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2018-10-23 
20:38:12.460700764 +0200
+++ /work/SRC/openSUSE:Factory/.nrpe.new.26092/nrpe.changes 2020-02-29 
21:23:57.898451250 +0100
@@ -1,0 +2,49 @@
+Fri Feb 21 15:52:55 UTC 2020 - l...@linux-schulserver.de
+
+- nrpe.xml firewalld file is handled by firewalld package
+- Leap 15.1 is suse_version 1500 (thanks, dimstar)
+
+---
+Mon Feb  3 15:09:45 UTC 2020 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut through the -mini flavors.
+
+---
+Sun Mar 17 01:38:53 UTC 2019 - Lars Vogdt 
+
+- Do not package nrpe.xml for Leap 15.0, as it is included in 
+  firewalld package there. 
+
+---
+Sun Feb 17 16:02:23 UTC 2019 - l...@linux-schulserver.de
+
+- add nrpe.xml snipplet for firewalld
+- still ship nrpe snipplet for SuSEfirewalld for now
+- use systemd files directly from upstream:
+  + drop Requires=var-run.mount line from service file 
+  + drop nrpe.service
+  + drop nrpe.socket
+  + do not create tmpfiles.d/nrpe in spec any longer
+- handle migration from /etc/nagios/nrpe.cfg to /etc/nrpe.cfg also 
+  for systemd case (triggerun)
+- increase warn/crit level for processes to 350/400 in a default 
+  installation
+- added patch and dh.h file to NOT re-calculate dh.h parameters 
+  during each build (for reproducable builds). 
+  Can be enable/disable by setting the 'reproducable' build 
+  condition. Default is: "on" for suse_version >= 15
+  + nrpe-3.2.1-static_dh_parameters.patch
+  + nrpe-3.2.1-dh.h
+- use _rundir and _tmpfilesdir macros everywhere
+- do not create nagios user/group during install on (open)SUSE
+  systems and rely on the files section here instead
+- rename nagios-nrpe-rpmlintrc and nagios-nrpe-SuSEfirewall2 to 
+  nrpe-rpmlintrc and nrpe-SuSEfirewall2
+- simplify rpmlintrc
+- build nrpe-doc package as noarch 
+- specfile cleanup & remove other distribution specials
+- disable chkconfig call in Makefile on old distributions
+  nrpe-3.2.1-disable-chkconfig_in_Makefile.patch
+
+---

Old:

  nagios-nrpe-SuSEfirewall2
  nagios-nrpe-rpmlintrc
  nrpe.service
  nrpe.socket

New:

  nrpe-3.2.1-dh.h
  nrpe-3.2.1-disable-chkconfig_in_Makefile.patch
  nrpe-3.2.1-static_dh_parameters.patch
  nrpe-SuSEfirewall2
  nrpe-rpmlintrc
  nrpe.xml



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.KKDlPc/_old  2020-02-29 21:23:59.314454052 +0100
+++ /var/tmp/diff_new_pack.KKDlPc/_new  2020-02-29 21:23:59.314454052 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nrpe
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,113 +16,92 @@
 #
 
 
-# Macro that print mesages to syslog at package (un)install time
 %define nnmmsg logger -t %{name}/rpm
 %define nrpeport 5666
 %if ! %{defined _rundir}
-%define _rundir %{_localstatedir}/run
+  %define _rundir %{_localstatedir}/run
 %endif
-
+%{!?_tmpfilesdir:%global _tmpfilesdir %{_prefix}/lib/tmpfiles.d}
 %if 0%{?suse_version} >= 1210 || 0%{?centos_version} >= 600
-%bcond_without systemd
+  %bcond_without systemd
 %else
-%bcond_with systemd
+  %bcond_with systemd
+%endif
+%if 0%{?suse_version} >= 01500
+  %bcond_without firewalld
+%else
+  %bcond_with firewalld
+%endif
+%if 0%{?suse_version} >= 01500
+%bcond_without reproducable
+%else
+%bcond_with reproducable
 %endif
-
 Name:   nrpe
 Version:3.2.1
 Release:0
 Summary:Nagios Remote Plug-In Executor
 License:GPL-2.0-or-later
 Group:  System/Monitoring
-Url:http://www.nagios.org/
+URL:http://www.nagios.org/
 Source0:nrpe-%{version}.tar.bz2
 Source1:nrpe.init
-Source2:nagios-nrpe-rpmlintrc
-Source3:nagios-nrpe-SuSEfirewall2
+Source2:nrpe-rpmlintrc
+Source3:nrpe-SuSEfirewall2
 Source4:nrpe.8
 Source5:check_nrpe.cfg
-Source6:nrpe.service
-Source8:nrpe.socket
 Source10:   README.SUSE
 Source11:   README.SUSE.systemd-addon
-# appa

commit nrpe for openSUSE:Factory

2018-10-23 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2018-10-23 20:38:07

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Tue Oct 23 20:38:07 2018 rev:10 rq:643650 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2018-06-08 
23:14:06.754995676 +0200
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2018-10-23 
20:38:12.460700764 +0200
@@ -145 +145 @@
-- call tmpfiles_create in postinstall
+- call tmpfiles_create in postinstall (bsc#1080637 and bsc#924649)



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.FR5EFd/_old  2018-10-23 20:38:12.984700138 +0200
+++ /var/tmp/diff_new_pack.FR5EFd/_new  2018-10-23 20:38:12.984700138 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit nrpe for openSUSE:Factory

2018-06-08 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2018-06-08 23:13:56

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Fri Jun  8 23:13:56 2018 rev:9 rq:614056 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2018-03-28 
10:31:56.915821704 +0200
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2018-06-08 
23:14:06.754995676 +0200
@@ -1,0 +2,7 @@
+Mon Jun  4 17:56:30 UTC 2018 - l...@linux-schulserver.de
+
+- only include %{_sysconfdir}/xinetd.d on newer distributions 
+  (fixes submission of this package as update for SLE12-SP4 
+   and Leap 42.3 - boo#938906)
+
+---



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.gtgQzQ/_old  2018-06-08 23:14:07.874955230 +0200
+++ /var/tmp/diff_new_pack.gtgQzQ/_new  2018-06-08 23:14:07.878955085 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nrpe
 #
-# 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
@@ -33,7 +33,7 @@
 Version:3.2.1
 Release:0
 Summary:Nagios Remote Plug-In Executor
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Monitoring
 Url:http://www.nagios.org/
 Source0:nrpe-%{version}.tar.bz2
@@ -407,7 +407,9 @@
 %{_mandir}/man8/nrpe.8*
 %dir %{_sysconfdir}/nrpe.d
 %config(noreplace) %{_sysconfdir}/nrpe.cfg
+%if 0%{?suse_version} > 1315
 %dir %{_sysconfdir}/xinetd.d
+%endif
 %config(noreplace) %{_sysconfdir}/xinetd.d/nrpe
 %if 0%{?suse_version} > 1020
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/nrpe




commit nrpe for openSUSE:Factory

2018-03-28 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2018-03-28 10:31:41

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Wed Mar 28 10:31:41 2018 rev:8 rq:591140 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2017-12-20 
10:40:26.500479223 +0100
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2018-03-28 
10:31:56.915821704 +0200
@@ -1,0 +2,6 @@
+Mon Mar 26 12:25:03 UTC 2018 - dims...@opensuse.org
+
+- Own %{_sysconfdir}/xinetd.d: filesystem won't own this directory
+  much longer (boo#1084457).
+
+---



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.d5WscH/_old  2018-03-28 10:31:58.259773368 +0200
+++ /var/tmp/diff_new_pack.d5WscH/_new  2018-03-28 10:31:58.263773224 +0200
@@ -407,6 +407,7 @@
 %{_mandir}/man8/nrpe.8*
 %dir %{_sysconfdir}/nrpe.d
 %config(noreplace) %{_sysconfdir}/nrpe.cfg
+%dir %{_sysconfdir}/xinetd.d
 %config(noreplace) %{_sysconfdir}/xinetd.d/nrpe
 %if 0%{?suse_version} > 1020
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/nrpe




commit nrpe for openSUSE:Factory

2017-12-20 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2017-12-20 10:40:22

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Wed Dec 20 10:40:22 2017 rev:7 rq:558578 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2017-12-06 
09:00:40.484404628 +0100
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2017-12-20 
10:40:26.500479223 +0100
@@ -1,0 +2,11 @@
+Fri Dec 15 18:37:27 UTC 2017 - o...@botter.cc
+
+- remove additional reference to removed nrpe@.service file
+
+---
+Wed Dec  6 09:08:26 UTC 2017 - l...@linux-schulserver.de
+
+- remove unneeded nrpe@.service file
+- cleanup the %%pre/%%post commands
+
+---

Old:

  nrpe@.service



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.hNHmbF/_old  2017-12-20 10:40:27.740389412 +0100
+++ /var/tmp/diff_new_pack.hNHmbF/_new  2017-12-20 10:40:27.744389122 +0100
@@ -43,7 +43,6 @@
 Source4:nrpe.8
 Source5:check_nrpe.cfg
 Source6:nrpe.service
-Source7:nrpe@.service
 Source8:nrpe.socket
 Source10:   README.SUSE
 Source11:   README.SUSE.systemd-addon
@@ -275,13 +274,11 @@
 %if %{with systemd}
 # install systemd specific files
 install -Dm644 %{SOURCE6} %{buildroot}%{_unitdir}/%{name}.service
-install -Dm644 %{SOURCE7} %{buildroot}%{_unitdir}/%{name}@.service
 %if 0%{?centos_version}
 sed -i -e "/User=/s/\(User=\).*/\1%{nagios_user}/" -e 
"/Group=/s/\(Group=\).*/\1%{nagios_group}/" -e "/Requires=var-run.mount/d" 
%{buildroot}%{_unitdir}/%{name}.service
 %else
 sed -i -e "/User=/s/\(User=\).*/\1%{nagios_user}/" -e 
"/Group=/s/\(Group=\).*/\1%{nagios_group}/" 
%{buildroot}%{_unitdir}/%{name}.service
 %endif
-sed -i -e "/User=/s/\(User=\).*/\1%{nagios_user}/" -e 
"/Group=/s/\(Group=\).*/\1%{nagios_group}/" 
%{buildroot}%{_unitdir}/%{name}@.service
 install -Dm644 %{SOURCE8} %{buildroot}%{_unitdir}/%{name}.socket
 install -d -m 0755 %{buildroot}/%{_tmpfilesdir}
 echo "d %{_rundir}/%{name} 0755 %{nagios_user} %{nagios_group} -" > 
%{buildroot}/%{_tmpfilesdir}/%{name}.conf
@@ -307,38 +304,40 @@
echo "nrpe%nrpeport/tcp # Nagios nrpe" >> etc/services
 fi
 %if %{with systemd}
-%if 0%{?centos_version}
-#systemd_pre nrpe.service nrpe@.service nrpe.socket
-%else
-%service_add_pre nrpe.service nrpe@.service nrpe.socket
-%endif
+ %if 0%{?centos_version}
+  #systemd_pre nrpe.service nrpe.socket
+ %else
+  %service_add_pre nrpe.service nrpe.socket
+ %endif
 %endif
 
 %preun
-%stop_on_removal %{name}
 %if %{with systemd}
-%if 0%{?centos_version}
-%systemd_preun nrpe.service nrpe@.service nrpe.socket
+ %if 0%{?centos_version}
+  %systemd_preun nrpe.service nrpe.socket
+ %else
+  %service_del_preun nrpe.service nrpe.socket
+ %endif
 %else
-%service_del_preun nrpe.service nrpe@.service nrpe.socket
-%endif
+%stop_on_removal %{name}
 %endif
 
 %post
 %if 0%{?suse_version}
-%if 0%{?suse_version} <= 1230
-%{fillup_and_insserv -fy %{name}}
-%else
-%fillup_only %{name}
-%endif
+ %if 0%{?suse_version} <= 1230
+  %{fillup_and_insserv -fy %{name}}
+ %else
+  %fillup_only %{name}
+ %endif
 %endif
+
 %if %{with systemd}
-%if 0%{?centos_version}
-%systemd_post nrpe.service nrpe@.service nrpe.socket
-%else
-%service_add_post nrpe.service nrpe@.service nrpe.socket
-%endif
-%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf
+ %if 0%{?centos_version}
+  %systemd_post nrpe.service nrpe.socket
+ %else
+  %service_add_post nrpe.service nrpe.socket
+  %tmpfiles_create %{_tmpfilesdir}/%{name}.conf
+ %endif
 %endif
 
 %pre -n monitoring-plugins-nrpe
@@ -384,16 +383,16 @@
 fi
 
 %postun
-%restart_on_update nrpe
 %if 0%{?suse_version}
-%insserv_cleanup
+ %insserv_cleanup
+ %if %{with systemd}
+  %service_del_postun nrpe.service nrpe.socket
+ %else
+  %restart_on_update nrpe
+ %endif
 %endif
-%if %{with systemd}
 %if 0%{?centos_version}
-%systemd_postun_with_restart nrpe.service nrpe@.service nrpe.socket
-%else
-%service_del_postun nrpe.service nrpe@.service nrpe.socket
-%endif
+ %systemd_postun_with_restart nrpe.service nrpe.socket
 %endif
 
 %files
@@ -419,7 +418,6 @@
 %endif
 %if %{with systemd}
 %{_unitdir}/%{name}.service
-%{_unitdir}/%{name}@.service
 %{_unitdir}/%{name}.socket
 %{_tmpfilesdir}/%{name}.conf
 %ghost %dir %{_rundir}/%{name}




commit nrpe for openSUSE:Factory

2017-12-06 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2017-12-06 09:00:38

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Wed Dec  6 09:00:38 2017 rev:6 rq:548945 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2017-08-16 
16:11:22.837032853 +0200
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2017-12-06 
09:00:40.484404628 +0100
@@ -1,0 +2,30 @@
+Tue Dec  5 11:51:04 CET 2017 - r...@suse.de
+
+- update to 3.2.1:
+ FIXES
+ - Change seteuid error messages to warning/debug (Bryan Heden)
+ - Fix segfault when no nrpe_user is specified (Stephen Smoogen, Bryan Heden)
+ - Added additional strings to error messages to remove duplicates (Bryan 
Heden)
+ - Fix nrpe.spec for rpmbuild (Bryan Heden)
+ - Fix error for drop_privileges when using inetd (xalasys-luc, Bryan Heden)
+
+- update to 3.2.0:
+ ENHANCEMENTS
+ - Added max_commands definition to nrpe.cfg to rate limit simultaneous 
fork()ed children (Bryan Heden)
+ - Added -E, --stderr-to-stdout options for check_nrpe to redirect output 
(Bryan Heden)
+ - Added support for Gentoo init (Troy Lea @box293)
+ - Cleaned up code a bit, updated readmes and comments across the board (Bryan 
Heden)
+ - Added -V, --version to nrpe and fixed the output (Bryan Heden)
+ - Added different SSL error messages to be able to pinpoint where some SSL 
errors occured (Bryan Heden)
+ - Updated logic in al parse_allowed_hosts (Bryan Heden)
+ - Added builtin OpenSSL Engine support where available (Bryan Heden + 
@skrueger8)
+ - Clean up compilation warnings (Bryan Heden)
+ - Added more commented commands in nrpe.cfg (Bryan Heden)
+
+ FIXES
+ - Undefined check returns UNKNOWN (Bryan Heden)
+ - Fix incompatibility with OpenSSL 1.1.0 via SECLEVEL distinction (Bryan 
Heden)
+ - Fix ipv4 error in logfile even if address is ipv6 (Bryan Heden)
+ - Fix improper valid/invalid certificate warnings (Bryan Heden)
+
+---

Old:

  nrpe-3.1.1.tar.bz2

New:

  nrpe-3.2.1.tar.bz2



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.jkxLjo/_old  2017-12-06 09:00:41.260376225 +0100
+++ /var/tmp/diff_new_pack.jkxLjo/_new  2017-12-06 09:00:41.260376225 +0100
@@ -30,7 +30,7 @@
 %endif
 
 Name:   nrpe
-Version:3.1.1
+Version:3.2.1
 Release:0
 Summary:Nagios Remote Plug-In Executor
 License:GPL-2.0+
@@ -164,7 +164,7 @@
 execution on the remote host for its own output and return code.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{version}
 %patch2 -p1
 %patch4 -p1
 %patch5 -p1
@@ -291,7 +291,7 @@
 # install config update script in doc dir...
 install -Dm755 update-cfg.pl 
%{buildroot}/%{_defaultdocdir}/%{name}/examples/update-cfg.pl
 # ...and also the files we want in the main package
-install -m644 Changelog README.SUSE README.md usr.sbin.nrpe 
%{buildroot}/%{_defaultdocdir}/%{name}/
+install -m644 CHANGELOG.md README.SUSE README.md usr.sbin.nrpe 
%{buildroot}/%{_defaultdocdir}/%{name}/
 # remove the uninstall script: this is done by RPM
 rm %{buildroot}/%{_sbindir}/nrpe-uninstall
 
@@ -402,7 +402,7 @@
 %dir %{_defaultdocdir}/%{name}/examples
 %doc %{_defaultdocdir}/%{name}/README.SUSE
 %doc %{_defaultdocdir}/%{name}/README.md
-%doc %{_defaultdocdir}/%{name}/Changelog
+%doc %{_defaultdocdir}/%{name}/CHANGELOG.md
 %doc %{_defaultdocdir}/%{name}/usr.sbin.nrpe
 %doc %{_defaultdocdir}/%{name}//examples/update-cfg.pl
 %{_mandir}/man8/nrpe.8*
@@ -429,7 +429,7 @@
 
 %files doc
 %defattr(0644,root,root,0755)
-%doc Changelog LEGAL *.md docs/*.pdf
+%doc CHANGELOG.md LEGAL *.md docs/*.pdf
 
 %files -n monitoring-plugins-nrpe
 %defattr(-,root,root)

++ nrpe-3.1.1.tar.bz2 -> nrpe-3.2.1.tar.bz2 ++
 5673 lines of diff (skipped)

++ nrpe-improved_help.patch ++
--- /var/tmp/diff_new_pack.jkxLjo/_old  2017-12-06 09:00:41.600363781 +0100
+++ /var/tmp/diff_new_pack.jkxLjo/_new  2017-12-06 09:00:41.600363781 +0100
@@ -1,46 +1,23 @@
-Index: nrpe-3.1.1/src/check_nrpe.c
-===
 nrpe-3.1.1.orig/src/check_nrpe.c
-+++ nrpe-3.1.1/src/check_nrpe.c
-@@ -667,7 +667,7 @@ void usage(int result)
-  "   [-P ] [-S ]  [-L 
] [-C ]\n"
-  "   [-K ] [-A ] [-s 
] [-b ]\n"
-  "   [-f ] [-p ] [-t 
:] [-g ]\n"
-- "   [-c ] [-a ]\n");
-+ "   [-c ] [-a ] [--help] 
[--license] [--no-ssl]\n");
-   printf("\n");
-   printf("Options:\n");
-   printf("= T

commit nrpe for openSUSE:Factory

2017-08-16 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2017-08-16 16:11:19

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Wed Aug 16 16:11:19 2017 rev:5 rq:513684 version:3.1.1

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2017-06-07 
09:55:26.442536414 +0200
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2017-08-16 
16:11:22.837032853 +0200
@@ -1,0 +2,6 @@
+Tue Jul 25 12:12:21 CEST 2017 - r...@suse.de
+
+- change prereq from /bin/logger to /usr/bin/logger except for
+  code11 and older 
+
+---



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.ddyv4G/_old  2017-08-16 16:11:24.352820085 +0200
+++ /var/tmp/diff_new_pack.ddyv4G/_new  2017-08-16 16:11:24.356819523 +0200
@@ -59,7 +59,11 @@
 PreReq: %fillup_prereq
 PreReq: %insserv_prereq
 %endif
+%if 0%{?suse_version} < 1200
 PreReq: /bin/logger
+%else
+PreReq: /usr/bin/logger
+%endif
 PreReq: coreutils
 PreReq: grep
 %if 0%{?suse_version}




commit nrpe for openSUSE:Factory

2017-06-07 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2017-06-07 09:55:26

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Wed Jun  7 09:55:26 2017 rev:4 rq:501194 version:3.1.1

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2017-05-02 
08:54:54.394206371 +0200
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2017-06-07 
09:55:26.442536414 +0200
@@ -1,0 +2,17 @@
+Mon May 29 15:09:08 UTC 2017 - l...@linux-schulserver.de
+
+- update to 3.1.1:
+ FIXES
+ - The '--log-file=' or '-g' option is missing from the help (John Frickson)
+ - check_nrpe = segfault when specifying a config file (John Frickson)
+ - Alternate log file not being used soon enough (John Frickson)
+ - Unable to compile v3.1.0rc1 with new SSL checks on rh5 (John Frickson)
+ - Unable to compile nrpe-3.1.0 - undefined references to va_start, va_end 
(John Frickson)
+ - Can't build on Debian Stretch, openssl 1.1.0c (John Frickson)
+ - Fix build failure with -Werror=format-security (Bas Couwenberg)
+ - Fixed a typo in `nrpe.spec.in` (John Frickson)
+ - More detailed error logging for SSL (John Frickson)
+ - Fix infinite loop when unresolvable host is in allowed_hosts (Nick / John 
Frickson)
+- refreshed all patches
+
+---

Old:

  nrpe-3.1.0.tar.bz2

New:

  nrpe-3.1.1.tar.bz2



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.nQ5qzv/_old  2017-06-07 09:55:27.138438073 +0200
+++ /var/tmp/diff_new_pack.nQ5qzv/_new  2017-06-07 09:55:27.142437507 +0200
@@ -30,7 +30,7 @@
 %endif
 
 Name:   nrpe
-Version:3.1.0
+Version:3.1.1
 Release:0
 Summary:Nagios Remote Plug-In Executor
 License:GPL-2.0+

++ nrpe-3.1.0.tar.bz2 -> nrpe-3.1.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nrpe-3.1.0/Changelog new/nrpe-3.1.1/Changelog
--- old/nrpe-3.1.0/Changelog2017-04-17 16:21:54.0 +0200
+++ new/nrpe-3.1.1/Changelog2017-05-24 16:35:00.0 +0200
@@ -2,7 +2,22 @@
 NRPE Changelog
 **
 
-3.x.x - 201x-xx-xx
+3.1.1 - 2017-05-24
+--
+FIXES
+- The '--log-file=' or '-g' option is missing from the help (John Frickson)
+- check_nrpe = segfault when specifying a config file (John Frickson)
+- Alternate log file not being used soon enough (John Frickson)
+- Unable to compile v3.1.0rc1 with new SSL checks on rh5 (John Frickson)
+- Unable to compile nrpe-3.1.0 - undefined references to va_start, va_end 
(John Frickson)
+- Can't build on Debian Stretch, openssl 1.1.0c (John Frickson)
+- Fix build failure with -Werror=format-security (Bas Couwenberg)
+- Fixed a typo in `nrpe.spec.in` (John Frickson)
+- More detailed error logging for SSL (John Frickson)
+- Fix infinite loop when unresolvable host is in allowed_hosts (Nick / John 
Frickson)
+
+
+3.1.0 - 2017-04-17
 --
 ENHANCEMENTS
 - Added option to nrpe.cfg.in that can override hard-coded NASTY_METACHARS 
(John Frickson)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nrpe-3.1.0/configure new/nrpe-3.1.1/configure
--- old/nrpe-3.1.0/configure2017-04-17 16:21:54.0 +0200
+++ new/nrpe-3.1.1/configure2017-05-24 16:35:00.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for nrpe 3.1.0-rc1.
+# Generated by GNU Autoconf 2.69 for nrpe 3.1.1.
 #
 # Report bugs to .
 #
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='nrpe'
 PACKAGE_TARNAME='nrpe'
-PACKAGE_VERSION='3.1.0-rc1'
-PACKAGE_STRING='nrpe 3.1.0-rc1'
+PACKAGE_VERSION='3.1.1'
+PACKAGE_STRING='nrpe 3.1.1'
 PACKAGE_BUGREPORT='nagios-us...@lists.sourceforge.net'
 PACKAGE_URL='https://www.nagios.org/downloads/nagios-core-addons/'
 
@@ -757,6 +757,7 @@
 with_piddir
 with_pipedir
 enable_ssl
+with_need_dh
 with_ssl
 with_ssl_inc
 with_ssl_lib
@@ -1319,7 +1320,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures nrpe 3.1.0-rc1 to adapt to many kinds of systems.
+\`configure' configures nrpe 3.1.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1369,7 +1370,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of nrpe 3.1.0-rc1:";;
+ short | recursive ) echo "Configuration of nrpe 3.1.1:";;
esac
   cat <<\_ACEOF
 
@@ -1422,6 +1423,7 @@
   --w

commit nrpe for openSUSE:Factory

2017-05-01 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2017-05-02 08:54:53

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Tue May  2 08:54:53 2017 rev:3 rq:492268 version:3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2017-02-07 
12:03:29.349437850 +0100
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2017-05-02 
08:54:54.394206371 +0200
@@ -1,0 +2,53 @@
+Fri Apr 21 15:26:52 CEST 2017 - r...@suse.de
+
+- require inet-daemon only if suse_version is set 
+- call centos macros for systemd
+- drop Requires=var-run.mount line from service file on centos
+
+---
+Fri Apr 21 12:03:22 CEST 2017 - r...@suse.de
+
+- fix buildrequires for centos:
+  - tcpd-devel is tcp_wrappers-devel
+  - kerberos is krb5-devel
+
+---
+Mon Apr 17 17:14:00 UTC 2017 - l...@linux-schulserver.de
+
+-update to 3.1.0:
+ ENHANCEMENTS
+ - Added option to nrpe.cfg.in that can override hard-coded NASTY_METACHARS 
(John Frickson)
+ - While processing 'include_dir' statement, sort the files (Philippe Kueck / 
John Frickson)
+ - nrpe can now write to a log file using 'log_file=' in nrpe.cfg (John 
Frickson)
+ - check_nrpe can now write to a log file using '--log-file=' or '-g' options 
(John Frickson)
+ FIXES
+ - Added missing debugging syslog entries, and changed printf()'s to 
syslog()'s. (Jobst Schmalenbach)
+ - Fix help output for ssl option (configure) (Ruben Kerkhof)
+ - Fixes to README.SSL.md and SECURITY.md (Elan Ruusamäe)
+ - Changed the 'check_load' command in nrpe.cfg.in (minusdavid)
+ - Minor change to logging in check_nrpe (John Frickson)
+ - Removed function `b64_decode` which wasn't being used (John Frickson)
+ - check_nrpe ignores -a option when -f option is specified (John Frickson)
+ - Added missing LICENSE file (John Frickson)
+ - Off-by-one BO in my_system() (John Frickson)
+ - Add SOURCE_DATE_EPOCH specification support for reproducible builds. (Bas 
Couwenberg)
+ - nrpe 3.0.1 allows TLSv1 and TLSv1.1 when I configure for TLSv1.2+ (John 
Frickson)
+ - "Remote %s accepted a Version %s Packet", please add to debug (John 
Frickson)
+ - nrpe 3.0.1 segfaults when key and/or cert are broken symlinks (John 
Frickson)
+ - Fixed a couple of typos in docs/NRPE.* files (Ludmil Meltchev)
+ - Changed release date to ISO format (-mm-dd) (John Frickson)
+ - Fix systemd unit description (Bas Couwenberg)
+ - Add reload command to systemd service file (Bas Couwenberg)
+ - fix file not found error when updating version (Sven Nierlein)
+ - Spelling fixes (Josh Soref)
+ - Return UNKNOWN when check_nrpe cannot communicate with nrpe and -u set 
(John Frickson)
+ - xinetd.d parameter causes many messages in log file (John Frickson)
+ - Fixes for openssl 1.1.x (Stephen Smoogen / John Frickson)
+ - PATH and other environment variables not set with numeric nrpe_user (John 
Frickson)
+- remove upstreamed patches:
+  + nrpe-more_random.patch
+  + nrpe-drop_privileges_before_writing_pidfile.patch
+  + nrpe-3.0-Makefile_use_DESTDIR.patch
+- refreshed other patches
+
+---

Old:

  nrpe-3.0-Makefile_use_DESTDIR.patch
  nrpe-3.0.tar.bz2
  nrpe-drop_privileges_before_writing_pidfile.patch
  nrpe-more_random.patch

New:

  nrpe-3.1.0.tar.bz2



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.QKze9n/_old  2017-05-02 08:54:55.474054104 +0200
+++ /var/tmp/diff_new_pack.QKze9n/_new  2017-05-02 08:54:55.478053540 +0200
@@ -1,8 +1,7 @@
 #
 # spec file for package nrpe
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -24,15 +23,14 @@
 %define _rundir %{_localstatedir}/run
 %endif
 
-%if 0%{?suse_version} >= 1210
+%if 0%{?suse_version} >= 1210 || 0%{?centos_version} >= 600
 %bcond_without systemd
 %else
 %bcond_with systemd
 %endif
 
-
 Name:   nrpe
-Version:3.0
+Version:3.1.0
 Release:0
 Summary:Nagios Remote Plug-In Executor
 License:GPL-2.0+
@@ -51,25 +49,23 @@
 Source11:   README.SUSE.systemd-addon
 # apparmor profile
 Source12:   usr.sbin.nrpe
-# PATCH-FIX-UPSTREAM produce more randomness and do not reduce entropy on 
Linux kernels
-Patch1: nrpe-more_random.patch
 # PATCH-FIX-UPSTREAM improve help 

commit nrpe for openSUSE:Factory

2017-02-07 Thread root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2017-02-07 12:03:28

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2017-02-03 
17:51:18.969215551 +0100
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2017-02-07 
12:03:29.349437850 +0100
@@ -1,0 +2,10 @@
+Wed Dec  7 14:39:25 UTC 2016 - l...@linux-schulserver.de
+
+- correctly call the systemd macros for all systemd units
+
+---
+Sun Oct 30 15:42:42 UTC 2016 - jeng...@inai.de
+
+- Description updates
+
+---



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.WzTGPm/_old  2017-02-07 12:03:30.109330349 +0100
+++ /var/tmp/diff_new_pack.WzTGPm/_new  2017-02-07 12:03:30.113329783 +0100
@@ -120,10 +120,10 @@
 %{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
 
 %description
-NRPE can be used to run nagios plug-ins on a remote machine for
+NRPE can be used to run Nagios plugins on a remote machine for
 executing local checks.
 This package contains the software for NRPE server.
-It could be run by inet-daemon or as stand-alone daemon
+It could be run by an inetd, or as a standalone daemon.
 
 %package doc
 Summary:Nagios Remote Plug-In Executor documentation
@@ -133,7 +133,7 @@
 
 %description doc
 This package contains the README files, OpenOffice and PDF
-documentation for the remote plugin executor (NRPE) for nagios.
+documentation for the remote plugin executor (NRPE) for Nagios.
 
 %package -n monitoring-plugins-nrpe
 Summary:NRPE plugin
@@ -147,7 +147,7 @@
 Obsoletes:  nagios-plugins-nrpe < 2.15-%{release}
 
 %description -n monitoring-plugins-nrpe
-This package contains the plug-in for the host runing the Nagios
+This package contains the plugin for the host runing the Nagios
 daemon.
 
 It is used to contact the NRPE process on remote hosts. The plugin
@@ -301,13 +301,13 @@
echo "nrpe%nrpeport/tcp # Nagios nrpe" >> etc/services
 fi
 %if %{with systemd}
-%service_add_pre nrpe.service
+%service_add_pre nrpe.service nrpe@.service nrpe.socket
 %endif
 
 %preun
 %stop_on_removal %{name}
 %if %{with systemd}
-%service_del_preun nrpe.service
+%service_del_preun nrpe.service nrpe@.service nrpe.socket
 %endif
 
 %post
@@ -317,8 +317,8 @@
 %fillup_only %{name}
 %endif
 %if %{with systemd}
-%service_add_post nrpe.service
-%{?tmpfiles_create:%tmpfiles_create %{_tmpfilesdir}/%{name}.conf}
+%service_add_post nrpe.service nrpe@.service nrpe.socket
+%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf
 %endif
 
 %pre -n monitoring-plugins-nrpe
@@ -367,12 +367,9 @@
 %restart_on_update nrpe
 %insserv_cleanup
 %if %{with systemd}
-%service_del_postun nrpe.service
+%service_del_postun nrpe.service nrpe@.service nrpe.socket
 %endif
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root)
 %dir %{_defaultdocdir}/%{name}/




commit nrpe for openSUSE:Factory

2014-03-09 Thread h_root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2014-03-09 18:27:39

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2014-02-19 
07:20:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2014-03-09 
18:27:40.0 +0100
@@ -1,0 +2,6 @@
+Fri Mar  7 17:12:33 UTC 2014 - l...@linux-schulserver.de
+
+- rename README.SUSE according to the new policy
+- fix bnc#865836: create nagios user/group for nagios-plugins-nrpe
+
+---

Old:

  README.SuSE

New:

  README.SUSE



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.GpXoI3/_old  2014-03-09 18:27:41.0 +0100
+++ /var/tmp/diff_new_pack.GpXoI3/_new  2014-03-09 18:27:41.0 +0100
@@ -35,7 +35,7 @@
 Source3:nagios-nrpe-SuSEfirewall2
 Source4:nrpe.8
 Source5:check_nrpe.cfg
-Source10:   README.SuSE
+Source10:   README.SUSE
 # PATCH-FIX-openSUSE place the service disabled in the directory
 Patch1: nrpe-xinetd.patch
 # PATCH-FIX-openSUSE adapts NRPE to support the standard buffersize of Nagios 
3.x
@@ -243,6 +243,11 @@
 %post
 %{fillup_and_insserv -fy %{name}}
 
+%pre -n nagios-plugins-nrpe
+# Create user and group on the system if necessary
+%nagios_user_group_add
+%nagios_command_user_group_add
+
 %triggerun -- nagios-nrpe < 2.14
 STATUS='/var/adm/update-scripts/nrpe'
 if [ -x %{_sysconfdir}/init.d/nrpe ]; then
@@ -290,7 +295,7 @@
 
 %files
 %defattr(-,root,root)
-%doc README.SuSE README.SSL SECURITY
+%doc README.SUSE README.SSL SECURITY
 %{_mandir}/man8/nrpe.8*
 %dir %{_sysconfdir}/nrpe.d
 %config(noreplace) %{_sysconfdir}/nrpe.cfg
@@ -306,7 +311,7 @@
 
 %files doc
 %defattr(0644,root,root,0755)
-%doc Changelog LEGAL README README.SSL README.SuSE SECURITY docs/*.pdf
+%doc Changelog LEGAL README README.SSL README.SUSE SECURITY docs/*.pdf
 
 %files -n nagios-plugins-nrpe
 %defattr(-,root,root)

++ README.SUSE ++
README.SuSE for nagios-nrpe
===

= New place for nrpe.cfg =

To allow the use of either Icinga or Nagios, the nrpe.cfg is now 
located in /etc/ directly. If you make use of the include_dir 
directive, please use the new directory /etc/nrpe.d/ for this.

= Package rename =

The packages
- nagios-nrpe-client
- nagios-nrpe-server
are marked as obsolete.

While seeing the client/server pkg normal user would be misled to
install which package where.
When seeing "server" package you're thinking about a server-daemon
and when seeing "client" you're thinking client which is talking
with the server (NRPE).
But it was just the other way round. :(

Now:
- nrpe (obsoletes nagios-nrpe-client) and provides the NRPE
  daemon which should be installed on the remote box which should
  be monitored.

- nagios-plugins-nrpe (obsoletes nagios-nrpe-server) and provides
  "check_nrpe" which should be installed on the server hosting nagios.
  
- nrpe-doc contains documentation and can be installed where 
  ever you want

= Firewall =

The nrpe package ships with a special file for the SuSEfirewall2, that 
allows you to open the port via the YaST firewall module or by adding 
simply 'nrpe' in the according FW_CONFIGURATIONS_* variable in:
 /etc/sysconfig/SuSEfirewall2  
Example: 
 FW_CONFIGURATIONS_EXT="sshd nrpe"
will open the standard ports for SSH and NRPE on the external interface.


Have a lot of fun!
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nrpe for openSUSE:Factory

2014-02-18 Thread h_root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2014-02-19 07:20:56

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2013-09-27 
17:52:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2014-02-19 
07:20:57.0 +0100
@@ -1,0 +2,5 @@
+Thu Feb  6 15:55:32 UTC 2014 - l...@linux-schulserver.de
+
+- install an example check_nrpe.cfg definition in /etc/nagios/objects
+
+---

New:

  check_nrpe.cfg



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.Yd2q8X/_old  2014-02-19 07:20:58.0 +0100
+++ /var/tmp/diff_new_pack.Yd2q8X/_new  2014-02-19 07:20:58.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nrpe
 #
-# 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
@@ -34,6 +34,7 @@
 Source2:nagios-nrpe-rpmlintrc
 Source3:nagios-nrpe-SuSEfirewall2
 Source4:nrpe.8
+Source5:check_nrpe.cfg
 Source10:   README.SuSE
 # PATCH-FIX-openSUSE place the service disabled in the directory
 Patch1: nrpe-xinetd.patch
@@ -221,6 +222,9 @@
 EOF
 install -Dm0644 nrpe_check_control.cfg 
%{buildroot}%{nagios_sysconfdir}/objects/nrpe_check_control.cfg
 
+# install simple nrpe.cfg for the Nagios server in the objects directory
+install -Dm644 %{SOURCE5} 
%{buildroot}%{nagios_sysconfdir}/objects/check_nrpe.cfg
+
 %pre
 # Create user and group on the system if necessary
 %nagios_user_group_add
@@ -311,6 +315,7 @@
 %attr(0755,root,%{nagios_command_group})   %dir %{nagios_sysconfdir}
 %attr(0755,root,%{nagios_command_group})   %dir 
%{nagios_sysconfdir}/objects
 %config(noreplace) %{nagios_sysconfdir}/objects/nrpe_check_control.cfg
+%config(noreplace) %{nagios_sysconfdir}/objects/check_nrpe.cfg
 %{nagios_plugindir}/check_nrpe
 %{nagios_plugindir}/nrpe_check_control
 

++ check_nrpe.cfg ++
# Please note that the service nrpe should be up and running on your client
# and allowing the Nagios server access (to port 5666).
#
# Please have a look at /etc/nrpe.cfg on the client to see which 'command'
# you can execute (use the name in the bracket behind the command argument
# as $ARG1$).

# this command runs command $ARG1$
define command {
command_namecheck_nrpe
command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}

# this command runs command $ARG1$ with one argument
# please note that you need to set
# dont_blame_nrpe=1
# in your nrpe.cfg on the client to allow specifying arguments to commands 
# that are executed via nrpe. 
# *** ENABLING THIS OPTION on the client IS A SECURITY RISK! ***
define command {
command_namecheck_nrpe_with_arg
command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nrpe for openSUSE:Factory

2013-09-27 Thread h_root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2013-09-27 17:52:07

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2013-08-05 
20:49:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2013-09-27 
17:52:08.0 +0200
@@ -1,0 +2,18 @@
+Thu Sep 26 10:38:49 UTC 2013 - l...@linux-schulserver.de
+
+- adapt directory ownership of /etc/nagios directories
+
+---
+Thu Sep 19 23:35:44 UTC 2013 - l...@linux-schulserver.de
+
+- update to 2.15:
+  + Added support for IPv6 (Leo Baltus, Eric Stanley)
+- removed nrpe-uninitialized_variable.patch (fixed upstream)
+- rebased other patches
+
+---
+Mon Aug 12 17:06:04 UTC 2013 - l...@linux-schulserver.de
+
+- fix directory permissions for nagios sysconfdir
+
+---

Old:

  nrpe-2.14.tar.bz2
  nrpe-uninitialized_variable.patch

New:

  nrpe-2.15.tar.bz2



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.LlnriW/_old  2013-09-27 17:52:09.0 +0200
+++ /var/tmp/diff_new_pack.LlnriW/_new  2013-09-27 17:52:09.0 +0200
@@ -23,7 +23,7 @@
 %define nrpeport 5666
 
 Name:   nrpe
-Version:2.14
+Version:2.15
 Release:0
 Summary:Nagios Remote Plug-In Executor
 License:GPL-2.0+
@@ -47,8 +47,6 @@
 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 fix compiler warnings
-Patch9: nrpe-uninitialized_variable.patch
 # PATCH-FIX-openSUSE fix pathnames for nrpe_check_control command
 Patch10:nrpe_check_control.patch
 # PATCH-FIX-UPSTREAM using implicit definitions of functions
@@ -143,10 +141,9 @@
 %patch2 -p0
 %endif
 %patch3 -p0
-%patch4 -p0
+%patch4 -p1
 %patch5 -p0
 %patch6 -p0
-%patch9 -p0
 %patch10 -p0
 %patch11 -p0
 cp -a %{SOURCE10} .
@@ -311,8 +308,8 @@
 %defattr(-,root,root)
 %doc contrib/README.nrpe_check_control
 %dir %{nagios_libdir}
-%attr(0775,%{nagios_user},%{nagios_command_group}) %dir %{nagios_sysconfdir}
-%attr(0775,%{nagios_user},%{nagios_command_group}) %dir 
%{nagios_sysconfdir}/objects
+%attr(0755,root,%{nagios_command_group})   %dir %{nagios_sysconfdir}
+%attr(0755,root,%{nagios_command_group})   %dir 
%{nagios_sysconfdir}/objects
 %config(noreplace) %{nagios_sysconfdir}/objects/nrpe_check_control.cfg
 %{nagios_plugindir}/check_nrpe
 %{nagios_plugindir}/nrpe_check_control

++ nrpe-2.14.tar.bz2 -> nrpe-2.15.tar.bz2 ++
 12806 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nrpe-2.14/Changelog new/nrpe-2.15/Changelog
--- old/nrpe-2.14/Changelog 2012-12-21 18:22:00.0 +0100
+++ new/nrpe-2.15/Changelog 2013-09-06 17:27:13.0 +0200
@@ -2,6 +2,10 @@
 NRPE Changelog
 **
 
+2.15 - 09/06/2013
+-
+- Now compiles on HP-UX (Grant Byers)
+- Added support for IPv6 (Leo Baltus, Eric Stanley)
 
 2.14 - 12/21/2012
 -
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nrpe-2.14/configure.in new/nrpe-2.15/configure.in
--- old/nrpe-2.14/configure.in  2012-12-21 18:22:00.0 +0100
+++ new/nrpe-2.15/configure.in  2013-09-06 17:27:13.0 +0200
@@ -4,7 +4,7 @@
 define([AC_CACHE_LOAD],)
 define([AC_CACHE_SAVE],)
 
-2.14([nrpe],[2.13],[nagios-us...@lists.sourceforge.net],[nrpe],[http://www.nagios.org])
+AC_INIT([nrpe],[2.15],[nagios-us...@lists.sourceforge.net],[nrpe],[http://www.nagios.org])
 AC_CONFIG_SRCDIR([src/nrpe.c])
 AC_CONFIG_HEADERS([include/config.h])
 AC_CONFIG_FILES([Makefile
@@ -20,9 +20,9 @@
 AC_PREFIX_DEFAULT(/usr/local/nagios)
 
 PKG_NAME=nrpe
-PKG_VERSION="2.14"
+PKG_VERSION="2.15"
 PKG_HOME_URL="http://www.nagios.org/";
-PKG_REL_DATE="12-21-2012"
+PKG_REL_DATE="09-06-2013"
 RPM_RELEASE=1
 AC_SUBST(PKG_NA

commit nrpe for openSUSE:Factory

2013-08-05 Thread h_root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2013-08-05 20:48:58

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe"

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2013-01-21 
17:41:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2013-08-05 
20:49:00.0 +0200
@@ -1,0 +2,6 @@
+Mon Aug  5 10:48:59 CEST 2013 - r...@suse.de
+
+- adapt owner and permissions for sysconfdir/nagios to
+  main nagios package 
+
+---



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.5DQcWk/_old  2013-08-05 20:49:00.0 +0200
+++ /var/tmp/diff_new_pack.5DQcWk/_new  2013-08-05 20:49:00.0 +0200
@@ -182,6 +182,7 @@
 gcc %{optflags} -o contrib/nrpe_check_control contrib/nrpe_check_control.c
 
 %install
+%nagios_command_user_group_add
 install -d %{buildroot}%{_sysconfdir}/xinetd.d
 install -d %{buildroot}%{_localstatedir}/run/%{name}
 install -d %{buildroot}%{_sysconfdir}/nrpe.d
@@ -226,6 +227,7 @@
 %pre
 # Create user and group on the system if necessary
 %nagios_user_group_add
+%nagios_command_user_group_add
 # check if the port for nrpe is already defined in /etc/services
 if grep -q %nrpeport /etc/services ; then
 : OK - port already defined
@@ -309,8 +311,8 @@
 %defattr(-,root,root)
 %doc contrib/README.nrpe_check_control
 %dir %{nagios_libdir}
-%dir %{nagios_sysconfdir}
-%dir %{nagios_sysconfdir}/objects
+%attr(0775,%{nagios_user},%{nagios_command_group}) %dir %{nagios_sysconfdir}
+%attr(0775,%{nagios_user},%{nagios_command_group}) %dir 
%{nagios_sysconfdir}/objects
 %config(noreplace) %{nagios_sysconfdir}/objects/nrpe_check_control.cfg
 %{nagios_plugindir}/check_nrpe
 %{nagios_plugindir}/nrpe_check_control

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nrpe for openSUSE:Factory

2013-01-21 Thread h_root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2013-01-21 17:41:34

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes2013-01-20 
08:08:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2013-01-21 
17:41:36.0 +0100
@@ -1,0 +2,7 @@
+Sun Jan 20 13:39:34 UTC 2013 - l...@linux-schulserver.de
+
+- reduce runtime dependencies: just recommend the plugins that are
+  configured in the default configuration, not the whole Nagios
+  plugins
+
+---



Other differences:
--
++ nrpe.spec ++
--- /var/tmp/diff_new_pack.oREEkl/_old  2013-01-21 17:41:37.0 +0100
+++ /var/tmp/diff_new_pack.oREEkl/_new  2013-01-21 17:41:37.0 +0100
@@ -86,7 +86,10 @@
 #
 %if 0%{?suse_version} > 1020
 Recommends: inet-daemon
-Recommends: nagios-plugins
+Recommends: nagios-plugins-users
+Recommends: nagios-plugins-load
+Recommends: nagios-plugins-disk
+Recommends: nagios-plugins-procs
 %else
 Requires:   inet-daemon
 Requires:   nagios-plugins

++ README.SuSE ++
--- /var/tmp/diff_new_pack.oREEkl/_old  2013-01-21 17:41:37.0 +0100
+++ /var/tmp/diff_new_pack.oREEkl/_new  2013-01-21 17:41:37.0 +0100
@@ -12,7 +12,7 @@
 The packages
 - nagios-nrpe-client
 - nagios-nrpe-server
-are marked as obsolete:
+are marked as obsolete.
 
 While seeing the client/server pkg normal user would be misled to
 install which package where.
@@ -22,14 +22,14 @@
 But it was just the other way round. :(
 
 Now:
-- nagios-nrpe (obsoletes nagios-nrpe-client) and provides the NRPE
+- nrpe (obsoletes nagios-nrpe-client) and provides the NRPE
   daemon which should be installed on the remote box which should
   be monitored.
 
 - nagios-plugins-nrpe (obsoletes nagios-nrpe-server) and provides
   "check_nrpe" which should be installed on the server hosting nagios.
   
-- nagios-nrpe-doc contains documentation and can be installed where 
+- nrpe-doc contains documentation and can be installed where 
   ever you want
 
 Have a lot of fun!

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nrpe for openSUSE:Factory

2013-01-19 Thread h_root
Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2013-01-20 08:08:56

Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and  /work/SRC/openSUSE:Factory/.nrpe.new (New)


Package is "nrpe", Maintainer is ""

Changes:

New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2013-01-20 
08:08:58.0 +0100
@@ -0,0 +1,384 @@
+---
+Tue Jan 15 10:28:26 UTC 2013 - l...@linux-schulserver.de
+
+- also fix old xinetd config and SuSEFirewall2
+- save the status of the old nagios-nrpe daemon via %%triggerun in
+  /var/adm/update-scripts/nrpe and restart the service, if needed, 
+  after the renamed package has been installed (same, if the 
+  service is started via xinetd)
+
+---
+Sat Dec 22 18:29:39 UTC 2012 - l...@linux-schulserver.de
+
+- update to 2.14:
+  + Added configure option to allow bash command substitutions, 
+disabled by default [bug #400] (Eric Stanley)
+  + Patched to shutdown SSL connection completely (Jari Takkala)
+- enable bash command substitution in binary (disabled by config)
+- renamed the main package to nrpe to follow upstream 
+  (Provide/Obsolete the old package name)
+- placed nrpe.cfg in /etc now to allow running with Icinga only
+- add include directory /etc/nrpe.d to make future updates easier
+- increase check_procs warning (250) and critical (300) levels
+- use new rpm macro nagios_user_group_add for user-/groupadd
+- refreshed patches
+
+---
+Tue Nov 20 07:55:32 UTC 2012 - dims...@opensuse.org
+
+- Fix useradd invocation: -o is useless without -u and newer
+  versions of pwdutils/shadowutils fail on this now.
+
+---
+Thu Oct 11 12:35:28 UTC 2012 - l...@linux-schulserver.de
+
+- the plugin can also be used with icinga 
+  -> recommend monitoring_daemon instead
+
+---
+Sun Feb 26 03:20:19 UTC 2012 - l...@linux-schulserver.de
+
+- update to 2.13:
+  + Applied Kaspersky Labs supplied patch for extending 
+allowed_hosts (Konstantin Malov)
+  + Fixed bug in allowed_hosts parsing (Eric Stanley)
+- rebased patches
+- simplify (and disable) nrpe-more_random.patch 
+- added nrpe-implicit_declaration.patch
+- use macros from nagios-rpm-macros
+
+---
+Mon May 30 14:43:59 UTC 2011 - lr...@suse.de
+
+- specfile cleanup using spec-cleaner (add comments to patches)
+
+---
+Thu Feb 10 01:03:41 CET 2011 - r...@suse.de
+
+- add directory to filelist to fix build 
+
+---
+Mon Feb  7 21:08:55 UTC 2011 - l...@linux-schulserver.de
+
+- also package nrpe_check_control from contrib
+
+---
+Tue Dec  7 21:42:01 UTC 2010 - co...@novell.com
+
+- prereq init scripts syslog and network
+
+---
+Wed Sep 22 21:22:36 CEST 2010 - l...@linux-schulserver.de
+
+- use /var/lib/nagios as home directory (same as nagios package)
+
+---
+Sat Jul 10 07:31:13 UTC 2010 - l...@linux-schulserver.de
+
+- fix missing operand for dirname in init script
+
+---
+Mon May 24 07:58:16 UTC 2010 - l...@linux-schulserver.de
+
+- add netcfg to PreReq to have /etc/services installed 
+  (fixes bnc #608164 )
+
+---
+Wed May  5 15:45:05 UTC 2010 - l...@linux-schulserver.de
+
+- set default values in init script
+
+---
+Mon May  3 09:36:34 UTC 2010 - l...@linux-schulserver.de
+
+- fix file ownership in /etc
+- added nrpe manpage from debian
+- added adapted patches from Debian:
+  + nrpe-more_random.patch (overwrite the buffer with better 
+randomness)
+  + nrpe-improved_help.patch (list additional commandline options)
+  + nrpe-weird_output.patch (null the buffer before using it)
+  + nrpe-drop_privileges_before_writing_pidfile.patch (name says all)
+- added the following patches to fix compilation warnings:
+  + nrpe-return_value.patch
+  + nrpe-uninitialized_variable.patch
+  + nrpe-unused_variable.patch
+
+---
+Thu Apr 29 15:28:38 UTC 2010 - l...@linux-schulserver.de
+
+- use /var/run/nrp