git: 9aef4517ad4c - main - net/wmnetload: the port had been resurrected^Wreadded
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Jul 2023 12:43:36 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9aef4517ad4c725edbc1304844c1b3f1246556c9
commit 9aef4517ad4c725edbc1304844c1b3f1246556c9
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-07-27 12:41:28 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-07-27 12:41:28 +0000
net/wmnetload: the port had been resurrected^Wreadded
Give the distfile new home, set WWW and LICENSE, amend
USE_XORG list, provide elaborate port description.
---
MOVED | 1 -
net/Makefile | 1 +
net/wmnetload/Makefile | 29 +++++++++++++++++++++++++++++
net/wmnetload/distinfo | 3 +++
net/wmnetload/files/patch-configure | 20 ++++++++++++++++++++
net/wmnetload/files/patch-src_wmnetload.c | 11 +++++++++++
net/wmnetload/pkg-descr | 6 ++++++
7 files changed, 70 insertions(+), 1 deletion(-)
diff --git a/MOVED b/MOVED
index 47cc0da89bea..ff67422697f4 100644
--- a/MOVED
+++ b/MOVED
@@ -4269,7 +4269,6 @@ net/tcpdstat||2020-05-05|Has expired: Broken for more than 6 months
net/uplog||2020-05-05|Has expired: Broken for more than 6 months
net/vblade||2020-05-05|Has expired: Broken for more than 6 months
net/wizd||2020-05-05|Has expired: Broken for more than 6 months
-net/wmnetload||2020-05-05|Has expired: Broken for more than 6 months
net/wmnetmon||2020-05-05|Has expired: Broken for more than 6 months
net/wmpiki||2020-05-05|Has expired: Broken for more than 6 months
net/xipmsg||2020-05-05|Has expired: Broken for more than 6 months
diff --git a/net/Makefile b/net/Makefile
index c1cd6cbd4165..f9a474bfff7d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1614,6 +1614,7 @@
SUBDIR += wlvncc
SUBDIR += wmnd
SUBDIR += wmnet
+ SUBDIR += wmnetload
SUBDIR += wmping
SUBDIR += wmwave
SUBDIR += wmwifi
diff --git a/net/wmnetload/Makefile b/net/wmnetload/Makefile
new file mode 100644
index 000000000000..cf358a054855
--- /dev/null
+++ b/net/wmnetload/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= wmnetload
+PORTVERSION= 1.3
+PORTREVISION= 5
+CATEGORIES= net windowmaker afterstep
+MASTER_SITES= http://vault.101011010.xyz/distfiles/ \
+ http://freebsd.nsu.ru/distfiles/ LOCAL/danfe
+
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= Network load monitor dockapp for Window Maker
+WWW= https://www.dockapps.net/wmnetload
+
+LICENSE= GPLv2+
+
+LIB_DEPENDS= libdockapp.so:x11-wm/libdockapp
+
+USES= tar:bzip2 xorg
+USE_XORG= x11 xext xpm
+GNU_CONFIGURE= yes
+
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= README
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/net/wmnetload/distinfo b/net/wmnetload/distinfo
new file mode 100644
index 000000000000..411544c432ba
--- /dev/null
+++ b/net/wmnetload/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1045991593
+SHA256 (wmnetload-1.3.tar.bz2) = 5e4a7005bd60b74759b59eb5a62e2dae63ac01c3db3bb0a9bdc1ee3619a3dd88
+SIZE (wmnetload-1.3.tar.bz2) = 90024
diff --git a/net/wmnetload/files/patch-configure b/net/wmnetload/files/patch-configure
new file mode 100644
index 000000000000..82367e8a6a1d
--- /dev/null
+++ b/net/wmnetload/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2003-02-23 09:08:00 UTC
++++ configure
+@@ -4713,7 +4713,7 @@ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+ $ac_includes_default
+-#include <dockapp.h>
++#include <libdockapp/dockapp.h>
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+@@ -4748,7 +4748,7 @@ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+-#include <dockapp.h>
++#include <libdockapp/dockapp.h>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
diff --git a/net/wmnetload/files/patch-src_wmnetload.c b/net/wmnetload/files/patch-src_wmnetload.c
new file mode 100644
index 000000000000..ae2ed36a1f0f
--- /dev/null
+++ b/net/wmnetload/files/patch-src_wmnetload.c
@@ -0,0 +1,11 @@
+--- src/wmnetload.c.orig 2003-02-23 09:07:17 UTC
++++ src/wmnetload.c
+@@ -37,7 +37,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/time.h>
+ #include <unistd.h>
+-#include <dockapp.h>
++#include <libdockapp/dockapp.h>
+ #ifdef HAVE_SYS_SOCKIO_H
+ #include <sys/sockio.h>
+ #endif
diff --git a/net/wmnetload/pkg-descr b/net/wmnetload/pkg-descr
new file mode 100644
index 000000000000..b75d54d4edb1
--- /dev/null
+++ b/net/wmnetload/pkg-descr
@@ -0,0 +1,6 @@
+wmnetload is a network interface monitor dockapp for Window Maker. It is
+designed to fit well with dockapps like wmcpuload and wmmemmon. It tracks
+whether the interface is functioning and displays current network interface
+throughput, along with an auto-scaling graph of recent network activity
+(the graph separates upstream and downstream traffic load cleanly without
+resorting to colors).