aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/tcptrack
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-08-26 08:30:36 +0800
committerdelphij <delphij@FreeBSD.org>2015-08-26 08:30:36 +0800
commit7a3387a93223bcdc35ab88d30fa8578139c0ad6f (patch)
tree8a08e6fead96295ea465454c6583a0b98b64a294 /net-mgmt/tcptrack
parentda0db228392312716b87e077f01859c6b4c5328f (diff)
downloadfreebsd-ports-gnome-7a3387a93223bcdc35ab88d30fa8578139c0ad6f.tar.gz
freebsd-ports-gnome-7a3387a93223bcdc35ab88d30fa8578139c0ad6f.tar.zst
freebsd-ports-gnome-7a3387a93223bcdc35ab88d30fa8578139c0ad6f.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]
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/