aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tcplist
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-02-12 15:31:41 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-02-12 15:31:41 +0000
commit4ea01ba3632aa768920483ff3d7578c969b8cdd6 (patch)
treea0d891a7b12cbd369d1a085fb862b9b067b5d795 /sysutils/tcplist
parent4c2d970b9a0e6217e17c7fbddb3e5dc85e6e1f72 (diff)
downloadports-4ea01ba3632aa768920483ff3d7578c969b8cdd6.tar.gz
ports-4ea01ba3632aa768920483ff3d7578c969b8cdd6.zip
Notes
Diffstat (limited to 'sysutils/tcplist')
-rw-r--r--sysutils/tcplist/Makefile3
-rw-r--r--sysutils/tcplist/files/patch-utils.c11
2 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/tcplist/Makefile b/sysutils/tcplist/Makefile
index 52e3055a02e7..3fbb54781fc7 100644
--- a/sysutils/tcplist/Makefile
+++ b/sysutils/tcplist/Makefile
@@ -8,11 +8,12 @@
PORTNAME= tcplist
PORTVERSION= 2.2
+PORTREVISION= 1
CATEGORIES= sysutils net
MASTER_SITES= ftp://ftp.cdf.toronto.edu/pub/jdd/tcplist/
EXTRACT_SUFX= .shar
-MAINTAINER= obrien@NUXI.com
+MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/sbin/lsof:${PORTSDIR}/sysutils/lsof
diff --git a/sysutils/tcplist/files/patch-utils.c b/sysutils/tcplist/files/patch-utils.c
new file mode 100644
index 000000000000..38e9a609b1c4
--- /dev/null
+++ b/sysutils/tcplist/files/patch-utils.c
@@ -0,0 +1,11 @@
+--- utils.c.old Tue Feb 12 15:21:57 2002
++++ utils.c Tue Feb 12 15:21:24 2002
+@@ -259,6 +259,7 @@
+ lastfail++;
+ }
+ }
++ iaddr=ntohl(iaddr);
+ sprintf(iaddrbuff, "%u.%u.%u.%u", (iaddr>>24)&0xff,
+ (iaddr>>16)&0xff, (iaddr>>8)&0xff,
+ iaddr&0xff);
+