Date: Sat, 8 Sep 2001 12:45:11 +0200 (CEST) From: Flag <flag@libero.it> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/30432: New port: wmnet2-1.06 Message-ID: <200109081045.f88AjBR01982@libero.it>
next in thread | raw e-mail | index | archive | help
>Number: 30432 >Category: ports >Synopsis: New port: wmnet2-1.06 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 08 03:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Flag >Release: FreeBSD 4.3-STABLE i386 >Organization: >Environment: System: FreeBSD newluxor.skynet.org 4.3-STABLE FreeBSD 4.3-STABLE #0: Wed Jul 11 00:10:49 CEST 2001 flag@newluxor.skynet.org:/usr/obj/usr/src/sys/NEWLUXOR i386 x86 FreeBSD4.3 >Description: >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # wmnet2 # wmnet2/distinfo # wmnet2/Makefile # wmnet2/pkg-descr # wmnet2/pkg-comment # wmnet2/pkg-plist # wmnet2/files # wmnet2/files/patch-aa # echo c - wmnet2 mkdir -p wmnet2 > /dev/null 2>&1 echo x - wmnet2/distinfo sed 's/^X//' >wmnet2/distinfo << 'END-of-wmnet2/distinfo' XMD5 (wmnet-1.06.tar.gz) = 64e74c37c0cb5fd4fb81cfb0f5c4a264 END-of-wmnet2/distinfo echo x - wmnet2/Makefile sed 's/^X//' >wmnet2/Makefile << 'END-of-wmnet2/Makefile' X# New ports collection makefile for: wmnet2 X# Date created: 7 September 2001 X# Whom: Paolo Pisati (Flag) X# X# $FreeBSD$ X# X XPORTNAME= wmnet2 XPORTVERSION= 1.06 XCATEGORIES= net XMASTER_SITES= http://www.digitalkaos.net/linux/wmnet/download/ XDISTNAME= wmnet-1.06 X XMAINTAINER= flag@libero.it X XMAN1= wmnet.1 XUSE_IMAKE= yes X X.include <bsd.port.mk> END-of-wmnet2/Makefile echo x - wmnet2/pkg-descr sed 's/^X//' >wmnet2/pkg-descr << 'END-of-wmnet2/pkg-descr' X XThis little program polls network statistics and does a few things with Xthe data it gets. It has small blinking lights for the rx and tx of IP Xpackets, a digital speedometer of your polled stat's current Xspeed and a bar graph like xload et. al which has a Xtx speed graph from bottom-up and rx speed graph from the top-down. XThe speedometer keeps track of the current speed per second and shows Xit in a color corresponding to which of rx or tx that has the highest Xspeed at the moment. Also, the graph is drawn in a way that the highest Xspeed is drawn on top of the other while the other is in the background. X XWWW: http://http://www.digitalkaos.net/linux/wmnet/ X X- Paolo Xflag@libero.it END-of-wmnet2/pkg-descr echo x - wmnet2/pkg-comment sed 's/^X//' >wmnet2/pkg-comment << 'END-of-wmnet2/pkg-comment' XCool network monitor for WindowMaker END-of-wmnet2/pkg-comment echo x - wmnet2/pkg-plist sed 's/^X//' >wmnet2/pkg-plist << 'END-of-wmnet2/pkg-plist' Xbin/wmnet END-of-wmnet2/pkg-plist echo c - wmnet2/files mkdir -p wmnet2/files > /dev/null 2>&1 echo x - wmnet2/files/patch-aa sed 's/^X//' >wmnet2/files/patch-aa << 'END-of-wmnet2/files/patch-aa' X*** drivers.c.orig Fri Sep 7 16:39:23 2001 X--- drivers.c Fri Jun 29 23:21:52 2001 X*************** X*** 15,20 **** X--- 15,21 ---- X #include<X11/Xlib.h> X #include<fcntl.h> X #include<sys/types.h> X+ #include <sys/time.h> X #include<sys/stat.h> X #include<sys/socket.h> X #include<unistd.h> X*************** X*** 24,29 **** X--- 25,32 ---- X /* For FreeBSD */ X #ifdef USE_KVM X #include<net/if.h> X+ #include <net/if_var.h> X+ #include <net/if_types.h> X #include<kvm.h> X #include<nlist.h> X X*************** X*** 490,496 **** X #ifdef __OpenBSD__ X ifnet_addr = (unsigned long)ifnet->if_list.tqe_next; X #else X! ifnet_addr = (unsigned long)ifnet->if_next; X #endif X } X } X--- 493,500 ---- X #ifdef __OpenBSD__ X ifnet_addr = (unsigned long)ifnet->if_list.tqe_next; X #else X! //ifnet_addr = (unsigned long)ifnet->if_next; X! ifnet_addr = (unsigned long) TAILQ_NEXT(ifnet,if_link); X #endif X } X } END-of-wmnet2/files/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109081045.f88AjBR01982>