From owner-svn-ports-head@FreeBSD.ORG Sun Jul 27 09:05:49 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4FC9E1B; Sun, 27 Jul 2014 09:05:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1FF72603; Sun, 27 Jul 2014 09:05:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6R95nBR085243; Sun, 27 Jul 2014 09:05:49 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6R95n6W085241; Sun, 27 Jul 2014 09:05:49 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407270905.s6R95n6W085241@svn.freebsd.org> From: John Marino Date: Sun, 27 Jul 2014 09:05:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363030 - in head/sysutils/tcplist: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 09:05:50 -0000 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 */