[24901] trunk
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 7 13:57:30 PDT 2007
Revision: 24901
http://trac.macosforge.org/projects/macports/changeset/24901
Author: dluke at macports.org
Date: 2007-05-07 13:57:30 -0700 (Mon, 07 May 2007)
Log Message:
-----------
New port, iftop (display bandwidth usage on an interface)
Added Paths:
-----------
trunk/dports/net/iftop/
trunk/dports/net/iftop/Portfile
trunk/dports/net/iftop/files/
trunk/dports/net/iftop/files/configure.diff
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 023a8b07-a327-4f20-9012-67c915bb7b7c:/local/branches/updates:21118
023a8b07-a327-4f20-9012-67c915bb7b7c:/local/trunk:21326
40426cdb-d25d-4106-b89a-567fc1e9311f:/local/trunk:22799
a2b01108-8822-4c85-91cd-1541804339d8:/local/macports:20632
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/libdnet-maintainer:20898
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-app-cli:20923
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-list-moreutils:20919
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-path-class:20929
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/updates:20946
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/trunk:20947
d9146071-5dc1-4620-afc7-8ba4e23d31df:/local/trunk:21690
f2dd1c64-7982-4318-98ce-263798263e0a:/local:24965
fd7794eb-1723-4a49-8be4-c69b2a184b6d:/local/trunk:24020
+ 023a8b07-a327-4f20-9012-67c915bb7b7c:/local/branches/updates:21118
023a8b07-a327-4f20-9012-67c915bb7b7c:/local/trunk:21326
40426cdb-d25d-4106-b89a-567fc1e9311f:/local/trunk:22799
a2b01108-8822-4c85-91cd-1541804339d8:/local/macports:20632
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/libdnet-maintainer:20898
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-app-cli:20923
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-list-moreutils:20919
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-path-class:20929
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/updates:20946
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/trunk:20947
d9146071-5dc1-4620-afc7-8ba4e23d31df:/local/trunk:21690
f2dd1c64-7982-4318-98ce-263798263e0a:/local:25117
fd7794eb-1723-4a49-8be4-c69b2a184b6d:/local/trunk:24020
Added: trunk/dports/net/iftop/Portfile
===================================================================
--- trunk/dports/net/iftop/Portfile (rev 0)
+++ trunk/dports/net/iftop/Portfile 2007-05-07 20:57:30 UTC (rev 24901)
@@ -0,0 +1,25 @@
+# $Id: $
+
+PortSystem 1.0
+name iftop
+version 0.17
+categories net
+maintainers dluke at geeklair.net
+description display bandwidth usage on an interface
+long_description iftop does for network usage what top(1) does for CPU \
+ usage. It listens to network traffic on a named \
+ interface and displays a table of current bandwidth \
+ usage by pairs of hosts. Handy for answering the \
+ question \"why is our ADSL link so slow?\".
+homepage http://www.ex-parrot.com/~pdw/iftop/
+master_sites http://www.ex-parrot.com/~pdw/iftop/download/
+checksums md5 062bc8fb3856580319857326e0b8752d
+platforms darwin
+
+depends_lib port:libpcap port:ncurses
+
+configure.args --with-libpcap=${prefix}
+
+patchfiles configure.diff
+
+post-patch { reinplace {s|@@PREFIX@@|${prefix}|} ${worksrcpath}/configure }
Property changes on: trunk/dports/net/iftop/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: trunk/dports/net/iftop/files/configure.diff
===================================================================
--- trunk/dports/net/iftop/files/configure.diff (rev 0)
+++ trunk/dports/net/iftop/files/configure.diff 2007-05-07 20:57:30 UTC (rev 24901)
@@ -0,0 +1,13 @@
+--- configure.orig 2007-05-07 16:57:47.000000000 -0400
++++ configure 2007-05-07 16:57:07.000000000 -0400
+@@ -6232,8 +6232,8 @@
+
+ echo "$as_me:$LINENO: checking for a curses library containing mvchgat" >&5
+ echo $ECHO_N "checking for a curses library containing mvchgat... $ECHO_C" >&6
+-oldLIBS=$LIBS
+-for curseslib in curses ncurses ; do
++oldLIBS="-L@@PREFIX@@ $LIBS"
++for curseslib in ncurses ; do
+ LIBS="$oldLIBS -l$curseslib"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070507/bb154381/attachment.html
More information about the macports-changes
mailing list