From ed9214cdb144d2438efaf87f0ca533f725621e0e Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 19 Mar 2009 22:27:55 +0000 Subject: [PATCH] The lsof port has a patch that turns HASSECURITY on. However, thanks to the security.bsd.see_other_uids sysctl feature, a lsof binary that was built without HASSECURITY does not report any additional information whensecurity.bsd.see_other_uids is set to 0. It would be nice to get rid of this since enabling HASSECURITY has the nasty side effect that non-root users cannot use lsof to look at processes other than their own even if they a member of group kmem. PR: ports/132557 Submitted by: Craig Leres Approved by: maintainer, so (cperciva) --- sysutils/lsof/Makefile | 1 + sysutils/lsof/files/patch-aa | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 sysutils/lsof/files/patch-aa diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 1d83e2fb60db..6724ec630366 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -8,6 +8,7 @@ PORTNAME= lsof PORTVERSION= 4.82C +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= sysutils MASTER_SITES= http://www.SpringDaemons.com/stas/ \ diff --git a/sysutils/lsof/files/patch-aa b/sysutils/lsof/files/patch-aa deleted file mode 100644 index 35522688c2c7..000000000000 --- a/sysutils/lsof/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- dialects/freebsd/machine.h.orig Fri Jan 17 23:15:41 1997 -+++ dialects/freebsd/machine.h Tue Feb 4 17:23:58 1997 -@@ -291,7 +291,7 @@ - * (the one that its user logged on with) of the lsof process. - */ - --/* #define HASSECURITY 1 */ -+#define HASSECURITY 1 - - - /*