Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2026-03-31 16:28:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new.1999 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pagemon" Tue Mar 31 16:28:19 2026 rev:16 rq:1343771 version:0.02.06 Changes: -------- --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2023-02-19 18:19:57.981863960 +0100 +++ /work/SRC/openSUSE:Factory/.pagemon.new.1999/pagemon.changes 2026-03-31 16:28:24.310215396 +0200 @@ -1,0 +2,8 @@ +Mon Mar 30 20:33:58 UTC 2026 - Dirk Müller <[email protected]> + +- update to 0.02.06: + * Ensure page_index can never be less than zero + * Fix potential integer overflow on 32 bit multiplications + * perf.h: remove unused function perf_init() + +------------------------------------------------------------------- Old: ---- V0.02.01.tar.gz New: ---- V0.02.06.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pagemon.spec ++++++ --- /var/tmp/diff_new_pack.nvw2z0/_old 2026-03-31 16:28:25.550267328 +0200 +++ /var/tmp/diff_new_pack.nvw2z0/_new 2026-03-31 16:28:25.574268333 +0200 @@ -1,7 +1,7 @@ # # spec file for package pagemon # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2017-2020, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: pagemon -Version: 0.02.01 +Version: 0.02.06 Release: 0 Summary: Interactive memory/page monitoring tool License: GPL-2.0-or-later ++++++ V0.02.01.tar.gz -> V0.02.06.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/.gitignore new/pagemon-0.02.06/.gitignore --- old/pagemon-0.02.01/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/pagemon-0.02.06/.gitignore 2026-03-02 18:11:43.000000000 +0100 @@ -0,0 +1,2 @@ +pagemon +*.o diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/Makefile new/pagemon-0.02.06/Makefile --- old/pagemon-0.02.01/Makefile 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/Makefile 2026-03-02 18:11:43.000000000 +0100 @@ -1,5 +1,5 @@ # -# Copyright (C) 2015-2023 Colin Ian King +# Copyright (C) 2015-2026 Colin Ian King # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -18,9 +18,9 @@ # Author: Colin Ian King <[email protected]> # -VERSION=0.02.01 +VERSION=0.02.06 -CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -fPIC +CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 LDFLAGS += -lncurses @@ -58,7 +58,7 @@ rm -rf pagemon-$(VERSION) clean: - rm -f pagemon pagemon.o pagemon.8.gz pagemon-$(VERSION).tar.xz + rm -f pagemon pagemon.o perf.o pagemon.8.gz pagemon-$(VERSION).tar.xz install: pagemon pagemon.8.gz mkdir -p ${DESTDIR}${BINDIR} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/README new/pagemon-0.02.06/README --- old/pagemon-0.02.01/README 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/README 2026-03-02 18:11:43.000000000 +0100 @@ -8,6 +8,6 @@ Requirements: ncurses development library -Copyright (C) Colin Ian King, 2015-2018 +Copyright (C) Colin Ian King, 2015-2026 -Project page: http://kernel.ubuntu.com/~cking/pagemon/ +Project page: https://github.com/ColinIanKing/pagemon diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/README.md new/pagemon-0.02.06/README.md --- old/pagemon-0.02.01/README.md 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/README.md 2026-03-02 18:11:43.000000000 +0100 @@ -5,7 +5,8 @@ pagemon command line options: * -h help -* -d delay in microseconds between refreshes, default 10000 +* -a enable automatic zoom mode +* -d delay in microseconds between refreshes, default 15000 * -p specify process ID of process to monitor * -r read (page back in) pages at start * -t specify ticks between dirty page checks @@ -15,3 +16,4 @@ * [viewing an ARM64 QEMU virtual machine running](https://www.youtube.com/embed/AS0s5nl_IXY) * [viewing page activity on a process that is sorting data](https://www.youtube.com/embed/Wq8YtKvC-Rw) +* `pagemon -avp $(pgrep -la "COMMANDNAME" | fzf --exact --height=~70% --border | awk '{print $1}')` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/debian/changelog new/pagemon-0.02.06/debian/changelog --- old/pagemon-0.02.01/debian/changelog 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/debian/changelog 2026-03-02 18:11:43.000000000 +0100 @@ -1,3 +1,42 @@ +pagemon (0.02.06-1) unstable; urgency=medium + + * Sync to latest upstream version + + -- Colin Ian King <[email protected]> Mon, 2 Mar 2026 17:09:11 +0000 + +pagemon (0.02.05-1) unstable; urgency=medium + + * Makefile: bump version + * debian/control: update Standards-Version to 4.7.1.1 + * Ensure page_index can never be less than zero + * Update copyright year + + -- Colin Ian King <[email protected]> Wed, 26 Feb 2025 14:47:23 +0000 + +pagemon (0.02.04-1) unstable; urgency=medium + + * Makefile: bump version + * Fix potential integer overflow on 32 bit multiplications + + -- Colin Ian King <[email protected]> Thu, 18 Jan 2024 14:59:17 +0000 + +pagemon (0.02.03-1) unstable; urgency=medium + + * Makefile: bump version + * perf.h: remove unused function perf_init() + * Makefile: remove -fPIC build flag + * debian/rules: add missing hardening flags + * Update copyright + + -- Colin Ian King <[email protected]> Fri, 12 Jan 2024 11:29:28 +0000 + +pagemon (0.02.02-1) unstable; urgency=medium + + * Makefile: bump version + * Makefile: remove perf.o on clean rule (Closes: #1045314) + + -- Colin Ian King <[email protected]> Mon, 14 Aug 2023 10:00:00 +0100 + pagemon (0.02.01-1) unstable; urgency=medium * Makefile: bump version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/debian/control new/pagemon-0.02.06/debian/control --- old/pagemon-0.02.01/debian/control 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/debian/control 2026-03-02 18:11:43.000000000 +0100 @@ -3,7 +3,7 @@ Section: admin Priority: optional Maintainer: Colin Ian King <[email protected]> -Standards-Version: 4.6.2 +Standards-Version: 4.7.3 Build-Depends: debhelper (>= 13), debhelper-compat (=13), libncurses-dev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/debian/copyright new/pagemon-0.02.06/debian/copyright --- old/pagemon-0.02.01/debian/copyright 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/debian/copyright 2026-03-02 18:11:43.000000000 +0100 @@ -5,7 +5,7 @@ Files: * Copyright: 2015-2021, Canonical, Ltd. - 2021-2022, Colin Ian King + 2015-2026, Colin Ian King License: GPL-2+ On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/debian/rules new/pagemon-0.02.06/debian/rules --- old/pagemon-0.02.01/debian/rules 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/debian/rules 2026-03-02 18:11:43.000000000 +0100 @@ -1,5 +1,9 @@ #!/usr/bin/make -f +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + override_dh_auto_build: $(shell dpkg-buildflags --export=sh); dh_auto_build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/pagemon.8 new/pagemon-0.02.06/pagemon.8 --- old/pagemon-0.02.01/pagemon.8 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/pagemon.8 2026-03-02 18:11:43.000000000 +0100 @@ -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 PAGEMON 8 "November 10, 2021" +.TH PAGEMON 8 "March 2, 2026"" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -37,8 +37,8 @@ the entire page map in the window, up to a maximum zoom level of 999. .TP .B \-d delay -delay in microseconds between data refreshes, the default is 10,000 -microseconds (1/100th of a second). +delay in microseconds between data refreshes, the default is 15,000 +microseconds (3/200th of a second). .TP .B \-h show help. @@ -111,7 +111,7 @@ This manual page was written by Colin King <[email protected]>, for the Ubuntu project (but may be used by others). .SH COPYRIGHT -Copyright \(co 2016-2021 Canonical Ltd. Copyright \(co 2021-2022 Colin Ian King +Copyright \(co 2016-2021 Canonical Ltd. Copyright \(co 2021-2025 Colin Ian King .br This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/pagemon.c new/pagemon-0.02.06/pagemon.c --- old/pagemon-0.02.01/pagemon.c 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/pagemon.c 2026-03-02 18:11:43.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King 2015-2023 + * Copyright (C) Colin Ian King 2015-2026 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -1015,7 +1015,7 @@ banner(LINES - 1); if (g.view == VIEW_PAGE) { (void)wattrset(g.mainwin, COLOR_PAIR(WHITE_BLUE) | A_BOLD); - (void)mvwprintw(g.mainwin, LINES - 1, 0, "Page View, KEY: "); + (void)mvwprintw(g.mainwin, LINES - 1, 0, "Page View: "); (void)wattrset(g.mainwin, COLOR_PAIR(WHITE_RED)); (void)wprintw(g.mainwin, "A"); (void)wattrset(g.mainwin, COLOR_PAIR(WHITE_BLUE) | A_BOLD); @@ -1461,6 +1461,7 @@ map->name[0] == '\0' ? "[Anonymous]" : basename(map->name)); } + (void)mvwprintw(g.mainwin, 0, COLS - 20, " PID %7d", g.pid); (void)mvwprintw(g.mainwin, 0, COLS - 8, " %6.1f%%", percent); (void)wrefresh(g.mainwin); @@ -1619,6 +1620,8 @@ p->xpos = p->xmax - 1; break; } + if (page_index < 0) + page_index = 0; position[VIEW_PAGE].ypos_max = (((g.mem_info.npages - page_index) / zoom) - p->xpos) / @@ -1642,8 +1645,8 @@ */ if (g.view == VIEW_MEM) { if (p->ypos > p->ymax - 1) { - data_index += p->xmax * - (p->ypos - (p->ymax - 1)); + data_index += (index_t)p->xmax * + (index_t)(p->ypos - (p->ymax - 1)); p->ypos = p->ymax - 1; if (data_index >= g.page_size) { data_index -= g.page_size; @@ -1660,12 +1663,12 @@ } } else { if (p->ypos > p->ymax - 1) { - page_index += zoom * p->xmax * - (p->ypos - (p->ymax - 1)); + page_index += zoom * (index_t)p->xmax * + (index_t)(p->ypos - (p->ymax - 1)); p->ypos = p->ymax - 1; } if (p->ypos < 0) { - page_index -= zoom * p->xmax * (-p->ypos); + page_index -= zoom * (index_t)p->xmax * (index_t)(-p->ypos); p->ypos = 0; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.02.01/perf.c new/pagemon-0.02.06/perf.c --- old/pagemon-0.02.01/perf.c 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/perf.c 2026-03-02 18:11:43.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King 2015-2021 + * Copyright (C) Colin Ian King 2015-2026 * * 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/pagemon-0.02.01/perf.h new/pagemon-0.02.06/perf.h --- old/pagemon-0.02.01/perf.h 2023-02-07 16:23:30.000000000 +0100 +++ new/pagemon-0.02.06/perf.h 2026-03-02 18:11:43.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King 2015-2021 + * Copyright (C) Colin Ian King 2015-2026 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -71,11 +71,6 @@ uint64_t time_running; /* perf time running */ } perf_data_t; -static inline void perf_init(perf_t *p) -{ - memset(p, 0, sizeof(perf_t)); -} - extern int perf_start(perf_t *p, const pid_t pid); extern int perf_stop(perf_t *p); extern uint64_t perf_counter(const perf_t *p, const int id);
