diff options
author | agc <agc> | 2001-04-30 14:37:23 +0000 |
---|---|---|
committer | agc <agc> | 2001-04-30 14:37:23 +0000 |
commit | c172629d6621bd8e668c1ad06de21dde711339e5 (patch) | |
tree | 3783bdaadfa9a3cddd031d96ba32c95f13d6e53d /sysutils/lsof/Makefile | |
parent | 11bc1b67ace5db6c9bd67bc6cb017fc57eb17cac (diff) | |
download | pkgsrc-c172629d6621bd8e668c1ad06de21dde711339e5.tar.gz |
Add a mk.conf variable LSOF_MORE_SECURE, which, if set to 1, will
mean that non-privileged users can only view their own open files.
Fixes PR 12741, from Anne Bennett (anne@alcor.concordia.ca)
Diffstat (limited to 'sysutils/lsof/Makefile')
-rw-r--r-- | sysutils/lsof/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 69f26bff05f..32350fd7839 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2001/03/07 16:07:31 agc Exp $ +# $NetBSD: Makefile,v 1.40 2001/04/30 14:37:23 agc Exp $ # FreeBSD Id: Makefile,v 1.19 1998/03/08 06:44:48 obrien Exp # @@ -21,6 +21,7 @@ HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ./Configure CONFIGURE_ARGS= -n ${LOWER_OPSYS} CONFIGURE_ENV+= LSOF_CC="${CC} ${CFLAGS}" +MAKE_ENV+= CPPFLAGS="${CPPFLAGS} -DLSOF_MORE_SECURE=${LSOF_MORE_SECURE}" SRCBALL_NAME= ${DISTNAME:S/_W$//} @@ -32,6 +33,8 @@ REAL_GROUP= -g kmem MAKE_ENV+= CPPFLAGS= .endif +LSOF_MORE_SECURE?= 0 + post-extract: @(cd ${WRKDIR} ; \ EXPMD5=`${GREP} MD5 README.${SRCBALL_NAME} | ${SED} 's/^[ ]*//'` ; \ |