aboutsummaryrefslogtreecommitdiffstats
path: root/net/ngrep
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-04-18 07:02:28 +0800
committeredwin <edwin@FreeBSD.org>2004-04-18 07:02:28 +0800
commit9bcfa4ea33ffd645fc4c70c69405267a045ba4a0 (patch)
tree5746bbe27c9a368bc8dbfb75c6ba321032d9ab53 /net/ngrep
parentf4188bc1f92bc8c95f6d0269a3f88f01cdbf9d6b (diff)
downloadfreebsd-ports-gnome-9bcfa4ea33ffd645fc4c70c69405267a045ba4a0.tar.gz
freebsd-ports-gnome-9bcfa4ea33ffd645fc4c70c69405267a045ba4a0.tar.zst
freebsd-ports-gnome-9bcfa4ea33ffd645fc4c70c69405267a045ba4a0.zip
When running ngrep as non-root, the program tried to drop the
priveleges too. This is now disabled via a configure option.
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