aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/tcptrack
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2015-08-26 00:30:36 +0000
committerXin LI <delphij@FreeBSD.org>2015-08-26 00:30:36 +0000
commit869a45a3faed4d274ed6ddc23623b05a8d8e30f3 (patch)
tree8a08e6fead96295ea465454c6583a0b98b64a294 /net-mgmt/tcptrack
parenteb8617df333cadbe406b06b0b4044f03223bc158 (diff)
downloadports-869a45a3faed4d274ed6ddc23623b05a8d8e30f3.tar.gz
ports-869a45a3faed4d274ed6ddc23623b05a8d8e30f3.zip
- Add more MASTERSITE;
- Fix a bug revealed by clang 3.7 [1] - Give maintainership to submitter [2]; PR: ports/202535 [1], ports/202658 [2] Submitted by: dim [1], Chris Hutchinson [2]
Notes
Notes: svn path=/head/; revision=395328
Diffstat (limited to 'net-mgmt/tcptrack')
-rw-r--r--net-mgmt/tcptrack/Makefile9
-rw-r--r--net-mgmt/tcptrack/files/patch-IPAddress.h11
-rw-r--r--net-mgmt/tcptrack/pkg-descr10
3 files changed, 21 insertions, 9 deletions
diff --git a/net-mgmt/tcptrack/Makefile b/net-mgmt/tcptrack/Makefile
index 94eb33adf875..fb1aa9308e23 100644
--- a/net-mgmt/tcptrack/Makefile
+++ b/net-mgmt/tcptrack/Makefile
@@ -3,12 +3,13 @@
PORTNAME= tcptrack
PORTVERSION= 1.4.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt
-MASTER_SITES= http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/tcptrack-1.4.2.tar.gz/dacf71a6b5310caf1203a2171b598610/
+MASTER_SITES= http://BSDforge.com/projects/source/net-mgmt/tcptrack/ \
+ http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/tcptrack-1.4.2.tar.gz/dacf71a6b5310caf1203a2171b598610/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Packet sniffer which displays TCP information like top(1)
+MAINTAINER= portmaster@BSDforge.com
+COMMENT= Packet sniffer that displays TCP information like top(1)
LICENSE= LGPL21
diff --git a/net-mgmt/tcptrack/files/patch-IPAddress.h b/net-mgmt/tcptrack/files/patch-IPAddress.h
new file mode 100644
index 000000000000..e61740418644
--- /dev/null
+++ b/net-mgmt/tcptrack/files/patch-IPAddress.h
@@ -0,0 +1,11 @@
+--- src/IPAddress.h.orig 2010-09-29 03:23:24.000000000 +0200
++++ src/IPAddress.h 2015-08-20 23:35:26.583907000 +0200
+@@ -16,7 +16,7 @@ public:
+
+ virtual int GetType() const = 0;
+ virtual bool operator==( const IPAddress & ) const = 0;
+- virtual bool operator!=( const IPAddress & addr ) const { return !operator!=(addr); }
++ virtual bool operator!=( const IPAddress & addr ) const { return !operator==(addr); }
+ virtual char * ptr() const = 0;
+ virtual uint32_t hash() const = 0;
+ virtual IPAddress* Clone() const = 0;
diff --git a/net-mgmt/tcptrack/pkg-descr b/net-mgmt/tcptrack/pkg-descr
index 880ba6e24440..7a21c9917cda 100644
--- a/net-mgmt/tcptrack/pkg-descr
+++ b/net-mgmt/tcptrack/pkg-descr
@@ -1,8 +1,8 @@
-tcptrack is a sniffer which displays information about TCP connections it
+tcptrack is a sniffer that displays information about TCP connections it
sees on a network interface. It passively watches for connections on the
-network interface, keeps track of their state and displays a list of
-connections in a manner similar to the unix 'top' command. It displays
-source and destination addresses and ports, connection state, idle time, and
+network interface, keeps track of their state, and displays a list of
+connections in a manner similar to the UNIX top(1) command. It displays
+source and destination addresses, ports, connection state, idle time, and
bandwidth usage.
-WWW: http://www.rhythm.cx/~steve/devel/tcptrack/
+WWW: http://BSDforge.com/projects/net-mgmt/tcptrack/