mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add wmnet2 1.06, a cool network monitor for WindowMaker.
PR: 30432 Submitted by: Paolo Pisati <flag@libero.it>
This commit is contained in:
parent
bb8cf40c25
commit
5d4bd00b94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47535
@ -425,6 +425,7 @@
|
||||
SUBDIR += whatmask
|
||||
SUBDIR += wide-dhcp
|
||||
SUBDIR += wmnet
|
||||
SUBDIR += wmnet2
|
||||
SUBDIR += wmnetmon
|
||||
SUBDIR += wmqmon
|
||||
SUBDIR += xarchie
|
||||
|
20
net/wmnet2/Makefile
Normal file
20
net/wmnet2/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# New ports collection makefile for: wmnet2
|
||||
# Date created: 7 September 2001
|
||||
# Whom: Paolo Pisati <flag@libero.it>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= wmnet2
|
||||
PORTVERSION= 1.06
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.digitalkaos.net/linux/wmnet/download/
|
||||
DISTNAME= wmnet-${PORTVERSION}
|
||||
|
||||
MAINTAINER= flag@libero.it
|
||||
|
||||
USE_IMAKE= yes
|
||||
|
||||
MAN1= wmnet2.1
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/wmnet2/distinfo
Normal file
1
net/wmnet2/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (wmnet-1.06.tar.gz) = 64e74c37c0cb5fd4fb81cfb0f5c4a264
|
41
net/wmnet2/files/patch-aa
Normal file
41
net/wmnet2/files/patch-aa
Normal file
@ -0,0 +1,41 @@
|
||||
*** drivers.c.orig Fri Sep 7 16:39:23 2001
|
||||
--- drivers.c Fri Jun 29 23:21:52 2001
|
||||
***************
|
||||
*** 15,20 ****
|
||||
--- 15,21 ----
|
||||
#include<X11/Xlib.h>
|
||||
#include<fcntl.h>
|
||||
#include<sys/types.h>
|
||||
+ #include <sys/time.h>
|
||||
#include<sys/stat.h>
|
||||
#include<sys/socket.h>
|
||||
#include<unistd.h>
|
||||
***************
|
||||
*** 24,29 ****
|
||||
--- 25,32 ----
|
||||
/* For FreeBSD */
|
||||
#ifdef USE_KVM
|
||||
#include<net/if.h>
|
||||
+ #include <net/if_var.h>
|
||||
+ #include <net/if_types.h>
|
||||
#include<kvm.h>
|
||||
#include<nlist.h>
|
||||
|
||||
***************
|
||||
*** 490,496 ****
|
||||
#ifdef __OpenBSD__
|
||||
ifnet_addr = (unsigned long)ifnet->if_list.tqe_next;
|
||||
#else
|
||||
! ifnet_addr = (unsigned long)ifnet->if_next;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
--- 493,500 ----
|
||||
#ifdef __OpenBSD__
|
||||
ifnet_addr = (unsigned long)ifnet->if_list.tqe_next;
|
||||
#else
|
||||
! //ifnet_addr = (unsigned long)ifnet->if_next;
|
||||
! ifnet_addr = (unsigned long) TAILQ_NEXT(ifnet,if_link);
|
||||
#endif
|
||||
}
|
||||
}
|
11
net/wmnet2/files/patch-ab
Normal file
11
net/wmnet2/files/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- Imakefile 2001/09/08 12:01:26 1.1
|
||||
+++ Imakefile 2001/09/08 12:02:34
|
||||
@@ -26,4 +26,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
-ComplexProgramTarget(wmnet)
|
||||
+ComplexProgramTarget(wmnet2)
|
||||
+
|
||||
+wmnet2.man: wmnet.man
|
||||
+ ln -sf wmnet.man wmnet2.man
|
1
net/wmnet2/pkg-comment
Normal file
1
net/wmnet2/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A cool network monitor for WindowMaker
|
14
net/wmnet2/pkg-descr
Normal file
14
net/wmnet2/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
This little program polls network statistics and does a few things with the
|
||||
data it gets. It has small blinking lights for the rx and tx of IP packets,
|
||||
a digital speedometer of your polled stat's currentspeed and a bar graph like
|
||||
xload et. al which has a tx speed graph from bottom-up and rx speed graph
|
||||
from the top-down. The speedometer keeps track of the current speed per
|
||||
second and shows it in a color corresponding to which of rx or tx that has
|
||||
the highest speed at the moment. Also, the graph is drawn in a way that the
|
||||
highest speed is drawn on top of the other while the other is in the
|
||||
background.
|
||||
|
||||
WWW: http://http://www.digitalkaos.net/linux/wmnet/
|
||||
|
||||
- Paolo
|
||||
flag@libero.it
|
1
net/wmnet2/pkg-plist
Normal file
1
net/wmnet2/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/wmnet2
|
Loading…
Reference in New Issue
Block a user