Hello community, here is the log from the commit of package nagios for openSUSE:Factory checked in at 2018-10-18 15:38:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nagios (Old) and /work/SRC/openSUSE:Factory/.nagios.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nagios" Thu Oct 18 15:38:56 2018 rev:9 rq:642789 version:4.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/nagios/nagios.changes 2018-06-13 15:37:38.252430708 +0200 +++ /work/SRC/openSUSE:Factory/.nagios.new/nagios.changes 2018-10-18 15:39:11.470102365 +0200 @@ -1,0 +2,99 @@ +Mon Oct 15 07:55:03 UTC 2018 - l...@linux-schulserver.de - 4.4.2 + +- update to 4.4.2 +* Fix comment data being duplicated after a `service nagios reload` + or similar (#549) (Bryan Heden) +* Fix check_interval and retry_interval not changing at the + appropriate times (#551) (Scott Wilkerson) +* Fixed passive checks sending recovery email when host was + previously UP (#552) (Scott Wilkerson) +* Fixed flapping comments duplication on nagios reload (#554) + (Christian Jung) +* Fix for CVE-2018-13441, CVE-2018-13458, CVE-2018-13457 null + pointer dereference (Trevor McDonald) +* Fixed syntax error in file: default-init.in (#558) (Christian Zettel) +* Reset current notification number and state flags when the host recovers, + reset all service variables when they recover fixes (#557) (Scott Wilkerson) +* Fixed wrong counting of service status totals when showing + servicegroup details (#548) (Christian Zettel, Bryan Heden) +* Fixed avail.cgi not printing CSV output when checkbox is checked + (for any type: host/service/hostgroup/servicegroup) (#570) (Bryan Heden) +* Fixed nagios not logging SOFT state changes after 1 (Scott Wilkerson) + +4.4.1 - 2018-06-25 +------------------ +* Revert some macro->kvvec changes causing problems when + `enable_environment_macros` was enabled (Bryan Heden) +* Adjust `process_macro_r` function logic so that it handles + macros properly (Bryan Heden) +* Fix spec file for systemd (Karsten Weiss, Fr3dY, Bryan Heden) +* Fix bug where `ssize_t` typedef to int on some systems (Bryan Heden) + +4.4.0 - 2018-06-19 +------------------ +ENHANCEMENTS +* new status for check dependencies (John Frickson) +* Allow more flexible requirements for comments (John Frickson) +* Add a `statusCRITICALACK` class for the status column (John Frickson) +* CSV output based on groups (all options) (John Frickson) +* New Macro(s) to generate URL for host / service object to be + used in notifications (John Frickson) +* New Macro(s) to determine if host/service notifications are + enabled (#419) (Bryan Heden) +* New Macro(s) for obtaining the host/service notification + periods (#350) (Bryan Heden) +* enable_page_tour interface option (Bryan Heden) +* Code cleanups in important sections (Workers, Handling Results) (Bryan Heden) +* Automatic mail program detection (with same /bin/mail failback) (Bryan Heden) +* Incorporated [autoconf-macros](https://github.com/NagiosEnterprises/autoconf-macros) + into Core (Bryan Heden) +* Lots of enhancements/additions to configure/make process. (Bryan Heden) + + Moved all files to startup/ + + Added upstart job +* Added system limit detection (RLIMIT_NPROC) to check for anticipated + fork() failures (#434) (Bryan Heden) +* Added stalking on notifications (`N` or `notifications` option when + specifying `stalking_options`) (#342) (Bryan Heden) +* Added automatic `systemctl daemon-reload` and `initctl reload-configuration` + where applicable on `make install-init` (Bryan Heden) +* Added case-insentive command submission. (#373) (Bryan Heden) +* Enabled `check_external_commands` by default (Bryan Heden) +FIXES +* Command line macro detection skips potential macros with no ending + dollar sign (Bryan Heden, Jake Omann) +* Fixed a lockup condition sometimes encountered on shutdown or restart (Aaron Beck) +* Fixed negative time offset calculations computing incorrectly sometimes (bbeutel) +* Fixed reloads causing defunct (zombie) processes (#441) (Bryan Heden) +* Fixed wait3(), wait4() implementations (replaced with waitpid()) (#326) (Bryan Heden) +* Fixed additive inheritance not testing for duplicates in + hosts/services/(+escalations) (#392) (Bryan Heden) +* Fixed very very (around 600k chars or greater) large plugin + output crashing Nagios (#432) (Bryan Heden) +* Fixed first_notification_delay not beeing calculated from + last_hard_state_change (#425) (Christian Zettel) +* Fixed duplicate downtime ID occuring from downtimes in retention + file (#506) (Franz [feisenko]) +* Fixed segfault when navbarsearch was used in status.cgi for something + other than a host (#489) (Bryan Heden) +* Fixed some miscellaneous ./configure issues on Solaris (Bryan Heden, Troy Lea) +* Fixed "Locate host on map" link (#496) (Troy Lea) +* Fixed service groups defined with unknown service members + (that aren't first in the list) not erroring out (#500) (Bryan Heden) +* Fixed tac.cgi to have consistent behavior with the other cgis (#481) + (Bryan Heden, Matt Capra) +* Fixed clear_host/service_flapping command logic to broker/notify + properly (#525) (Bryan Heden, Karsten Weiss) + +- removed upstreamed patches: + + nagios-fix_spurious_dollar_signs_added_to_command_lines.patch + + nagios-4.3.4-fix_memleak_4.3.3.diff +- refreshed patches: + + nagios-4.0.6-remove-date-time.patch + + nagios-4.1.0-add_KOHANNA.conf + + nagios-4.2.2-enable-ppc64le.patch + + nagios-disable_phone_home.patch + + nagios-fix_encoding_trends.cgi.patch + + nagios-output-length.patch + + nagios-random_data.patch + +------------------------------------------------------------------- Old: ---- nagios-4.3.4-fix_memleak_4.3.3.diff nagios-4.3.4.tar.gz nagios-fix_spurious_dollar_signs_added_to_command_lines.patch New: ---- nagios-4.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nagios.spec ++++++ --- /var/tmp/diff_new_pack.HqYihO/_old 2018-10-18 15:39:12.430101272 +0200 +++ /var/tmp/diff_new_pack.HqYihO/_new 2018-10-18 15:39:12.434101267 +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/ # @@ -28,7 +28,7 @@ %endif Name: nagios -Version: 4.3.4 +Version: 4.4.2 Release: 0 Summary: The Nagios Network Monitor License: GPL-2.0-or-later @@ -48,8 +48,6 @@ Source12: %{name}.service Source13: %{name}.tmpfiles Source20: %{name}-rpmlintrc -# PATCH-FIX-UPSTREAM Fixes the output of spurious $ signs in commandoutput (deb#480001) -Patch2: nagios-fix_spurious_dollar_signs_added_to_command_lines.patch # PATCH-FIX-UPSTREAM unescape hex characters in CGI input - avoid addional '+' Patch3: nagios-fix_encoding_trends.cgi.patch # PATCH-FIX-UPSTREAM return 1 in int main() @@ -64,8 +62,6 @@ Patch17: nagios-4.1.0-add_KOHANNA.conf # PATCH-FIX-UPSTREAM allow ppc64le builds in contrib Makefile Patch18: nagios-4.2.2-enable-ppc64le.patch -# PATCH-FIX-UPSTREAM fix memleak in macros.c introduced with 4.3.3 -Patch19: nagios-4.3.4-fix_memleak_4.3.3.diff BuildRequires: doxygen # yes: we still build for SLE10 %if 0%{?suse_version} > 1020 @@ -230,7 +226,6 @@ %prep %setup -q -%patch2 -p1 %patch3 -p1 %patch4 -p1 %patch11 -p1 @@ -238,10 +233,9 @@ %patch16 -p1 %patch17 -p1 %patch18 -p1 -%patch19 -p1 find -name ".gitignore" | xargs rm # fixing permissions the dirty way.... -chmod 644 Changelog LEGAL LICENSE README sample-config/README sample-config/template-object/README +chmod 644 Changelog LEGAL LICENSE README.md sample-config/README sample-config/template-object/README # README.SuSE file sed -e 's@DATADIR@%{_datadir}/%{name}@g' -e 's@SYSCONFDIR@%{nagios_sysconfdir}@g' %{SOURCE10} > README.SUSE # we do not use /usr/local ... @@ -520,7 +514,7 @@ %files %defattr(0644,root,root,0755) -%doc Changelog LEGAL LICENSE README README.SUSE UPGRADING THANKS sample-config/ +%doc Changelog LEGAL LICENSE README.md README.SUSE UPGRADING THANKS sample-config/ %dir %{nagios_libdir} %dir %{nagios_plugindir} %exclude %{nagios_cgidir}/* ++++++ nagios-4.0.6-remove-date-time.patch ++++++ --- /var/tmp/diff_new_pack.HqYihO/_old 2018-10-18 15:39:12.466101231 +0200 +++ /var/tmp/diff_new_pack.HqYihO/_new 2018-10-18 15:39:12.466101231 +0200 @@ -1,7 +1,7 @@ -Index: nagios-4.3.1/cgi/archivejson.c +Index: nagios-4.4.2/cgi/archivejson.c =================================================================== ---- nagios-4.3.1.orig/cgi/archivejson.c -+++ nagios-4.3.1/cgi/archivejson.c +--- nagios-4.4.2.orig/cgi/archivejson.c ++++ nagios-4.4.2/cgi/archivejson.c @@ -761,7 +761,7 @@ int main(void) { json_result(query_time, THISCGI, svm_get_string_from_value(cgi_data.query, valid_queries), @@ -11,10 +11,10 @@ RESULT_SUCCESS, "")); json_object_append_object(json_root, "data", json_help(archive_json_help)); -Index: nagios-4.3.1/cgi/objectjson.c +Index: nagios-4.4.2/cgi/objectjson.c =================================================================== ---- nagios-4.3.1.orig/cgi/objectjson.c -+++ nagios-4.3.1/cgi/objectjson.c +--- nagios-4.4.2.orig/cgi/objectjson.c ++++ nagios-4.4.2/cgi/objectjson.c @@ -1130,7 +1130,7 @@ int main(void) { json_result(query_time, THISCGI, svm_get_string_from_value(cgi_data.query, valid_queries), @@ -24,10 +24,10 @@ RESULT_SUCCESS, "")); json_object_append_object(json_root, "data", json_help(object_json_help)); break; -Index: nagios-4.3.1/cgi/statusjson.c +Index: nagios-4.4.2/cgi/statusjson.c =================================================================== ---- nagios-4.3.1.orig/cgi/statusjson.c -+++ nagios-4.3.1/cgi/statusjson.c +--- nagios-4.4.2.orig/cgi/statusjson.c ++++ nagios-4.4.2/cgi/statusjson.c @@ -1135,7 +1135,7 @@ int main(void) { json_result(query_time, THISCGI, svm_get_string_from_value(cgi_data.query, valid_queries), ++++++ nagios-4.1.0-add_KOHANNA.conf ++++++ --- /var/tmp/diff_new_pack.HqYihO/_old 2018-10-18 15:39:12.474101222 +0200 +++ /var/tmp/diff_new_pack.HqYihO/_new 2018-10-18 15:39:12.474101222 +0200 @@ -1,7 +1,7 @@ -Index: nagios-4.3.1/sample-config/httpd.conf.in +Index: nagios-4.4.2/sample-config/httpd.conf.in =================================================================== ---- nagios-4.3.1.orig/sample-config/httpd.conf.in -+++ nagios-4.3.1/sample-config/httpd.conf.in +--- nagios-4.4.2.orig/sample-config/httpd.conf.in ++++ nagios-4.4.2/sample-config/httpd.conf.in @@ -65,4 +65,7 @@ Alias @htmurl@ "@datadir@" AuthUserFile @sysconfdir@/htpasswd.users Require valid-user ++++++ nagios-4.2.2-enable-ppc64le.patch ++++++ --- /var/tmp/diff_new_pack.HqYihO/_old 2018-10-18 15:39:12.482101212 +0200 +++ /var/tmp/diff_new_pack.HqYihO/_new 2018-10-18 15:39:12.482101212 +0200 @@ -1,7 +1,7 @@ -Index: nagios-4.3.1/contrib/Makefile.in +Index: nagios-4.4.2/contrib/Makefile.in =================================================================== ---- nagios-4.3.1.orig/contrib/Makefile.in -+++ nagios-4.3.1/contrib/Makefile.in +--- nagios-4.4.2.orig/contrib/Makefile.in ++++ nagios-4.4.2/contrib/Makefile.in @@ -95,7 +95,7 @@ else ifeq ($(ARCH),i686) RPM_ARCH := i386 ++++++ nagios-4.3.4.tar.gz -> nagios-4.4.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/nagios/nagios-4.3.4.tar.gz /work/SRC/openSUSE:Factory/.nagios.new/nagios-4.4.2.tar.gz differ: char 5, line 1 ++++++ nagios-disable_phone_home.patch ++++++ --- /var/tmp/diff_new_pack.HqYihO/_old 2018-10-18 15:39:12.510101181 +0200 +++ /var/tmp/diff_new_pack.HqYihO/_new 2018-10-18 15:39:12.510101181 +0200 @@ -1,8 +1,8 @@ -Index: nagios-4.3.1/base/utils.c +Index: nagios-4.4.2/base/utils.c =================================================================== ---- nagios-4.3.1.orig/base/utils.c -+++ nagios-4.3.1/base/utils.c -@@ -3156,122 +3156,6 @@ int check_for_nagios_updates(int force, +--- nagios-4.4.2.orig/base/utils.c ++++ nagios-4.4.2/base/utils.c +@@ -3297,122 +3297,6 @@ int check_for_nagios_updates(int force, /* checks for updates at api.nagios.org */ int query_update_api(void) { ++++++ nagios-fix_encoding_trends.cgi.patch ++++++ --- /var/tmp/diff_new_pack.HqYihO/_old 2018-10-18 15:39:12.526101162 +0200 +++ /var/tmp/diff_new_pack.HqYihO/_new 2018-10-18 15:39:12.526101162 +0200 @@ -2,11 +2,11 @@ cgi/getcgi.c | 3 +++ 1 file changed, 3 insertions(+) -Index: nagios-4.3.1/cgi/getcgi.c +Index: nagios-4.4.2/cgi/getcgi.c =================================================================== ---- nagios-4.3.1.orig/cgi/getcgi.c -+++ nagios-4.3.1/cgi/getcgi.c -@@ -95,6 +95,9 @@ void unescape_cgi_input(char *input) { +--- nagios-4.4.2.orig/cgi/getcgi.c ++++ nagios-4.4.2/cgi/getcgi.c +@@ -93,6 +93,9 @@ void unescape_cgi_input(char *input) { break; else if(input[x] == '%') { input[y] = hex_to_char(&input[x + 1]); ++++++ nagios-output-length.patch ++++++ --- /var/tmp/diff_new_pack.HqYihO/_old 2018-10-18 15:39:12.534101153 +0200 +++ /var/tmp/diff_new_pack.HqYihO/_new 2018-10-18 15:39:12.538101149 +0200 @@ -1,8 +1,8 @@ -Index: nagios-4.3.1/cgi/extinfo.c +Index: nagios-4.4.2/cgi/extinfo.c =================================================================== ---- nagios-4.3.1.orig/cgi/extinfo.c -+++ nagios-4.3.1/cgi/extinfo.c -@@ -57,7 +57,7 @@ extern hoststatus *hoststatus_list; +--- nagios-4.4.2.orig/cgi/extinfo.c ++++ nagios-4.4.2/cgi/extinfo.c +@@ -58,7 +58,7 @@ extern hoststatus *hoststatus_list; extern servicestatus *servicestatus_list; @@ -11,11 +11,11 @@ #define HEALTH_WARNING_PERCENTAGE 85 #define HEALTH_CRITICAL_PERCENTAGE 75 -Index: nagios-4.3.1/cgi/status.c +Index: nagios-4.4.2/cgi/status.c =================================================================== ---- nagios-4.3.1.orig/cgi/status.c -+++ nagios-4.3.1/cgi/status.c -@@ -64,7 +64,7 @@ extern servicestatus *servicestatus_list +--- nagios-4.4.2.orig/cgi/status.c ++++ nagios-4.4.2/cgi/status.c +@@ -65,7 +65,7 @@ extern servicestatus *servicestatus_list static nagios_macros *mac; @@ -24,11 +24,11 @@ #define DISPLAY_HOSTS 0 #define DISPLAY_HOSTGROUPS 1 -Index: nagios-4.3.1/include/common.h +Index: nagios-4.4.2/include/common.h =================================================================== ---- nagios-4.3.1.orig/include/common.h -+++ nagios-4.3.1/include/common.h -@@ -507,7 +507,7 @@ extern const char *cmd_error_strerror(in +--- nagios-4.4.2.orig/include/common.h ++++ nagios-4.4.2/include/common.h +@@ -508,7 +508,7 @@ extern const char *cmd_error_strerror(in #define MAX_FILENAME_LENGTH 256 /* max length of path/filename that Nagios will process */ #define MAX_INPUT_BUFFER 1024 /* size in bytes of max. input buffer (for reading files, misc stuff) */ #define MAX_COMMAND_BUFFER 8192 /* max length of raw or processed command line */ @@ -37,11 +37,11 @@ #define MAX_DATETIME_LENGTH 48 -Index: nagios-4.3.1/include/nagios.h +Index: nagios-4.4.2/include/nagios.h =================================================================== ---- nagios-4.3.1.orig/include/nagios.h -+++ nagios-4.3.1/include/nagios.h -@@ -270,7 +270,7 @@ extern struct load_control loadctl; +--- nagios-4.4.2.orig/include/nagios.h ++++ nagios-4.4.2/include/nagios.h +@@ -277,7 +277,7 @@ extern struct load_control loadctl; of MAX_EXTERNAL_COMMAND_LENGTH in common.h to allow for passive checks results received through the external command file. EG 10/19/07 */ ++++++ nagios-random_data.patch ++++++ --- /var/tmp/diff_new_pack.HqYihO/_old 2018-10-18 15:39:12.546101140 +0200 +++ /var/tmp/diff_new_pack.HqYihO/_new 2018-10-18 15:39:12.546101140 +0200 @@ -1,8 +1,8 @@ -Index: nagios-4.3.1/worker/ping/worker-ping.c +Index: nagios-4.4.2/worker/ping/worker-ping.c =================================================================== ---- nagios-4.3.1.orig/worker/ping/worker-ping.c -+++ nagios-4.3.1/worker/ping/worker-ping.c -@@ -84,6 +84,7 @@ main( int argc, char **argv, char **env) +--- nagios-4.4.2.orig/worker/ping/worker-ping.c ++++ nagios-4.4.2/worker/ping/worker-ping.c +@@ -84,6 +84,7 @@ int main( int argc, char **argv, char ** if( worker( worker_socket)) { exit( 1); }