[packages/bwm-ng] Rel 2
arekm
arekm at pld-linux.org
Wed May 20 21:01:33 CEST 2026
commit b170bcdd121a990bca4ae37f8995cd41593500ea
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 20 21:01:17 2026 +0200
Rel 2
bwm-ng-format-security.patch | 11 +++++++++++
bwm-ng.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/bwm-ng.spec b/bwm-ng.spec
index 12f6edf..7100988 100644
--- a/bwm-ng.spec
+++ b/bwm-ng.spec
@@ -2,12 +2,13 @@ Summary: Bandwidth monitor - display bandwidth usage on all interfaces
Summary(pl.UTF-8): Bandwidth monitor - wyświetlanie obciążenia na interfejsach
Name: bwm-ng
Version: 0.6.3
-Release: 1
+Release: 2
License: GPL
Group: Networking/Utilities
Source0: https://www.gropp.org/bwm-ng/%{name}-%{version}.tar.gz
# Source0-md5: eb343c2b806c5e9a40611fc39e907a3d
Patch0: %{name}-procfile.patch
+Patch1: %{name}-format-security.patch
URL: https://www.gropp.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -37,6 +38,7 @@ dynamicznie w trakcie działania programu.
%prep
%setup -q
%patch -P0 -p1
+%patch -P1 -p1
%build
%{__aclocal}
diff --git a/bwm-ng-format-security.patch b/bwm-ng-format-security.patch
new file mode 100644
index 0000000..e5eb1e6
--- /dev/null
+++ b/bwm-ng-format-security.patch
@@ -0,0 +1,11 @@
+--- bwm-ng-0.6.3/src/output.c.orig
++++ bwm-ng-0.6.3/src/output.c
+@@ -151,7 +151,7 @@
+ erase();
+ mvwprintw(stdscr,1,2,"bwm-ng v" VERSION" (probing every %2.3fs), press 'h' for help",(float)delay/1000);
+ mvwprintw(stdscr,2,2,"input: %s type: %s",input2str(),output_type2str());
+- wprintw(stdscr,show_all_if2str());
++ wprintw(stdscr,"%s",show_all_if2str());
+ mvwprintw(stdscr,3,2,"%c iface Rx Tx Total",(char)IDLE_CHARS[option]);
+ /* go to next char for next run */
+ option++;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bwm-ng.git/commitdiff/b170bcdd121a990bca4ae37f8995cd41593500ea
More information about the pld-cvs-commit
mailing list