summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-03-09 03:01:54 +0000
committermaya <maya@pkgsrc.org>2017-03-09 03:01:54 +0000
commitc83eb104210d14053708934a197079488aadc9e6 (patch)
treeef0b918dc76e7ccce0ca62fa82dfe467120f604c
parent9844b7a57936a7aacdf554f00aef7947ef9aeffd (diff)
downloadpkgsrc-c83eb104210d14053708934a197079488aadc9e6.tar.gz
tcpdump: create _tcpdump user (and group) properly.
fix build failure when a _tcpdump user did not exist already. from Michael-John Turner in PR pkg/52051
-rw-r--r--net/tcpdump/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/tcpdump/Makefile b/net/tcpdump/Makefile
index 4e09a030e74..2af6649e8dc 100644
--- a/net/tcpdump/Makefile
+++ b/net/tcpdump/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2017/02/22 19:05:44 maya Exp $
+# $NetBSD: Makefile,v 1.45 2017/03/09 03:01:54 maya Exp $
DISTNAME= tcpdump-4.9.0
PKGREVISION= 1
@@ -14,8 +14,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS.Darwin+= --disable-universal
BUILD_DEFS+= VARBASE
-PKG_USERS= _tcpdump
OWN_DIRS= ${VARBASE}/tcpdump
+PKG_GROUPS= _tcpdump
+PKG_USERS= _tcpdump:_tcpdump
# drop privileges when running
CONFIGURE_ARGS+= --with-user=_tcpdump