summaryrefslogtreecommitdiff
path: root/net/ngrep
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-04-17 23:02:28 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-04-17 23:02:28 +0000
commitf3983bc2b19e98afb1f31c862437a1ba461db055 (patch)
treedd4c0d58dcb294eaceca367441f39dcde034426e /net/ngrep
parent- Fix parameters passed to /bin/ps which is used by check_procs and check_nagios (diff)
When running ngrep as non-root, the program tried to drop the
priveleges too. This is now disabled via a configure option.
Notes
Notes: svn path=/head/; revision=107381
Diffstat (limited to 'net/ngrep')
-rw-r--r--net/ngrep/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ngrep/Makefile b/net/ngrep/Makefile
index 4b0d0a7c6f9e..0cd7c62d3084 100644
--- a/net/ngrep/Makefile
+++ b/net/ngrep/Makefile
@@ -8,6 +8,7 @@
PORTNAME= ngrep
PORTVERSION= 1.42
+PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,7 +17,9 @@ MAINTAINER= edwin@mavetju.org
COMMENT= Network grep
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-pcre --disable-pcap-restart
+CONFIGURE_ARGS= --with-pcre \
+ --disable-pcap-restart \
+ --enable-dropprivs-onlyroot
ALL_TARGET= ngrep
USE_BZIP2= yes