svn commit: r363030 - in head/sysutils/tcplist: . files
John Marino
marino at FreeBSD.org
Sun Jul 27 09:05:50 UTC 2014
Author: marino
Date: Sun Jul 27 09:05:49 2014
New Revision: 363030
URL: http://svnweb.freebsd.org/changeset/ports/363030
QAT: https://qat.redports.org/buildarchive/r363030/
Log:
sysutils/tcplist: Fix compatiblity with sysutils/lsof
PR: 187240
Submitted by: Chris Hutchinson
Fix by: Ruslan
Modified:
head/sysutils/tcplist/Makefile
head/sysutils/tcplist/files/patch-03
Modified: head/sysutils/tcplist/Makefile
==============================================================================
--- head/sysutils/tcplist/Makefile Sun Jul 27 08:51:37 2014 (r363029)
+++ head/sysutils/tcplist/Makefile Sun Jul 27 09:05:49 2014 (r363030)
@@ -3,7 +3,7 @@
PORTNAME= tcplist
PORTVERSION= 2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils net
MASTER_SITES= ftp://ftp.cdf.toronto.edu/pub/jdd/tcplist/
EXTRACT_SUFX= .shar
Modified: head/sysutils/tcplist/files/patch-03
==============================================================================
--- head/sysutils/tcplist/files/patch-03 Sun Jul 27 08:51:37 2014 (r363029)
+++ head/sysutils/tcplist/files/patch-03 Sun Jul 27 09:05:49 2014 (r363030)
@@ -1,11 +1,11 @@
---- lsof.c.orig Tue Mar 9 11:49:40 1999
-+++ lsof.c Tue Mar 9 11:51:17 1999
+--- lsof.c.orig 2014-07-27 08:59:42.000000000 +0000
++++ lsof.c
@@ -27,7 +27,7 @@
#define LSOFCMD "lsof -HPsli TCP | awk '{print $3,$NF}' | sort | uniq"
#else /* !OLDLSOF */
/* These use the current (as of 3.62W, at least) parameters for lsof */
-#define LSOFCMD "lsof -nPsli TCP | awk '{print $3,$NF}' | sort | uniq"
-+#define LSOFCMD "lsof -nPsli TCP | awk '{print $3,$(NF - 1)}' | sort | uniq"
++#define LSOFCMD "lsof -nPls -iTCP | awk '{print $3,$(NF - 1)}' | tail -n+2 | sort | uniq"
#endif /* !OLDLSOF */
#endif /* LSOFCMD */
More information about the svn-ports-head
mailing list