Tuesday, August 16, 2022

update net/bwm-ng to 0.6.3

first time playing with bwm-ng, but as far as i can tell the update
seems to be working fine. The changelog mention mostly minor bugfixes
and minor tweaks.

https://www.gropp.org/bwm-ng/changelog

patch-src_help_c is not needed anymore.

The tarball now doesn't contain a configure script, so set the
CONFIGURE_STYLE. automake complains a bit about missing
`subdir-objects', but then builds fine.

ok?


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/bwm-ng/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile 11 Mar 2022 19:45:49 -0000 1.18
+++ Makefile 15 Aug 2022 13:35:46 -0000
@@ -1,9 +1,8 @@
COMMENT= realtime bandwidth monitoring of interfaces

-DISTNAME= bwm-ng-0.6.1
-REVISION= 3
+DISTNAME= bwm-ng-0.6.3
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bwmng/}
+MASTER_SITES= https://www.gropp.org/bwm-ng/
HOMEPAGE= http://www.gropp.org/

# GPLv2+
@@ -12,9 +11,12 @@ PERMIT_PACKAGE= Yes
# uses pledge()
WANTLIB= c curses

-CONFIGURE_STYLE= gnu
+CONFIGURE_STYLE= autoreconf
CONFIGURE_ARGS+= --without-libstatgrab \
--without-netstatbsd
+
+AUTOCONF_VERSION= 2.71
+AUTOMAKE_VERSION= 1.16

post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bwm-ng
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/net/bwm-ng/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 17 Jan 2016 22:51:33 -0000 1.5
+++ distinfo 15 Aug 2022 10:31:38 -0000
@@ -1,2 +1,2 @@
-SHA256 (bwm-ng-0.6.1.tar.gz) = AnzzyWDNlvyf+s33cT32LQ/FXu70oTiCifimKuXlDfA=
-SIZE (bwm-ng-0.6.1.tar.gz) = 162620
+SHA256 (bwm-ng-0.6.3.tar.gz) = waVStv9I6j5OEBEKfBiIYavEdQvvxnxsqrqOs+z2f0Y=
+SIZE (bwm-ng-0.6.3.tar.gz) = 70094
Index: patches/patch-src_bwm-ng_c
===================================================================
RCS file: /home/cvs/ports/net/bwm-ng/patches/patch-src_bwm-ng_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_bwm-ng_c
--- patches/patch-src_bwm-ng_c 11 Mar 2022 19:45:49 -0000 1.2
+++ patches/patch-src_bwm-ng_c 15 Aug 2022 10:33:21 -0000
@@ -4,7 +4,7 @@ route: retrieves interface stats via sys
Index: src/bwm-ng.c
--- src/bwm-ng.c.orig
+++ src/bwm-ng.c
-@@ -211,6 +211,13 @@ int main (int argc, char *argv[]) {
+@@ -210,6 +210,13 @@ int main (int argc, char *argv[]) {
/* end of init curses, now set a sigint handler to deinit the screen on ctrl-break */
signal(SIGINT,sigint);
signal(SIGTERM,sigint);
Index: patches/patch-src_help_c
===================================================================
RCS file: patches/patch-src_help_c
diff -N patches/patch-src_help_c
--- patches/patch-src_help_c 11 Mar 2022 19:45:49 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
---- src/help.c.orig Sun Apr 16 15:31:51 2017
-+++ src/help.c Sun Apr 16 15:32:01 2017
-@@ -24,9 +24,9 @@
- #include "global_vars.h"
- #include "help.h"
-
--inline void print_help_line(const char *short_c,const char * long_c,const char *descr);
-+void print_help_line(const char *short_c,const char * long_c,const char *descr);
-
--inline void print_help_line(const char *short_c,const char * long_c,const char *descr) {
-+void print_help_line(const char *short_c,const char * long_c,const char *descr) {
- #ifdef LONG_OPTIONS
- printf(" %-23s",long_c);
- #else

No comments:

Post a Comment