[csw-devel] SF.net SVN: gar:[5557] csw/mgar/pkg

bensons at users.sourceforge.net bensons at users.sourceforge.net
Thu Jul 9 15:32:35 CEST 2009


Revision: 5557
          http://gar.svn.sourceforge.net/gar/?rev=5557&view=rev
Author:   bensons
Date:     2009-07-09 13:32:35 +0000 (Thu, 09 Jul 2009)

Log Message:
-----------
iftop: initial commit

Added Paths:
-----------
    csw/mgar/pkg/iftop/
    csw/mgar/pkg/iftop/branches/
    csw/mgar/pkg/iftop/tags/
    csw/mgar/pkg/iftop/trunk/
    csw/mgar/pkg/iftop/trunk/Makefile
    csw/mgar/pkg/iftop/trunk/checksums
    csw/mgar/pkg/iftop/trunk/files/
    csw/mgar/pkg/iftop/trunk/files/patch-ui.c


Property changes on: csw/mgar/pkg/iftop/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/iftop/trunk/Makefile
===================================================================
--- csw/mgar/pkg/iftop/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/iftop/trunk/Makefile	2009-07-09 13:32:35 UTC (rev 5557)
@@ -0,0 +1,35 @@
+GARNAME = iftop
+GARVERSION = 0.17
+CATEGORIES = net
+
+DESCRIPTION = Display bandwidth usage on an interface by host
+define BLURB
+  iftop listens to network traffic on a named interface, or on the first  
+  interface it can find which looks like an external interface if none 
+  is specified, and displays a table of current bandwidth usage by pairs 
+  of hosts.
+endef
+
+MASTER_SITES = http://www.ex-parrot.com/~pdw/iftop/download/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then 
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+REQUIRED_PKGS = CSWlibpcap CSWncurses
+
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --with-resolver=netdb_1thread
+
+EXTRA_LDFLAGS  = -lpthread
+
+PATCHFILES  = patch-ui.c
+
+TEST_SCRIPTS = 
+
+include gar/category.mk

Added: csw/mgar/pkg/iftop/trunk/checksums
===================================================================
--- csw/mgar/pkg/iftop/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/iftop/trunk/checksums	2009-07-09 13:32:35 UTC (rev 5557)
@@ -0,0 +1,2 @@
+062bc8fb3856580319857326e0b8752d  download/iftop-0.17.tar.gz
+06ecb8b60e4b0deca47212041da1c70b  download/patch-ui.c

Added: csw/mgar/pkg/iftop/trunk/files/patch-ui.c
===================================================================
--- csw/mgar/pkg/iftop/trunk/files/patch-ui.c	                        (rev 0)
+++ csw/mgar/pkg/iftop/trunk/files/patch-ui.c	2009-07-09 13:32:35 UTC (rev 5557)
@@ -0,0 +1,11 @@
+--- iftop-0.17.orig/ui.c	2005-10-26 22:12:33.000000000 +0200
++++ iftop-0.17/ui.c	2009-07-08 18:58:38.298151622 +0200
+@@ -6,7 +6,7 @@
+ #include <sys/types.h>
+ 
+ #include <ctype.h>
+-#include <curses.h>
++#include <ncurses/curses.h>
+ #include <errno.h>
+ #include <string.h>
+ #include <math.h>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list