commit health-check for openSUSE:Factory
Hello community, here is the log from the commit of package health-check for openSUSE:Factory checked in at 2020-08-06 10:42:56 Comparing /work/SRC/openSUSE:Factory/health-check (Old) and /work/SRC/openSUSE:Factory/.health-check.new.3399 (New) Package is "health-check" Thu Aug 6 10:42:56 2020 rev:10 rq:824540 version:0.03.09 Changes: --- /work/SRC/openSUSE:Factory/health-check/health-check.changes 2020-04-27 23:34:47.675103546 +0200 +++ /work/SRC/openSUSE:Factory/.health-check.new.3399/health-check.changes 2020-08-06 10:43:11.590152283 +0200 @@ -1,0 +2,7 @@ +Tue Aug 4 17:40:25 UTC 2020 - Martin Hauke + +- Update to version 0.03.09: + * net: don't throw warning messages when /proc file can't be +opened + +--- Old: health-check-0.03.07.tar.gz New: health-check-0.03.09.tar.gz Other differences: -- ++ health-check.spec ++ --- /var/tmp/diff_new_pack.zjSQP5/_old 2020-08-06 10:43:14.506153743 +0200 +++ /var/tmp/diff_new_pack.zjSQP5/_new 2020-08-06 10:43:14.510153746 +0200 @@ -18,7 +18,7 @@ Name: health-check -Version:0.03.07 +Version:0.03.09 Release:0 Summary:Process monitoring tool License:GPL-2.0-or-later ++ health-check-0.03.07.tar.gz -> health-check-0.03.09.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.07/Makefile new/health-check-0.03.09/Makefile --- old/health-check-0.03.07/Makefile 2020-04-24 16:07:02.0 +0200 +++ new/health-check-0.03.09/Makefile 2020-08-03 16:36:05.0 +0200 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.03.07 +VERSION=0.03.09 # # Codename "Where have all my cycles gone?" # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.07/net.c new/health-check-0.03.09/net.c --- old/health-check-0.03.07/net.c 2020-04-24 16:07:02.0 +0200 +++ new/health-check-0.03.09/net.c 2020-08-03 16:36:05.0 +0200 @@ -674,10 +674,8 @@ return -1; } - if ((fp = fopen(procfile, "r")) == NULL) { - fprintf(stderr, "Cannot open %s.\n", procfile); + if ((fp = fopen(procfile, "r")) == NULL) return -1; - } for (i = 0; fgets(buf, sizeof(buf), fp) != NULL; i++) { net_addr_info_t new_addr;
commit health-check for openSUSE:Factory
Hello community, here is the log from the commit of package health-check for openSUSE:Factory checked in at 2020-04-27 23:34:36 Comparing /work/SRC/openSUSE:Factory/health-check (Old) and /work/SRC/openSUSE:Factory/.health-check.new.2738 (New) Package is "health-check" Mon Apr 27 23:34:36 2020 rev:9 rq:797640 version:0.03.07 Changes: --- /work/SRC/openSUSE:Factory/health-check/health-check.changes 2020-03-08 22:25:04.284112040 +0100 +++ /work/SRC/openSUSE:Factory/.health-check.new.2738/health-check.changes 2020-04-27 23:34:47.675103546 +0200 @@ -1,0 +2,7 @@ +Fri Apr 24 15:06:33 UTC 2020 - Martin Hauke + +- Update to version 0.03.07 + * net.c: move declaration of send_total recv_total fix build +failure + +--- Old: health-check-0.03.06.tar.gz New: health-check-0.03.07.tar.gz Other differences: -- ++ health-check.spec ++ --- /var/tmp/diff_new_pack.2ojAH1/_old 2020-04-27 23:34:48.559105271 +0200 +++ /var/tmp/diff_new_pack.2ojAH1/_new 2020-04-27 23:34:48.563105279 +0200 @@ -18,7 +18,7 @@ Name: health-check -Version:0.03.06 +Version:0.03.07 Release:0 Summary:Process monitoring tool License:GPL-2.0-or-later ++ health-check-0.03.06.tar.gz -> health-check-0.03.07.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.06/Makefile new/health-check-0.03.07/Makefile --- old/health-check-0.03.06/Makefile 2020-02-26 18:28:50.0 +0100 +++ new/health-check-0.03.07/Makefile 2020-04-24 16:07:02.0 +0200 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.03.06 +VERSION=0.03.07 # # Codename "Where have all my cycles gone?" # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.06/net.c new/health-check-0.03.07/net.c --- old/health-check-0.03.06/net.c 2020-02-26 18:28:51.0 +0100 +++ new/health-check-0.03.07/net.c 2020-04-24 16:07:02.0 +0200 @@ -467,9 +467,9 @@ list_t dump_info_list; list_t sorted; int i; + uint64_t send_total = 0, recv_total = 0; #ifdef JSON_OUTPUT json_object *j_net_test = NULL, *j_net_infos = NULL, *j_net_info; - uint64_t send_total = 0, recv_total = 0; #else (void)j_tests; (void)duration;
commit health-check for openSUSE:Factory
Hello community, here is the log from the commit of package health-check for openSUSE:Factory checked in at 2020-03-08 22:24:52 Comparing /work/SRC/openSUSE:Factory/health-check (Old) and /work/SRC/openSUSE:Factory/.health-check.new.26092 (New) Package is "health-check" Sun Mar 8 22:24:52 2020 rev:8 rq:782692 version:0.03.06 Changes: --- /work/SRC/openSUSE:Factory/health-check/health-check.changes 2019-12-18 14:48:42.737949427 +0100 +++ /work/SRC/openSUSE:Factory/.health-check.new.26092/health-check.changes 2020-03-08 22:25:04.284112040 +0100 @@ -1,0 +2,22 @@ +Sun Mar 8 13:19:50 UTC 2020 - Martin Hauke + +- Supplement against bash-completion, not bash + +--- +Sun Mar 8 12:52:57 UTC 2020 - Martin Hauke + +- Drop SLE12 compat ifdef + +--- +Wed Feb 26 19:34:58 UTC 2020 - Martin Hauke + +- Update to version 0.03.06 + * Add bash completion script + +--- +Mon Jan 13 21:17:54 UTC 2020 - Martin Hauke + +- Update to version 0.03.05 + * pid: sanity check for null return from basename call + +--- Old: health-check-0.03.04.tar.gz New: health-check-0.03.06.tar.gz Other differences: -- ++ health-check.spec ++ --- /var/tmp/diff_new_pack.HiPzAF/_old 2020-03-08 22:25:05.404112731 +0100 +++ /var/tmp/diff_new_pack.HiPzAF/_new 2020-03-08 22:25:05.428112746 +0100 @@ -1,7 +1,7 @@ # # spec file for package health-check # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: health-check -Version:0.03.04 +Version:0.03.06 Release:0 Summary:Process monitoring tool License:GPL-2.0-or-later @@ -36,12 +36,23 @@ events generated and I/O operations of the given processes. It can be used to diagnose unhealthy bad processes. +%package bash-completion +Summary:Bash Completion for %{name} +Group: System/Benchmark +Requires: %{name} = %{version} +Requires: bash-completion +Supplements:(health-check and bash-completion) +BuildArch: noarch + +%description bash-completion +Bash completion script for %{name}. + %prep %setup -q %build export CFLAGS="%{optflags}" -make %{?_smp_mflags} +%make_build %install %make_install @@ -51,4 +62,7 @@ %{_bindir}/health-check %{_mandir}/man8/health-check.8%{?ext_man} +%files bash-completion +%{_datadir}/bash-completion/completions/%{name} + %changelog ++ health-check-0.03.04.tar.gz -> health-check-0.03.06.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.04/Makefile new/health-check-0.03.06/Makefile --- old/health-check-0.03.04/Makefile 2019-12-16 14:01:05.0 +0100 +++ new/health-check-0.03.06/Makefile 2020-02-26 18:28:50.0 +0100 @@ -1,5 +1,5 @@ # -# Copyright (C) 2013-2019 Canonical, Ltd. +# Copyright (C) 2013-2020 Canonical, Ltd. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.03.04 +VERSION=0.03.06 # # Codename "Where have all my cycles gone?" # @@ -45,6 +45,7 @@ BINDIR=/usr/bin MANDIR=/usr/share/man/man8 +BASHDIR=/usr/share/bash-completion/completions OBJS = list.o pid.o proc.o net.o syscall.o timeval.o \ fnotify.o cpustat.o mem.o ctxt-switch.o health-check.o @@ -88,7 +89,7 @@ rm -rf health-check-$(VERSION) mkdir health-check-$(VERSION) cp -rp Makefile *.c *.h .travis.yml scripts health-check.8 \ - COPYING health-check-$(VERSION) + bash-completion COPYING health-check-$(VERSION) tar -zcf health-check-$(VERSION).tar.gz health-check-$(VERSION) rm -rf health-check-$(VERSION) @@ -102,3 +103,5 @@ cp health-check ${DESTDIR}${BINDIR} mkdir -p ${DESTDIR}${MANDIR} cp health-check.8.gz ${DESTDIR}${MANDIR} + mkdir -p ${DESTDIR}${BASHDIR} + cp bash-completion/health-check ${DESTDIR}${BASHDIR} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.04/bash-completion/health-check new/health-check-0.03.06/bash-completion/health-check --- old/health-c
commit health-check for openSUSE:Factory
Hello community, here is the log from the commit of package health-check for openSUSE:Factory checked in at 2019-12-18 14:46:19 Comparing /work/SRC/openSUSE:Factory/health-check (Old) and /work/SRC/openSUSE:Factory/.health-check.new.4691 (New) Package is "health-check" Wed Dec 18 14:46:19 2019 rev:7 rq:757631 version:0.03.04 Changes: --- /work/SRC/openSUSE:Factory/health-check/health-check.changes 2019-06-17 10:34:24.757232026 +0200 +++ /work/SRC/openSUSE:Factory/.health-check.new.4691/health-check.changes 2019-12-18 14:48:42.737949427 +0100 @@ -1,0 +2,15 @@ +Tue Dec 17 19:35:34 UTC 2019 - Martin Hauke + +- Update to version 0.03.04 + * syscall: handle a null return from localtime + * set *inode to zero to clear up a static analysis false warning + * ignore return from proc_pids_add_proc + * net: pass size of link string in net_get_inode_by_path + +--- +Tue Aug 27 09:47:44 UTC 2019 - Martin Hauke + +- Update to version 0.03.03 + * No functional changes + +--- Old: health-check-0.03.01.tar.gz New: health-check-0.03.04.tar.gz Other differences: -- ++ health-check.spec ++ --- /var/tmp/diff_new_pack.blLWNi/_old 2019-12-18 14:48:43.045949568 +0100 +++ /var/tmp/diff_new_pack.blLWNi/_new 2019-12-18 14:48:43.045949568 +0100 @@ -18,7 +18,7 @@ Name: health-check -Version:0.03.01 +Version:0.03.04 Release:0 Summary:Process monitoring tool License:GPL-2.0-or-later ++ health-check-0.03.01.tar.gz -> health-check-0.03.04.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.01/.travis.yml new/health-check-0.03.04/.travis.yml --- old/health-check-0.03.01/.travis.yml2019-06-14 15:18:49.0 +0200 +++ new/health-check-0.03.04/.travis.yml2019-12-16 14:01:05.0 +0100 @@ -1,4 +1,4 @@ -dist: trusty +dist: bionic sudo: required matrix: @@ -10,6 +10,7 @@ - sudo apt-get install build-essential - sudo apt-get install libjson-c-dev || true - sudo apt-get install libjson0-dev || true +- sudo apt-get install libbsd-dev || true language: c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.01/Makefile new/health-check-0.03.04/Makefile --- old/health-check-0.03.01/Makefile 2019-06-14 15:18:49.0 +0200 +++ new/health-check-0.03.04/Makefile 2019-12-16 14:01:05.0 +0100 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.03.01 +VERSION=0.03.04 # # Codename "Where have all my cycles gone?" # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.01/net.c new/health-check-0.03.04/net.c --- old/health-check-0.03.01/net.c 2019-06-14 15:18:49.0 +0200 +++ new/health-check-0.03.04/net.c 2019-12-16 14:01:05.0 +0100 @@ -170,11 +170,12 @@ * net_get_inode_by_path() * given a /proc/$pid/fd/fdnum path, look up a network inode */ -static int net_get_inode_by_path(const char *path, uint64_t *inode, char *link) +static int net_get_inode_by_path(const char *path, uint64_t *inode, char *link, const size_t link_len) { ssize_t len; + *inode = 0; - if ((len = readlink(path, link, PATH_MAX)) < 0) { + if ((len = readlink(path, link, link_len - 1)) < 0) { *link = '\0'; return -1; } @@ -188,12 +189,12 @@ */ static net_hash_t *net_cache_inode_by_pid_and_fd(const pid_t pid, const int fd) { - char path[PATH_MAX], link[PATH_MAX]; + char path[PATH_MAX], link[PATH_MAX + 1]; uint64_t inode; net_hash_t *nh = NULL; snprintf(path, sizeof(path), "/proc/%i/fd/%i", pid, fd); - if (net_get_inode_by_path(path, &inode, link) != -1) + if (net_get_inode_by_path(path, &inode, link, sizeof(link)) != -1) nh = net_hash_add(link, inode, pid, fd); return nh; @@ -245,7 +246,7 @@ while ((d = readdir(fds)) != NULL) { uint64_t inode; char tmp[PATH_MAX + sizeof(d->d_name) + 2]; - char link[PATH_MAX]; + char link[PATH_MAX + 1]; uint32_t fd; if (d->d_name[0] == '.') @@ -254,7 +255,7 @@ continue; snprintf(tmp, sizeof(tmp), "%s/%s", path, d->d_name); - if (net_get_inode_by_path(tmp,
commit health-check for openSUSE:Factory
Hello community, here is the log from the commit of package health-check for openSUSE:Factory checked in at 2019-06-17 10:34:06 Comparing /work/SRC/openSUSE:Factory/health-check (Old) and /work/SRC/openSUSE:Factory/.health-check.new.4811 (New) Package is "health-check" Mon Jun 17 10:34:06 2019 rev:6 rq:710106 version:0.03.01 Changes: --- /work/SRC/openSUSE:Factory/health-check/health-check.changes 2018-07-12 09:21:32.162617506 +0200 +++ /work/SRC/openSUSE:Factory/.health-check.new.4811/health-check.changes 2019-06-17 10:34:24.757232026 +0200 @@ -1,0 +2,12 @@ +Fri Jun 14 22:04:13 UTC 2019 - Martin Hauke + +- Update to version 0.03.01 + * Use safer strlcpy instead of strncpy + * Remove events.h and references to timer stats + * Fix buffer truncation warnings from gcc-9 + * Specify trusty in travis file + * Add older package name for json c +- Add BuildRequires: pkgconfig(libbsd) +- Use https for Source and URL + +--- Old: health-check-0.03.00.tar.gz New: health-check-0.03.01.tar.gz Other differences: -- ++ health-check.spec ++ --- /var/tmp/diff_new_pack.xtdOaK/_old 2019-06-17 10:34:25.241231785 +0200 +++ /var/tmp/diff_new_pack.xtdOaK/_new 2019-06-17 10:34:25.241231785 +0200 @@ -1,7 +1,7 @@ # # spec file for package health-check # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -13,20 +13,21 @@ # 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/ # Name: health-check -Version:0.03.00 +Version:0.03.01 Release:0 Summary:Process monitoring tool License:GPL-2.0-or-later Group: System/Monitoring -URL:http://kernel.ubuntu.com/~cking/health-check -Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz +URL:https://kernel.ubuntu.com/~cking/health-check +Source: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz BuildRequires: pkgconfig BuildRequires: pkgconfig(json-c) +BuildRequires: pkgconfig(libbsd) %description Health-check monitors processes and optionally their child ++ health-check-0.03.00.tar.gz -> health-check-0.03.01.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.00/.travis.yml new/health-check-0.03.01/.travis.yml --- old/health-check-0.03.00/.travis.yml1970-01-01 01:00:00.0 +0100 +++ new/health-check-0.03.01/.travis.yml2019-06-14 15:18:49.0 +0200 @@ -0,0 +1,17 @@ +dist: trusty +sudo: required + +matrix: +include: +- env: PEDANTIC=1 + +before_install: +- sudo apt-get update -q +- sudo apt-get install build-essential +- sudo apt-get install libjson-c-dev || true +- sudo apt-get install libjson0-dev || true + +language: c + +script: +- make -j2 PEDANTIC=$PEDANTIC diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.03.00/Makefile new/health-check-0.03.01/Makefile --- old/health-check-0.03.00/Makefile 2018-06-16 20:55:48.0 +0200 +++ new/health-check-0.03.01/Makefile 2019-06-14 15:18:49.0 +0200 @@ -1,5 +1,5 @@ # -# Copyright (C) 2013-2018 Canonical, Ltd. +# Copyright (C) 2013-2019 Canonical, Ltd. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.03.00 +VERSION=0.03.01 # # Codename "Where have all my cycles gone?" # @@ -34,7 +34,7 @@ -Wno-missing-braces -Wno-sign-compare -Wno-multichar endif -LDFLAGS += -lpthread +LDFLAGS += -lpthread -lbsd ifeq ($(JSON_OUTPUT),y) LDFLAGS += -ljson-c CFLAGS += -DJSON_OUTPUT @@ -62,12 +62,10 @@ ctxt-switch.o: ctxt-switch.c list.h json.h ctxt-switch.h health-check.h -event.o: event.c list.h json.h event.h health-check.h - fnotify.o: fnotify.c fnotify.h list.h json.h proc.h health-check.h health-check.o: health-check.c list.h json.h pid.h proc.h syscall.h timeval.h \ - fnotify.h event.h cpustat.h mem.h net.h ctxt-switch.h + fnotify.h cpustat.h
commit health-check for openSUSE:Factory
Hello community, here is the log from the commit of package health-check for openSUSE:Factory checked in at 2018-07-12 09:19:40 Comparing /work/SRC/openSUSE:Factory/health-check (Old) and /work/SRC/openSUSE:Factory/.health-check.new (New) Package is "health-check" Thu Jul 12 09:19:40 2018 rev:5 rq:622037 version:0.03.00 Changes: --- /work/SRC/openSUSE:Factory/health-check/health-check.changes 2018-01-09 14:53:54.485791325 +0100 +++ /work/SRC/openSUSE:Factory/.health-check.new/health-check.changes 2018-07-12 09:21:32.162617506 +0200 @@ -1,0 +2,11 @@ +Sun Jun 17 15:05:21 UTC 2018 - mar...@gmx.de + +- Update to version 0.03.00 + * Makefile: bump version to 3.0 + * debian/copyright: use secure URI + * debian/compat: update to 11 + * debian/control: set debhelper version to >=11 + * debian/control: remove empty last line + * remove event metrics since newer kernels don't support this API + +--- Old: health-check-0.02.09.tar.gz New: health-check-0.03.00.tar.gz Other differences: -- ++ health-check.spec ++ --- /var/tmp/diff_new_pack.BIW2Yg/_old 2018-07-12 09:21:32.654618195 +0200 +++ /var/tmp/diff_new_pack.BIW2Yg/_new 2018-07-12 09:21:32.658618201 +0200 @@ -18,16 +18,15 @@ Name: health-check -Version:0.02.09 +Version:0.03.00 Release:0 Summary:Process monitoring tool -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Monitoring -Url:http://kernel.ubuntu.com/~cking/health-check +URL:http://kernel.ubuntu.com/~cking/health-check Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(json-c) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Health-check monitors processes and optionally their child @@ -47,9 +46,8 @@ %make_install %files -%defattr(-,root,root) -%doc COPYING +%license COPYING %{_bindir}/health-check -%{_mandir}/man8/health-check.8%{ext_man} +%{_mandir}/man8/health-check.8%{?ext_man} %changelog ++ health-check-0.02.09.tar.gz -> health-check-0.03.00.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.09/Makefile new/health-check-0.03.00/Makefile --- old/health-check-0.02.09/Makefile 2018-01-05 11:50:13.0 +0100 +++ new/health-check-0.03.00/Makefile 2018-06-16 20:55:48.0 +0200 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.02.09 +VERSION=0.03.00 # # Codename "Where have all my cycles gone?" # @@ -47,7 +47,7 @@ MANDIR=/usr/share/man/man8 OBJS = list.o pid.o proc.o net.o syscall.o timeval.o \ - fnotify.o event.o cpustat.o mem.o ctxt-switch.o health-check.o + fnotify.o cpustat.o mem.o ctxt-switch.o health-check.o ifeq ($(JSON_OUTPUT),y) OBJS += json.o endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.09/event.c new/health-check-0.03.00/event.c --- old/health-check-0.02.09/event.c2018-01-05 11:50:13.0 +0100 +++ new/health-check-0.03.00/event.c1970-01-01 01:00:00.0 +0100 @@ -1,385 +0,0 @@ -/* - * Copyright (C) 2013-2018 Canonical, Ltd. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * Author: Colin Ian King - */ -#define _GNU_SOURCE - -#include -#include -#include -#include -#include -#include - -#include "list.h" -#include "json.h" -#include "event.h" -#include "health-check.h" - -static list_t event_info_start, event_info_finish; -static bool timer_stats = true; - -/* - * event_timer_stat_set() - * enable/disable timer stat - */ -static int event_timer_stat_set(const char *str) -{ - FILE *fp; - - if ((fp = fopen(TIMER_STATS, "w")) == NULL) -
commit health-check for openSUSE:Factory
Hello community, here is the log from the commit of package health-check for openSUSE:Factory checked in at 2018-01-09 14:53:54 Comparing /work/SRC/openSUSE:Factory/health-check (Old) and /work/SRC/openSUSE:Factory/.health-check.new (New) Package is "health-check" Tue Jan 9 14:53:54 2018 rev:4 rq:562317 version:0.02.09 Changes: --- /work/SRC/openSUSE:Factory/health-check/health-check.changes 2017-10-30 21:19:03.449947876 +0100 +++ /work/SRC/openSUSE:Factory/.health-check.new/health-check.changes 2018-01-09 14:53:54.485791325 +0100 @@ -1,0 +2,11 @@ +Fri Jan 5 21:34:00 UTC 2018 - mar...@gmx.de + +- update to version 0.02.09 + * Makefile: bump version + * debian/control: update Standards-Version to 4.1.2 + * health-check: unconstify metadata to clean up build warning + * syscall: remove extraneous pid_size declaration + * fnotify: fix build warning, include + * Update copyright year + +--- Old: health-check-0.02.08.tar.gz New: health-check-0.02.09.tar.gz Other differences: -- ++ health-check.spec ++ --- /var/tmp/diff_new_pack.vmKlhN/_old 2018-01-09 14:53:55.125761323 +0100 +++ /var/tmp/diff_new_pack.vmKlhN/_new 2018-01-09 14:53:55.125761323 +0100 @@ -1,7 +1,7 @@ # # spec file for package health-check # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: health-check -Version:0.02.08 +Version:0.02.09 Release:0 Summary:Process monitoring tool License:GPL-2.0+ ++ health-check-0.02.08.tar.gz -> health-check-0.02.09.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.08/Makefile new/health-check-0.02.09/Makefile --- old/health-check-0.02.08/Makefile 2017-10-19 19:25:49.0 +0200 +++ new/health-check-0.02.09/Makefile 2018-01-05 11:50:13.0 +0100 @@ -1,5 +1,5 @@ # -# Copyright (C) 2013-2017 Canonical, Ltd. +# Copyright (C) 2013-2018 Canonical, Ltd. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.02.08 +VERSION=0.02.09 # # Codename "Where have all my cycles gone?" # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.08/cpustat.c new/health-check-0.02.09/cpustat.c --- old/health-check-0.02.08/cpustat.c 2017-10-19 19:25:49.0 +0200 +++ new/health-check-0.02.09/cpustat.c 2018-01-05 11:50:13.0 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2017 Canonical, Ltd. + * Copyright (C) 2013-2018 Canonical, Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.08/ctxt-switch.c new/health-check-0.02.09/ctxt-switch.c --- old/health-check-0.02.08/ctxt-switch.c 2017-10-19 19:25:49.0 +0200 +++ new/health-check-0.02.09/ctxt-switch.c 2018-01-05 11:50:13.0 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2017 Canonical, Ltd. + * Copyright (C) 2013-2018 Canonical, Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.08/event.c new/health-check-0.02.09/event.c --- old/health-check-0.02.08/event.c2017-10-19 19:25:49.0 +0200 +++ new/health-check-0.02.09/event.c2018-01-05 11:50:13.0 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2017 Canonical, Ltd. + * Copyright (C) 2013-2018 Canonical, Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.08/fnotify.c new/health-check-0.02.09/fnotify.c --- old/health-check-0.02.08/fnotify.c 2017-10-19 19:25:49.0 +0200 +++ new/health-check-0.02.09/fnotify.c 2018-01-05 11:50:13.0 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2017 Canonical, Ltd. + * Copyright (C) 2013-2018 Canonical, Ltd. * *
commit health-check for openSUSE:Factory
Hello community, here is the log from the commit of package health-check for openSUSE:Factory checked in at 2017-10-30 21:18:54 Comparing /work/SRC/openSUSE:Factory/health-check (Old) and /work/SRC/openSUSE:Factory/.health-check.new (New) Package is "health-check" Mon Oct 30 21:18:54 2017 rev:3 rq:537435 version:0.02.08 Changes: --- /work/SRC/openSUSE:Factory/health-check/health-check.changes 2017-06-01 16:31:49.194861213 +0200 +++ /work/SRC/openSUSE:Factory/.health-check.new/health-check.changes 2017-10-30 21:19:03.449947876 +0100 @@ -1,0 +2,6 @@ +Fri Oct 20 13:39:47 UTC 2017 - mar...@gmx.de + +- update to version 0.02.08 + * Update to Standards-Version: 4.1.1 + +--- Old: health-check-0.02.06.tar.gz New: health-check-0.02.08.tar.gz Other differences: -- ++ health-check.spec ++ --- /var/tmp/diff_new_pack.UspLQF/_old 2017-10-30 21:19:04.153922280 +0100 +++ /var/tmp/diff_new_pack.UspLQF/_new 2017-10-30 21:19:04.165921844 +0100 @@ -18,7 +18,7 @@ Name: health-check -Version:0.02.06 +Version:0.02.08 Release:0 Summary:Process monitoring tool License:GPL-2.0+ ++ health-check-0.02.06.tar.gz -> health-check-0.02.08.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.06/Makefile new/health-check-0.02.08/Makefile --- old/health-check-0.02.06/Makefile 2017-04-15 09:32:55.0 +0200 +++ new/health-check-0.02.08/Makefile 2017-10-19 19:25:49.0 +0200 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.02.06 +VERSION=0.02.08 # # Codename "Where have all my cycles gone?" # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.06/health-check.8 new/health-check-0.02.08/health-check.8 --- old/health-check-0.02.06/health-check.8 2017-04-15 09:32:55.0 +0200 +++ new/health-check-0.02.08/health-check.8 2017-10-19 19:25:49.0 +0200 @@ -2,7 +2,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH HEALTH-CHECK 8 "April 15, 2017" +.TH HEALTH-CHECK 8 "May 24, 2017" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -22,7 +22,6 @@ .SH SYNOPSIS .B health-check .RI [options] -.RI [ command \ [ options ]] .br .SH DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.06/health-check.h new/health-check-0.02.08/health-check.h --- old/health-check-0.02.06/health-check.h 2017-04-15 09:32:55.0 +0200 +++ new/health-check-0.02.08/health-check.h 2017-10-19 19:25:49.0 +0200 @@ -38,6 +38,21 @@ #define FLOAT_TINY (0.001) #define FLOAT_CMP(a, b)(fabs((a) - (b)) < FLOAT_TINY) +#define _VER_(major, minor, patchlevel)\ + ((major * 1) + (minor * 100) + patchlevel) + +#if defined(__GNUC__) && defined(__GNUC_MINOR__) +#if defined(__GNUC_PATCHLEVEL__) +#define NEED_GNUC(major, minor, patchlevel) \ + _VER_(major, minor, patchlevel) <= _VER_(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__) +#else +#define NEED_GNUC(major, minor, patchlevel) \ + _VER_(major, minor, patchlevel) <= _VER_(__GNUC__, __GNUC_MINOR__, 0) +#endif +#else +#define NEED_GNUC(major, minor, patchlevel) (0) +#endif + extern void health_check_exit(const int status) __attribute__ ((noreturn)); extern void health_check_out_of_memory(const char *msg); extern int pid_max_digits(void); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-check-0.02.06/syscall.c new/health-check-0.02.08/syscall.c --- old/health-check-0.02.06/syscall.c 2017-04-15 09:32:55.0 +0200 +++ new/health-check-0.02.08/syscall.c 2017-10-19 19:25:49.0 +0200 @@ -2469,6 +2469,9 @@ return; } /* assume it is a return, but it may not be, fall through to SYSCALL_RETURN.. */ +#if NEED_GNUC(7, 0, 0) + __attribute__((fallthrough)); +#endif case SYSCALL_RETURN: if (ctxt->syscall_info != NULL) {
commit health-check for openSUSE:Factory
Hello community, here is the log from the commit of package health-check for openSUSE:Factory checked in at 2017-06-01 16:31:45 Comparing /work/SRC/openSUSE:Factory/health-check (Old) and /work/SRC/openSUSE:Factory/.health-check.new (New) Package is "health-check" Thu Jun 1 16:31:45 2017 rev:2 rq:495764 version:0.02.06 Changes: --- /work/SRC/openSUSE:Factory/health-check/health-check.changes 2016-09-21 18:46:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.health-check.new/health-check.changes 2017-06-01 16:31:49.194861213 +0200 @@ -1,0 +2,51 @@ +Wed May 10 14:56:19 UTC 2017 - mar...@gmx.de + +- update to version 0.02.06 + * Makefile: bump version + * Manual: update copyright year and manual date + * Add variable pid size handling. + * syscall: cast pid to unsigned long to ensure hash does not overflow + * Remove duplicate check on fnotify_files.head + +- update to version 0.02.05 + * Makefile: bump version + * Makefile: line break on OBJS line + * voidify returns from close, fclose, closedir, etc + * Update copyright year + * Remove alloc shim for debugging heap. + * syscall: fix inconsistent indenting + +- update to version 0.02.04 + * Makefile: bump version + * json: fix comment + * syscall: fix shadowing warnings + * Move procs_traced declaration to after the header includes + * syscall: fix shadowing of string tmp + * Makefile: remove status.[cho], it's not required as yet + * fnotify: fix some shadowing on link pointer l + * fnotify: make helper function static + * fnotify: add some constifications + * event: use floating point FLOAT_CMP macro for zero compare + * event: add some more constifications + * cpustat: use floating point FLOAT_CMP macro for zero compare + * cpustat: add some constifications + * health-check.h: add math.h + * health-check: make helper function static + * syscall: use FLOAT_CMP for float compare != 0 + * syscall: make helper functions static + * ctxt-switch: use FLOAT_CMP to compare float against zero + * ctxt-switch: add some constifications + * mem: use FLOAT_CMP for float comparison to zero + * mem: add some constifications + * syscall: use floating point FLOAT_CMP macro for zero compare + * syscall: more constifications + * syscall constify pointers + * compare floating point values with a little bit of slop + * Makefile: add PEDANTIC flags + +- update to version 0.02.03 + * Makefile: bump version + * Debian/control: update Standards-Version to 3.9.8 + * Use strtok instead of strtok_r + +--- Old: health-check-0.02.02.tar.gz New: health-check-0.02.06.tar.gz Other differences: -- ++ health-check.spec ++ --- /var/tmp/diff_new_pack.BeLZ4e/_old 2017-06-01 16:31:49.874765347 +0200 +++ /var/tmp/diff_new_pack.BeLZ4e/_new 2017-06-01 16:31:49.878764783 +0200 @@ -1,7 +1,8 @@ # # spec file for package health-check # -# Copyright (c) 2015, Martin Hauke +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +18,7 @@ Name: health-check -Version:0.02.02 +Version:0.02.06 Release:0 Summary:Process monitoring tool License:GPL-2.0+ @@ -49,6 +50,6 @@ %defattr(-,root,root) %doc COPYING %{_bindir}/health-check -%{_mandir}/man8/* +%{_mandir}/man8/health-check.8%{ext_man} %changelog ++ health-check-0.02.02.tar.gz -> health-check-0.02.06.tar.gz ++ 1649 lines of diff (skipped)