From 7792c21583f7131ad63a9cb6e25b7ef38652d3a7 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 15:00:12 +0000 Subject: Rename sysutils/ patch-xy patches to reflect the files they modify. --- sysutils/tcplist/files/patch-lsof.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sysutils/tcplist/files/patch-lsof.c (limited to 'sysutils/tcplist/files/patch-lsof.c') diff --git a/sysutils/tcplist/files/patch-lsof.c b/sysutils/tcplist/files/patch-lsof.c new file mode 100644 index 000000000000..66fef3d7788d --- /dev/null +++ b/sysutils/tcplist/files/patch-lsof.c @@ -0,0 +1,11 @@ +--- 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 -nPls -iTCP | awk '{print $3,$(NF - 1)}' | tail -n+2 | sort | uniq" + #endif /* !OLDLSOF */ + #endif /* LSOFCMD */ + -- cgit v1.2.3