From owner-freebsd-ports Sat Jul 31 14:40: 7 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0C1ED14CEE for ; Sat, 31 Jul 1999 14:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA86526; Sat, 31 Jul 1999 14:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from wcug.wwu.edu (sloth.wcug.wwu.edu [140.160.164.200]) by hub.freebsd.org (Postfix) with SMTP id 6235B14BD5 for ; Sat, 31 Jul 1999 14:38:30 -0700 (PDT) (envelope-from wcarrel@wcug.wwu.edu) Received: (qmail 10325 invoked by uid 1131); 31 Jul 1999 21:35:27 -0000 Message-Id: Date: Sat, 31 Jul 1999 14:35:27 -0700 (PDT) From: William Carrel To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12899: New port: wmnet-new Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12899 >Category: ports >Synopsis: New port: wmnet-new >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 Jul 31 14:40:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: William Carrel >Release: FreeBSD 3.2-STABLE i386 >Organization: Carrel.org >Environment: FreeBSD-3.2-STABLE i386 >Description: A new port of wmnet, a windowmaker dockapp for monitoring traffic flow, based on the linux distribution. The wmnet currently in ports is actually a port of wmifs, a different program entirely. wmnet-new allows more customizability in the color of the indicators as well as numerous other fields. A patch file that is included brings this program up to date to run on FreeBSD 3.x. A shar archive of the port subdirectory follows. >How-To-Repeat: N/A >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: # # wmnet-new # wmnet-new/Makefile # wmnet-new/patches # wmnet-new/patches/patch-aa # wmnet-new/files # wmnet-new/files/md5 # wmnet-new/pkg # wmnet-new/pkg/COMMENT # wmnet-new/pkg/DESCR # wmnet-new/pkg/PLIST # echo c - wmnet-new mkdir -p wmnet-new > /dev/null 2>&1 echo x - wmnet-new/Makefile sed 's/^X//' >wmnet-new/Makefile << 'END-of-wmnet-new/Makefile' X# New ports collection Makefile for: wmnet-new X# Version required: 1.05 X# Date created: 30 July 1999 X# Whom: William Carrel X# X# $Id$ X# X XDISTNAME= wmnet-1.05 XPKGNAME= wmnet-new-1.05 XCATEGORIES= net XMASTER_SITES= ftp://isufug.ee.iastate.edu/pub/wmnet/ X XMAINTAINER= wcarrel@wcug.wwu.edu X XUSE_IMAKE= yes X XMAN1= wmnet.1 X X.include END-of-wmnet-new/Makefile echo c - wmnet-new/patches mkdir -p wmnet-new/patches > /dev/null 2>&1 echo x - wmnet-new/patches/patch-aa sed 's/^X//' >wmnet-new/patches/patch-aa << 'END-of-wmnet-new/patches/patch-aa' X--- drivers.c.orig Fri Oct 9 12:06:02 1998 X+++ drivers.c Fri Jul 30 21:29:49 1999 X@@ -7,6 +7,9 @@ X * No warranties, whatever.... you know the usuals.... this is free X * software. if you use it, great... if you wanna make a change to it, X * great, but please send me the diff. X+ * X+ * Modified for FreeBSD 3.0 by William Carrel X+ * X */ X X #include X@@ -24,6 +27,14 @@ X /* For FreeBSD */ X #ifdef USE_KVM X #include X+#include /* to get the version macro */ X+/* FreeBSD 3.0 changed the location of somethings. */ X+#if (__FreeBSD_version >= 300000) X+#include X+#include X+#include X+#endif /* FreeBSD 3.0 changes */ X+ X #include X #include X X@@ -483,7 +494,11 @@ X flag = (ACCOUNT_IN_FOUND|ACCOUNT_OUT_FOUND); X X } else { X+#if (__FreeBSD_version >= 300000) X+ ifnet_addr = (unsigned long)TAILQ_NEXT(ifnet, if_link); X+#else X ifnet_addr = (unsigned long)ifnet->if_next; X+#endif X } X } X END-of-wmnet-new/patches/patch-aa echo c - wmnet-new/files mkdir -p wmnet-new/files > /dev/null 2>&1 echo x - wmnet-new/files/md5 sed 's/^X//' >wmnet-new/files/md5 << 'END-of-wmnet-new/files/md5' XMD5 (wmnet-1.05.tar.gz) = 3c7d8c030223ab406c407a8243b29815 XMD5 (wmnet-105-patch.gz) = 14b11e97223f7929b978cc245db8e8ef END-of-wmnet-new/files/md5 echo c - wmnet-new/pkg mkdir -p wmnet-new/pkg > /dev/null 2>&1 echo x - wmnet-new/pkg/COMMENT sed 's/^X//' >wmnet-new/pkg/COMMENT << 'END-of-wmnet-new/pkg/COMMENT' XA WindowMaker dockapp that shows traffic on interfaces END-of-wmnet-new/pkg/COMMENT echo x - wmnet-new/pkg/DESCR sed 's/^X//' >wmnet-new/pkg/DESCR << 'END-of-wmnet-new/pkg/DESCR' XThis is a port of wmnet. It shows traffic on a specified interface in the XWindowMaker dock. It concetrates on scrolling quicker and showing current rate Xinformation as opposed to other tools which tend to show the traffic from 3 Xminutes ago. X XWWW: http://isufug.ee.iastate.edu/~joff/wmnet.html X X- William Carrel Xwcarrel@wcug.wwu.edu END-of-wmnet-new/pkg/DESCR echo x - wmnet-new/pkg/PLIST sed 's/^X//' >wmnet-new/pkg/PLIST << 'END-of-wmnet-new/pkg/PLIST' Xbin/wmnet END-of-wmnet-new/pkg/PLIST exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message